What is the URL to fetch components from RQM local stream?
![]() Hi team,
I successfully fetched all the stream of QM project areas using below URL:
https://localhost:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Unified Tracking System (Quality Management)/stream
But further I want to fetch all the components of particular stream. Could you please suggest any solution on this?
|
6 answers
![]() Hi Andrew,
|
![]() @David Honey thanks for your reply, I go through the link but I am not clear about how to fetch RQM streams using REST or OSLC, could you please provide the sample URL? |
![]() Perform a GET on the URI of an RQM stream using Accept=application/rdf+xml or Accept=text/turtle.
Comments Hi David so I need to follow below steps in my automation:
1. Login to the RQM
2. Fetch all the project areas and streams
So I don't know the URI of the stream prior. I just want to fetch all the streams from the project areas
@David Honey could you please help on the topic to fetch URI of configuration |
![]()
You will need to query for them. You can discover the OSLC Service Provider Catalog for configuration management from ETM's rootservices document (e.g. https://localhost:9443/qm/rootservices). Then use standard OSLC service discovery (see the OSLC Core specification linked to from https://open-services.net/specifications/) to discover the OSLC query capability for configurations. A GET on the query base of that query capability will allow you to query for ETM configurations. You can find more information about OSLC Query from the OSLC Query 3.0 specification linked to from https://open-services.net/specifications/.
Best regards,
David |
![]() The original question in the title of this post was "What is the URL to fetch components from RQM local stream?".
Comments @David I already tried the OSLC approach to find the local streams using:
1. rootservices --> catlog --> services for project area
but there is no query capability for configuration. Is that feature is not provided by QM? there are all other services but no service found for config, stream, component related |
![]()
I deployed an ELM 6.0.6.1. A GET on https://localhost:9443/qm/rootservices gave a response that included:
Note that ETM declares multiple OSLC service provider catalogs in its rootservices. The one you want for configuration management uses
oslc_config:cmServiceProviders
.
A GET on the SPC at https://localhost:9443/qm/oslc_config/catalog with header Oslc-core-version=2.0 gave a response that included:
A GET on the query base (without any oslc.where) gave the RDF shown below. In my case, I had only create a single ETM project area and enabled it for configuration management. I had previously found that ETM did not support specifying process:projectArea in either the component query capability or configuration query capability, so it appears you cannot limit the query to a specific project area. See
188063: Support process:projectArea in oslc.where on component query capability. You can query for the configurations of a specified component.
Best regards, David |