It's all about the answers!

Ask a question

DOORS Next Generation : Fetching all Artifact Attributes for a particular RM Project-Area.


Kapil Raikar (2359) | asked Jul 24 '15, 3:03 a.m.
We need to fetch all the Artifact Attributes and Artifact Data Types for a particular RM Project-Area.
Here are the things that we did :
1. Requested the server's services:

GET https://vinw2k12doors4192.eqvm.local:9443/rm/rootservices

2. From the response got the Catalog entry:
https://vinw2k12doors4192.eqvm.local:9443/rm/oslc_rm/catalog

3. Request the Catalog entry and got the following ServiceProvider Response
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="https://vinw2k12doors4192.eqvm.local:9443/rm/oslc_rm/_IfheUCxMEeWDP-ITs4K9jw/services.xml">
<dcterms:title rdf:parseType="Literal">test002</dcterms:title>
<jp:consumerRegistry rdf:resource="https://vinw2k12doors4192.eqvm.local:9443/rm/process/project-areas/_IfheUCxMEeWDP-ITs4K9jw/links"/>
<oslc:details rdf:resource="https://vinw2k12doors4192.eqvm.local:9443/rm/process/project-areas/_IfheUCxMEeWDP-ITs4K9jw"/>
</oslc:ServiceProvider>
</oslc:serviceProvider>

 We tried querying (HTTP GET) the rdf:resource and rdf:about urls but did not find the details of attributes and data types.

How do we fetch all the Artifact Attributes and Artifact Data Types?

Comments
Kapil Raikar commented Aug 28 '15, 3:02 a.m.

We cannot do this using OSLC requests.


We have to make the DOORS rest API calls to achieve this.

One answer



permanent link
Donald Nong (14.5k614) | answered Sep 10 '15, 6:12 a.m.
Not sure whether you have resolved it.
To get the complete "type system" (including artifact types, attribute types, attribute data types and link types), use the URL https://<server>:<port>/rm/types?priviate=true&accept=*&resourceContext=<project area URL>. Something like this:
https://clm:9443/rm/types?priviate=true&accept=*&resourceContext=https%3A%2F%2Fclm%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_sUgYEIPsEeSfUbpncKGSsw

You should get an RDF/XML file as the response. Comparing the content with the Web GUI, it should be quite easy to understand the XML content.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.