Implementing IToolAdapter interface requires the creation of various kinds of Tool Adapter Objects (or TAOs). These TAOs represent various kinds of OSLC objects: service providers, components, local configurations. One of the first tasks in building a genOSLC integration is to create a mapping between concepts in the Authoring Tool and genOSLC concepts represented by the various TAOs.
TAO Identifiers
Every TAO has one and sometimes two identifiers.
Identifier format
TAO identifiers will be used as is to create OSLC REST URIs. An identifier should therefore should only be composed of URL unreserved characters (RFC2986): ALPHA / DIGIT / "-" / "." / "_" / "~"
Identifier uniqueness
Not all identifiers need to be globally unique. Some identifiers need only to be unique with respect to another identifier.
TAO Identifier | Minimum Uniqueness |
---|---|
ServiceProviderTao.id | Global |
ComponentTao.id | Global |
LocalConfigurationTao.id | With respect to the containing ComponentTao.id |
ArtifactTao.conceptId | With respect to the containing ComponentTao.id |
ArtifactTao.revisionId | With respect to ArtifactTao.conceptId |
ResourceShapeTao.conceptId | With respect to containing ComponentTao.id |
ResourceShapeTao.revisionId | With respect to ResourceShapeTao.conceptId |
PropertyTao.id | With respect to the containing ComponentTao.id |
Add Comment