Description
The base type of for all services generated by SDC in result of the service composition process by the service designer.
Allows for definition of common properties/attributes for all service-instance runtime objects.
Allows for composition (nesting) into higher-order services via substitution (i.e., solves the complex services problem)
Allows for the definition of service-level workflows via LCM interfaces
Properties
Name | Required | Type | Constraints | Description |
---|---|---|---|---|
catalog_info | yes | onap.datatype.CatalogInfo | Only Catalog logic may assign and modify this property. For all other ONAP components and actors, it is read-only | Vital records assigned to and maintained by the model catalog for each node template: UUIDs, versions, etc. |
classification | yes | onap.datatype.Classification |
Attributes
Name | Required | Type | Constraints | Description |
---|---|---|---|---|
instance_name | string | The name of the run-time instance in a deployment. MAY be different for different instances of the same template. This is unlike the tosca_name attribute of the tosca.nodes.Root node type, which is always the same for all instances of one template. |
Capabilities
None for this abstract type. A concrete service type will have its capabilities defined with it and mapped to the capabilities of internal nodes in the service topology.
Requirements
None for this abstract type. A concrete service type will have its requirements defined with it and mapped to the requirements of internal nodes in the service topology.
TOSCA Definition
node_types: onap.nodes.Service: description: | a base of the ONAP concrete service types generated by SDC derived_from: tosca.nodes.Root properties: catalog_info: type: onap.datatypes.CatalogInfo description: required: true # generated by Design Time Catalog once, then never changed classification: type: type: string role: type: string function: type: string attributes: instance_name: type: string description: the name of the run-time instance of in the deployment
Examples
None