It's all about the answers!

Ask a question

DNG Snapshot Using RPE


Sabino Torres (112) | asked Aug 13 '18, 4:40 p.m.

Hi Everyone,

I am using DNG 6.0.4  with RPE 2.1.2 and would like to run a report against one of my baselines.  When I create the URL and test it, I get "Error 404: Not Found CRRRS6546E The specified configuration cannot be found". This is URL I am trying to use:

https://<servername>/rm/publish/resources?moduleURI=<moduleId>&snapshotId=<baselineId>

I am able to see the baseline information using this:

https://<servername>/rm/cm/baseline/<baselineId>

I was using the RRC API (https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI) hoping that RPE would be the same.  Or is this something that can only be done within RRC at the moment? Any help will be great!

Thanks,

Sabino

2 answers



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Aug 16 '18, 1:58 p.m.
edited Aug 16 '18, 2:08 p.m.

Hi Sabino,

Starting with DNG 6.0, full URL must be specified as a value for snapshotId. Any of the following URL should work:
https://<server>:<port>/rm/publish/resources?moduleURI=<moduleId>&snapshotId=https://<server>:<port>/rm/cm/baseline/<baselineId>
https://<server>:<port>/rm/publish/resources?moduleURI=<moduleId>&baselineURI=https://<server>:<port>/rm/cm/baseline/<baselineId>
https://<server>:<port>/rm/publish/resources?moduleURI=<moduleId>&oslc_config.context=https://<server>:<port>/rm/cm/baseline/<baselineId> (preferred)

The simple way to configure data source in RPE is to set URI and Configuration-Context separately. This works equally good for stream, baseline or change set. To generate document against baseline, you can configure data source as follows:
URI: https://<server>:<port>/rm/publish/resources?moduleURI=<moduleId>
Configuration-Context: https://<server>:<port>/rm/cm/baseline/<baselineId>

To set Configuration-Context, you can use the configuration picker wizard - right click on data source, choose OSLC Configuration Selection. Set Root service to https://<server>:<port>/rm/rootservices (or https://<server>:<port>/gc/rootservices), select baseline from the configuration picker and copy/paste its URL into RPE.

Regards,
Prasad


Comments
Sabino Torres commented Aug 17 '18, 9:48 a.m.

Prasad,

Thank you for the response!  I was trying to set the Configuration-Context, from the OSLC Service Discovery, when I enter the Root service value >https://<server>:<port>/gc/rootservices) and select Next to go to the service provider screen, all the fields are blank (service catalog, provider, and dialog).  FYI there's no error message on the screen.  Do you know what may be the cause of this?

Also, when I enter https://<server>:<port>/rm/publish/resources?moduleURI=<moduleId>&oslc_config.context=https://<server>:<port>/rm/cm/baseline/<baselineId>; I do see the baseline information but it seems to be only header artifacts for some reason, there's no information artifacts.

Thanks,

Sabino


permanent link
aostv apk (11) | answered Jul 28 '20, 4:56 a.m.

 Hi,

We need to generate a baseline report, using RPE, for QM baseline. GC is not enabled, only baselines are enabled in the QM project.

We are using 6.0.6.1 versions in both, QM and RPE.

Is it possible? How?

Regards,
aos tv

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.