It's all about the answers!

Ask a question

How to use the RM API to retrieve the contents of a specific module and have the artifacts listed in the order they are displayed in the RDNG UI?


Krishna Veni Manukonda (1336) | asked Oct 05 '17, 3:11 p.m.
edited Oct 07 '17, 4:11 a.m. by Geoffrey Clemm (30.1k33035)

 Hi


The content for the module artifact from RDNG project - does not have the primary text like regular artifacts with "primary text" and it has the list of artifact resource URLs (respective to other artifacts within it)

<oslc_rm:uses rdf:resource="https://itec-rrc.fmr.com/rm/resources/_222f508984a34ea49172c3b9c5786bd0"/>  ---> 54431

<oslc_rm:uses rdf:resource="https://itec-rrc.fmr.com/rm/resources/_cd2bcde7d4a14282a86e0a0c64d4525b"/>

..........

..........

..........

artifacts are not displayed in the same order which is shown in RDNG UI view, here i am expecting to see artifact#47621 (this is first artifact shown in the RDNG module), but when tool looping the the all resource URLs, the first URL is pulling the content for artifact# 54431.

Is there way to retrieve the contents/artifacts of a specific module in the order they displayed in RDNG UI ?


Regards




 


One answer



permanent link
Donald Nong (14.5k614) | answered Oct 06 '17, 12:34 a.m.

Are you using the OSLC API? If so, you should consider the reportable REST API.
https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI#Supported_artifact_formats

The "modules" artifact format should produce the content exactly as you want.

Your answer


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.