Creating Collection artifact using OSLC
Hi,
I couldn't create a collection artifact as I want.
I create a Collection artifact manually with following properties.
Type:Collection
Format:Collection
Then I get collection xml with http get.
After I took xml content of Collection artifact. I delete following line then I post xml as it is.
<dcterms:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">5016</dcterms:identifier> (This is artifact ID, I don't need this while creating a new one)
A new artifact is created but following properties.
Type:Collection
Format:Text
Why ? Why OSLC created artifact format is TEXT ?
I post with
"</oslc_rm:RequirementCollection>" & "<rdf:type rdf:resource="http://jazz.net/ns/rm#Collection"/>" tags
but created artifact has "</oslc_rm:Requirement>" & "<rdf:type rdf:resource="http://jazz.net/ns/rm#Text"/>" tags which I did not set.
PS: DOORS version is 6.0.4 iFix006
Any help would be appreciated.
Mustafa Askin
|
One answer
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.
Comments
I can see the same thing and something is not quite right. I have the below two lines in the POST data along with <oslc:instanceShape>
<rdf:type rdf:resource="http://jazz.net/ns/rm#Collection"/>
<rdf:type rdf:resource="https://ibm.com/domain/collection"/>
but the resulting artifact has the below content
<rdf:type rdf:resource="http://jazz.net/ns/rm#Text" />
<rdf:type rdf:resource="https://ibm.com/domain/collection" />
I'm using DNG 6.0.5 iFix003a.
I suggest you contact IBM Support.