How to fetch global configuration project area(s) and streams using REST or OSLC?
2 answers
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
David
Comments
@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
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
Best regards,
David