It's all about the answers!

Ask a question

RPE:how to use RQM REST API to retrieve DOORS requirement imported into RQM through RQMI?


Don Yang (7.2k2194127) | asked Apr 21 '14, 7:18 a.m.
edited Apr 21 '14, 9:50 p.m.
RQM 4.0.1 integrated with DOORS 9.3 through RQMI.
RQM imports DOORS requirements as a link to the requirement in RQM.
Per RQM REST API's feed.xsd and qm.xsd, there is only DOORS identifier can be retrieved, the sample URL is:

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CustomProject3.0/requirement/doors/localhost:36677/version=2%26prodID=0%26urn=urn:telelogic::1-52a6bb1076011a48-O-1-00000027

If we copy this URL to browser, we are able to open DOORS specific requirement.



The question is:
what kind of feed in RPE we may use to retrieve a specific DOORS requirement which is imported into RQM through RQMI by using the above URL or any other way?

We want to access to the specific requirement only NOT DOORS module and then filter the specific id(from module then filter the id is how we are trying currently and it consumes a lot of memory and not the ideal way).Please shed some lights on this. Thanks a lot.

2 answers



permanent link
Paul Slauenwhite (8.3k12) | answered Apr 21 '14, 8:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Don,

You can use the requirement resource feed (e.g. https://<host>:<port>/<context root>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<project area alias>/requirement) or an test artifact feed that references a DOORS requirement (requires the calmlinks=true parameter - https://jazz.net/wiki/bin/view/Main/RqmApi#calmlinks).  Note, fields filtering is not supported for the requirement resource feed but is supported for the test artifact feed that references a DOORS requirement (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources).

Comments
Don Yang commented Apr 21 '14, 9:52 p.m.

Thanks Paul for the info.
basically RQM REST API seems to be ready and works for the user:
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CustomProject3.0/requirement/doors/localhost:36677/version=2%26prodID=0%26urn=urn:telelogic::1-52a6bb1076011a48-O-1-00000027

The problem is how to use this in RPE to retrieve the same requirement. I am not familiar with RPE hence I sent this forum to another engineer to further follow up.


permanent link
Abish Mathew Zachariah (252211) | answered Apr 22 '14, 1:07 p.m.

Hi Don

As I understand, you want to generate a traceability report using RPE, which shows how many requirements in DOORS are actually exported to RQM using RQMI. If this is correct then I can think about only this method:

1.traverse the DOORS module and get a handle on the DOORS module id and Object ID for each object in DOORS module.

2. For each DOORS module object, traverse the RQM requirements Feed URL to see if the object ID and module id matches with what you have gathered in step 1, using assignments and scripts.'

I think you are already using this approach? Yes, it may lead to memory issues. But currently, with RQMI in place, I can think about only this method. Let me know in case if you require a sample RPE template to showcase this.

Best Regards

Abish M Zachariah


Comments
Don Yang commented Apr 22 '14, 11:13 p.m.

Thanks Abish for the details. We had similar approach currently but as you know it is easy to get memory problem.

Your answer


Register or to post your answer.