|
|
Re: OSLC Query to get requirements from a RequirementCollection on DOORS NG [message #1700915 is a reply to message #1700867] |
Wed, 08 July 2015 07:21 |
Carlos Gomez Messages: 63 Registered: October 2010 |
Member |
|
|
Hello Jim,
In fact, as you say, that query returns all requirements on a project. I was wrong with the query that I posted and the correct one is the query that you posted, i.e.:
&oslc.prefix=oslc_rm=<http://open-services.net/ns/rm%23>,dcterms=<http://purl.org/dc/terms/>&oslc.select=oslc_rm:uses&oslc.where=dcterms:identifier=1
However, this query only returns the RequirementCollection whose identifier is 1 and it does not return its requirements.
The solution that I found and it was supported by Jazz forum (https://jazz.net/forum/questions/200343/oslc-query-for-getting-requirements-from-a-requirement-collection) is to get the RequirementCollection and using the "uses" attributes (links to the associated requirements), which contain the requirement URL, we access to requirement info. by using REST commands.
I do not have better answer than this one. If someone has a better idea, I would appreciate.
Cordially,
Carlos
|
|
|
Powered by
FUDForum. Page generated in 0.03336 seconds