How do I retrieve DOORS NG module content using OSLC?
I have a module in DOORS NG 5.0.2. It is Type: Module, Format: Module. The requirements for his module are in a collection, but the module include headers etc. I tried a query, shown below, but I don't get the content. I would like to get my hands on the order of requirements, with heading, in the module. What query should I use?
I tried a query of the form (w/ some changes to avoid spam-detector):
<oslc:ResponseInfo ...>
<rdf:Description)
<rdfs:member>
<oslc_rm:RequirementCollection>
<f1:accessControl>
<dcterms:description/>
<nav:parent/>
<dcterms:contributor/>
<oslc:instanceShape/>
<rt:_GDe>2016-02-29T22:54:36.619Z</rt:_GDe>
<dcterms:title>L4 Requirements</dcterms:title>
<rt:_GB_YcW3/>
<dcterms:identifier>123456</dcterms:identifier>
<dcterms:modified>2016-04-12T15:32:13.94Z</dcterms:modified>
<rmTypes:ArtifactFormat/>
<dcterms:creator/>
<rt:_GApU/>
<dcterms:created>2016-02-29T22:54:36.619Z</dcterms:created>
<rt:_F-ag>2016-04-12T15:32:13.94Z</rt:_F-ag>
</oslc_rm:RequirementCollection>
</rdfs:member>
</rdf:Description>
I tried a query of the form (w/ some changes to avoid spam-detector):
http.../rm/views?oslc.query=true&Response (abreviated to avoid spam filter):
projectURL=...%2Frm%2Fprocess%2Fproject-areas%2F_FP&
oslc.prefix=dcterms%3d%3chttp...%3e,
nav%3d%3chttp...%3e&
oslc.select=*&oslc.where=dcterms:identifier=123456
<oslc:ResponseInfo ...>
<rdf:Description)
<rdfs:member>
<oslc_rm:RequirementCollection>
<f1:accessControl>
<dcterms:description/>
<nav:parent/>
<dcterms:contributor/>
<oslc:instanceShape/>
<rt:_GDe>2016-02-29T22:54:36.619Z</rt:_GDe>
<dcterms:title>L4 Requirements</dcterms:title>
<rt:_GB_YcW3/>
<dcterms:identifier>123456</dcterms:identifier>
<dcterms:modified>2016-04-12T15:32:13.94Z</dcterms:modified>
<rmTypes:ArtifactFormat/>
<dcterms:creator/>
<rt:_GApU/>
<dcterms:created>2016-02-29T22:54:36.619Z</dcterms:created>
<rt:_F-ag>2016-04-12T15:32:13.94Z</rt:_F-ag>
</oslc_rm:RequirementCollection>
</rdfs:member>
</rdf:Description>
Accepted answer
Hi, OSLC do not support exposing modules structure ( it exposes modules as an OSLC collection ). If you only need to "read" the module strcuture you can use the Reportable API https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI. Currently the API do not support "write" operations to module membership.