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

DNG OSLC API to fetch project area and its details for multiserver DNG

Hi,

Currently the flow to fetch the project area and its services is
 get the rootservice -> https://<server:port>/rm/rootservices
get the catalog entry and from the catalog URL get the service URL for the respective project area.

This works fine for normal DNG server. But in case of multiserver the rootservice URL is
https://<server:port>/rm/rootservices or https://<server:port>/rm2/rootservices etc... based on the server where RM resides.

Is there a way from the API to find the number of multi-server connections available so that we can loop through all the server rootservices.

Thank you in advance

1 vote


Accepted answer

Permanent link
 Hi

There might be another/better way to do this, but if you go to the jts rootservices there is a jd:friends entry - that URL gives you all the friends so will list rm and rm2 as well as all the other apps that are friended - I imagine getting their rootservices will enable you to reject the non-rm apps ;-)

HTH
Ian

Ankita M Udyavar selected this answer as the correct answer

1 vote

Comments
Hello,
Thank you so much. This would work for us.
I went through JTS rootservices but never realized to check the friends url.

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,949
× 7,505
× 1,335

Question asked: Apr 22 '20, 12:06 a.m.

Question was seen: 1,428 times

Last updated: Apr 23 '20, 4:22 a.m.

Confirmation Cancel Confirm