It's all about the answers!

Ask a question

Accessing Rational DOORS Requirements using OSLC_RM/DOORS Web Access


Sin Ly (216) | asked Jun 11 '15, 8:10 a.m.
 I have been trying to access some requirements in Rational DOORS, by using the information here to create some queries.

http://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/

But I have only been able to access the folder structure and not the actual module. Whenever I try to access a module using a query, as described in the previous site, I get this.

<oslc_rm:ResponseInfo rdf:about="https://doors.dgs.com:8443/dwa/rm/oslc/query/requirement?oslc.where=dcterms:description=%22admin%22">
<dcterms:title>DOORS ERS Repository</dcterms:title>
</oslc_rm:ResponseInfo>
</rdf:RDF>

and that is whatever query I make.

One answer



permanent link
Maeve OReilly (3813) | answered Jun 11 '15, 9:17 a.m.
Hi Sin Ly,

would need more information on the full request and full response.  

But maybe have a look at the lyo client - that has a java sample where a DOORS module is accessed and updated - http://wiki.eclipse.org/Lyo/BuildClient#DoorsOauthSample

You could also look in the DWA logs - server\festival\logs, and enable extended logging by using the .support log4j in festival\config.  There may be something obvious.  

Maeve

Comments
Sin Ly commented Jun 11 '15, 9:57 a.m.

  I fixed the issue, the queryBase link was not in the location specified in:



The document is 2 years old, so I suppose they changed the structure.

Thanks though :)


Maeve OReilly commented Jun 11 '15, 10:07 a.m.

 There were changes to the service discovery doc around 9.6.1.1 I believe, to optimize performance.  So that may indeed be it.  


Sudarshan Rao commented Jun 12 '15, 2:30 a.m.

The queryBase link you refer in the question (/dwa/rm/oslc/query/requirement), can be used to query only for links (collaboration links) which is database-wide.
To query on requirements itself, you'll need to use queryBase of specific modules you need. All queryBase links can be found only in Service Providers (which essentially are either modules or views). Link to Service Providers can be found in Service Provider Catalog (which are folders or projects). Figure 1 and 2 in that article should give an idea of how to navigate and find what you need..

Your answer


Register or to post your answer.