Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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


0 votes

Comments

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
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.

0 votes

Comments

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

 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)

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,016

Question asked: Aug 10 '22, 6:01 a.m.

Question was seen: 1,811 times

Last updated: Aug 10 '22, 9:05 a.m.

Confirmation Cancel Confirm