预订演示
前页 后页

Service Provider and Service Provider Resource

Enterprise Architect acts as an OSLC Provider that other OSLC-compliant tools (OSLC Consumer/Clients) access to link to its Resources. All OSLC Resources live in a Service Provider, which is a central organizing concept of OSLC. In Enterprise Architect, each model that can be accessed via the Cloud connection is treated as an OSLC Service Provider. The Requirement elements in the model are the OSLC Resources.

The services offered by the Service Provider can be retrieved using the Service Provider Resource. A Service Provider Resource specifies the:

  • URL to which you can POST representations to create new resources
  • URL you can use to GET a list of existing resources

To retrieve the Service Provider Resource from an Enterprise Architect model connected via the Cloud, use the URL:

     http://<server>/<model_name>/oslc/sp/

For example, the Service Provider Resource for a model called firebird_model, connected via the Cloud, would be accessed using the URL:

     http://localhost:480/firebird_model/oslc/sp/

The retrieved resource might resemble this:

Example service provider resource for a Firebird model.

Elements of the Service Provider Resource

Element

Description

See also

oslc:Publisher

Specifies the OSLC Provider.

oslc:Service

Specifies the services offered by the OSLC Provider. Enterprise Architect supports these OSLC Requirement Management services:

  • Creation Factory - Used to create new Requirements in the model, by passing the Requirement's representation in RDF format using HTTP POST to the URL:
         http://<server>/<model_name>/oslc/cf/
  • Query Capability - Used to list/query the Requirements in the model, by passing the query using HTTP GET to the URL:
         http://<server>/<model_name>/oslc/qc/

oslc:resourceShape

Specifies the Requirement's metadata; that is, its properties and constraints. These are available in the URL:

     http://<server>/<model_name>/oslc/rs/

oslc:prefixDefinition

Specifies the namespace prefixes and their namespace definitions.

Notes

  • This facility is available through the Pro Cloud Server, with a valid license

Learn more