|
Open Services for Lifecycle Collaboration Change Management Specification Version 2.0
|
Status: 2.0 Specification - November 19, 2010
This Version
Latest Version
PreviousVersion
Authors
Contributors
Table of Contents
License
This work is licensed under a
Creative Commons Attribution License.
Notation and Conventions
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in
RFC2119. Domain name examples use
RFC2606.
Introduction
(this section is informative)
This specification defines a RESTful web services interface for Change Management, the management of product change requests, activities, tasks and relationships between those and related resources such as project, category, release and plan. To support these scenarios, this specification defines a set of HTTP-based RESTful interfaces in terms of HTTP methods: GET, POST, PUT and DELETE, HTTP response codes, content type handling and resource formats.
The intent of this specification is to define the capabilities needed to support integration scenarios defined by the Change Management working group and not to provide a comprehensive interface to Change Management. The resource formats and operations may not match exactly the native models supported by change management service providers but are intended to be compatible with them. The approach to supporting these scenarios is to delegate operations, as driven by service provider contributed user interfaces, as much as possible and not require a service provider to expose its complete data model and application logic.
The following figure illustrates how this CM specification relates to other OSLC specifications. It extends and restricts the OSLC Core, while referencing resources defined in other domain specifications.
Terminology
Change Request Resource - A request for change to an application or product. Typically a product request for enhancement, a report for a resolution of a product defect or simply a bug report.
Consumer - an implementation of the OSLC Change Management specifications as a client. OSLC CM Consumers consume services provided by service providers
Service Provider - an implementation of the OSLC Change Management specifications as a server. OSLC CM clients consume these services
Base Requirements
Compliance
This specification is based on
OSLC Core Specification. OSLC CM consumers and service providers
MUST be compliant with both the core specification and this CM specification, and SHOULD follow all the guidelines and recommendations in both these specifications.
The following table summarizes the requirements from OSLC Core Specification as well as some additional specific to CM. Note that this specification further restricts some of the requirements for OSLC Core Specification. See further sections in this specification or the OSLC Core Specification to get further details on each of these requirements.
Requirement |
Level |
Meaning |
Unknown properties and content |
MAY / MUST |
OSLC services MAY ignore unknown content and OSLC clients MUST preserve unknown content |
Resource Operations |
MUST |
OSLC service MUST support resource operations via standard HTTP operations |
Resource Paging |
MAY |
OSLC services MAY provide paging for resources but only when specifically requested by client |
Partial Resource Representations |
MAY / MUST |
OSLC services MUST support request for a subset of a resource's properties via the oslc.properties URL parameter retrieval via HTTP GET and MAY support via HTTP PUT |
Partial Update |
MAY |
OSLC services MAY support partial update of resources using patch semantics |
Service Provider Resources |
MAY / MUST |
OSLC service providers MAY provide a Service Provider Catalog and MUST provide a Service Provider resource |
Creation Factories |
MUST |
OSLC service providers MUST provide creation factories to enable resource creation via HTTP POST |
Query Capabilities |
MUST |
OSLC service providers MUST provide query capabilities to enable clients to query for resources |
Query Syntax |
MUST |
OSLC query capabilities MUST support the OSLC Core Query Syntax and MAY use other query syntax |
Delegated UI Dialogs |
MUST |
OSLC Services MUST offer delegated UI dialogs (creation and selections) specified via service provider resource |
UI Preview |
SHOULD |
OSLC Services SHOULD offer UI previews for resources that may be referenced by other resources |
HTTP Basic Authentication |
MAY |
OSLC Services MAY support Basic Auth and should do so only over HTTPS |
OAuth Authentication |
SHOULD |
OSLC Services SHOULD support OAuth and can indicate the required OAuth URLs via the service provider resource |
Error Responses |
MAY |
OSLC Services MAY provide error responses using Core defined error formats |
RDF/XML Representations |
MUST / SHOULD |
OSLC services MUST provide an RDF/XML representation for HTTP GET requests and SHOULD support RDF/XML representations on POST and PUT requests. |
XML Representations |
MUST |
OSLC services MUST provide a XML representation for HTTP GET, POST and PUT requests that conform to the Core Guidelines for XML. |
JSON Representations |
MUST |
OSLC services MUST provide JSON representations for HTTP GET, POST and PUT requests that conform to the Core Guidelines for JSON |
HTML Representations |
SHOULD |
OSLC services SHOULD provide HTML representations for HTTP GET requests |
Specification Versioning
See
OSLC Core Specification Versioning section.
Service providers that support the resource formats and services in this specification
MUST use HTTP response header of
OSLC-Core-Version
with a value of
2.0
. Consumers
MAY request formats and services defined in this document by providing a HTTP request header of
OSLC-Core-Version
with a value of
2.0
. See section below on Version Compatibility with OSLC CM 1.0 Specifications.
Namespaces
In addition to the namespace URIs and namespace prefixes
oslc
,
rdf
,
dcterms
and
foaf
defined in the
OSLC Core specification, OSLC CM defines the namespace URI of
http://open-services.net/ns/cm#
with a namespace prefix of
oslc_cm
This specification also uses these namespace prefix definitions:
- oslc_rm :
http://open-services.net/ns/rm#
(Reference: OSLC RM)
- oslc_qm :
http://open-services.net/ns/qm#
(Reference: OSLC QM)
- oslc_scm :
http://open-services.net/ns/scm#
(Reference: OSLC SCM)
Resource Formats
In addition to the requirements for
OSLC Core Resource Formats section, this section outlines further refinements and restrictions.
For HTTP GET requests on all OSLC CM and OSLC Core defined resource types,
- CM Providers MUST provide RDF/XML, XML. and JSON representations. The XML and JSON representations SHOULD follow the guidelines outlined in the OSLC Core Representations Guidance.
- CM Consumers requesting RDF/XML SHOULD be prepared for any valid RDF/XML document. CM Consumers requesting XML or JSON SHOULD be prepared for representations that follow the guidelines outlined in the OSLC Core Representations Guidance.
- CM Providers SHOULD support an [X]HTML representation and a user interface (UI) preview as defined by UI Preview Guidance
For HTTP PUT/POST request formats for resource type of ChangeRequest:
- CM Providers MUST accept XML and JSON representations and SHOULD accept RDF/XML representations. CM Providers accepting RDF/XML SHOULD be prepared for any valid RDF/XML document. For XML or JSON, CM Providers SHOULD be prepared for representations that follow the guidelines outlined in the OSLC Core Representations Guidance.
For HTTP GET response formats for Query requests,
CM Providers MUST provide RDF/XML, XML, Atom Syndication Format XML and JSON representations.
When CM Consumers request:
-
application/rdf+xml
CM Providers MUST respond with RDF/XML representation without restrictions.
-
application/json
CM Providers MUST respond with JSON representation as defined in the OSLC Core Representations Guidance.
-
application/xml
CM Provider MUST respond with OSLC-defined abbreviated XML representation as defined in the OSLC Core Representations Guidance
-
application/atom+xml
CM Provider MUST respond with Atom Syndication Format XML representation as defined in the OSLC Core Representations Guidance
- The Atom Syndication Format XML representation SHOULD use RDF/XML representation without restrictions for the atom:content entries representing the resource representations.
See Query Capabilities for additional information when Resource Shapes affect representation.
Content Negotiation
OSLC Core Guidance clearly points to RDF representations (and specifically RDF/XML) as a convention that all OSLC Provider implementations minimally provide and accept. OSLC CM Provider implementations are strongly encouraged to adopt this convention. Future versions of this specification are expected to require RDF representations for all operations and relax requirements for specialized XML representations.
XML Representation - identified by the
application/xml
content type. Format representation rules are outlined in Core
OSLC Core Resource Formats section
RDF/XML Representation - identified by the
application/rdf+xml
content type. No additional guidance is given. The OSLC Core describes an algorithm for generating consistent formats that are used as examples only.
JSON Representation - identified by the
application/json
content type. Format representation rules are outlined in Core
OSLC Core Resource Formats section.
Atom Syndication Format XML Representation - identified by the
application/atom+xml
content type. Format representation rules are outlined in Core
OSLC Core Resource Formats section.
Authentication
See
OSLC Core Authentication section. In addition to the OSLC Core authentication requirements, OSLC CM services providers
SHOULD support OAuth.
Error Responses
See
OSLC Core Error Responses section. OSLC CM puts no additional constraints on error responses.
Pagination
OSLC CM service providers
SHOULD support pagination of query results and
MAY support pagination of a single resource's properties as defined by the OSLC Core Specification.
Requesting and Updating Properties
Requesting a Subset of Properties
A client
MAY request a subset of a resource's properties as well as properties from a referenced resource. In order to support this behavior a service provider
MUST support the
oslc.properties
and
oslc.prefix
URL parameter on a HTTP GET request on individual resource request or a collection of resources by query. If the
oslc.properties
parameter is omitted on the request, then all resource properties
MUST be provided in the response.
Updating a Subset of Properties
A client
MAY request that a subset of a resource's properties be updated by identifying those properties to be modified using the
oslc.properties
URL parameter on a HTTP PUT request.
If the parameter
oslc.properties
contains a valid resource property on the request that is not provided in the content, the server
MUST set the resource's property to a null or empty value. If the parameter
oslc.properties
contains an invalid resource property, then a
409 Conflict
MUST be returned.
Updating Multi-Valued Properties
For multi-valued properties that contain a large number of values, it may be difficult and inefficient to add or remove property values. OSLC CM Service Providers
SHOULD provide support for a partial update of the multi-valued properties as defined by
OSLC Core Partial Update.
State Predicates
Probably the most important property of a Change Request is the status property. "Status" specifies the location of a Change Request in a workflow. In queries the
oslc_cm:status
property is used to filter change request (e.g. all change requests that are "fixed") and may be used to perform state transitions (not part of this specification) on a change request, e.g. closing a change request as "fixed".
The problem is that different CM service providers use different properties (or even a set of properties) and different values to represent the change request's state. Even providing access to meta data does not help because knowing all possible state values does not reveal the semantics of a state.
Predicates are exposed as single-value often read-only properties on a Change Request resource. An attempt to update read-only predicates
SHOULD be answered with a 409 Conflict HTTP status code. Their presence in a resource representation used for an update via PUT
MUST NOT prevent the resource from being updated . Predicates
MUST be queryable. The Change Request resource definition sections defines the complete set of predicates.
Labels for Relationships
Change Management relationships to other resources are represented by RDF properties. Instances of a relationship - often called links - are RDF triples whose predicate is the property, and whose value (aka object) is the URI of target resource. When a Change Management link is to be presented in a user interface, it may be helpful to display an informative and useful textual label instead of or in addition to the URI. It is recommended to use either a property from the target resource such as
dcterms:title or retrieve a label for presentation by retrieving the target resource's
OSLCUIPreview. In the case where a relationship (a triple) requires a unique label that is not available from the target resource, only then OSLC providers
MAY support a
dcterms:title
link property in Change Management resource representations, using the anchor approach outlined in the OSLC Core Links Guidance.
RDF/XML and XML example using reified statement:
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc_cm="http://open-services.net/ns/cm#">
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/4321">
<oslc_cm:relatedChangeRequest rdf:ID="link1"
rdf:resource="http://anotherexample.com/defects/123" />
</oslc_cm:ChangeRequest>
<rdf:Description rdf:about="#link1">
<dcterms:title>Defect 123: Problems during install</dcterms:title>
</rdf:Description>
</rdf:RDF>
JSON example using refied statement:
{
"prefixes" : {
"dcterms" : "http://purl.org/dc/terms/",
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"oslc" : "http://open-services.net/ns/core#",
"oslc_cm" : "http://open-services.net/ns/cm#"
},
"rdf:type" : [ { "rdf:resource" : "http://open-services.net/ns/cm#ChangeRequest" }],
"rdf:about" : "http://example.com/bugs/4321",
"oslc_cm:relatedChangeRequest" : {
"rdf:resource" : "http://anotherexample.com/defects/123",
"dcterms:title " : "Defect 123: Problems during install"
}
}
CM Resource Definitions
Property value types that are not defined in the following sections, are defined in
OSLC Core - Defining OSLC Properties
Resource ChangeRequest
The Change Request resource is a single definition used to define many kinds of change requests such as: defect, enhancement, task, bug, activity, etc. There are a fair number of common properties between these different kinds of change requests and can use some of the properties in the follow definition to identify them.
The Change Request resource properties are not limited to the ones defined in this specification, service providers may provide additional properties. It is recommended that any additional properties exist in their own unique namespace and not use the namespaces defined in these specifications.
- Name:
ChangeRequest
- Type URI
http://open-services.net/ns/cm#ChangeRequest
Prefixed Name |
Occurs |
Read-only |
Value-type |
Represen-tation |
Range |
Description |
OSLC Core: Common Properties |
oslc:shortTitle |
zero-or-one |
unspecified |
XMLLiteral |
n/a |
n/a |
Short name identifying a resource, often used as an abbreviated identifier for presentation to end-users. SHOULD include only content that is valid inside an XHTML <span> element. |
dcterms:description |
zero-or-one |
unspecified |
XMLLiteral |
n/a |
n/a |
Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content. SHOULD include only content that is valid and suitable inside an XHTML <div> element. |
dcterms:title |
exactly-one |
unspecified |
XMLLiteral |
n/a |
n/a |
Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content. SHOULD include only content that is valid and suitable inside an XHTML <div> element. |
dcterms:identifier |
exactly-one |
True |
String |
n/a |
n/a |
A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display. |
dcterms:subject |
zero-or-many |
False |
String |
n/a |
n/a |
Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource. |
dcterms:creator |
zero-or-many |
unspecified |
Either Resource or Local Resource |
Either Reference or Inline |
any |
Creator or creators of resource (reference: Dublin Core). It is likely that the target resource will be a foaf:Person but that is not necessarily the case. |
dcterms:contributor |
zero-or-many |
unspecified |
Either Resource or Local Resource |
Either Reference or Inline |
any |
The person(s) who are responsible for the work needed to complete the change request (reference: Dublin Core). It is likely that the target resource will be a foaf:Person but that is not necessarily the case. |
dcterms:created |
zero-or-one |
True |
DateTime |
n/a |
n/a |
Timestamp of resource creation (reference: Dublin Core). |
dcterms:modified |
zero-or-one |
True |
DateTime |
n/a |
n/a |
Timestamp last latest resource modification (reference: Dublin Core). |
rdf:type |
zero-or-many |
unspecified |
Resource |
Reference |
n/a |
The resource type URIs. One of at least has the value of http://open-services.net/ns/cm#ChangeRequest |
oslc:serviceProvider |
zero-or-many |
unspecified |
Resource |
Reference |
oslc:ServiceProvider |
The scope of a resource is a URI for the resource's OSLC Service Provider. |
oslc:instanceShape |
zero-or-one |
unspecified |
Resource |
Reference |
oslc:ResourceShape |
Resource Shape that provides hints as to resource property value-types and allowed values. |
oslc:discussedBy |
zero-or-one |
unspecified |
Resource |
Either |
oslc:Discussion |
A series of notes and comments about this change request. |
Prefixed Name |
Occurs |
Read-only |
Value-type |
Represen-tation |
Range |
Description |
OSLC CM: Start of additional properties |
oslc_cm:closeDate |
zero-or-one |
true |
DateTime |
n/a |
n/a |
The date at which no further activity or work is intended to be conducted. |
oslc_cm:status |
zero-or-one |
unspecified |
String |
n/a |
n/a |
Used to indicate the status of the change request based on values defined by the service provider. Most often a read-only property. Some possible values may include: 'Submitted', 'Done', 'InProgress', etc. |
Prefixed Name |
Occurs |
Read-only |
Value-type |
Represen-tation |
Range |
Description |
State predicate properties: This grouping of properties define a set of computed state predicates, see section on State Predicates for more information. The only restriction on valid state predicate combinations is that if oslc_cm:inprogress is true , then oslc_cm:fixed and oslc_cm:closed must also be false |
oslc_cm:closed |
zero-or-one |
True |
Boolean |
n/a |
n/a |
Whether or not the Change Request is completely done, no further fixes or fix verification is needed. |
oslc_cm:inprogress |
zero-or-one |
True |
Boolean |
n/a |
n/a |
Whether or not the Change Request in a state indicating that active work is occurring. If oslc_cm:inprogress is true , then oslc_cm:fixed and oslc_cm:closed must also be false |
oslc_cm:fixed |
zero-or-one |
True |
Boolean |
n/a |
n/a |
Whether or not the Change Request has been fixed. |
oslc_cm:approved |
zero-or-one |
True |
Boolean |
n/a |
n/a |
Whether or not the Change Request has been approved. |
oslc_cm:reviewed |
zero-or-one |
True |
Boolean |
n/a |
n/a |
Whether or not the Change Request has been reviewed. |
oslc_cm:verified |
zero-or-one |
True |
Boolean |
n/a |
n/a |
Whether or not the resolution or fix of the Change Request has been verified. |
Prefixed Name |
Occurs |
Read-only |
Value-type |
Represen-tation |
Range |
Description |
Relationship properties: This grouping of properties are used to identify relationships between resources managed by other OSLC Service Providers |
oslc_cm:relatedChangeRequest |
zero-or-many |
False |
Resource |
Reference |
any |
This relationship is loosely coupled and has no specific meaning. It is likely that the target resource will be an oslc_cm:ChangeRequest but that is not necessarily the case. |
oslc_cm:affectsPlanItem |
zero-or-many |
False |
Resource |
Reference |
any |
Change request affects a plan item. It is likely that the target resource will be an oslc_cm:ChangeRequest but that is not necessarily the case. |
oslc_cm:affectedByDefect |
zero-or-many |
False |
Resource |
Reference |
any |
Change request is affected by a reported defect. It is likely that the target resource will be an oslc_cm:ChangeRequest but that is not necessarily the case. |
oslc_cm:tracksRequirement |
zero-or-many |
False |
Resource |
Reference |
any |
Tracks the associated Requirement or Requirement ChangeSet resources. It is likely that the target resource will be an oslc_rm:Requirement but that is not necessarily the case. |
oslc_cm:implementsRequirement |
zero-or-many |
False |
Resource |
Reference |
any |
Implements associated Requirement. It is likely that the target resource will be an oslc_rm:Requirement but that is not necessarily the case. |
oslc_cm:affectsRequirement |
zero-or-many |
False |
Resource |
Reference |
any |
Change request affecting a Requirement. It is likely that the target resource will be an oslc_rm:Requirement but that is not necessarily the case. |
oslc_cm:tracksChangeSet |
zero-or-many |
False |
Resource |
Reference |
any |
Tracks SCM change set resource. It is likely that the target resource will be an oslc_scm:ChangeSet but that is not necessarily the case. |
Naming convention for relationship properties follows this pattern:
- related - Identifies a loose relationship between a Change Request and referenced resource. These relationships can be used to name associated resources managed by other service providers.
- tracks - Identifies that a Change Request is used to track the lifecycle of referenced resource. From the CM tool perspective, these relationships can be used to track work that needs to be done for referenced resources.
- affects - Indicates that the Change Request affects, has been predetermined to have impact, related resource. These property relationships can be used to understand the potential impact of referenced resources.
Deprecated terms
Since the initial development of the OSLC CM 2.0 specification, there have been a number of properties that are no longer recommended for use and therefore marked as deprecated. Details about the reason for being marked as such and backwards compatibility items, refer to the
CM 2.0 Issues page.
Prefixed Name |
Occurs |
Read-only |
Value-type |
Represen-tation |
Range |
Description |
deprecated dcterms:type |
zero-or-more |
unspecified |
String |
n/a |
n/a |
A short string representation for the type, example 'Defect'. |
deprecated oslc_cm:testedByTestCase |
zero-or-many |
False |
Resource |
Reference |
any |
Test case by which this change request is tested. It is likely that the target resource will be an oslc_qm:TestCase but that is not necessarily the case. |
deprecated oslc_cm:affectsTestResult |
zero-or-many |
False |
Resource |
Reference |
any |
Associated QM resource that is affected by this Change Request. It is likely that the target resource will be an oslc_qm:TestResult but that is not necessarily the case. |
deprecated oslc_cm:blocksTestExecutionRecord |
zero-or-many |
False |
Resource |
Reference |
any |
Associated QM resource that is blocked by this Change Request. It is likely that the target resource will be an oslc_qm:TestExecutionRecord but that is not necessarily the case. |
deprecated oslc_cm:relatedTestExecutionRecord |
zero-or-many |
False |
Resource |
Reference |
any |
Related to a QM test execution resource. It is likely that the target resource will be an oslc_qm:TestExecutionRecord but that is not necessarily the case. |
deprecated oslc_cm:relatedTestCase |
zero-or-many |
False |
Resource |
Reference |
any |
Related QM test case resource. It is likely that the target resource will be an oslc_qm:TestCase but that is not necessarily the case. |
deprecated oslc_cm:relatedTestPlan |
zero-or-many |
False |
Resource |
Reference |
any |
Related QM test plan resource. It is likely that the target resource will be an oslc_qm:TestPlan but that is not necessarily the case. |
deprecated oslc_cm:relatedTestScript |
zero-or-many |
False |
Resource |
Reference |
any |
Related QM test script resource. It is likely that the target resource will be an oslc_qm:TestScript but that is not necessarily the case. |
CM Service Provider Capabilities
Service Provider Resources
OSLC CM service providers
MUST provide a
Service Provider Resource that can be retrieved at a implementation dependent URI.
OSLC CM service providers
MAY provide a
Service Provider Catalog Resource that can be retrieved at a implementation dependent URI.
OSLC CM service providers
MAY provide a
oslc:serviceProvider
property for their defined resources that will be the URI to a
Service Provider Resource.
OSLC CM service providers
MUST supply a value of
http://open-services.net/ns/cm#
for the property
oslc:domain
on either
oslc:Service
or
oslc:ServiceProviderCatalog
resources.
Creation Factories
OSLC CM service providers
MUST support
Creation Factories and list them in the Service Provider Resource as defined by OSLC Core. OSLC CM service providers
SHOULD support Resource Shapes for Creation Factories as defined in
OSLC Core Specification
Query Capabilities
OSLC CM service providers
MUST support the
Query Capabilities as defined by OSLC Core. OSLC CM service providers
SHOULD support Resource Shapes for Query Capability as defined in
OSLC Core Specification
The Query Capability
MUST support these parameters:
-
oslc.where
-
oslc.select
-
oslc.properties
-
oslc.prefix
If shape information is NOT present with the Query Capability, service providers
SHOULD use these default properties to contain the result:
Delegated UIs
OSLC CM service providers
MUST support the selection and creation of resources by delegated web-based user interface dialogs
Delegated UIs as defined by OSLC Core.
OSLC CM service providers
MAY support the pre-filling of creation dialogs based on the definition at
Delegated UIs.
Usage Identifiers
OSLC CM service provider can identify the usage of various services with additional property values for the
OSLC Core defined
oslc:usage
property on
oslc:Dialog
,
CreationFactory
and
QueryCapability
. The
oslc:usage
property value of
http://open-services.net/ns/core#default
will be used to designate the default or primary service to be used by consumers when multiple entries are found.
The additional property values for
oslc:usage
are:
-
http://open-services.net/ns/cm#defect
- primarily used by QM tools to report defects in testing.
-
http://open-services.net/ns/cm#planItem
- used by QM and PPM tools for associating change requests into plans (project, release, sprint, etc).
-
http://open-services.net/ns/cm#task
- used by QM and PPM tools for associating change requests into executable and track-able items.
-
http://open-services.net/ns/cm#requirementsChangeRequest
- used by RM tools for associating a change request for usage in tracking changes to a Requirements resource
Version Compatibility with 1.0 Specifications
The goal is to provide a smooth transition to 2.0 for both Consumers and Providers. This section will clarify the usage of 1.0 media types so that Providers can support both 1.0 and 2.0 Consumers when HTTP requests are made for a resource with the same URI.
Network addressable resource URIs used for 1.0 resources for these types: ChangeRequest, ServiceDescriptor and ServiceProviderCatalog, should not have to change. Consumers who support both 1.0 and 2.0, should only preserve these resource URIs. When a Provider starts to serve 2.0 resource formats, for instance the ServiceProvider resource, it is recommended to update its locally stored or cached information about the contents of the ServiceProvider resource as the URIs to various capabilities may have changed (query, delegated UIs, factories, etc).
Media Types
For a Change Request Resource format identification of RDF/XML and XML, the media type used for this representation SHOULD be
application/rdf+xml
or
application/xml
. The usage of the OSLC CM 1.0 defined media types of
application/x-oslc-cm-change-request+xml
,
application/x-oslc-cm-service-description+xml
and
application/x-oslc-disc-service-provider-catalog+xml
is being depreciated.
For a Change Request Resource format identification of JSON, the media type used for this representation SHOULD be
application/json
. The usage of the OSLC CM 1.0 defined media type of
application/x-oslc-cm-change-request+json
is being depreciated.
Requesting formats
CM 1.0 consumers wanting to request 1.0 resource formats will not need to change if they used 1.0 defined media types (
application/x-oslc-cm*
), see OSLC-CM 1.0. CM 2.0 consumers should use media types as defined in this specification for requests, excluding the OSLC CM 1.0 specific media types (
application/x-oslc-cm*
). CM consumers supporting both 1.0 and 2.0, should request request both 1.0 and 2.0 media types on HTTP GET requests as usually done with HTTP request parameter
Accept
giving appropriate quality (See HTTP Accept) weighting to help distinguish their preferred content.
For additional guidance, a CM 2.0 consumer or provider may reference the
OSLC-Core-Version
HTTP header with a value of
2.0
.
Appendix A: Samples
(this section is informative)
See
CmSpecificationV2Samples
Appendix B: Resource Shapes
(this section is informative)
See
CmSpecificationV2Shapes
Appendix C: Notices and References
Contributors
Reporting Issues on the Specification
The working group participants who author and maintain this working draft specification, monitor a distribution list where issues or questions can be raised, see
Change Management Mailing List
Also the issues found with this specification and their resolution can be found at
CmSpecV2Issues
Intellectual Property Covenant
The members of the Working Group (or as appropriate, their employers) have documented a Patent Non-Assertion Covenant for implementations of the CM 2.0 Specification, as described in the open-services.net
Terms of Use. Details of the Covenant may be found
here.
References
OSLC Change Management 2.0 Appendix A: Samples
An appendix of the
OSLC Change Management 2.0 Specification
(this document is informative)
Overview
This a collection of various CM resources in a variety of formats to better illustrate their usage. These are samples only and not intended to show every permutation of the various formats.
Service Provider Samples
ServiceProviderCatalog as application/rdf+xml or application/xml
This example shows usage of content type
application/rdf+xml
or
application/xml
. When requesting
application/rdf+xml
you may not assume this same format may be used.
Request
GET /bugs/cat1
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/rdf+xml
ETag: "_87e52ce291112"
Content-Length: nnn
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:oslc="http://open-services.net/ns/core#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<oslc:ServiceProviderCatalog rdf:about="http://example.com/bugs/cat1">
<dcterms:title>Product Grouping</dcterms:title>
<dcterms:description>Lists various bug trackers by Product Grouping</dcterms:description>
<oslc:domain rdf:resource="http://open-services.net/ns/cm#" />
<dcterms:publisher>
<oslc:Publisher>
<dcterms:title>OSLC CM Working Group</dcterms:title>
<dcterms:identifier>com.example.oslc.cm</dcterms:identifier>
<oslc:icon rdf:resource="http://example.com/icons/bugs.ico" />
</oslc:Publisher>
</dcterms:publisher>
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="http://example.com/bugs/sp/f">
<dcterms:title>France region</dcterms:title>
<oslc:details rdf:resource="http://example.com/bugs/sp/f" />
</oslc:ServiceProvider>
</oslc:serviceProvider>
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="http://example.com/bugs/sp/b">
<dcterms:title>Brazil region</dcterms:title>
<oslc:details rdf:resource="http://example.com/bugs/sp/bWeb" />
</oslc:ServiceProvider>
</oslc:serviceProvider>
<oslc:serviceProviderCatalog>
<oslc:ServiceProviderCatalog rdf:about="http://example.com/bugs/cat2">
<dcterms:title>Product Grouping - Asia/Pacific</dcterms:title>
<dcterms:publisher>
<oslc:Publisher>
<dcterms:title>OSLC CM Working Group</dcterms:title>
<dcterms:identifier>com.example.oslc.cm</dcterms:identifier>
<oslc:icon rdf:resource="http://example.com/icons/bugs.ico" />
</oslc:Publisher>
</dcterms:publisher>
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="http://example.com/sp/a">
<dcterms:title>China region</dcterms:title>
<oslc:details rdf:resource="http://example.com/sp/a" />
</oslc:ServiceProvider>
</oslc:serviceProvider>
</oslc:ServiceProviderCatalog>
</oslc:serviceProviderCatalog>
<oslc:oauthConfiguration>
<oslc:OAuthConfiguration>
<oslc:oauthRequestTokenURI rdf:resource="http://example.com/bugs/oauth-request-token" />
<oslc:authorizationURI rdf:resource="http://example.com/bugs/oauth-authorization" />
<oslc:oauthAccessTokenURI rdf:resource="http://example.com/bugs/oauth-access-token" />
</oslc:OAuthConfiguration>
</oslc:oauthConfiguration>
</oslc:ServiceProviderCatalog>
</rdf:RDF>
ServiceProvider as application/rdf+xml or application/xml
This example shows usage of content type
application/rdf+xml
or
application/xml
. When requesting
application/rdf+xml
you may not assume this same format may be used.
Request
GET /bugs/sp/b
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/rdf+xml
ETag: "_2146ef2d234"
Content-Length: nnn
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#"
xml:lang="en">
<oslc:ServiceProvider rdf:about="http://example.com/bugs/sp/b">
<dcterms:title>Brazil region bug tracker</dcterms:title>
<dcterms:description>Example OSLC CM Service</dcterms:description>
<oslc:details rdf:resource="http://example.com/bugs/sp/bWeb" />
<dcterms:publisher>
<oslc:Publisher>
<dcterms:title>OSLC CM Working Group</dcterms:title>
<dcterms:identifier>com.example.oslc.cm</dcterms:identifier>
<oslc:icon rdf:resource="http://example.com/icons/bugs.ico" />
</oslc:Publisher>
</dcterms:publisher>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefix>rdf</oslc:prefix>
<oslc:prefixBase rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefix>dcterms</oslc:prefix>
<oslc:prefixBase rdf:resource="http://purl.org/dc/terms/" />
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefix>oslc</oslc:prefix>
<oslc:prefixBase rdf:resource="http://open-services.net/ns/core#" />
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefix>oslc_cm</oslc:prefix>
<oslc:prefixBase rdf:resource="http://open-services.net/ns/cm#" />
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:service>
<oslc:Service>
<oslc:domain rdf:resource="http://open-services.net/ns/cm#" />
<oslc:creationFactory>
<oslc:CreationFactory>
<dcterms:title>Default Bug factory</dcterms:title>
<oslc:label>Bug</oslc:label>
<oslc:creation rdf:resource="http://example.com/bugs/factory" />
<oslc:resourceShape rdf:resource="http://example.com/shapes/bugs" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:usage rdf:resource="http://open-services.net/ns/cm#defect" />
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:creationFactory>
<oslc:CreationFactory>
<dcterms:title>Optional factory for Bug Comments</dcterms:title>
<oslc:label>Bug Comments</oslc:label>
<oslc:creation rdf:resource="http://example.com/bugs/comments" />
<oslc:resourceShape rdf:resource="http://example.com/shapes/comments" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/core#Comment" />
</oslc:CreationFactory>
</oslc:creationFactory>
<oslc:queryCapability>
<oslc:QueryCapability>
<dcterms:title>Blog Entry and Comment Query</dcterms:title>
<oslc:label>blogquery</oslc:label>
<oslc:queryBase rdf:resource="http://example.com/query" />
<oslc:resourceShape rdf:resource="http://example.com/shapes/blogquery" />
</oslc:QueryCapability>
</oslc:queryCapability>
<oslc:creationDialog>
<oslc:Dialog>
<dcterms:title>New Bug</dcterms:title>
<dcterms:description>Web dialog for creating new Bug report</dcterms:description>
<oslc:label>Bug</oslc:label>
<oslc:dialog rdf:resource="http://example.com/bugs/dialogs/newbug" />
<oslc:hintWidth>651px</oslc:hintWidth>
<oslc:hintHeight>294px</oslc:hintHeight>
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:usage rdf:resource="http://open-services.net/ns/cm#defect" />
</oslc:Dialog>
</oslc:creationDialog>
<oslc:selectionDialog>
<oslc:Dialog>
<dcterms:title>Pick Bug</dcterms:title>
<dcterms:description>Web dialog for picking an existing Bug</dcterms:description>
<oslc:label>Bug</oslc:label>
<oslc:dialog rdf:resource="http://example.com/bugs/dialogs/pickbug" />
<oslc:hintWidth>500px</oslc:hintWidth>
<oslc:hintHeight>250px</oslc:hintHeight>
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:usage rdf:resource="http://open-services.net/ns/cm#defect" />
</oslc:Dialog>
</oslc:selectionDialog>
</oslc:Service>
</oslc:service>
</oslc:ServiceProvider>
</rdf:RDF>
ChangeRequest Samples
Request with no parameters as application/rdf+xml
or application/xml
This is a simple ChangeRequest resource who's request format is identified as
application/xml
. This example is also a valid
application/rdf+xml
response format, though when receiving
application/rdf+xml
the consumer should make no assumptions about the format.
Request
GET /bugs/2314
Accept: application/xml
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/xml
ETag: "_172190-a702b13"
Content-Length: nnn
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_cm="http://open-services.net/ns/cm#" xmlns:ex="http://example.com/bugtracker">
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/2314">
<rdf:type rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<dcterms:identifier> 00002314 </dcterms:identifier>
<oslc:shortTitle>Bug 2314</oslc:shortTitle>
<dcterms:title> Invalid installation instructions </dcterms:title>
<dcterms:type> Defect </dcterms:type>
<oslc:instanceShape rdf:resource="http://example.com/shapes/defect" />
<dcterms:description>
Invalid installation instructions indicating invalid patches to be applied.
</dcterms:description>
<dcterms:subject> doc </dcterms:subject>
<dcterms:subject> install </dcterms:subject>
<dcterms:creator rdf:resource="http://myserver/mycmapp/users/joe" />
<dcterms:contributor rdf:resource="http://myserver/mycmapp/users/bob" />
<dcterms:modified> 2008-09-16T08:42:11.265Z </dcterms:modified>
<dcterms:created> 2008-07-04T11:00:00.000Z </dcterms:created>
<oslc_cm:status> Main.InProgress </oslc_cm:status>
<oslc:discussedBy rdf:resource="http://example.com/bugs/2314/discussion" />
<oslc_cm:relatedChangeRequest
rdf:resource="http://myserver/mycmapp/bugs/1235" />
<oslc_cm:relatedChangeRequest
rdf:resource="http://remoteserver/mycmapp/defects/abc123" />
<oslc_cm:tracksRequirement rdf:resource="http://myserver/reqtool/req/34ef31af" />
<oslc_cm:tracksRequirement rdf:resource="http://remoteserver/reqrepo/project1/req456" />
<!-- Servicer provider specific properties -->
<ex:priority> Medium </ex:priority>
<ex:severity> Normal </ex:severity>
</oslc_cm:ChangeRequest>
</rdf:RDF>
Request with no parameters as JSON
This is a simple ChangeRequest resource who's format could be identified as
application/json
.
Request
GET /bugs/2314
Accept: application/json
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/json
ETag: "_172190-a702b13"
Content-Length: nnn
{
"prefixes" : {
"dcterms" : "http://purl.org/dc/terms/",
"oslc" : "http://open-services.net/ns/core#",
"oslc_cm" : "http://open-services.net/ns/cm#",
"ex" : "http://example.com/bugtracker"
},
"rdf:about" : "http://example.com/bugs/2314",
"rdf:type" : [{
"rdf:resource" : "http://open-services.net/ns/cm#ChangeRequest"
}],
"dcterms:identifier" : "00002314",
"oslc:shortTitle" : "Bug 2314",
"dcterms:title" : "Invalid installation instructions",
"dcterms:type" : "Defect",
"oslc:instanceShape" : {
"rdf:resource" : "http://example.com/shapes/defect"
},
"dcterms:description" : "Invalid installation instructions indicating invalid patches to be applied.",
"dcterms:subject" : ["doc", "install"],
"dcterms:creator" : [{
"rdf:resource" : "http://myserver/mycmapp/users/joe"
}],
"dcterms:contributor" : [{
"rdf:resource" : "http://myserver/mycmapp/users/bob"
}],
"dcterms:modified" : "2008-09-16T08:42:11.265Z",
"dcterms:created" : "2008-07-04T11:00:00.000Z",
"oslc_cm:status" : "InProgress",
"oslc:discussedBy" : {
"rdf:resource" : "http://example.com/bugs/2314/discussion"
},
"oslc_cm:relatedChangeRequest" : [{
"rdf:resource" : "http://myserver/mycmapp/bugs/1235"
},
{ "rdf:resource" : "http://remoteserver/mycmapp/defects/abc123"
}],
"oslc_cm:tracksRequirement" : [{
"rdf:resource" : "http://myserver/reqtool/req/34ef31af"
},
{ "rdf:resource" : "http://remoteserver/reqrepo/project1/req456"
}],
"ex:priority" : "Medium",
"ex:severity" : "Normal"
}
Request with no parameters as Turtle
This is a simple ChangeRequest resource who's format could be identified as
text/turtle
.
Request
GET /bugs/2314
Accept: text/turtle
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: text/turtle
ETag: "_172190-a702b13"
Content-Length: nnn
@prefix ex: <http://example.com/bugtracker> .
@prefix oslc: <http://open-services.net/ns/core#> .
@prefix oslc_cm: <http://open-services.net/ns/cm#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
<http://example.com/bugs/2314>
a oslc_cm:ChangeRequest ;
dcterms:identifier " 00002314 " ;
oslc:shortTitle "Bug 2314" ;
dcterms:title " Invalid installation instructions " ;
dcterms:type " Defect " ;
oslc:instanceShape <http://example.com/shapes/defect> ;
dcterms:description "Invalid installation instructions indicating invalid patches to be applied." ;
dcterms:subject " doc " ,
" install " ;
dcterms:creator <http://myserver/mycmapp/users/joe> ;
dcterms:contributor <http://myserver/mycmapp/users/bob> ;
dcterms:modified " 2008-09-16T08:42:11.265Z " ;
dcterms:created " 2008-07-04T11:00:00.000Z " ;
oslc_cm:status " Main.InProgress " ;
oslc:discussedBy <http://example.com/bugs/2314/discussion> ;
oslc_cm:relatedChangeRequest <http://myserver/mycmapp/bugs/1235> ,
<http://remoteserver/mycmapp/defects/abc123> ;
oslc_cm:tracksRequirement <http://myserver/reqtool/req/34ef31af> ,
<http://remoteserver/reqrepo/project1/req456> ;
ex:priority " Medium " ;
ex:severity " Normal " .
Query results as application/rdf+xml
or application/xml
Note this example shows usage of content type
application/rdf+xml
or
application/xml
. When using
application/rdf+xml
consumers should not make any assumptions about the format of the RDF/XML.
Simple
Returns 5 results, no paging and no request for inline/selected properties. There is no associated query resource shape definition.
Request
GET /query?oslc.where=oslc_cm.inprogress=true
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/rdf+xml
ETag: "_a729e62bd4"
Content-Length: nnn
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:oslc="http://open-services.net/ns/core#">
<oslc:ResponseInfo rdf:about="http://example.com/query?oslc.where=oslc_cm.inprogress=true">
<dcterms:title>Bug query service</dcterms:title>
</oslc:ResponseInfo>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member rdf:resource="http://example.com/bugs/5" />
<rdfs:member rdf:resource="http://example.com/bugs/4" />
<rdfs:member rdf:resource="http://example.com/bugs/1" />
<rdfs:member rdf:resource="http://example.com/bugs/2" />
<rdfs:member rdf:resource="http://example.com/bugs/3" />
</rdf:Description>
</rdf:RDF>
With oslc.select
Returns 5 results, no paging and request for inline/selected properties.
Request
GET /query?oslc.where=oslc_cm.inprogress=true&oslc.select=dcterms:title
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/rdf+xml
ETag: "_a729e62bd3"
Content-Length: nnn
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:oslc_cm="http://open-services.net/ns/cm#"
xmlns:oslc="http://open-services.net/ns/core#">
<oslc:ResponseInfo rdf:about="http://example.com/query?oslc.where=oslc_cm.inprogress=true&oslc.select=dcterms:title">
<dcterms:title>Bug query service</dcterms:title>
</oslc:ResponseInfo>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member>
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/5">
<dcterms:title>Error in install instructions</dcterms:title>
</oslc_cm:ChangeRequest>
</rdfs:member>
<rdfs:member>
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/4">
<dcterms:title>Help showing in wrong language</dcterms:title>
</oslc_cm:ChangeRequest>
</rdfs:member>
<rdfs:member>
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/1">
<dcterms:title>Fix misplelings in help</dcterms:title>
</oslc_cm:ChangeRequest>
</rdfs:member>
<rdfs:member>
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/2">
<dcterms:title>Define all acronyms in help</dcterms:title>
</oslc_cm:ChangeRequest>
</rdfs:member>
<rdfs:member>
<oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/3">
<dcterms:title>Remove references to invalid references</dcterms:title>
</oslc_cm:ChangeRequest>
</rdfs:member>
</rdf:Description>
</rdf:RDF>
Query results as application/json
Note this example shows usage of content type
application/json
Simple
Returns 5 results, no paging and no request for inline/selected properties. There is no associated query resource shape definition.
Request
GET /query?oslc.where=oslc_cm.inprogress=true
Accept: application/json
OSLC-Core-Version: 2.0
Response
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/json
ETag: "_e279ba32"
Content-Length: nnn
{
"prefixes" : {
"oslc": "http://open-services.net/ns/core#",
"oslc_cm" : "http://open-services.net/ns/cm#",
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"dcterms" : "http://purl.org/dc/terms/"
},
"rdf:about" : "http://example.com/query",
"oslc:responseInfo" : {
"dcterms:title" : "Bug Service Query Results",
"rdf:about" : "http://example.com/query?oslc.where=oslc_cm.inprogress=true",
"rdf:type" : [ { "rdf:resource" : "http://open-services.net/ns/core#ResponseInfo" } ]
},
"oslc:results" : [
{ "rdf:resource" : "http://example.com/bugs/5" },
{ "rdf:resource" : "http://example.com/bugs/4" },
{ "rdf:resource" : "http://example.com/bugs/1" },
{ "rdf:resource" : "http://example.com/bugs/2" },
{ "rdf:resource" : "http://example.com/bugs/3"
}]
}
Query results as application/atom+xml
Note this example shows usage of content type
application/atom+xml
Simple
Returns 5 results, no paging and no request for inline/selected properties. There is no associated query resource shape definition.
Click
HERE to see Atom Syndication Format validation.
Request
GET /query?oslc.where=oslc_cm.inprogress%3Dtrue
Accept: application/atom+xml
OSLC-Core-Version: 2.0
Response 1 (with referenced application/rdf+xml
content)
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/atom+xml
ETag: "_d32348ef2"
Content-Length: nnn
<feed
xmlns="http://www.w3.org/2005/Atom"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:oslc_cm="http://open-services.net/ns/cm#"
xmlns:oslc="http://open-services.net/ns/core#">
<id>http://example.com/query?oslc.where=oslc...</id>
<title>Bug query service</title>
<updated>2009-10-10T12:00:00-05:00</updated>
<author><name>Bug Service</name></author>
<link rel="self"
href="http://example.com/query?oslc.where=oslc_cm.inprogress%3Dtrue" />
<entry>
<id>http://example.com/bugs/5</id>
<title>Bug 5</title>
<updated>2009-10-10T12:00:00-05:00</updated>
<summary>Link to matching resource</summary>
<content type="application/rdf+xml" src="http://example.com/bugs/5" />
</entry>
<entry>
<id>http://example.com/bugs/4</id>
<title>Bug 4</title>
<updated>2009-10-10T12:00:00-04:45</updated>
<summary>Link to matching resource</summary>
<content type="application/rdf+xml" src="http://example.com/bugs/4" />
</entry>
<entry>
<id>http://example.com/bugs/1</id>
<title>Bug 1</title>
<updated>2009-10-10T12:00:00-04:37</updated>
<summary>Link to matching resource</summary>
<content type="application/rdf+xml" src="http://example.com/bugs/1" />
</entry>
<entry>
<id>http://example.com/bugs/2</id>
<title>Bug 2</title>
<updated>2009-10-10T12:00:00-04:20</updated>
<summary>Link to matching resource</summary>
<content type="application/rdf+xml" src="http://example.com/bugs/2" />
</entry>
<entry>
<id>http://example.com/bugs/3</id>
<title>Bug 3</title>
<updated>2009-10-10T12:00:00-04:07</updated>
<summary>Link to matching resource</summary>
<content type="application/rdf+xml" src="http://example.com/bugs/3" />
</entry>
</feed>
Response 2 (with embedded application/rdf+xml
content)
Click
HERE to see Atom Syndication Format validation.
HTTP/1.1 200 OK
OSLC-Core-Version: 2.0
Content-Type: application/atom+xml
ETag: "_d32348ef2"
Content-Length: nnn
<feed
xmlns="http://www.w3.org/2005/Atom"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:oslc_cm="http://open-services.net/ns/cm#"
xmlns:oslc="http://open-services.net/ns/core#">
<id>http://example.com/query?oslc.where=oslc_cm.inprogress%3Dtrue</id>
<title>Bug query service</title>
<updated>2009-10-10T12:00:00-05:00</updated>
<author><name>Bug Service</name></author>
<link rel="self"
href="http://example.com/query?oslc.where=oslc_cm.inprogress%3Dtrue" />
<entry>
<id>http://example.com/bugs/5</id>
<title>Bug 5</title>
<updated>2009-10-10T12:00:00-05:00</updated>
<content type="application/rdf+xml">
<rdf:RDF>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member rdf:resource="http://example.com/bugs/5" />
</rdf:Description>
</rdf:RDF>
</content>
</entry>
<entry>
<id>http://example.com/bugs/4</id>
<title>Bug 4</title>
<updated>2009-10-10T12:00:00-04:49</updated>
<content type="application/rdf+xml">
<rdf:RDF>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member rdf:resource="http://example.com/bugs/4" />
</rdf:Description>
</rdf:RDF>
</content>
</entry>
<entry>
<id>http://example.com/bugs/3</id>
<title>Bug 1</title>
<updated>2009-10-10T12:00:00-04:37</updated>
<content type="application/rdf+xml">
<rdf:RDF>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member rdf:resource="http://example.com/bugs/1" />
</rdf:Description>
</rdf:RDF>
</content>
</entry>
<entry>
<id>http://example.com/bugs/2</id>
<title>Bug 2</title>
<updated>2009-10-10T12:00:00-04:23</updated>
<content type="application/rdf+xml">
<rdf:RDF>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member rdf:resource="http://example.com/bugs/2" />
</rdf:Description>
</rdf:RDF>
</content>
</entry>
<entry>
<id>http://example.com/bugs/3</id>
<title>Bug 3</title>
<updated>2009-10-10T12:00:00-04:20</updated>
<content type="application/rdf+xml">
<rdf:RDF>
<rdf:Description rdf:about="http://example.com/query">
<rdfs:member rdf:resource="http://example.com/bugs/3" />
</rdf:Description>
</rdf:RDF>
</content>
</entry>
</feed>
An appendix of the
OSLC Change Management 2.0 Specification
Overview
This defines the definitions of the OSLC CM 2.0 defined resources utilizing the OSLC Core Shape Resource definition. Implementations may use these shapes to as a basis for their work, providing their own property additions and additional constraints on OSLC defined properties.
ChangeRequest
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:foaf="http://http://xmlns.com/foaf/0.1/"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_cm="http://open-services.net/ns/cm#">
<oslc:ResourceShape
rdf:about="http://example.com/oslc/shapes/ChangeRequest">
<dcterms:title>CM V2 Change Request</dcterms:title>
<oslc:describes rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<rdf:type rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<!-- OSLC Core Common Properties -->
<oslc:property>
<oslc:Property>
<oslc:name>shortTitle</oslc:name>
<dcterms:title>Short title</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#shortTitle" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#XMLLiteral" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>description</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/description" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>title</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/title" />
<oslc:valueType
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>identifier</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/identifier" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Exactly-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>subject</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/subject" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>creator</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/creator" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#AnyResource" />
<oslc:range rdf:resource="http://http://xmlns.com/foaf/0.1/Person" />
<oslc:valueShape rdf:resource="http://example.com/oslc/shapes/Person" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Either" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>contributor</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/contributor" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#AnyResource" />
<oslc:range rdf:resource="http://http://xmlns.com/foaf/0.1/Person" />
<oslc:valueShape rdf:resource="http://example.com/oslc/shapes/Person" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Either" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>created</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/created" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>modified</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/modified" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>type</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>serviceProvider</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#serviceProvider" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/core#ServiceProvider" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>instanceShape</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#instanceShape" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/core#ResourceShape" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>discussedBy</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/core#discussedBy" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#AnyResource" />
<oslc:range rdf:resource="http://open-services.net/ns/core#Discussion" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Either" />
</oslc:Property>
</oslc:property>
<!-- OSLC CM additional properties -->
<oslc:property>
<oslc:Property>
<oslc:name>type</oslc:name>
<oslc:propertyDefinition rdf:resource="http://purl.org/dc/terms/type" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>closeDate</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#closeDate" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>status</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#status" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#String" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
</oslc:Property>
</oslc:property>
<!-- State predicates -->
<oslc:property>
<oslc:Property>
<oslc:name>closed</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#closed" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#Boolean" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>inprogress</oslc:name>
<dcterms:title>in progress</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#inprogress" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#Boolean" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>fixed</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#fixed" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#Boolean" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>approved</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#approved" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#Boolean" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>reviewed</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#reviewed" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#Boolean" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>verified</oslc:name>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#verified" />
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#Boolean" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:readOnly>true</oslc:readOnly>
</oslc:Property>
</oslc:property>
<!-- Relationship properties -->
<oslc:property>
<oslc:Property>
<oslc:name>relatedChangeRequest</oslc:name>
<dcterms:title>Related ChangeRequest</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#relatedChangeRequest" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>affectsPlanItem</oslc:name>
<dcterms:title>Affects PlanItem</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#affectsPlanItem" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>affectedByDefect</oslc:name>
<dcterms:title>Affected by Defect</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#affectedByDefect" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>tracksRequirement</oslc:name>
<dcterms:title>Tracks Requirement</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#tracksRequirement" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/rm#Requirement" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>implementsRequirement</oslc:name>
<dcterms:title>Implements Requirement</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#implementsRequirement" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/rm#Requirement" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>affectsRequirement</oslc:name>
<dcterms:title>Affects Requirement</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#affectsRequirement" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/rm#Requirement" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>testedByTestCase</oslc:name>
<dcterms:title>Tested by TestCase</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#testedByTestCase" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestCase" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>affectsTestResult</oslc:name>
<dcterms:title>Affects TestResult</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#affectsTestResult" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestResult" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>blocksTestExecutionRecord</oslc:name>
<dcterms:title>Blocks TestExecutionRecord</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#blocksTestExecutionRecord" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestExecutionRecord" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>relatedTestExecutionRecord</oslc:name>
<dcterms:title>Related TestExecutionRecord</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#relatedTestExecutionRecord" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestExecutionRecord" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>relatedTestCase</oslc:name>
<dcterms:title>Related TestCase</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#relatedTestCase" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestCase" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>relatedTestPlan</oslc:name>
<dcterms:title>Related TestPlan</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#relatedTestPlan" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestPlan" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>relatedTestScript</oslc:name>
<dcterms:title>Related TestScript</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#relatedTestScript" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/qm#TestScript" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
<oslc:property>
<oslc:Property>
<oslc:name>tracksChangeSet</oslc:name>
<dcterms:title>Tracks ChangeSet</dcterms:title>
<oslc:propertyDefinition
rdf:resource="http://open-services.net/ns/cm#tracksChangeSet" />
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource" />
<oslc:range rdf:resource="http://open-services.net/ns/scm#ChangeSet" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many" />
<oslc:representation rdf:resource="http://open-services.net/ns/core#Reference" />
</oslc:Property>
</oslc:property>
</oslc:ResourceShape>
</rdf:RDF>
foaf:Person
See
OSLCCoreSpecRDFXMLExamples
oslc:Discussion
See
OSLCCoreSpecRDFXMLExamples
oslc:Comment
See
OSLCCoreSpecRDFXMLExamples