Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Convert RQM REST identifier to OSLC identifier

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

0 votes


Accepted answer

Permanent link
 Hi John,

some info

this is Reportable Rest type of url

and this is the OSLC one

to get the OSLC url according to the Reportable Rest API
you can try to do a "Get" request 

and the identifier attribute will contain the value of the OSLC url.
Hannes H. selected this answer as the correct answer

1 vote


2 other answers

Permanent link
 
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.

1 vote

Comments

Thank you very much!


Permanent link
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

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,953

Question asked: May 28 '13, 4:07 a.m.

Question was seen: 4,898 times

Last updated: May 28 '13, 6:40 a.m.

Confirmation Cancel Confirm