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

Create Module from Template with OSLC

 Is there a way to create a new module using an existing Artifact Template via OSLC? This seems like it should be fairly straight forward but I cannot find any information on it.

0 votes


Accepted answer

Permanent link
No, at this time, the creation of modules is not supported through the OSLC APIs.
Rosa Naranjo selected this answer as the correct answer

0 votes


2 other answers

Permanent link

 It is, however, achievable with a mix of OSLC and RM REST APIs.

0 votes


Permanent link

It is possible with the following POST request:


Headers:

DoorsRP-Request-Type: private
OSLC-Core-Version: 2.0
Configuration-Context: e.g.: https://server/rm/cm/changeset/XXXXX

Request URI:


Paramaters (Body)

title=MyNewMOduleName

Full URI:


0 votes

Comments

The "DoorsRP-Request-Type: private" gives a clear indication that this is most likely an unsupported API subject to risk of change through versions and possibly iFixes. i.e. Caveat Emptor/use at your own risk, but preferably avoid.

@Ian Barnard

Thanks for the hint. We know that which forces us to run daily tests against the API.

Why don't put such a useful function to the public API?

There are certainly more complicated ways to achieve the same goal, but unfortunately this is not documented anywhere. 

One possibility would be to specify the URI of a module as a template, create a new one and copy the artifacts of the template module, or manually append them as use in the RDF document.

What is the official way to create a module based on a template? 

Hi Christian - you can create an Idea with your business case justifying the API here https://ibm-data-and-ai.ideas.ibm.com/  If there's an existing idea on the topic, suggest you upvote that rather than create a new one.

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
× 10,944
× 516
× 139

Question asked: Aug 07 '13, 9:36 a.m.

Question was seen: 6,437 times

Last updated: May 16 '23, 12:21 p.m.

Confirmation Cancel Confirm