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

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.



0 votes



2 answers

Permanent link
You might find out this article useful.  Look at the 'Creating artifacts' section

0 votes

Comments

Thank you. But there is no Instance Shape for a Module.


Permanent link

 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

0 votes

Comments

You can use the oslc:describes predicate from the Resource Shape to identify this.

Your answer

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
× 10,938
× 7,496
× 516
× 479

Question asked: Jul 08 '19, 3:36 p.m.

Question was seen: 4,051 times

Last updated: Feb 04 '21, 8:02 p.m.

Confirmation Cancel Confirm