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

Getting the resourceURI for a DNG module

CLM 602

RPE 2.1.2

Hello all,

I have been playing with RPE and DNG. I was looking through some workshop documentation and it says to use the DNG Module's resourceURI for the launcher. Doesn't explain how to get it though. When I click on the Module, the address is too long for it to be that easy...

Can I get some help please?

thanks

0 votes



3 answers

Permanent link

Hi Sterling,

To return the artifacts that are in a DNG module, you need to use the below URL

Filter by module
https://server:port/rm/publish/[artifact_format]?moduleURI=xyz
https://server:port/rm/publish/resources?moduleURI=_9a168d1ba7ad4b57b1926f1a003c5b62

xyz is the resource URI which you can get from the module share link.
https://server:port/rm/resources/_9a168d1ba7ad4b57b1926f1a003c5b62

Take a look at the DNG Reportable REST documentation to get more details
https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Module_support

Thanks /Sunil

0 votes

Comments

To make it easy, you can use "Find data source URL" option in RPE while configuring data source. Here are the steps:
1. In Launcher perspective, right click on the data source and select "Configure Data Source..."
2. Click Find button
3. Paste the web URL (copied from the browser address bar) and click Find button
4. Proceed with authentication
5. Click Configure and the click OK
The REST URL for the resource will be set as data source URL.


Permanent link

Thanks for responding,


@Sunil, I am not looking for how to get a list of the artifacts in a module after I have the module resourceURI, I am looking for how to get the module resourceURI. The link provided about the API doesn't show anything like, "Hey, are you looking for a URI...do this...so that didn't help me, but thanks.

@Subramanya, when I launch the Launcher, it tells me to select an already configured Doc Spec, which I don't have, or create a new one, which I need to do. I choose the template and then click Next and I am on the Configure the data sources page. No Find button or option, but thanks.

I called support, and they don't know what I'm talking about, so maybe this is just a bad Interconnect workshop packet. I'll see if our rep has something else for us.

Thanks for the help though.

0 votes


Permanent link

Hi Sterling,
It would be useful if you specify which workshop documentation you are looking through. Does it include any template for which you are trying to configure data source? If not, you can use the sample template that ships with RPE (DNG_Module.dta under %rpe_home%\templates\DNG).

Once you open the RPE template (in RPE Studio), please click "RPE Launcher" on the top right corner.

You will be switched to Launcher perspective. In Launcher perspective, right click on the data source and select "Configure Data Source..."

Click Find button
Paste the web URL (copied from the browser address bar) and click Find button

Proceed with authentication
Click Configure and the click OK
The REST URL for the resource will be set as data source URL. This method works equally well for all artifact types (resource or module).

You can save this configuration as document specification file (.dsx).

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: Sep 18 '17, 3:16 p.m.

Question was seen: 4,582 times

Last updated: Sep 19 '17, 1:20 p.m.

Confirmation Cancel Confirm