It's all about the answers!

Ask a question

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

Ankita M Udyavar (72114) | asked Apr 22 '20, 12:06 a.m.

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

Accepted answer

permanent link
Ian Barnard (1.9k613) | answered Apr 22 '20, 9:55 a.m.
edited Apr 22 '20, 10:28 a.m.

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 ;-)


Ankita M Udyavar selected this answer as the correct answer

Ankita M Udyavar commented Apr 23 '20, 4:22 a.m.
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 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.