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

Creating Artifacts in Specific Folder inside a component in DNG with GCM Enabled

Hi all,

I'm currently using OSLC4J Lyo 7.0.0.alpha3 to programmatically create artifacts in DNG with GCM enabled. Artifact creation works correctly, but the artifacts are always created at the root level of the DNG component. I would like to create these artifacts inside a specific folder, particularly within the <module name> Artifacts folder associated with a module in the component.

I'm using the createResource() method from the OSLC client, passing in:

requirementFactory

requirement object

mediaType

acceptType

streamUrl

My main question is:
How can I specify the target folder so that the artifact gets created in the desired location (e.g., inside the module's Artifacts folder) rather than the root of the component?

Any guidance, example code, or relevant documentation would be greatly appreciated.

Thanks!

0 votes


Be the first one to answer this question!

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
× 11,073

Question asked: Jul 10, 4:34 p.m.

Question was seen: 521 times

Last updated: Jul 10, 4:47 p.m.

Confirmation Cancel Confirm