预订演示
前页 后页

Creation Factory

Enterprise Architect supports the Creation Factory OSLC service, through which Clients can create these new Resources and Resource Features via the HTTP POST verb:

  • Resources
         -  Packages
         -  Elements
         -  Connectors
  • Resource Features
         -  Package/Element/Diagram Discussions, Discussion Replies, Resource Allocations, Tests,
            Tagged Values, Maintenance Items and Project Management Items
         -  Element Attributes, Operations and Operation Parameters

To create a new Resource or Resource Feature, the Client POSTs a representation of the Resource or Resource Feature in RDF XML format to the Creation Factory URL. If the POST is successful, the response XML and the HTTP location header of the response will contain the URL of the created Resource or Resource Feature. An unsuccessful POST will generate an error response.

Refer to the tables in this topic for the information used to create each Resource and Feature. Also see the User Credentials for accessing OSLC RESTful API , GUID Prefix Tables and Examples of RDF/XML Representation topics.

Package

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/resource/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <oslc_am:Resource>

          <!--Required Properties-->

          <dcterms:title>NAME</dcterms:title>

          <dcterms:type>Package</dcterms:type>

          <ss:resourcetype>Package</ss:resourcetype>

          <ss:parentresourceidentifier>GUID OF THE CONTAINING PACKAGE WITH GUID PREFIX</ss:parentresourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <dcterms:subject>KEYWORDS</dcterms:subject>

          <dcterms:creator>

               <foaf:Person>

                    <foaf:name>AUTHOR</foaf:name>

               </foaf:Person>

          </dcterms:creator>

          <dcterms:description>NOTES</dcterms:description>

          <ss:alias>ALIAS</ss:alias>

          <ss:status>STATUS</ss:status>

          <ss:complexity>COMPLEXITY</ss:complexity>

          <ss:stereotype>

               <ss:stereotypename>

                    <ss:name>STEREOTYPE</ss:name>

              </ss:stereotypename>

          </ss:stereotype>

          <ss:phase>PHASE</ss:phase>

          <ss:version>VERSION</ss:version>

          <ss:language>LANGUAGE</ss:language>

      </oslc_am:Resource>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfresource/

Element

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/resource/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <oslc_am:Resource>

          <!--Required Properties-->

          <dcterms:title>NAME</dcterms:title>

          <dcterms:type>ELEMENT TYPE</dcterms:type>

          <ss:resourcetype>Element</ss:resourcetype>

          <ss:parentresourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID  PREFIX</ss:parentresourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <dcterms:subject>KEYWORDS</dcterms:subject>

          <dcterms:creator>

             <foaf:Person>

                <foaf:name>AUTHOR</foaf:name>

             </foaf:Person>

          </dcterms:creator>

          <dcterms:description>NOTES</dcterms:description>

          <ss:alias>ALIAS</ss:alias>

          <ss:status>STATUS</ss:status>

          <ss:complexity>COMPLEXITY</ss:complexity>

          <ss:stereotype>

               <ss:stereotypename>

                    <ss:name>STEREOTYPE</ss:name>

               </ss:stereotypename>

          </ss:stereotype>

          <ss:phase>PHASE</ss:phase>

          <ss:version>VERSION</ss:version>

          <ss:difficulty>DIFFICULTY</ss:difficulty>

          <ss:priority>PRIORITY</ss:priority>

          <ss:language>LANGUAGE</ss:language>

      </oslc_am:Resource>

</rdf:RDF>

Resource Shape

  • UML Elements:
         <protocol>://<server>/<model>/oslc/am/rs/cfresource/
  • Profile Elements:
         <protocol>://<server>/<model>/oslc/am/rs/cfprofileresource/

