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

DNG DSX Module URI parameter format variation

When a module URI is passed into a template from a DSX this parameter can be formulated in 4 different ways

Lets say I have a module URI _F8ptYCYOEeiWbapxO14vMQ

I have a template containing a Modules schema (from the query https://localhost:9443/rm/publish/modules?metadata=schema)

Now in the DSX I pass the module URI to the template schema

I can do this in the following 4 ways

https://localhost:9443/rm/publish/text?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/modules?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/text?resourceURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/modules?resourceURI=_F8ptYCYOEeiWbapxO14vMQ

What is the significance of the 4 variations in the parameter format immediately following https://localhost:9443/rm/publish/  ?

They all seem to produce the same results in the limited testing I have done.

0 votes


Accepted answer

Permanent link

https://server:port/rm/publish/[artifact_format]?[module/resource]URI=<id>

Need to explore further on using moduleURI Vs resourceURI after "?". But ideally, [artifact_format] in the data source URI should match the data source schema used in RPE template.

Sean F selected this answer as the correct answer

0 votes

Comments

thanks Prasad


One other answer

Permanent link

Further testing seems to show that it is also be possible to use the following 2 variations:-

https://localhost:9443/rm/publish/resources?moduleURI=_F8ptYCYOEeiWbapxO14vMQ
https://localhost:9443/rm/publish/resources?moduleURI=_F8ptYCYOEeiWbapxO14vMQ

where resources? is used instead of text? or modules? as the ? part of the URI

why do some many different options exist to produce the same results?


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: Apr 15 '18, 11:27 a.m.

Question was seen: 2,304 times

Last updated: Apr 16 '18, 11:36 a.m.

Confirmation Cancel Confirm