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!