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>
And:
|
One answer
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. 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.
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.
Donald Nong
commented Aug 26 '15, 2:24 a.m.
Well I followed exactly what you did and got a quite different result.
|
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.