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

DOORS OSLC: how to retrieve the internal link of a requirement

Hi guys,

I have a requirement in a Doors module which is linked to another requirement in another Doors Module.

Now, what I want to do is to retrieve this link trough OSLC.

I tried with a GET request to the URL of the requirement. I get a lot of information but I cannot get the one I need.

Any suggestion?

thank you

Nicola

0 votes



2 answers

Permanent link
 I think you'll find the answer if you look at the instanceShape of the requirement. 
And the URL to the instanceShape should be present in the requirement representation.

For example, for Rational DOORS (not DOORS Next), I see internal link information in <defaultLinks:references>. I arrived at it by looking at the instanceShape, which has the following info for internal link:
 <oslc:property>
<oslc:Property>
<oslc:name rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>references</oslc:name>
<oslc:readOnly rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
>false</oslc:readOnly>
<dcterms:description rdf:parseType="Literal">A DOORS Internal link with direction OUT. This must lead to a DOORS resource IN THE SAME DATABASE AS THE SUBJECT RESOURCE.</dcterms:description>
<oslc:valueType rdf:resource="http://open-services.net/ns/core#Resource"/>
<oslc:propertyDefinition rdf:resource="https://clmdoors:8443/dwa/ns/linkTypes#references"/>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-many"/>
<oslc:range rdf:resource="http://open-services.net/ns/rm#Requirement"/>
<oslc:valueShape rdf:resource="https://clmdoors:8443/dwa/rm/oslc/shape/requirement/urn:rational::1-52d55a7971df2063-M-00000020"/>
<oslc:representation rdf:resource="http://open-service.net/ns/core#Reference"/>
<dcterms:title rdf:parseType="Literal">references</dcterms:title>
</oslc:Property>
</oslc:property>

Hope that helps..

0 votes


Permanent link

Thank you, that helps of course...but my problem is another one.

When I do the GET request to the url of the requirement, I get the RDF/XML of the requirement in which is present, for example, the validatedBy tag, but in which I cannot find the tag I need.

Do you know if there is a way to display it?

I'm using Eclipse Lyo.

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
× 10,938

Question asked: Nov 11 '14, 5:13 a.m.

Question was seen: 5,301 times

Last updated: Nov 11 '14, 8:00 a.m.

Confirmation Cancel Confirm