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 :
- get the artifacts from local stream
- construct the needed queries for artifact in original global configuration
- cross links to other components
Thanks a lot for you attention and help!
Luca
2 answers
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 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