How can I create a module in DNG using the API (OSLC or any other)?
I'm using version 6.0.6 of the Jazz CLM. I'm able to create Requirement Collections using the OSLC API, but haven't found a way to create Modules.
According to this ticket, if I'm not mistaken this is supported since version 6.0.4
But the Collection Creation Factory has only one resourceShape for Requirement Collection. I've tried also adding the rdf type http://jazz.net/ns/rm#Module, but it gets ignored. I can't see anything also in the Requirement Collection Resource Shape that points to a Format, which is the field used in the web GUI to define that a Requirement Collection is a Module.
2 answers
How on earth do you identify the resourceShape Uri? Resource type seems to match the URl set when you define a new artifact. creationFactory lists all the resourceTypes. It also lists a number of resourceShape value, but there doesn't seem to be any way of identifying which one is relevant to the resourceType. Very confusing