It's all about the answers!

Ask a question

Unable to fetch data from RQM test case using OSLC api


Nilesh Patil (1733750) | asked Jun 08 '15, 3:16 a.m.
  Hi All,

I am developing application using OSLC api. I am trying fetch data from the RQM test case using OSCL api, but I am not able to fetch even single value(I am using  sample code which is provided in the Eclipse Lyo SDK.).
 
The URL which i have used is,

https://XXX/oslc_qm/contexts/_x3L0gk6ZEeSTjIlfgxRM-Q/resources/com.ibm.rqm.planning.VersionedTestCase?oslc.where=oslc%3AshortId%3D%22496%22

The url works fine in Poster/Postman plugin i am getting few data in response , but if I used sample code provided by Eclipse Lyo SDK for RQM it fails. No data for request, however the response is 200

Thank you in advance 

One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Jun 09 '15, 10:36 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The oslc.where query parameter value is probably not URL-encoded in the Eclipse Lyo implementation.  Can you debug the Eclipse Lyo implementation to determine the exact URL/parameters for the GET request?

Comments
Ginny Ghezzo commented Jun 15 '15, 9:33 a.m.
JAZZ DEVELOPER

 Paul, 

Are there other samples you would recommend for RQM OSLC interface? 


Paul Slauenwhite commented Jun 15 '15, 10:55 a.m. | edited Jun 15 '15, 10:59 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

RQM does not have any OSLC QM V2 API samples/tutorials.  I would recommend first-time users consult the OSLC QM V2 API WIKI:

https://jazz.net/wiki/bin/view/Main/RqmOslcQmV2Api

Using a simple HTTP client (e.g. Poster/HttpRequester) is recommended.

Eclipse Lyo is our client sample:

Project web site: http://eclipse.org/lyo
OSLC SDK: http://wiki.eclipse.org/Lyo/LyoOSLC4J

I would also recommend submitting this question to the Eclipse Lyo mailing list:

https://dev.eclipse.org/mailman/listinfo/lyo-dev

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.