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

Which artifacts can be created from creationFactory in RDNG 6.0?

Hi I created new project area(not from template) and add new Artifact Type(from type Module) with name CustomArtifactType from manage Project Properties section. 
Then Create artifact with this type CustomArtifactType  when I looked into the CreationFactory there was one resourceShape which describes the CustomArtifactType. Everything was OK.

Then I create new Artifact Type from type Text(called TextCustomArtifactType) and create artifact from this type. When I request the CreationFactory I was amazed that there was only one resourceShapefrom type CustomArtifactType.

Then I create  new Artifact Type from type Module(called SecondCustomartifactType) and in the   
Requirement Creation Factory</dcterms:title> was only one resourceShape but in
  >Collection Creation Factory</dcterms:title> there was two with CustomArtifactType and TextCustomArtifactType both from type Module. 
Why this happens?
1. Why I can't create artifact from the TextCustomArtifactType of type Text?
2. Why only artifacts from type Module(is there others) apperas in Collection Creation Factory?
3. Why the artifacts from  type Module apperas in Collection Creation Factory not in Requirement Creation Factory?

<oslc:CreationFactory>
                        <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
                        <oslc:resourceShape rdf:resource="https://ip:port/rm/types/_GLymQUpKEeWXsenjqT5uYQ"/>
                        <oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
                        <oslc:creation rdf:resource="https://ip:port/rm/requirementFactory?projectURL=https%3A%2F%2Fip%3Aport%2Frm%2Fprocess%2Fproject-areas%2F_AwZo4UgLEeWXsenjqT5uYQ"/>
                        <dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Requirement Creation Factory</dcterms:title>
                    </oslc:CreationFactory>

And:

<oslc:creationFactory>
                    <oslc:CreationFactory>
                        <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
                        <oslc:resourceShape rdf:resource="https://ip:9443/rm/types/_tm3NAUpLEeWXsenjqT5uYQ"/>
                        <oslc:resourceShape rdf:resource="https://ip:9443/rm/types/_ymBRAUgOEeWXsenjqT5uYQ"/>
                        <oslc:resourceType rdf:resource="http://open-services.net/ns/rm#RequirementCollection"/>
                        <oslc:creation rdf:resource="https://ip:9443/rm/requirementFactory?projectURL=https%3A%2F%2Fip%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_AwZo4UgLEeWXsenjqT5uYQ"/>
                        <dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >Collection Creation Factory</dcterms:title>
                    </oslc:CreationFactory>
                </oslc:creationFactory>

0 votes



One answer

Permanent link
1. "Text" is an "artifact format", not an "artifact type". So you will not see "Text" in the "ResourceShape".
2. The word "Collection" in "Collection Creation Factory" refers to the "artifact format" "Collection" and "Module". The "ResourceShape" in this section only refers to "artifact types" with "artifact format" being "Collection" or "Module".
3. If I'm not mistaken, only "artifact types" with "artifact format" being "Text" will appear in the "Requirement Creation Factory" section.

To sum up, you need to understand the difference between "artifact type" and "artifact format". I suspect that you also made some mistakes in description in your original post. Check your artifact type defintion again carefully to see what is what.

1 vote

Comments

Ok Dinald I reread the documentation for artifact formats and artifact type.  Thanks that you tell me the mistakes, because I am new and I still wrong the notions.

So I am not completely agree with you Donald I made the following custom artifact types with the following names:

  1.  MyCollectionType - with Collection format
  2. MyModuleType - with Module format
  3. MyStoryboardType - from StoryBoard
  4. MyTextType - from Text
  5. MyuseCaseDiagramType - Use-Case

And now the Collection Creation Factory has 3 resourceShapes - MyTextType, MyModuleType, MyCollectionType. Why artifact type with text format is here?

And Requirement Creation Factory has 4 resourceShapes - MyuseCaseDiagramType,MyTextType,MyModuleType, add Http 404,when try to request the 4th.

Why text and module are in the two factories? I can't find an documentation on this.

Well I followed exactly what you did and got a quite different result.

For Collection Creation Factory, I got MyModuleType, MyCollectionType and Test Plan Collection (the last one is pre-built in the process template).

For Requirement Creation Factory, I got MyuseCaseDiagramType, MyTextType, MyStoryboardType, and Requirement (the last one is pre-built in the process template).

Everything is expected. It appears that apart from the Text format, other "diagram" format will appear in the Requirement Creation Factory as well.

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: Aug 24 '15, 7:07 a.m.

Question was seen: 2,863 times

Last updated: Aug 26 '15, 2:24 a.m.

Confirmation Cancel Confirm