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
David Honey (1.8k●1●7)
| answered Nov 23 '20, 5:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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? |
David Honey (1.8k●1●7)
| answered Nov 23 '20, 7:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Perform a GET on the URI of an RQM stream using Accept=application/rdf+xml or Accept=text/turtle.
Comments
Andrew Ciaz
commented Nov 23 '20, 7:38 a.m.
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
Andrew Ciaz
commented Nov 25 '20, 10:06 a.m.
@David Honey could you please help on the topic to fetch URI of configuration |
David Honey (1.8k●1●7)
| answered Nov 25 '20, 11:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 |
David Honey (1.8k●1●7)
| answered Nov 25 '20, 11:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER The original question in the title of this post was "What is the URL to fetch components from RQM local stream?".
Comments
Andrew Ciaz
commented Nov 25 '20, 11:02 p.m.
@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 |
David Honey (1.8k●1●7)
| answered Nov 26 '20, 6:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 |
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.