This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.occi-wg/wiki/Versioning at Fri, 04 Nov 2022 20:04:36 GMT SourceForge : View Wiki Page: Versioning

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin

Web Site
Search Wiki Pages Project: occi-wg     Wiki > Versioning > View Wiki Page
wiki2475: Versioning

WARNING: THIS SITE IS NOW CLOSED: ONGOING WRITEUPS CAN BE FOUND IN THE SVN REPOSITORY USING LaTEX

Open Issues

  • Separate HTTP specifics from document

Versioning

Information about what version of OCCI is supported by a provider MUST be advertised to a client on each response to a client. The version field in the response MUST include the value OCCI/X.Y, where X is the major version number and Y is the minor version number of the implemented OCCI specification. In the case of a HTTP Header Rendering, the server response should relay versioning information using the HTTP header name 'Server'.
HTTP/1.1 202 Accepted
Server: occi-server/1.0 (linux) OCCI/1.0
Date: Wed, 27 Jan 2010 17:26:42 GMT
Location: /jobs/0098
Content-Length: 0

Complimenting the service-side behaviour of an OCCI implementation, a client MUST indicate to the OCCI service implementation the version it expects to interact with. For the clients, the information MUST be advertised in the request it issues. In the case of a HTTP Header Rendering, the client request should relay versioning information in the 'User-Agent' header. The 'User-Agent' field must include the same value (OCCI/X.Y) as specified for the Server HTTP header.

GET /jobs/0098 HTTP/1.1
Host: example.comAuthorization: Basic xxxxxxxxxxxxxxxxxxx
User-Agent: occi-client/1.0 (linux) libcurl/7.19.4 OCCI/1.0
Content-Length: 0

If a server receives a request from a client that supplies a version number higher than the service supports, the service MUST respond back to the client with an exception indicating that the requested version is not implemented. Where a client implements OCCI using a HTTP transport, the HTTP code 501, not implemented should be used.

 



Versions Associations Attachments Back Links  
Version Version Comment Created By
Version 3 Thijs Metsch - 10/13/2010
Version 2 Thijs Metsch - 10/13/2010
Version 1 initial content Andy Edmonds - 10/06/2010



The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.occi-wg/wiki/Versioning at Fri, 04 Nov 2022 20:04:45 GMT