Is there a REST API for DNG to create a local stream,component and baseline?
Vidhya Venkatesan (31●1●7)
| asked Feb 06 '18, 5:02 a.m.
edited Apr 02 '18, 6:03 p.m. by Geoffrey Clemm (30.1k●3●30●35) Could you please help on the availability of REST API for DNG?the need is to create a local stream,component and baseline using the REST API in DNG
|
Accepted answer
Here is an example of how to create a component via OSLC:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" Rosa Naranjo selected this answer as the correct answer
Comments
Vidhya Venkatesan
commented Apr 09 '18, 6:27 a.m.
I was able to create the FGC component with the help of above steps.
|
3 other answers
DNG supports OSLC Configuration Management for creation of streams, components, and baselines. See https://<servername>:<port>/rm/oslc_config for details. You can also look at https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/config/oslc-config-mgt.html for the latest details of the spec. Comments
Thomas Kirstätter
commented Feb 08 '18, 1:49 a.m.
Hello Brian,
This API was introduced in CLM 6.0.4, see this post on news and noteworthy for Jazz Foundation 6.0.4 - REST services API, and extended with CLM 6.0.5 as mentioned here.
Thomas Kirstätter
commented Mar 22 '18, 2:15 a.m.
We are having difficulties creating components in DNG, is there any example code that works with 6.0.4 which we could look at to get some better understanding?
1
Find the details on how we created a Stream from baseline in RM
Geoffrey Clemm
commented Apr 02 '18, 6:05 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Requiring that there be a baseline upon which a new stream is based is what I would expect. I will ping the development team for an example on how to create a new component. |
Hello,
|
Hi,
This was useful, I was able to create a baseline.
Can I use this procedure to archive a baseline by simply doing a HTTP Delete instead of POST on the resource, without body? |
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.
Comments
Hint: We currently use CLM 6.0.4