Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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?

0 votes

Comments

We cannot do this using OSLC requests.


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



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,079

Question asked: Jul 24 '15, 3:03 a.m.

Question was seen: 4,824 times

Last updated: Sep 10 '15, 6:12 a.m.

Confirmation Cancel Confirm