It's all about the answers!

Ask a question

How to get list of changes(which stream is changed in rm) while comparing Global Baseline and Baseline Staging Stream


Rajat Krishnan (70116) | asked Aug 10 '22, 6:01 a.m.
Hello,
This thread is in continuation with my recently asked query, My query here is what OSLC API or Reportable REST API i can use to get "list of changes made" while comparing Global Baseline and Baseline Staging stream
Input parameter which i have : Global Baseline UUID and Baseline Staging stream UUID
Is it possible to get working OSLC API for same?
Please refer below image to understand better about my usecase
CompareView

Thank you



Comments
Ian Barnard commented Aug 10 '22, 9:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

FYI you shouldn't use staging baselines for anything other than staging (by which I mean manually collecting the baselines you want and replacing their stream contributions) the creation of a new GC baseline? Always use a normal GC stream if you want a development configuration where some contributions are baselines.

2 answers



permanent link
David Honey (1.8k17) | answered Aug 10 '22, 7:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You cannot do this with the GCM application. GCM knows nothing about the selected versions of local configurations or the change sets that have been delivered to local configurations.

The OSLC Configuration Management specification does not define any means of determining the change sets delivered to a local configuration. So there is no OSLC REST API to do this.

There might be a DN proprietary API for this. You can access the API landing page at https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding which has links to DN API pages. But I'm not hopeful of an API that does what you want. Looking at https://jazz.net/wiki/bin/view/Main/DNGConfigManagement, you can see an API for delivering change sets, but it doesn't appear to support querying.

However, if I perform a GET on an RM stream, I see that it includes a DN specific statement such as:
<https://localhost:9443/rm/cm/stream/_m2LhKBMwEe2PLeUKC7-Aqw> <http://jazz.net/ns/rm/dng/config#changesets> <https://localhost:9443/rm/cm/stream/_m2LhKBMwEe2PLeUKC7-Aqw/changesets> ;

That seems to provide the URI of an LDPC (Linked Data Platform Container) that one might expect has members that represent the change sets included in the stream. However, I cannot find any documentation on this. I suggest you try it to see if it does what you need.


Comments
Ian Barnard commented Aug 10 '22, 8:58 a.m. | edited Aug 10 '22, 9:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

For DOORS Next only non-delivered changesets are visible in the stream below the changesets reference you show - although there was a defect that also made delivered changesets visible that has now been resolved. 


permanent link
Ian Barnard (1.9k613) | answered Aug 10 '22, 9:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 I'm not aware of an API to compare at the GC level, but DOORS Next 7.0.2 has a configuration comparison API as part of its Reportable REST API see the bottom of this page DNGReportableRestAPI < Main < TWiki (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.