8933ce14b0c1db4752268cfba2b11b3ed7da12b0
[doc.git] / docs / guides / onap-user / design / parameter_resolution / ubuntu_example / cba-after-enrichment / Definitions / ubuntuCDS.json
1 {
2     "tosca_definitions_version": "ubuntuCDS_1_0_0",
3     "metadata": {
4       "template_author": "ONES",
5       "author-email": "rene.robert@orange.com",
6       "user-groups": "ADMIN, OPERATION",
7       "template_name": "ubuntuCDS",
8       "template_version": "1.0.0",
9       "template_tags": "ubuntuCDS"
10     },
11     "imports": [ {
12     "file" : "Definitions/data_types.json"
13   }, {
14     "file" : "Definitions/relationship_types.json"
15   }, {
16     "file" : "Definitions/artifact_types.json"
17   }, {
18     "file" : "Definitions/node_types.json"
19   }, {
20     "file" : "Definitions/policy_types.json"
21   } ],
22     "dsl_definitions": {},
23     "topology_template": {
24       "workflows": {
25         "resource-assignment": {
26           "steps": {
27             "resource-assignment": {
28               "description": "Resource Assign Workflow",
29               "target": "resource-assignment"
30             }
31           },
32           "inputs": {
33             "template-prefix": {
34               "required": true,
35               "type": "list",
36               "entry_schema": {
37                 "type": "string"
38               }
39             },
40             "resource-assignment-properties": {
41               "description": "Dynamic PropertyDefinition for workflow(resource-assignment).",
42               "required": true,
43               "type": "dt-resource-assignment-properties"
44             }
45           },
46           "outputs": {
47             "meshed-template": {
48               "type": "json",
49               "value": {
50                 "get_attribute": [
51                   "resource-assignment",
52                   "assignment-params"
53                 ]
54               }
55             }
56           }
57         }
58       },
59       "node_templates": {
60         "resource-assignment": {
61           "type": "component-resource-resolution",
62           "interfaces": {
63             "ResourceResolutionComponent": {
64               "operations": {
65                 "process": {
66                   "inputs": {
67                     "artifact-prefix-names": {
68                       "get_input": "template-prefix"
69                     }
70                   }
71                 }
72               }
73             }
74           },
75           "artifacts": {
76             "ubuntuCDS-template": {
77               "type": "artifact-template-velocity",
78               "file": "Templates/ubuntuCDS-template.vtl"
79             },
80             "ubuntuCDS-mapping": {
81               "type": "artifact-mapping-resource",
82               "file": "Templates/ubuntuCDS-mapping.json"
83             },
84             "base_ubuntuCDS-template": {
85               "type": "artifact-template-velocity",
86               "file": "Templates/base_ubuntuCDS-template.vtl"
87             },
88             "base_ubuntuCDS-mapping": {
89               "type": "artifact-mapping-resource",
90               "file": "Templates/base_ubuntuCDS-mapping.json"
91             }
92           }
93         }
94       }
95     }
96   }