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

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

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

0 votes



2 answers

Permanent link

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.

0 votes

Comments

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

 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

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
× 12,019

Question asked: May 25 '23, 7:03 a.m.

Question was seen: 1,325 times

Last updated: May 29 '23, 12:40 a.m.

Confirmation Cancel Confirm