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
as described in https://jazz.net/library/article/1197
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
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