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

How to fetch configurations hierarchy in GC using GC API

 Hi,


We would like to fetch hierarchical GC information using GC API, We tried using configuration fetch API
https://localhost/gc/configuration/1750 which is giving current level of configuration and its child in  <oslc_config:configuration rdf:resource="https://localhost/gc/configuration/17677" /> tag 

for example, if we have multiple levels of configurations created for a component then it is possible to fetch level 0 and level 1. 

Is there a way to fetch all levels of GC configurations?

Thank you

Regards,
Thiru 

0 votes



One answer

Permanent link

In GCM 7.0.2 onwards, there is a public GC SDK REST API that might help.
See https://jazz.net/gc/doc/scenario?id=GetFlatListOfContributionsForGcHiearchy.
Prior to 7.0.2, there was no such API, so the only way to get a configuration was to perform a GET on each GC and traverse the hierarchy, peforming GETs.

1 vote

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
× 10,941
× 33
× 18
× 5

Question asked: Jun 10 '22, 9:41 a.m.

Question was seen: 1,054 times

Last updated: Jun 10 '22, 9:45 a.m.

Related questions
Confirmation Cancel Confirm