blob: 938af315a466b3eed80a4a34410a58838a272c6e [file] [log] [blame]
JakobKriegf2d67d62020-08-17 22:36:44 +02001.. This work is a derivative of https://wiki.onap.org/display/DW/Modeling+Concepts
2.. This work is licensed under a Creative Commons Attribution 4.0
3.. International License. http://creativecommons.org/licenses/by/4.0
JakobKrieg7c3f3952020-08-04 20:46:50 +02004.. Copyright (C) 2020 Deutsche Telekom AG.
5
6Tosca Meta
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -04007----------
JakobKrieg7c3f3952020-08-04 20:46:50 +02008
9Tosca meta file captures the model entities that compose the cba package name, version, type and searchable tags.
10
11.. list-table::
12 :widths: 20 15 15 50
13 :header-rows: 1
14
15 * - Attribute
16 - R/C/O
17 - Data Type
18 - Description
19 * - TOSCA-Meta-File-Version
20 - Required
21 - String
22 - The attribute that holds TOSCA-Meta-File-Version. Set to 1.0.0
23 * - CSAR-Version
24 - Required
25 - String
26 - The attribute that holds CSAR-version. Set to 1.0
27 * - Created-By
28 - Required
29 - String
JakobKriegb708ee62020-09-08 17:34:30 +020030 - The user/s that created the CBA
JakobKrieg7c3f3952020-08-04 20:46:50 +020031 * - Entry-Definitions
32 - Required
33 - String
JakobKriegb708ee62020-09-08 17:34:30 +020034 - The attribute that holds the entry points file PATH to the main cba tosca definition file
JakobKrieg7c3f3952020-08-04 20:46:50 +020035 or non tosca script file.
36 * - Template-Name
37 - Required
38 - String
39 - The attribute that holds the blueprint name
40 * - Template-Version
41 - Required
42 - String
43 - | The attribute that holds the blueprint version
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040044 | **X.Y.Z**
JakobKrieg7c3f3952020-08-04 20:46:50 +020045 | X=Major version
46 | Y=Minor Version
47 | Z=Revision Version
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040048 | X=Ex. 1.0.0
JakobKrieg7c3f3952020-08-04 20:46:50 +020049 * - Template-Type
50 - Required
51 - String
52 - | The attribute that holds the blueprint package types.
53 | Valid Options:
54 * "DEFAULT" .JSON file consistent of tosca based cba package that describes the package intent.
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040055 * "KOTLIN_DSL" .KT file consistent of tosca based cba package that describes the package intent
56 composed using Domain Specific Language (DSL).
57 * "GENERIC_SCRIPT" Script file consistent of NONE tosca based cba package that describes the package intent
JakobKrieg7c3f3952020-08-04 20:46:50 +020058 using DSL Language.
59 | If not specified in the tosca.meta file the default is "DEFAULT"
60 * - Template-Tags
61 - Required
62 - String
63 - The attribute that holds the blueprint package comma delimited list of Searchable attributes.
64
65**Template Type Reference**
66
67**Default Template Type**
68
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040069https://git.onap.org/ccsdk/cds/tree/components/model-catalog/blueprint-model/test-blueprint/capability_cli/TOSCA-Metadata/TOSCA.meta
JakobKrieg7c3f3952020-08-04 20:46:50 +020070
71**KOTLIN_DSL Template Type**
72
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040073https://git.onap.org/ccsdk/cds/tree/components/model-catalog/blueprint-model/test-blueprint/resource-audit/TOSCA-Metadata/TOSCA.meta
JakobKrieg7c3f3952020-08-04 20:46:50 +020074
75**GENERIC_SCRIPT Template Type**
76
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040077https://git.onap.org/ccsdk/cds/tree/components/model-catalog/blueprint-model/test-blueprint/capability_python/TOSCA-Metadata/TOSCA.meta