It's all about the answers!

Ask a question

DNG DSX Module URI parameter format variation


Sean F (1.3k246158) | asked Apr 15 '18, 11:27 a.m.

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.

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Apr 16 '18, 8:56 a.m.

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

Comments
Sean F commented Apr 16 '18, 11:36 a.m.

thanks Prasad

One other answer



permanent link
Sean F (1.3k246158) | answered Apr 15 '18, 11:59 a.m.

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?


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.