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

HTTP request structure DNG Global Config Server

Hello everyone,
I have a challenge, where I cannot find a solution for.
We are currently switching to a server, where we have global config on. Until now, we gathered our DNG modules via CURL and a http request. Now with global config on we cannot get the modules anymore.
Can you please tell me or give any resources on how to construct the new http string to query the dng with global config on?

Thanks in advance
Dennis :)

0 votes


Accepted answer

Permanent link
When not using configuration management you don't need to specify the configuration and DOORS Next then uses the default configuration for that project. The same thing happens when projects are opt-in to configuration management, but using the default configuration (the component's initial stream) isn't going to get you data from any other configuration.

You'll have to include the configuration URL in your query e.g. by adding a query parameter &oslc_config.context=https://jazz.ibm.com:9443/gc/configuration/1234 where the config URL is URL-encoded so in the actual URL you GET from will look more like &oslc_config.context=https%3A%2F%2Fjazz.ibm.com%3A9443%2Fgc%2Fconfiguration%2F1234


The same method can be used with a DOORS Next local configuration URL.

Instead of a query parameter you can use a header Configuration-Context - don't use both header and query parameter, that's just not needed.   
 
You can see more details about these in part of the OSLC Configuration Management specification https://docs.oasis-open-projects.org/oslc-op/config/v1.0/ps01/config-resources.html

Dennis Spohrer selected this answer as the correct answer

0 votes

Comments

Thanks for the quick reply, it worked!
An additional question: is the http request changing for the RQM aswell, like for testcases and testplan?

Thanks in advance :)

Not completely sure but probably yes as these are the OSLC mechanisms for specifying the configuration to use.

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
× 7,495
× 1,325
× 158
× 116
× 21

Question asked: Aug 31 '22, 5:07 a.m.

Question was seen: 874 times

Last updated: Sep 01 '22, 9:28 a.m.

Confirmation Cancel Confirm