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

DNG: Create an artifact through OSLC API and put it in a module

Creating artifacts through OSLC Creation Factories and updating modules through the Module Structure API is fairly straightforward, but how do you make another artifact for the module structure?

From what I've seen, whenever you make a new artifact in a module using the web interface, it makes the Core Artifact and a duplicate Module Artifact. The module structure then references both the Module Artifact in it's "uri" field and the Core Artifact in its "boundArtifact" field. I see that the Module Artifacts are generally the ones that have links, so what's the strategy to make both using the REST API? Should I just POST each requirement twice, and pick one to be the Module Artifact and the other to be the Core Artifact? Can I just make one artifact and have that be the core and module artifact?

0 votes



One answer

Permanent link

 Hi


Since 6.0.6 you can add an existing artifact to a module structure using the module structure API - see https://jazz.net/wiki/bin/view/Main/DNGModuleApiOverview and https://jazz.net/wiki/bin/view/Main/DNGModuleAPI

So first create the core artifact, then add an entry in the module structure, referencing the core artifact.

HTH
Ian

0 votes

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

Question asked: Oct 31 '19, 1:08 p.m.

Question was seen: 2,145 times

Last updated: Nov 26 '20, 12:56 p.m.

Confirmation Cancel Confirm