Element Attribute

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/attribute/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:attribute>

          <!--Required Properties-->

          <ss:resourceidentifier>GUID OF THE CONTAINING EA ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <dcterms:title>ATTRIBUTE NAME</dcterms:title>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:classifiername>DATATYPE/CLASSIFIER NAME</ss:classifiername>

          <dcterms:description>NOTES</dcterms:description>

          <ss:alias>ALIAS</ss:alias>

          <ss:classifierresourceidentifier>GUID OF THE CLASSIFIER EA ELEMENT WITH GUID PREFIX</ss:classifierresourceidentifier>

          <ss:defaultvalue>DEFAULT VALUE</ss:defaultvalue>

          <ss:stereotype>

              <ss:stereotypename>

                   <ss:name>STEREOTYPE</ss:name>

              </ss:stereotypename>

          </ss:stereotype>

          <ss:scope>SCOPE</ss:scope>

          <ss:containment>CONTAINMENT</ss:containment>

          <ss:isstatic>IS STATIC</ss:isstatic>

          <ss:iscollection>IS COLLECTION</ss:iscollection>

          <ss:isordered>IS ORDERED</ss:isordered>

          <ss:isconst>IS CONST</ss:isconst>

          <ss:allowduplicates>ALLOW DUPLICATES</ss:allowduplicates>

          <ss:lowerbound>NUMERICAL VALUE</ss:lowerbound>

          <ss:upperbound>NUMERICAL VALUE</ss:upperbound>

          <ss:position>NUMERICAL VALUE</ss:position>

     </ss:attribute>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfattribute/

Element Operation

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/operation/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:operation>

          <!--Required Properties-->

          <ss:resourceidentifier>GUID OF THE CONTAINING EA ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <dcterms:title>OPERATION NAME</dcterms:title>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional  Properties-->

          <dcterms:description>NOTES</dcterms:description>

          <ss:alias>ALIAS</ss:alias>

          <ss:classifiername>DATATYPE/CLASSIFIER NAME</ss:classifiername>

          <ss:classifierresourceidentifier>GUID OF THE CLASSIFIER EA ELEMENT WITH GUID PREFIX</ss:classifierresourceidentifier>

          <ss:stereotype>

             <ss:stereotypename>

                  <ss:name>STEREOTYPE</ss:name>

             </ss:stereotypename>

          </ss:stereotype>

          <ss:scope>SCOPE</ss:scope>

          <ss:concurrency>CONCURRENCY</ss:concurrency>

          <ss:isstatic>IS STATIC</ss:isstatic>

          <ss:isabstract>IS ABSTRACT</ss:isabstract>

          <ss:isreturnarray>IS RETURNARRAY</ss:isreturnarray>

          <ss:isquery>IS QUERY</ss:isquery>

          <ss:issynchronized>IS SYNCHRONIZED</ss:issynchronized>

          <ss:isconst>IS CONST</ss:isconst>

          <ss:ispure>IS PURE</ss:ispure>

          <ss:position>NUMERICAL VALUE</ss:position>

          <ss:behavior>BEHAVIOR</ss:behavior>

     </ss:operation>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfoperation/

Element Operation Parameter

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/operationparameter/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:parameter>

          <!--Required Properties-->

          <ss:operationidentifier>GUID OF THE CONTAINING OPERATION WITH GUID PREFIX</ss:operationidentifier>

          <dcterms:title>OPERATION PARAMETER NAME</dcterms:title>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional  Properties-->

          <dcterms:description>NOTES</dcterms:description>

          <ss:classifiername>DATATYPE/CLASSIFIER NAME</ss:classifiername>

          <ss:classifierresourceidentifier>GUID OF THE CLASSIFIER EA ELEMENT WITH GUID PREFIX</ss:classifierresourceidentifier>

          <ss:defaultvalue>DEFAULT VALUE</ss:defaultvalue>

          <ss:paramdirection>DIRECTION</ss:paramdirection>

          <ss:position>NUMERICAL VALUE</ss:position>

          <ss:fixedvalue>FIXED VALUE</ss:fixedvalue>

          <ss:alias>ALIAS</ss:alias>

          <ss:stereotype>

               <ss:stereotypename>

                    <ss:name>STEREOTYPE</ss:name>

               </ss:stereotypename>

          </ss:stereotype>

          <ss:lowerbound>NUMERICAL VALUE</ss:lowerbound>

          <ss:upperbound>NUMERICAL VALUE</ss:upperbound>

          <ss:isordered>IS ORDERED</ss:isordered>

          <ss:allowduplicates>ALLOW DUPLICATES</ss:allowduplicates>

     </ss:parameter>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfoperationparameter/

