RRC query to get validated by/implemented by links
One answer
Hi ,
I have been working with RRC 2.0 java API extracting outgoing and incoming links from artifacts but now i need to get validated by/implemented by links and i dont know how.
Do i have to use plain java api or REST api, any example or reference?
You can use the OSLC 1.0 REST APIs (which was implemented for our 2.0 release). Documentation is listed here:
http://open-services.net/bin/view/Main/RmSpecificationV1
More specifically to RRC, you should be able to do a GET on any resource URL using an OSLC content type and it will return you any implementedBy/validatedBy link URLs (along with some other basic information):
Example:
GET on REQRESOURCEURL
Headers:
Accept: "application/x-oslc-rm-requirement-1.0+xml"
(or "application/x-oslc-rm-requirement-collection-1.0+xml" for collections)