It's all about the answers!

Ask a question

With RPE PUB Is it possible to extract artifact from a DNG component in a global configuration context?


Luca Sentimenti (111) | asked May 25 '23, 7:03 a.m.
edited May 25 '23, 7:07 a.m.

Hi all

I need to extract with RPE the artifacts in a component of a DNG project area, starting from a global configuration context. (I need to cross links to other components from those artifacts)

 

Any Idea will be appreciated

 

Following how I'm trying:

I know that is possible to grab the artifacts from a local stream

ex:

https://dng_server.com/rm/publish/resources?projectURI=_tbE48PCUEe2KOrFSxwb1MA&oslc_config.context=https://dng_server.com/rm/cm/stream/_apI8lvCXEe2KOrFSxwb1MA

 

but trying with global configuration  <o:p> </o:p>

https://dng_server.com/rm/publish/resources?projectURI=_tbE48PCUEe2KOrFSxwb1MA&oslc.configuration.context=https://dng_serve.com/gc/configuration/17

will bring to an error (I suppose because the component cannot be uniquely identified)


Trying without configuration at all will return artifacts of the the first component (in the base configuration)

 

Is there a way with RPE to get the local streams from the global configuration provided?

 

In that case I will be able to :

  1. get the artifacts from local stream
  2. construct the needed queries for artifact in original global configuration
  3. cross links to other components


Thanks a lot for you attention and help!

Luca

2 answers



permanent link
Ralph Schoon (63.2k33646) | answered May 26 '23, 9:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I do not think that the reportable REST API for DNG has access to the global configurations. You would need a different API for that.


Please go there and follow the description how to get to the global configuration management API and the scenarios.


Comments
David Honey commented May 26 '23, 12:16 p.m. | edited May 26 '23, 12:42 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I thought it did. The standard way of specifying a configuration context (as per the OSLC Configuration Management spec) is to use either of:

  • a oslc_config.context parameter
  • a Configuration-Context header


permanent link
Karan Dethalia (561) | answered May 29 '23, 12:40 a.m.

 Please refer this document to find the correct data source url for the stream your artifact lies - https://www.ibm.com/docs/en/elms/elm/7.0.2?topic=reporting-generate-model-reports

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.