It's all about the answers!

Ask a question

How to fetch local/global configuration URI?


Andrew Ciaz (59160) | asked Nov 25 '20, 10:04 a.m.

 Hi all,


Please suggest how to obtain configuration URI without knowing name or UUID using REST 

One answer



permanent link
David Honey (1.8k17) | answered Nov 26 '20, 1:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hi Andrew,


If you are in the GCM application, there is an icon in the GCM toolbar for copying the URI of the currently selected configuration onto your clipboard.

If you're looking for how to use OSLC query to query for configurations, the answer is mixed. Some of the details depend on which application owns the configuration. The overall steps are similar:
  1. GET the application's rootservices to discover the appropriate OSLC Service Provider Catalog (SPC). Note that some applications publish multipleSPCs.
  2. GET the SPC to discover service providers. In some cases there will be one per project area and you will have to GET each service provider to determine which one you want to use.
  3. From the service provider, discover an OSLC query capability for configurations.
  4. Consume the query capability to execute queries.
Could you be more specific about what you're trying to do.

Best regards
David

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.