Getting RQM infos using RQMCopyUtility
Hi,
I use RQMCopyUtility to access to the REST API.
My goal is to get all the informations of a testcase item, even the external links like "validateRequirements".
I tried to write a class to handle test cases. I wrote a class MyFactory which is a reduction of the class com.ibm.rqm.ct.artifacts.ArtifactFactory and provides my new handler. In this handler, the persist method is called, so I wrote the code here. I got a com.ibm.rqm.xml.bind.Testcase object.
The problem is that this class does not provide the validateRequirement links. I found another class com.ibm.rqm.xml.oslc_qm.TestCase in the source of RQMCopyUtility. However, this class is not used in all the classes in RQMCopyUtility.
My question is : how can I use this classes to get the information I need ?
Thanks
I use RQMCopyUtility to access to the REST API.
My goal is to get all the informations of a testcase item, even the external links like "validateRequirements".
I tried to write a class to handle test cases. I wrote a class MyFactory which is a reduction of the class com.ibm.rqm.ct.artifacts.ArtifactFactory and provides my new handler. In this handler, the persist method is called, so I wrote the code here. I got a com.ibm.rqm.xml.bind.Testcase object.
The problem is that this class does not provide the validateRequirement links. I found another class com.ibm.rqm.xml.oslc_qm.TestCase in the source of RQMCopyUtility. However, this class is not used in all the classes in RQMCopyUtility.
My question is : how can I use this classes to get the information I need ?
Thanks
One answer
Hello,
The copy util is based off of the REST API. Check out what is supported in the REST API here: https://jazz.net/wiki/bin/view/Main/RqmApi
Those objects you are looking at are the JAXB representations of the data supported in the REST API.
Unfortunately, IIRC the OSLC links are not supported in 2.X but should be present in 3.X.
The copy util is based off of the REST API. Check out what is supported in the REST API here: https://jazz.net/wiki/bin/view/Main/RqmApi
Those objects you are looking at are the JAXB representations of the data supported in the REST API.
Unfortunately, IIRC the OSLC links are not supported in 2.X but should be present in 3.X.