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

OSLC - Doors Next creating Artifacts and adding them to a module

 Hi,

I've successfully created Artifacts and modules but am having problems trying to add the created artifact to a module.  I've looked at the module api, but I don't see where that comes in.  Is there a different CreationFactory I should be using?

You need to create an artifact to get the resourceUri to add it to the uses @resource attribute.  However, what do you do about the parent?  

My projects are set up to save base artifacts in a given folder, so does my client need to be aware of that?

Are you creating the base artifacts when you do this and does Doors create an instance if that module with its own resource url when you add the uses tag to the module rdf for the update?  I notice that the artifacts that already exist in the module have ids that are prefixed with "MB_".

I can update the description of the module successfully but adding the uses tag refering to the new module causes a "bad request" error.

Lots of questions, but I'm close to doing what I need to do - adding artifacts to the module is the remaining task for me to figure out.

Thanks in advance for any pointers.

Andy.






0 votes



2 answers

Permanent link

 Ok, I've figured it out after looking through the docs more closely at



I didn't notice the different header
 Header Name Value
 DoorsRP-Request-Type    Public 2.0

0 votes


Permanent link

 Ok,

Another question...

Out of the following binding, what do you need to provide?  All of it or just the boundArtifact assuming that the rest would be filled in by the server?


                    <rm_modules:Binding rdf:about="https://clmwb.com:9444/rdm/resources/MB_e34eb5d27c8446c791e72a882d52fd34">
                        <oslc_config:component rdf:resource="https://clmwb.com:9444/rdm/cm/component/_Y5OakLruEeevMtDqCXe--Q"/>
                        <rm_modules:boundArtifact rdf:resource="https://clmwb.com:9444/rdm/resources/CA_63362a5f2a0842b0b83a66d04f39c327"/>
                        <rm_modules:module rdf:resource="https://clmwb.com:9444/rdm/resources/_4sscEb43EeeD0-df1VhHuw"/>
                        <rm_modules:childBindings rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                    </rm_modules:Binding>
    

0 votes

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

Question asked: Nov 05 '20, 3:57 p.m.

Question was seen: 2,158 times

Last updated: Nov 05 '20, 5:31 p.m.

Confirmation Cancel Confirm