It's all about the answers!

Ask a question

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

Nicola Carusi (281011) | asked Nov 11 '14, 5:13 a.m.

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


2 answers

permanent link
Sudarshan Rao (1963) | answered Nov 11 '14, 7:15 a.m.
 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:name rdf:datatype=""
<oslc:readOnly rdf:datatype=""
<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=""/>
<oslc:propertyDefinition rdf:resource="https://clmdoors:8443/dwa/ns/linkTypes#references"/>
<oslc:occurs rdf:resource=""/>
<oslc:range rdf:resource=""/>
<oslc:valueShape rdf:resource="https://clmdoors:8443/dwa/rm/oslc/shape/requirement/urn:rational::1-52d55a7971df2063-M-00000020"/>
<oslc:representation rdf:resource=""/>
<dcterms:title rdf:parseType="Literal">references</dcterms:title>

Hope that helps..

permanent link
Nicola Carusi (281011) | answered Nov 11 '14, 8:00 a.m.

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.

Your answer

Register or to post your answer.