4859b81678dda1a55be8a0057521e0b1fec5b444
[doc.git] / docs / guides / onap-user / design / parameter_resolution / ubuntu_example / cba-before-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     "dsl_definitions": {},
13     "topology_template": {
14       "workflows": {
15         "resource-assignment": {
16           "steps": {
17             "resource-assignment": {
18               "description": "Resource Assign Workflow",
19               "target": "resource-assignment"
20             }
21           },
22           "inputs": {
23             "template-prefix": {
24               "required": true,
25               "type": "list",
26               "entry_schema": {
27                 "type": "string"
28               }
29             },
30             "resource-assignment-properties": {
31               "description": "Dynamic PropertyDefinition for workflow(resource-assignment).",
32               "required": true,
33               "type": "dt-resource-assignment-properties"
34             }
35           },
36           "outputs": {
37             "meshed-template": {
38               "type": "json",
39               "value": {
40                 "get_attribute": [
41                   "resource-assignment",
42                   "assignment-params"
43                 ]
44               }
45             }
46           }
47         }
48       },
49       "node_templates": {
50         "resource-assignment": {
51           "type": "component-resource-resolution",
52           "interfaces": {
53             "ResourceResolutionComponent": {
54               "operations": {
55                 "process": {
56                   "inputs": {
57                     "artifact-prefix-names": {
58                       "get_input": "template-prefix"
59                     }
60                   }
61                 }
62               }
63             }
64           },
65           "artifacts": {
66             "ubuntuCDS-template": {
67               "type": "artifact-template-velocity",
68               "file": "Templates/ubuntuCDS-template.vtl"
69             },
70             "ubuntuCDS-mapping": {
71               "type": "artifact-mapping-resource",
72               "file": "Templates/ubuntuCDS-mapping.json"
73             },
74             "base_ubuntuCDS-template": {
75               "type": "artifact-template-velocity",
76               "file": "Templates/base_ubuntuCDS-template.vtl"
77             },
78             "base_ubuntuCDS-mapping": {
79               "type": "artifact-mapping-resource",
80               "file": "Templates/base_ubuntuCDS-mapping.json"
81             }
82           }
83         }
84       }
85     }
86   }