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

Implementing Global Configuration using doors next

I am currently working in a tool that uses RM configuration to copy and combine streams. The URL  requestManager.webSite + "/rm/oslc_rm/" + requestManager.projectArea + "/services.xml"  is used to discover the root folder for RM. Similarly, I need to implement global configuration. Please assist me in implementing global configuration in this.

0 votes



One answer

Permanent link

Do you mean: how do I find the root folder in an RM component when using global configurations?


The root folder URL, and the entire content of services.xml, is the same whether using local or global configurations, but instead of providing the local configuration URL in query parameter oslc_config.context or header Configuration-Context, you provide the GC url.

0 votes

Comments

Thanks for sharing this.

BTW you should use discovery starting from rootservices to find the services.xml and avoid constructing URLs by concatenating strings, because that's fragile if we change internal implementation across versions. Example of discovery here 

https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area

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
× 7,592
× 6,163
× 1,422

Question asked: Jun 23, 5:16 a.m.

Question was seen: 1,198 times

Last updated: Jun 25, 5:58 a.m.

Confirmation Cancel Confirm