3 "template_author": "Brinda Santh Muthuramalingam",
\r
4 "author-email": "brindasanth@gmail.com",
\r
5 "user-groups": "ADMIN, OPERATION",
\r
6 "template_name": "baseconfiguration",
\r
7 "template_version": "1.0.0",
\r
8 "template_tags": "brinda, tosca"
\r
10 "topology_template": {
\r
30 "activate-process": {
\r
31 "type": "bpmn-activate",
\r
34 "get_input": "action-name"
\r
50 "activate-process": {
\r
51 "type": "artifact-bpmn-camunda",
\r
52 "file": "Plans/ActivateProcess.bpmn"
\r
56 "resource-assignment": {
\r
57 "type": "component-resource-assignment",
\r
59 "request-id": "1234"
\r
62 "DefaultComponentNode": {
\r
67 "get_input": "action-name"
\r
69 "resource-type": "vnf-type",
\r
71 "get_input": "request-id"
\r
74 "get_input": "hostname"
\r
76 "template-content": {
\r
79 "baseconfig-template"
\r
82 "mapping-content": {
\r
85 "baseconfig-mapping"
\r
90 "resource-assignment-params": "",
\r
98 "baseconfig-template": {
\r
99 "type": "artifact-template-velocity",
\r
100 "file": "Templates/baseconfig-template.vtl"
\r
102 "baseconfig-mapping": {
\r
103 "type": "artifact-mapping-resource",
\r
104 "file": "Mappings/baseconfig-mapping.json"
\r
108 "resource-assignment-py": {
\r
109 "type": "component-resource-assignment",
\r
111 "request-id": "1234"
\r
114 "DefaultComponentNode": {
\r
117 "implementation": {
\r
118 "primary": "component-script"
\r
122 "get_input": "action-name"
\r
126 "resource-assignment-params": "",
\r
134 "component-script": {
\r
135 "type": "artifact-script-python",
\r
136 "file": "Scripts/baseconfig-template.vtl"
\r
142 "activate-process": {
\r
144 "call-resource-assignment": {
\r
145 "description": "Invoke Resource Assignment Component",
\r
146 "target": "resource-assignment",
\r
149 "call_operation": "ResourceAssignmentNode.process"
\r
153 "download-baseconfig"
\r
156 "download-baseconfig": {
\r
157 "description": "Call Download Base Config Component",
\r
158 "target": "activate-netconf",
\r
161 "call_operation": "NetconfTransactionNode.process"
\r
168 "download-licence": {
\r
169 "description": "Call Download Licence Component",
\r
170 "target": "activate-netconf",
\r
173 "call_operation": "NetconfTransactionNode.process"
\r
181 "artifact_types": {
\r
182 "artifact-template-velocity": {
\r
183 "description": " Velocity Template used for Configuration",
\r
184 "version": "1.0.0",
\r
188 "derived_from": "tosca.artifacts.Implementation"
\r
190 "artifact-mapping-resource": {
\r
191 "description": " Velocity Template Resource Mapping File used along with Configuration template",
\r
192 "version": "1.0.0",
\r
196 "derived_from": "tosca.artifacts.Implementation"
\r
198 "artifact-script-kotlin": {
\r
199 "description": " Kotlin Script Template used for Configuration",
\r
200 "version": "1.0.0",
\r
204 "derived_from": "tosca.artifacts.Implementation"
\r
206 "artifact-script-python": {
\r
207 "description": " Kotlin Script Template used for Configuration",
\r
208 "version": "1.0.0",
\r
212 "derived_from": "tosca.artifacts.Implementation"
\r
214 "artifact-bpmn-camunda": {
\r
215 "description": " Camunda BPM File",
\r
216 "version": "1.0.0",
\r
220 "derived_from": "tosca.artifacts.Implementation"
\r
222 "artifact-component-jar": {
\r
223 "description": "Component Jar",
\r
224 "version": "1.0.0",
\r
228 "derived_from": "tosca.artifacts.Implementation"
\r
233 "description": "This is BPMN Activate node type",
\r
234 "version": "1.0.0",
\r
247 "default": "LATEST"
\r
250 "derived_from": "tosca.nodes.DG"
\r
252 "tosca.nodes.Component": {
\r
253 "description": "This is Resource Assignment Component API",
\r
254 "version": "1.0.0",
\r
255 "derived_from": "tosca.nodes.Root"
\r
257 "tosca.nodes.DG": {
\r
258 "description": "This is Directed Graph Node Type",
\r
259 "version": "1.0.0",
\r
260 "derived_from": "tosca.nodes.Root"
\r
262 "tosca.nodes.component.Python": {
\r
263 "description": "This is Resource Assignment Python Component API",
\r
264 "version": "1.0.0",
\r
265 "derived_from": "tosca.nodes.Root"
\r
267 "component-resource-assignment": {
\r
268 "description": "This is Resource Assignment Component API",
\r
269 "version": "1.0.0",
\r
272 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
278 "DefaultComponentNode": {
\r
283 "description": "Recipe Name to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
\r
292 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
297 "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
\r
301 "template-content": {
\r
302 "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
\r
306 "mapping-content": {
\r
307 "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
\r
313 "resource-assignment-params": {
\r
326 "derived_from": "tosca.nodes.Component"
\r
328 "component-resource-assignment-python": {
\r
329 "description": "This is Resource Assignment Component API",
\r
330 "version": "1.0.0",
\r
333 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
339 "DefaultComponentNode": {
\r
344 "description": "Recipe Name to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
\r
350 "resource-assignment-params": {
\r
363 "derived_from": "tosca.nodes.component.Python"
\r
367 "sample-property": {
\r
368 "description": "This is sample data type",
\r
369 "version": "1.0.0",
\r
382 "default": "LATEST"
\r
385 "derived_from": "tosca.datatypes.Root"
\r