OSLC/REST API for fetching details about Changeset in DNG/ERM in java
Hello,
I am looking for an API using which i can view details of a particular changeset like
-
what artifacts are changed
-
type of artifacts
- Changeset linked workitem,....
Could you please help me here
I can see an under web inspect an API but not sure whether it will be compatible with java
API : https://port-server/rm/queryvvc/changesetresources?vvc.configuration=https://port-server//rm/cm/stream/_0VANljWQEeyIq_xC-8aqNw&changeSetUri=https://port-server//rm/cm/changeset/_3HkToJ6-EeyewK14D7-PnA&page=0
But here also if i hit this api ,we are just getting the changed artifact name and url of artifact not what content was changed and other details like linked workitems, artifact type
Thank you
One answer
For all I know, these are the APIs that are public: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
There are a few additional ones e.g. how to create a change set and iterate configurations, however I am not aware of an API that is published and would allow deep analysis or compare of configurations.
Comments
@Ralph Schoon,
Yes agree with you, we have very limited API's available in terms of detailed Schema Comparison of 2 configuration for DNG/ERM but we came across one of the API which possibly providing us all the required details but only the concern is somehow the elements in response file are not properly interlinked with each other.
You can refer to this thread : https://jazz.net/forum/questions/281316/how-to-identify-relationship-between-changeset-and-artifact-in-diff-api-for-dngerm
where i have provided the API and the outcome from it also also the open point
Thank you
As Ian already told you, the API in this thread is an internal API that is not documented.
If you use that, you are on your own and out of support, in case anything bad happens.
It is easy enough to reverse engineer the Web UI's these days, that does not mean you should or you would be covered if anything harmful happens.
Also, internal APIs can change any time without warning.
With respect to your other question: I do not know right away if that is a public API. If you have a documentation reference, please let us know. Until then I assume it is internal. Regardless what your open points are, we can not answer questions to internal APIs.
With respect to your other question: I do not know right away if that is a public API. If you have a documentation reference, please let us know. Until then I assume it is internal. Regardless what your open points are, we can not answer questions to internal APIs.
Update, the post https://jazz.net/forum/questions/281316/how-to-identify-relationship-between-changeset-and-artifact-in-diff-api-for-dngerm is about the ReportableREST API
https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI that is not an internal API.
Hello @Ralph Schoon,
I know its an internal API , but my question is not whether we have any documentation available for internal API , My question is
- do we have any OSLC API or Reportable REST API available for Changeset?
- If i hit Diff API for comparing 2 Local Baseline , then i will get a xml file with two tags i.e.</ds:changeSet> & </ds:artifact> but now how to do i identify relationship between changeset and artifacts meaning how do i know that which artifact is part of which changeset ? incase of multiple changeset & artifacts as shown below
This is the API landing page that points to the available public APIs: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
I do not know all details of the reportable REST API and will not be able to help much.
1 vote
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 17 '22, 5:06 a.m.This is an internal API.
Rajat Krishnan
Aug 17 '22, 6:40 a.m.