It's all about the answers!

Ask a question

Get requirement levels on DOORS NG using OSLC


Carlos Gomez (2718) | asked Jul 13 '15, 5:46 a.m.
 Hello,

I'm implementing an OSLC-RM consumer to get requirements from a DOORS NG project. However, I cannot get the requirement levels (requirement hierarchy) from a module.

Is there a way to do it?

Thanks for your help

Cordially,

Carlos 

Accepted answer


permanent link
Gabriel Ruelas (1.1k13) | answered Jul 16 '15, 10:48 a.m.
Carlos,
   RDNG OSLC provider does not expose structural information of modules. 

However the publish service does expose some of that information. I would suggest to try it and see if it offer what you need. An example of it :
https://sever:9443/rm/publish/modules?resourceURI=_M8Bq0SvIEeW3QqnQxT9Jsw 
PLS let me know if questions about it.
Best Regards,
Carlos Gomez selected this answer as the correct answer

Comments
Gabriel Ruelas commented Jul 16 '15, 10:50 a.m.

Sorry about that, it seems to copy Rich text data : let me try again :
https://squalo.ratl.swg.usma.ibm.com:9443/rm/publish/modules?resourceURI=_M8Bq0SvIEeW3QqnQxT9Jsw


Carlos Gomez commented Jul 17 '15, 8:10 a.m. | edited Sep 05 '15, 12:04 a.m.

 Thanks Gabriel!!!


According to your query (https://jazzServer:9443/rm/publish/modules?resourceURI=moduleID), I get a XML file with all information that I need.

To get the requirement levels (sections), there are two attributes: <rrm:section> and <rrm:depth>. The former gives the section number, and  the latter provides the level. 

I also find another attribute to get the requirement order defined in the module (<rrm:bookOrder>)

Do you know if I could apply the same query to DOORS 9.5 using DWA?

Thanks again,

Carlos


Gabriel Ruelas commented Jul 22 '15, 9:06 a.m. | edited Sep 05 '15, 12:04 a.m.

Carlos, I got this answer from D9 team:
"To get info which is not part of OSLC in D9 a customer would have to use DXL services and generate the data themselves "


Carlos Gomez commented Aug 03 '15, 3:56 a.m. | edited Sep 05 '15, 12:04 a.m.

 Thanks Gabriel,


I also thought that DXL was the option.

Thanks again!!!  

Your answer


Register or to post your answer.