Topics
Prev Next

Resource Shape

As an OSLC Provider, the information returned by Enterprise Architect is in RDF/XML format. The OSLC Consumer needs to know the semantics of the information in this XML before it can process the XML. These semantics are explained using the Resource Shape.

Resource Shape specifies the metadata of a Resource; that is, the set of standard OSLC and custom Enterprise Architect properties that make up the Resource. To create a new Resource via OSLC, Enterprise Architect expects the RDF/XML representation of the Resource in a certain format. The metadata of this format is specified by the Resource Shape. Similarly, Resources retrieved from Enterprise Architect's OSLC interface will be in RDF/XML format. The metadata for the contents of this format is also specified by the Resource Shape. You can think of Resource Shape as a DTD or XSD for the RDF/XML response from Enterprise Architect.

The base URL for Resource Shape is :

     <protocol>://<server>/<model_name>/oslc/am/rs/

A string expressing the specific Resource or Resource Feature should be added to the base URI and addressed to the model using a HTTP GET request. The response for this request will be the metadata in RDF/XML format.

Resource Shape for Resource/Resource Features Retrieved from the OSLC Interface

Resource/Feature

Resource Shape URL

See also

Resource

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

UML Diagrams UML Elements Packages

Resource Features

<protocol>://<server>/<model_name>/oslc/am/rs/resourcefeatures/

Properties Dialog

Stereotype Name

<protocol>://<server>/<model_name>/oslc/am/rs/stereotypename/

UML Stereotypes

Run State

<protocol>://<server>/<model_name>/oslc/am/rs/runstate/

Run-time State

Attribute

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

Attributes

Operation

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

Operations

Operation Parameter

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

Define Parameters

Requirement

<protocol>://<server>/<model_name>/oslc/am/rs/requirement/

Requirements

Constraint

<protocol>://<server>/<model_name>/oslc/am/rs/constraint/

Constraints

Scenario

<protocol>://<server>/<model_name>/oslc/am/rs/scenario/

Scenarios

Tagged Value

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

Tagged Values

Test

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

Create Test Records

Resource Allocation

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

Resource Allocation

Maintenance Items

  • Change : <protocol>://<server>/<model_name>/oslc/am/rs/change/
  • Defect : <protocol>://<server>/<model_name>/oslc/am/rs/defect/
  • Issue : <protocol>://<server>/<model_name>/oslc/am/rs/issue/
  • Task : <protocol>://<server>/<model_name>/oslc/am/rs/task/
  • Event : <protocol>://<server>/<model_name>/oslc/am/rs/event/
  • Decision : <protocol>://<server>/<model_name>/oslc/am/rs/decision/

Create Maintenance Items

Project Management Items

  • Effort : <protocol>://<server>/<model_name>/oslc/am/rs/effort/
  • Risk : <protocol>://<server>/<model_name>/oslc/am/rs/risk/
  • Metric : <protocol>://<server>/<model_name>/oslc/am/rs/metric/

Risk Management Metrics Effort Management

Discussion/Reply

  • Discussion : <protocol>://<server>/<model_name>/oslc/am/rs/discussion/
  • Reply : <protocol>://<server>/<model_name>/oslc/am/rs/reply/

Informal Element Discussions

Diagram Image

<protocol>://<server>/<model_name>/oslc/am/rs/diagramimage/

UML Diagrams

Connector

<protocol>://<server>/<model_name>/oslc/am/rs/linktype/

UML Connectors

Resource Shape for Resource/Resource Features that can be Created using the OSLC Interface

Resource/Resource Feature

Resource Shape URL

See also

Resource

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

UML Elements Domain Models Packages

Stereotype Name

<protocol>://<server>/<model_name>/oslc/am/rs/cfstereotypename/

UML Stereotypes

Attribute

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

Attributes

Operation

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

Operations

Operation Parameter

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

Define Parameters

Connector

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

Domain Models UML Connectors

Tagged Value

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

Tagged Values

Test

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

Create Test Records

Resource Allocation

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

Resource Allocation

Maintenance Items

  • Change
         <protocol>://<server>/<model_name>/oslc/am/rs/cfchange/
  • Defect
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdefect/
  • Issue
         <protocol>://<server>/<model_name>/oslc/am/rs/cfissue/
  • Task
         <protocol>://<server>/<model_name>/oslc/am/rs/cftask/
  • Event
         <protocol>://<server>/<model_name>/oslc/am/rs/cfevent/
  • Decision
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdecision/

Create Maintenance Items

Project Management Items

  • Effort
         <protocol>://<server>/<model_name>/oslc/am/rs/cfeffort/
  • Risk
         <protocol>://<server>/<model_name>/oslc/am/rs/cfrisk/
  • Metric
         <protocol>://<server>/<model_name>/oslc/am/rs/cfmetric/

Risk Management Metrics Effort Management

Discussion/Reply

  • Discussion
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdiscussion/
  • Reply
        
    <protocol>://<server>/<model_name>/oslc/am/rs/cfreply/

Informal Element Discussions

Notes

  • This facility is available through the Enterprise Architect Pro Cloud Server

Learn more