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

To get changed resources in DNG

 Hi team,


I am using DNG 7.0.2 . We are having GC enabled project areas.
Whatever the change sets are created in DNG , we are trying to fetch changed resources for that particular change set.
Is there any way to get this data through OSLC or Restful API?

Please assist

Thanks

0 votes

Comments

 Hi Team,

Thanks for the input.

I am able to get changeset details using below URL:
https:/server-name/rm/cm/changeset/_F6x1YAM9Ee2pMeTfYzlAMQ but, not able to get any link which will redirect us to changed resource section of the change sets.
If possible ,can you please explain more.


Thanks


As I described, this will give the URI of a selections resource (see oslc_config:selections). A GET on that will return the selections resource and its oslc_config:selects. See the OSLC Configuration Management specification I provided a link to.



One answer

Permanent link
Please read the OSLC Configuration Management specification at https://docs.oasis-open-projects.org/oslc-op/config/v1.0/ps01/oslc-config-mgt.html. If you know the URI of the change set, you should be able to GET it, then see a referenced selections resource. A GET on that selections resource will tell you what version resources are selected by that change set. By itself, that may not tell you what was changed, added, or removed by the change set. OSLC does not define any specific REST service for obtaining such information. But you can compare the selections between the change set and the stream it is associated with.




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

Question asked: Mar 02 '23, 1:47 a.m.

Question was seen: 1,332 times

Last updated: Mar 02 '23, 7:06 a.m.

Related questions
Confirmation Cancel Confirm