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 |
2 answers
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..
|
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
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.