It's all about the answers!

Ask a question

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

Kapil Raikar (2349) | 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:

3. Request the Catalog entry and got the following ServiceProvider Response
<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"/>

 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?

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.5k414) | 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:

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.