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

Retrieve modules through project ID and stream

Hello,

We try to retrieve all resources of a project with a provided stream, through the "DNGReportableRestAPI" through this example of request : https://doorsng.url:port/rm/publish/resources?projectURI=_xxx&vvc.configuration=https://doorsng.url:port/rm/cm/stream/_yyy

And it seems that we don't get modules.

But if we call the same request without the stream (https://doorsng.url:port/rm/publish/resources?projectURI=_xxx),

it seems that we get also modules.

Is anyone can explain how to get also modules through the projectId and the stream ID ?

 

Thanks in advance.

0 votes



One answer

Permanent link

I don't have such problem in my DNG 6.0.3 iFix003 environment. The first element in the output of a similar URL is a module. The output of URLs with and without the vvc.configuration parameter (which points to the default local configuration) is the same. If you have multiple local configurations, you need to be careful which configuration you are using.

0 votes

Comments

Do you mean that if you put this following url in your browser :
https://dngserver.public.name:port/rm/publish/resources?projectURI=_ABC&vvc.configuration=https://dngserver.public.name:port/rm/cm/stream/_XYZ

You will have in your xml result file, a declared artifact ?:
<ds:artifact attribute:itemId="MB_dfds786d">;
   <rrm:title attribute:itemId="_fdsfds">Module 1</rrm:title>
</ds:artifact>
Because for my case, I can retrieve the Module 1, through the tag "moduleContext" from an artifact.
For example :
<ds:artifact attribute:itemId="MB_dfds786d">;
   <rrm:title attribute:itemId="_fdsfds">Artefact 1</rrm:title>
   <ds:moduleContext>
     <rrm:moduleDisplayName>Module 1 < /rrm:moduleDisplayName >
   </ds:moduleContext>
</ds:artifact>

Yes, that's true in my case. I have artifacts with format "Module" in the response.

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

Question asked: Apr 04 '17, 12:56 p.m.

Question was seen: 2,332 times

Last updated: May 14 '17, 10:17 p.m.

Confirmation Cancel Confirm