It's all about the answers!

Ask a question

Configure DNG Component Template via OSLC API

Julian Hemm (58616) | asked Jul 06 '23, 1:26 a.m.


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

permanent link
Ralph Schoon (63.3k33646) | answered Jul 06 '23, 1:37 a.m.
edited Jul 06 '23, 1:45 a.m.

In general, please see 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

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

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