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
You might find out this article useful. Look at the 'Creating artifacts' section
Comments
Fernando Cabrera
commented Jul 11 '19, 7:10 a.m.
Thank you. But there is no Instance Shape for a Module. |
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 Comments
Fernando Cabrera
commented Feb 04 '21, 8:02 p.m.
You can use the oslc:describes predicate from the Resource Shape to identify this. |
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.