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

Too much Artefacts when I use a RM OSLC Query

 Hi,

I have a strange situation...when I use a RM OSLC Query to get all Artefacts of specific Type I got too many Artefacts back. The reason is some of them appear twice. The Artefacts that I see twice seems to be included in DNG Modules or Collections. Is this a feature or a bug?

BTW, I use the excellent article from https://jazz.net/library/article/1197.

Thx in advance...

Steve


The Query is here:

0 votes


Accepted answer

Permanent link
Hi,
      OSLC handles artifacts included in a module as separate artifacts, for instance if you have a normal artifact and it is included in 4 modules the oslc query for it will return 5 artifacts.  One easy way to differentiate the real artifacts from the ones included in modules is that real artifact has a "nav:parent" entry in the body returned.

Best Regards.
Stefan Hufnagl selected this answer as the correct answer

1 vote

Comments

 Hi Gabriel,


thanks for you answer...I think you are right. In the meantime I found a (for me) better solution. I use the Reporting REST API of DNG https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI. 
In this case I can access a prepared DNG View (like: give me all Artefacts of type...) and I got only the "real" amount of Artefacts. With this solution I have the possibility of changing my query with the help of the DNG GUI. 

Cheers,

Your answer

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,938
× 139

Question asked: Jan 09 '15, 5:27 a.m.

Question was seen: 3,539 times

Last updated: Jan 09 '15, 9:57 a.m.

Confirmation Cancel Confirm