It's all about the answers!

Ask a question

Question about default location of workitem factory


0
1
Takehiko Amano (1.3k3641) | asked Aug 09 '12, 4:01 a.m.
JAZZ DEVELOPER
I need confirmation about the default location of workitem factory.  When I access RTC V4.0 workitem service using OSLC syntax (accept:application/xml, OSLC-Core-Version:2.0), the following is returned for oslc:CreationFactory node. I marked in bold for my question.

<oslc:CreationFactory>
<dcterms:title rdf:parseType="Literal">Location for creation of Defect change requests </dcterms:title>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:usage rdf:resource="http://open-services.net/ns/cm#defect"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>
<oslc:resourceType rdf:resource="https://localhost:9443/ccm/oslc/types/__1wUY9CTEeG788Paqq33pQ/defect"/>
<oslc:resourceShape rdf:resource="https://localhost:9443/ccm/oslc/context/__1wUY9CTEeG788Paqq33pQ/shapes/workitems/defect"/>
<oslc:creation rdf:resource="https://localhost:9443/ccm/oslc/contexts/__1wUY9CTEeG788Paqq33pQ/workitems/defect"/>
</oslc:CreationFactory>


<oslc:CreationFactory>
<dcterms:title rdf:parseType="Literal">Location for creation of change requests</dcterms:title>
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>
<oslc:resourceShape rdf:resource="https://localhost:9443/ccm/oslc/context/__1wUY9CTEeG788Paqq33pQ/shapes/workitems/defect"/>
<oslc:creation rdf:resource="https://localhost:9443/ccm/oslc/contexts/__1wUY9CTEeG788Paqq33pQ/workitems"/>
</oslc:CreationFactory>

In version V3.0, "https://localhost:9443/ccm/oslc/contexts/<uuid>/workitems" was default location. However, there is no element <oslc:usage> for this URL. In stead, it appears in "Defect" resource type.

Is this according to spec ? or Defect ?

Thanks !

Be the first one to answer this question!


Register or to post your answer.