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