Connector

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/resourcelink/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <oslc_am:Resource>

          <!--Required Properties-->

          <dcterms:identifier>GUID OF THE SOURCE PACKAGE/ELEMENT WITH GUID PREFIX</dcterms:identifier>

          <ss:{connector type} rdf:ID="ID" rdf:resource="<protocol>://<server>:<port>/<model>/oslc/am/resource/<GUID OF TARGET PACKAGE/ELEMENT WITH GUID PREFIX>/"/>

     </oslc_am:Resource>

     <rdf:Description rdf:about="#ID">

          <!--Required Properties-->

          <ss:useridentifier>USER SECURITY GUID</ss:useridentifier>

          <!--Optional Properties-->

          <dcterms:title>CONNECTOR NAME</dcterms:title>

          <dcterms:type> CONNECTOR TYPE</dcterms:type>

          <dcterms:description>NOTES</dcterms:description>

          <ss:direction>DIRECTION</ss:direction>

          <ss:stereotype>

               <ss:stereotypename>

                    <ss:name>STEREOTYPE</ss:name>

               <ss:/stereotypename>

          </ss:stereotype>

      </rdf:Description>

</rdf:RDF>

Resource Shape

  • UML Connectors:
         <protocol>://<server>/<model>/oslc/am/rs/cflinktype/
  • Profile Connectors:
         <protocol>://<server>/<model>/oslc/am/rs/cfprofilelinktype/

Package/Element/Diagram Discussion

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/discussion/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:discussion>

          <!--Required Properties-->

          <dcterms:description>DISCUSSION TEXT</dcterms:description>

          <dcterms:creator>

               <foaf:Person>

                    <foaf:name>AUTHOR</foaf:name>

               </foaf:Person>

          </dcterms:creator>

          <ss:resourceidentifier>GUID OF THE PACKAGE/ELEMENT/DIAGRAM WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:status>DISCUSSION STATUS</ss:status>

          <ss:priority>DISCUSSION PRIORITY</ss:priority>

          <ss:reviewresourceidentifier>GUID OF THE REVIEW ELEMENT WITH GUID PREFIX</ss:reviewresourceidentifier>

     </ss:discussion>

</rdf:RDF>

Note:

  • If the Discussion is a part of a Review, then set the GUID of the Review Element in the ss:reviewresourceidentifier XML element

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfdiscussion/

Discussion Reply

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/reply/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:reply>

          <!--Required Properties-->

          <dcterms:description>REPLY TEXT</dcterms:description>

          <dcterms:creator>

               <foaf:Person>

                    <foaf:name>AUTHOR</foaf:name>

               </foaf:Person>

          </dcterms:creator>

          <ss:discussionidentifier>GUID OF THE DISCUSSION WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

         <ss:reviewresourceidentifier>GUID OF THE REVIEW ELEMENT WITH GUID PREFIX</ss:reviewresourceidentifier>

     </ss:reply>

</rdf:RDF>

Note:

  • If the Discussion Reply is a part of a Review, then set the GUID of the Review Element in ss:reviewresourceidentifier XML element

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfreply/

Package/Element Resource Allocation

Type

Input

See also

UML

<protocol>://<server>/<model_name>/oslc/am/cf/resourceallocation/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:resourceallocation>

          <!--Required Properties-->

          <ss:resourcename>

               <foaf:Person>

                    <foaf:name>RESOURCE NAME</foaf:name>

               </foaf:Person>

          </ss:resourcename>

          <ss:role>RESOURCE ROLE</ss:role>

          <ss:startdate>YYYY-MM-DD FORMAT</ss:startdate>

          <ss:enddate>YYYY-MM-DD FORMAT</ss:enddate>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:percentagecomplete>PERCENT COMPLETE</ss:percentagecomplete>

          <ss:expectedtime>EXPECTED TIME</ss:expectedtime>

          <ss:allocatedtime>ALLOCATED TIME</ss:allocatedtime>

          <ss:expendedtime>EXPENDED TIME</ss:expendedtime>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:resourceallocation>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfresourceallocation/

Package/Element Test

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/test/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:test>

          <!--Required Properties-->

          <dcterms:title>TEST NAME</dcterms:title>

          <dcterms:type>TYPE</dcterms:type>

          <ss:classtype>CLASS TYPE</ss:classtype>

          <ss:status>STATUS</ss:status>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:lastrun>YYYY-MM-DD FORMAT</ss:lastrun>

          <ss:runby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:runby>

          <ss:checkedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:checkedby>

          <dcterms:description>NOTES</dcterms:description>

          <ss:input>HISTORY TEXT</ss:input>

          <ss:acceptancecriteria>ACCEPTANCE CRITERIA TEXT</ss:acceptancecriteria>

          <ss:results>RESULTS TEXT</ss:results>

     </ss:test>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cftest/

