It's all about the answers!

Ask a question

Convert RQM REST identifier to OSLC identifier


Hannes H. (441019) | asked May 28 '13, 4:07 a.m.
edited May 28 '13, 4:08 a.m.
How can I convert a REST identifier( com.ibm.rqm.xml.bind.Testcase; Rational Quality Manager Reportable REST API) to an OSLC TestCase identifier (org.eclipse.lyo.client.oslc.resources.TestCase)?

Example:
  • com.ibm.rqm.xml.bind.Testcase from Rational Quality Manager Reportable REST API:
    • https://jazz.net/sandbox02-qm/oslc_qm/contexts/_pv6fkFllEeKaV_p6uZjjYw/resources/com.ibm.rqm.planning.VersionedTestCase/_0eUxsXT-EeKiILFa-2lqaQ
  • OSLC TestCase identifier (org.eclipse.lyo.client.oslc.resources.TestCase)
    • https://jazz.net/sandbox02-qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_pv6fkFllEeKaV_p6uZjjYw/testcase/urn:com.ibm.rqm:testcase:1187

Accepted answer


permanent link
Hao Wan (1.5k35) | answered May 28 '13, 4:24 a.m.
JAZZ DEVELOPER
Hannes H. selected this answer as the correct answer

2 other answers



permanent link
Hao Wan (1.5k35) | answered May 28 '13, 4:31 a.m.
JAZZ DEVELOPER
 
John, 
for the details you can refer to https://jazz.net/wiki/bin/view/Main/RqmApi#oslclinks

oslclinks

Experimental.

Value Meaning
true  1 Resources will contain Open Services for Lifecycle Collaboration (OSLC)-style links. Default if  etlmode=true  2
false  1 Resources will contain Reportable REST API-style links. Default if unspecified or empty or invalid.


Comments
Hannes H. commented May 28 '13, 6:40 a.m.

Thank you very much!


permanent link
Bing Dong Ma (1962) | answered May 28 '13, 5:00 a.m.
JAZZ DEVELOPER
Hi John,

You could just send one HTTP GET request (need firstly pass the authentication and then set the http request header with OSLC-Core-Version:2.0 and Accept:application/rdf+xml) to https://jazz.net/sandbox02-qm/oslc_qm/contexts/_pv6fkFllEeKaV_p6uZjjYw/resources/com.ibm.rqm.planning.VersionedTestCase/_0eUxsXT-EeKiILFa-2lqaQ.  In the response body, the entry dcterms:relation shows the other kind of identifier.

Best Regards,

Bing Dong

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.