It's all about the answers!

Ask a question

oslc_rm:uses not working for modules in DOORS Next Generation 5.0.0


Nikhil Pachpande (2519) | asked Nov 16 '15, 8:48 a.m.
edited Nov 16 '15, 8:50 a.m.
Hi,
I created  a simple Text artifact 'MyArtifact' in DNG. The URL of the artifact : https://192.168.6.184:9443/rm/resources/_gJ6Uc4a_EeWDt7a0cB8swA.

I added this artifact to a module 'MyModule'. The Module Artifact URL of 'MyArtifact'  :
https://192.168.6.184:9443/rm/resources/_72afbace58904bfda72652c7528946f1.(Verified through browser URL as well by fetching module through OSLC and using the getUses API.)

Now I want to query for all the modules that contain 'MyArtifact'. I have gone through the article at https://jazz.net/library/article/1197 and accordingly formed the query as follows : 

https://192.168.6.184:9443/rm/views?oslc.query=true&projectURL=https://192.168.6.184:9443/rm/process/project-areas/_ZqeFdIa3EeWDt7a0cB8swA&oslc.prefix=oslc_rm=<http://open-services.net/ns/rm%23>&oslc.select=*&oslc.where=oslc_rm:uses=<https://192.168.6.184:9443/rm/resources/_72afbace58904bfda72652c7528946f1>

I have also tried the following query 

https://192.168.6.184:9443/rm/views?oslc.query=true&projectURL=https://192.168.6.184:9443/rm/process/project-areas/_ZqeFdIa3EeWDt7a0cB8swA&oslc.prefix=oslc_rm=<http://open-services.net/ns/rm%23>&oslc.select=*&oslc.where=oslc_rm:uses=<https://192.168.6.184:9443/rm/resources/_gJ6Uc4a_EeWDt7a0cB8swA>


oslc_rm:uses works fine if I add artifact to a collection. But does not fetch the modules which contain the artifact.

Is there something that I am doing wrong?
Are there any other alternatives to oslc_rm:uses?
 

Be the first one to answer this question!


Register or 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.