A set of vital records issued by the model catalog on the template. Generated by the Design Time Catalog per template object. The designer can see this information but cannot modify it. The run-time models may use it to refer to the definitions in the Design Time Catalog.
Properties
Name | Required | Type | Constraints | Description |
version | yes | version | The version of the type definition for this template. The TOSCA version keyword is not sufficient because:
| |
invariant_uuid | yes | string | The ID of the initial version of the type in the catalog. | |
uuid | Yes | string | The ID of a selected version of the type in the catalog. | |
customization_uuid | yes | string | Changes every time the designer makes a change on the template, for example, reassigns a value to a property |
TOSCA definition
data_types: onap.datatypes.CatalogInfo: description: A set of vital records issued by the model catalog on the template derived_from: tosca.datatypes.Root properties: invariant_uuid: type: string required: true uuid: type: string required: true customization_uuid: type: string required: true version: type: version required: true description: TOSCA version is not good enough, because: 1. not required 2. nor a property, actually (it's a meta-property, not clear how to coinstraint it) |
Examples
node_templates: router1: type: vendorXXX.nodes.VerySpecialRouter properties: catalog_info: version: "1.0" invariant_uuid: f011e02c-218b-40a7-8789-ec84b3f8ef6f uuid: f011e02c-218b-40a7-8789-ec84b3f8ef6f customization_uuid: dc23402c-345d-2222-3456-647301000f6a router2: type: vendorXXX.nodes.VerySpecialRouter properties: catalog_info: version: "2.0" invariant_uuid: f011e02c-218b-40a7-8789-ec84b3f8ef6f uuid: f011e02c-218b-40a7-8789-ec834343436c customization_uuid: dc23402c-345d-2222-3456-647191910eee |
Additional assumptions and requirements
Properties of this type are generated once by the Design Time Catalog, then are never changed.
All IDs are unique on the scope of the Design Time Catalog.