Package/Element Tagged Value

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/taggedvalue/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:taggedvalue>

          <!--Required Properties-->

          <dcterms:title>TAG NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:value>TAG VALUE</ss:value>    

          <dcterms:description>TAG NOTES</dcterms:description>

          <ss:allowduplicates>BOOLEAN VALUE</ss:allowduplicates>

          <ss:type>PREDEFINED TAG TYPE</ss:type>

     </ss:taggedvalue>

</rdf:RDF>

Notes:

  • ss:type can contain one of these Predefined Structured Types:
         -  Type=Boolean;
         -  Type=Color;
         -  Type=Const;Default=Val;
         -  Type=Date;
         -  Type=Directory;
         -  Type=Enum;Values=Val1,Val2,....;
         -  Type=File;
         -  Type=Float;
         -  Type=Decimal;
         -  Type=DiagramRef;
         -  Type=Double;
         -  Type=Integer;
         -  Type=Memo;
         -  Type=RefGUID;
         -  Type=RefGUIDList;
         -  Type=String;
         -  Type=Time;
         -  Type=Timestamp;
         -  Type=URL; 
  • Value of Date Predefined Structured Type should be in YYYY-MM-DD format
  • Value of Time Predefined Structured Type should be in HH:MM AM/PM format
  • Value of Timestamp Predefined Structured Type should be in YYYY-MM-DD HH:MM AM/PM format

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cftaggedvalue/

Package/Element Change

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

Post RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:change>

          <!--Required Properties-->

          <dcterms:title>CHANGE NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:requestedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:requestedby>

          <ss:requestedon>YYYY-MM-DD format</ss:requestedon>

          <ss:status>STATUS</ss:status>

          <ss:priority>PRIORITY</ss:priority>

          <ss:completedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:completedby>

          <ss:completedon>YYYY-MM-DD format</ss:completedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:change>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfchange/

Package/Element Defect

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:defect>

          <!--Required Properties-->

          <dcterms:title>DEFECT NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:reportedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:reportedby>

          <ss:reportedon>YYYY-MM-DD format</ss:reportedon>

          <ss:status>STATUS</ss:status>

          <ss:priority>PRIORITY</ss:priority>

          <ss:resolvedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:resolvedby>

          <ss:resolvedon>YYYY-MM-DD format</ss:resolvedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:defect>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfdefect/

Package/Element Issue

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:issue>

          <!--Required Properties-->

          <dcterms:title>ISSUE NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:raisedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:raisedby>

          <ss:raisedon>YYYY-MM-DD format</ss:raisedon>

          <ss:status>STATUS</ss:status>

          <ss:priority>PRIORITY</ss:priority>

          <ss:completedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:completedby>

          <ss:completedon>YYYY-MM-DD format</ss:completedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:issue>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfissue/

Package/Element Task

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:task>

          <!--Required Properties-->

          <dcterms:title>TASK NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:requestedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:requestedby>

          <ss:requestedon>YYYY-MM-DD format</ss:requestedon>

          <ss:status>STATUS</ss:status>

          <ss:priority>PRIORITY</ss:priority>

          <ss:completedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

              </foaf:Person>

          </ss:completedby>

          <ss:completedon>YYYY-MM-DD format</ss:completedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:task>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cftask/

Package/Element Event

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:event>

          <!--Required Properties-->

          <dcterms:title>EVENT NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:reportedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:reportedby>

          <ss:reportedon>YYYY-MM-DD format</ss:reportedon>

          <dcterms:type>TYPE</dcterms:type>

          <ss:priority>PRIORITY</ss:priority>

          <ss:resolvedby>

              <foaf:Person>

                   <foaf:name>PERSON NAME</foaf:name>

              </foaf:Person>

          </ss:resolvedby>

          <ss:resolvedon>YYYY-MM-DD format</ss:resolvedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:event>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfevent/

