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

RPE - Publish from Global Configuration - Get QM and RM Configs?

 Hello,

I have an RPE template that gets data from QM and DNG using the global configuration context.
I would like to print in the report the global configuration name along with the local configuration names for RQM and DNG.
Is there any way I can do that?
I have tried getting the components in the rest api from the global configuration but it seems the rest data contains references to deleted components and cannot tell which is current.

Thanks!
Oana

0 votes


Accepted answer

Permanent link

 The configurations that appear in the GC tree are referenced indirectly through the 'contributions' properties of a configuration (the oslc_config:contribution/oslc_config:configuration property). A global configuration can have contributions that are global configurations that have contributions of their own, so to get a full list of local configurations you need to process the contributions properties recursively.


Which API are you using that appears to return deleted data, and in which property do you see that data?

Oana Capatana selected this answer as the correct answer

0 votes


3 other answers

Permanent link

any ideas?

0 votes


Permanent link

You should add a schema for configuration and set its URI (ex. https://<server>:9443/gc/configuration/1234). You can then print the attributes by adding RDF/Configuration query.

You can also add coverpage schema https://serverName:port/rm/publish/coverpage?metadata=schema and then print configuration name, description, type, etc.

0 votes

Comments

 Hello Prasad,

Thanks for your answer.

What you have suggested I have already done, the global configuration title I can get with no issues. What I am asking is if there is any way to get the local configuration titles for QM and DNG. 

@subprasad,

My custom schema
Custom Schema for GC Contributions

How to read the attribute value rdf:resource= in RPE.


Permanent link

Hi Prasad,

Sorry for opening this up again, but I am after some clarification on the configuration schema (The RDF/Configuration as above).
What is the URL I should be using to add this data source to RPE? Or is it a custom schema? If so, could you upload it for download?
Thank you.

0 votes

Comments

There is no configuration schema returned (it’s in qm.xsd). However, you can create a custom schema definition and use it in RPE. You can download the xsd file and add it as data source in RPE.

 Hi, 

I'm also looking to add a "Configuration" datasrouce schema to a document template. Any chance you can share this XSD with me?

 Hi Glyn,

I haven't worked on this for a couple of years now, and I cannot remember if I ever found the xsd schema file or if I just used a workaround, but happy to send you my dta and dsx that I used to use to extract this information. I cant seem to attach anything here, is there any way you can send me your email address privately so I can send through?

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,939

Question asked: Jan 24 '19, 7:31 a.m.

Question was seen: 4,756 times

Last updated: Aug 10 '22, 10:11 a.m.

Confirmation Cancel Confirm