DNG OSLC API documentation
Hello all,
I was following the document below, but it seems to be outdated.
https://jazz.net/library/article/1197
I could not get the first catalog, but could not spot the discovery.
oslc_rm:rmServiceProviders rdf:resource="https://grarrc.ibm.com:9443/rm/discovery
Does anyone know the latest version of the doc?
Accepted answer
The doc is not out of date as far as we know. But at the time it was provided, it was done to help out with some examples.
The OSLC start off set of discovery calls is always the same and has not changed over time.
The OSLC workshop at https://jazz.net/library/article/635 provides a primer with JAVA samples.
1) rm/rootservices
2) then the rm/oslc_rm/catalog which is where you will find the service providers for each project area
3) rm/<project area ID>/services.xml
From there you can a number of services that you can call and are further elaborated in the 1197 article.
Make sure you are using the right headers. OSLC-Core-Version: 2.0 and Accept: application/rdf+xml
Comments
1 vote
One other answer
I don't think the doc is out of date at that point, but the result may look different from the example shown. You are looking for tag oslc_rm:rmServiceProviders and the rdf:resource will then give you the RM Catalog e.g. (for my test environment, 6.0.5, checked just now) https://ibmjazz:9443/rm/oslc_rm/catalog - which then gives the list of projects in XML/RDF.