Configure DNG Component Template via OSLC API
Hello,
I am able to create components (with the help of https://jazz.net/forum/questions/249582/is-there-a-rest-api-for-dng-to-create-a-local-streamcomponent-and-baseline).
Now that the component is created, I need to "apply a component template".
Is there any way to apply a component template to a DNG component using the API?
Thank you
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Jul 06 '23, 1:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 06 '23, 1:45 a.m. In general, please see https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding for an overview of the existing APIs. Your question is related to the DNG Server APIs. The OSLC APIs do not know anything about templates.
You can import a type system into a stream. A team created a prototype for maintaining type systems, you can find articles, including source code following the links below.
Please see these entry points
Julian Hemm selected this answer as the correct answer
Comments
Julian Hemm
commented Jul 07 '23, 9:49 a.m.
Thank you Ralph, I was able to apply the type system from one component / stream to another with the help of your code. Only thing I found missing so far are the artifact templates, they do not get copied when applying the typeSystem. |
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.