Retrieve RRC Reviews via Java API
I am attempting to retrieve all the reviews in the repository using the Java Sample code.
I have been able to successfully retrieve requirements using something similar to:
I've tried to access the reviews by adding the artifact type "application/x-com.ibm.rdm.ba.review+xml". However, have been unsuccessful. I found the artifact types from here: http://publib.boulder.ibm.com/infocenter/rpcmpose/v2r0/index.jsp?topic=/com.ibm.rational.rrc.help.doc/topics/r_report_datasources.html. Has anyone had any luck with this? |
8 answers
FYI. Here's the type that works:
artifactTypes.add("x-com.ibm.rdm.review/rdf+xml"); |
Is this code working for you in RRC 2.0.0.4? I don't seem to be able to retrieve the requirements using your code snippet.
|
|
Interesting. I tried your snippet and it did return a result set. Maybe I had a typo in the artifact type descriptor.
It is always returning 100 results, despite the fact that my project has ~200 requirements. Is that the behaviour you are seeing? |
Hi guys ! Can anyone give a sample code to fetch all the requirements from RRC pertaining to a project ? Plz post the sample code with headers and libraries to be included as well.I am looking to develop a plugin in C#/java.
Plz help as this is URGENT. |
Interesting. I tried your snippet and it did return a result set. Maybe I had a typo in the artifact type descriptor. I'm able to retrieve all the artifact URls, using the Requirement artifact type:
Once we have the list of artifactUrls, we grab the artifact info for each requirement. |
Hi All,
Anyone please attach sample code of How to connect to RRC server and then fetch artifacts for Use-case diagrams. Please help as this is urgent for me. Thanks in advance. Regards, Ankit |
Is there any API documentation for RRC 4.0.6 ?
|
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.
Comments
Hi,
Can you please provide me a sample code how can I iterate though or get the requirement documents after I have added into the "artifactTypes" and executing the service.