How to know the rrc server owningApplicationKey_REST API related
I am writing a Rest API tool to retrieve all projects on the clm server.
When comes to RRC, it failed. How can I know the owingApplicationKey for a specific RRC server automatically? It seems that the RRC Rest API depends on the JTS server, when given a RRC server address, how I can know its JTS server address? |
2 answers
Hi Qing,
If you want to know the RM active projects, you might want to use: GET https://<server>:<port>/rm/discovery/RMCatalog?private=true&accept=* Not sure about the JTS but if you look at the rootservices of your RM application, you might get what you need about how to know what is the url for the JTS service: GET https://<server>:<port>/rm/rootservices Hope that helps |
How are you trying to retrieve the RRC projects, or in other words, what API are you using? The only public REST API is the OSLC API, which you probably are aware of. If not, here can find the tutorial: OSLC Workshop
And yes, RRC uses JTS for storing its data, and that is configured during CLM setup. Both the JTS address and the RRC owning application key is not explicitly exposed outside the RRC application. Comments
Qing Qing Chen
commented Jul 04 '13, 10:29 p.m.
Hi Bas,
Qing Qing Chen
commented Jul 04 '13, 10:29 p.m.
Yes, the owningApplicationKey is assigned upon RM registering with JTS, and is a different unique ID each time. But like said earlier, RM does not expose this key to the outside. Actually the owningApplicationKey is mainly a JTS internal mechanism and RM does not make use of it.
|
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.