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
|
Accepted answer
![]() 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
|
3 other answers
|
![]() 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.
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. |
![]() 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.
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
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.