How to fetch global configuration project area(s) and streams using REST or OSLC?
Hi all,
Is there any OSLC based or REST based solution to fetch the global configuration project areas and streams?
|
2 answers
David Honey (1.8k●1●7)
| answered Nov 23 '20, 5:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Andrew,
The Jazz process REST API at https://jazz.net/wiki/bin/view/Main/ProcessRestServiceOverview describes how to get information about project areas. This applies to any Jazz application that supports project areas.
You can find information about GCM REST APIs at https://jazz.net/wiki/bin/view/Main/GlobalConfigurationManagement#APIs_for_GCM_and_global_configur.
Best regards,
David Comments
Andrew Ciaz
commented Nov 25 '20, 5:51 a.m.
@David thanks for your reply but still I am not clear. Could you please provide sample URL to fetch the streams from GC project areas. I tried below url but it returns all the baselines and streams including personal streams. It is difficult to rectify which is a baseline and which one is stream. Please suggest any workaround |
David Honey (1.8k●1●7)
| answered Nov 25 '20, 6:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Andrew,
The GCM REST APIs Wiki page at https://jazz.net/wiki/bin/view/Main/GlobalConfigurationManagement#APIs_for_GCM_and_global_configur references https://jazz.net/gc/doc/scenarios. From there you can navigate to various scenario-based pages.
https://jazz.net/gc/doc/scenario?id=Discovery describes how you discover the OSLC Service Provider Catalog, and from there you can use standard OSLC discovery (see the OSLC Core specification linked from https://open-services.net/specifications/) to discover the service providers for the project area(s) of interest. Each GCM project area will have a corresponding OSLC service provider whose oslc:details is the URI of that GCM project area.
https://jazz.net/gc/doc/scenario?id=QueryConfigurations describes how you can query for global configurations, either across project areas, or for a specified project area.
Best regards, David |
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.