Package/Element Decision

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:decision>

          <!--Required Properties-->

          <dcterms:title>DECISION NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:owner>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:owner>

          <ss:date>YYYY-MM-DD format</ss:date>

          <ss:status>STATUS</ss:status>

          <ss:impact>IMPACT</ss:impact>

          <ss:author>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:author>

          <ss:effective>YYYY-MM-DD format</ss:effective>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

      </ss:decision>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfdecision/

Package/Element Document

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:document>

          <!--Required Properties-->

          <dcterms:title>DOCUMENT NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:requestedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:requestedby>

          <ss:requestedon>YYYY-MM-DD format</ss:requestedon>

          <ss:status>STATUS</ss:status>

          <ss:priority>PRIORITY</ss:priority>

          <ss:completedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:completedby>

          <ss:completedon>YYYY-MM-DD format</ss:completedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:document>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfdocument/

Package/Element Feature

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/maintenanceitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:mfeature>

          <!--Required Properties-->

          <dcterms:title>FEATURE NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <ss:requestedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:requestedby>

          <ss:requestedon>YYYY-MM-DD format</ss:requestedon>

          <ss:status>STATUS</ss:status>

          <ss:priority>PRIORITY</ss:priority>

          <ss:completedby>

               <foaf:Person>

                    <foaf:name>PERSON NAME</foaf:name>

               </foaf:Person>

          </ss:completedby>

          <ss:completedon>YYYY-MM-DD format</ss:completedon>

          <ss:version>VERSION</ss:version>

          <dcterms:description>NOTES</dcterms:description>

          <ss:history>HISTORY</ss:history>

     </ss:mfeature>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfdocument/

Package/Element Effort

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/projectmanagementitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:effort>

          <!--Required Properties-->

          <dcterms:title>EFFORT NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <dcterms:type>TYPE</dcterms:type>

          <ss:time>NUMERICAL VALUE</ss:time>

          <dcterms:description>NOTES</dcterms:description>

     </ss:effort>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfeffort/

Package/Element Risk

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/projectmanagementitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:risk>

          <!--Required Properties-->

          <dcterms:title>RISK NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

          <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-->

          <dcterms:type>RISK TYPE</dcterms:type>

          <ss:weight>NUMERICAL VALUE</ss:weight>

          <dcterms:description>NOTES</dcterms:description>

     </ss:risk>

</rdf:RDF

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfrisk/

Package/Element Metric

Type

Input

See also

URL

<protocol>://<server>/<model_name>/oslc/am/cf/projectmanagementitem/

POST RDF/XML

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/" 

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:metric>

          <!--Required Properties-->

          <dcterms:title>METRIC NAME</dcterms:title>

          <ss:resourceidentifier>GUID OF THE CONTAINING PACKAGE/ELEMENT WITH GUID PREFIX</ss:resourceidentifier>

         <ss:useridentifier>USER AUTHENTICATION TOKEN</ss:useridentifier>

          <!--Optional Properties-→

          <dcterms:type>TYPE</dcterms:type>

          <ss:weight>NUMERICAL VALUE</ss:weight>

          <dcterms:description>NOTES</dcterms:description>

     </ss:metric>

</rdf:RDF>

Resource Shape

<protocol>://<server>/<model>/oslc/am/rs/cfmetric/

Notes

  • This facility is available through the Pro Cloud Server, with a valid license
  • This facility will not be available if the Pro Cloud Server connection to the Enterprise Architect model is configured as a read-only connection
  • User Authentication Token must be provided in the POST XML (via the 'ss:useridentifier' XML element) for creating a Resource/Resource Feature
  • Enterprise Architect currently supports creating elements and connectors from these Profiles:
         -  ArchiMate 3
         -  BPMN 2.0
         -  GML 3.3
         -  SysML 1.4
  • Additionally, Enterprise Architect supports creating Requirements from MDG Technologies that have been imported into the model via the 'Import MDG Technology' dialog
  • Enterprise Architect supports only single Stereotypes in the RDF/XML for element, connector, attribute, operation and operation parameter
  • Enterprise Architect will ignore any Stereotype supplied in the RDF/XML when creating elements and connectors from the listed Profiles
  • Enterprise Architect does not support creating Profile-specific Tagged Values on Packages or elements using the Tagged Value Creation Factory service (URL : <protocol>://<server>/<model_name>/oslc/am/cf/taggedvalue/)
  • When a Resource/Resource Feature is created via OSLC in a model that has Auditing enabled, the changes made to the model will not be logged

Learn more