It's all about the answers!

Ask a question

OSLC Query or Rest API for fetching UUID of Stream and Baseline


jyoti mishra (45148) | asked Aug 11 '21, 7:53 a.m.

 Hello Everyone,


I would like to know the  OSLC API or reportable rest API to fetch UUID of specific Stream and Baseline, based upon Stream and Baseline Name from RQM and DNG Project.
Kindly help at the earliest.

Thanks and Regards,
Jyoti

3 answers



permanent link
David Honey (1.8k17) | answered Aug 11 '21, 8:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

OSLC Configuration Management does not define a property for UUID. Configurations have URIs. You should be working with those URIs rather than assuming a configuration has a UUID. The URIs are supposed to opaque.


permanent link
David Honey (1.8k17) | answered Aug 11 '21, 8:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You can use an OSLC query capability for querying configurations. Discover them using the OSLC Service Provider Catalog for that application (which may be discovered from its rootservices document). You should be able to specify an oslc.where parameter to query on dcterms:title .

See:
https://docs.oasis-open-projects.org/oslc-op/core/v3.0/ps02/discovery.html
https://docs.oasis-open-projects.org/oslc-op/query/v3.0/ps01/oslc-query.html
https://oslc-op.github.io/oslc-specs/specs/config/oslc-config-mgt.html


permanent link
Ralph Schoon (63.5k33646) | answered Aug 12 '21, 3:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Please have a look at https://github.com/jazz-community/dng-type-system-management


It implements several public APIS for DNG. If you look at https://github.com/jazz-community/dng-type-system-management/tree/DNG-TS-Update, it contains a new command to dump all the configurations of a project area. 

It uses Eclipse Lyo, that makes it a little bit hard to understand what goes on under the covers. Maybe use Fiddler to track what is going on.


Comments
Ralph Schoon commented Aug 12 '21, 3:21 a.m. | edited Aug 12 '21, 3:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

In general please do not hesitate to look into https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding by yourself, if you have a need to find out what APIs exist. 

The wiki page contains a host of valuable information about the APIs, including the reportable REST APIs. 

Or use Google to find the API descriptions e.g. search for "reportable REST site:jazz.net" 

Your answer


Register or to post 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.