This wiki is locked. Future workgroup activity and specification development must take place at our new wiki. For more information, see this blog post about the new governance model and this post about changes to the website.

C/ALM-specific collections


These collection formats lie outwith the scope of OSLC RM.

Properties exposing these collections are available from requirement resources which are tagged with the calm:calm-backlink-protocol-version property.

C/ALM property Meaning
calm:implementedByCollection Collection of links of type "implemented by" that are defined on this requirement.
calm:validatedByCollection Collection of link of type "validated by" that are defined on this requirement.

These collection interfaces are designed to be compatible and offer a similar API to the link collection API offered in the example provided in the OSLC CM v1.0 specification. Requirement resources declare backlinking support with a property "calm:calm-backlink-protocol-version" on that resource. Such resources MUST then expose the calm:implementedByCollection and the calm:validatedByCollection properties (see https://jazz.net/wiki/bin/view/Main/CALMLinkTypes for the link types defined by CALM).

Notice that the content type of these collection resources MUST be either application/xml or application/json. Each entry in the collection describes a single resource by its URI, and MAY also include an rdfs:label which succinctly describes that resource.

Updates to these C/ALM collection resources require a PUT. The server MUST accept both application/xml and application/json media types.

GET http://rrc.example.com/requirements/24/implementedByCollection
with Accept application/xml

<?xml version="1.0" encoding="UTF-8"?>
<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:rm="http://open-services.net/xmlns/rdm/1.0/"
   xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"
   xmlns:dc="http://purl.org/dc/terms/">

   <rm:LinkCollection rdf:about="http://rrc.example.com/requirements/24/implementedByCollection">
       <calm:implementedBy
           rdf:resource="http://rtc.example.com/workitem/3883"
           rdfs:label="Signal multiplexing" />
       <calm:implementedBy
           rdf:resource="http://rtc.example.com/workitem/6373"
           rdfs:label="Frequency doubling" />
       <calm:implementedBy
           rdf:resource="http://rtc.example.com/workitem/6535"
           rdfs:label="Parameter normalization" />
   </rm:LinkCollection>
</rdf:RDF>
 
EXAMPLE: JSON representation. 
Topic revision: r3 - 08 Sep 2009 - 12:59:31 - IanGreen
 
This site is powered by the TWiki collaboration platform Copyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use
Ideas, requests, problems regarding this site? Send feedback