OSLC API : Creating requirement inside module template.
I am able to create a requirement artifact using the creation factory link from service providerĀ as following: json "dcterms:title": { "@rdf:datatype": "http://www.w3.org/2001/XMLSchema#string", "#text": "Requirement Creation Factory" }, "oslc:creation": { "@rdf:resource": "https://gm-elm.onclearobject.com/rm2/requirementFactory?projectURL=https%Fgm-elm.onclearobject.com%2Frm2%2Fprocess%2Fproject-areas%2F_dSOn4M7ZnaL_3Q" } This successfully creates the artifact, but it is created in the root of my component. I would like to link it to a module template and have the requirement created inside that module template instead.
How can I achieve this?
One answer
You always have to create the core or base artifact first, then insert a reference to it (i.e. a binding) in the module structure. The binding shows attributes from the core artifact, but has its own links.
Use the module structure API linked by the title "Module API" hereĀ https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding
Search this forum for module structure and you'll find some answers that should help.