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

How to retrieve the section attribute for an artifact in DNG through oslc/programmatically ?

The section attribute for an artifact,which displays the hierarchical information(equivalent to doors object number)  for DNG is shown in the web view as a column . on the other hand if we retrieve information from oslc by accessing the artiact url we are not able to get the section information. Is there any way to access the section information from oslc?

is it possible to use RPE for this?

1

0 votes



3 answers

Permanent link

Yes. You can get section attribute. In RPE, if you are reporting on module (using modules data source schema), dataSource/artifact/moduleContext/contextBinding/section will provide section.

1 vote


Permanent link
yes there is an example API  available to fetch it

0 votes

Comments

Can you provide a link to an example?


Permanent link

The Reportable REST API can provide the section in its results when you report on resources providing a moduleURI.


See here for the entry point to all APIs https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

See here for the DNG Reportable REST API (which is what RPE uses when generating reports) https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI

One of the very convenient aspects of the Reportable REST API is that you can paste a URL into a browser address bar and see the results - there are no special headers needed, as long as you provide the configuration as a parameter at the end of the URL using ?oslc_config.context= followed by the URL encoded configuration URL.


0 votes

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
× 11,047
× 7,580

Question asked: Jan 09 '19, 11:33 p.m.

Question was seen: 4,146 times

Last updated: Mar 07, 10:09 a.m.

Confirmation Cancel Confirm