How To
Summary
This document explains how to get the list of streams and baselines for a particular component in DOORS Next Generation.
A rest client is needed to run OSLC URL calls.
Environment
IBM Engineering Requirements Management DOORS Next 702
Steps
1) Use the following URL https://<server>/rm/oslc_rm/catalog to list all the RM projects.
You can identify the project area you are interested in by searching its name and you find its ID number.
For example, here the name of the project is "Test DNG GC" and the ID of the project is "_I5FOIKfDEe2qPa7cbs2u8g".
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="https://ibm-pf3jx8zz:9443/rm/oslc_rm/_I5FOIKfDEe2qPa7cbs2u8g/services.xml">
<oslc:details rdf:resource="https://ibm-pf3jx8zz:9443/rm/process/project-areas/_I5FOIKfDEe2qPa7cbs2u8g"/>
<jp:consumerRegistry rdf:resource="https://ibm-pf3jx8zz:9443/rm/process/project-areas/_I5FOIKfDEe2qPa7cbs2u8g/links"/>
<jazzDisc:messageReceiver rdf:resource="https://ibm-pf3jx8zz:9443/rm/web/com/ibm/rdm/web/copyReceiver/CopyHandler.html"/>
<dcterms:title rdf:parseType="Literal">Test DNG GC</dcterms:title>
</oslc:ServiceProvider>
2) You use the following URL, https://<server>/rm/cm/component/ldpc?project=<ID>, to list the components within this project and replace ID with the value found in step 1) that is "_I5FOIKfDEe2qPa7cbs2u8g".
<ldp:BasicContainer rdf:about="https://ibm-pf3jx8zz:9443/rm/cm/component/ldpc?project=_I5FOIKfDEe2qPa7cbs2u8g">
<ldp:contains>
<j.0:Component rdf:about="https://ibm-pf3jx8zz:9443/rm/cm/component/_4GgqIMiCEe2HD6_UiHUw4A">
<dcterms:title>Copy Module</dcterms:title>
</j.0:Component>
</ldp:contains>
<ldp:contains>
<j.0:Component rdf:about="https://ibm-pf3jx8zz:9443/rm/cm/component/_wh2nwKfGEe2qPa7cbs2u8g">
<dcterms:title>Test DNG GC 2</dcterms:title>
</j.0:Component>
</ldp:contains>
<ldp:contains>
<j.0:Component rdf:about="https://ibm-pf3jx8zz:9443/rm/cm/component/_JEhCEKfDEe2qPa7cbs2u8g">
<dcterms:title>Test DNG GC</dcterms:title>
</j.0:Component>
</ldp:contains>
You pick the wanted component, for example the second one with the name "Test DNG GC 2" and the ID "_wh2nwKfGEe2qPa7cbs2u8g".
3) You use the following URL, https://<server>/rm/cm/component/_wh2nwKfGEe2qPa7cbs2u8g/configurations, to list all the configurations (streams and baselines) for the component.
For example, here it retrieves one stream and one baseline.
<rdf:Description rdf:about="https://ibm-pf3jx8zz:9443/rm/cm/component/_wh2nwKfGEe2qPa7cbs2u8g/configurations">
<rdfs:member rdf:resource="https://ibm-pf3jx8zz:9443/rm/cm/stream/_wh7gRqfGEe2qPa7cbs2u8g"/>
<rdfs:member rdf:resource="https://ibm-pf3jx8zz:9443/rm/cm/baseline/_MZfnkKfIEe2qPa7cbs2u8g"/>
</rdf:Description>
<rdfs:member rdf:resource="https://ibm-pf3jx8zz:9443/rm/cm/stream/_wh7gRqfGEe2qPa7cbs2u8g"/>
<rdfs:member rdf:resource="https://ibm-pf3jx8zz:9443/rm/cm/baseline/_MZfnkKfIEe2qPa7cbs2u8g"/>
</rdf:Description>
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSUVLZ","label":"IBM Engineering Requirements Management DOORS Next"},"ARM Category":[{"code":"a8m50000000Cj12AAC","label":"ERM DOORS Next-\u003EAPIs"}],"ARM Case Number":"TS013493298","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
29 September 2023
UID
ibm17031739