Question about default location of workitem factory
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 !
<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 !