Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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?
 

0 votes


Be the first one to answer this question!

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,948

Question asked: Nov 16 '15, 8:48 a.m.

Question was seen: 2,124 times

Last updated: Nov 16 '15, 8:50 a.m.

Confirmation Cancel Confirm