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
33 "process-name": { "get_input" : "action-name" },
\r
34 "version" : { "get_property" : ["SELF", "process-name"] },
\r
35 "content": { "get_artifact" : ["SELF", "activate-process"] }
\r
38 "activate-process": {
\r
39 "type": "artifact-bpmn-camunda",
\r
40 "file": "Plans/ActivateProcess.bpmn"
\r
44 "resource-assignment": {
\r
45 "type": "component-resource-assignment",
\r
47 "request-id": "1234"
\r
50 "DefaultComponentNode": {
\r
54 "action-name": { "get_input" : "action-name" },
\r
55 "resource-type": "vnf-type",
\r
56 "request-id": { "get_input" : "request-id" },
\r
57 "resource-id": { "get_input" : "hostname" },
\r
58 "template-content": { "get_artifact" : ["SELF", "baseconfig-template"] },
\r
59 "mapping-content": { "get_artifact" : ["SELF", "baseconfig-mapping"] }
\r
62 "resource-assignment-params": "",
\r
70 "baseconfig-template": {
\r
71 "type": "artifact-template-velocity",
\r
72 "file": "Templates/baseconfig-template.vtl"
\r
74 "baseconfig-mapping": {
\r
75 "type": "artifact-mapping-resource",
\r
76 "file": "Mappings/baseconfig-mapping.json"
\r
80 "resource-assignment-py": {
\r
81 "type": "component-resource-assignment",
\r
83 "request-id": "1234"
\r
86 "DefaultComponentNode": {
\r
90 "primary" : "component-script"
\r
93 "action-name": { "get_input" : "action-name" }
\r
96 "resource-assignment-params": "",
\r
104 "component-script": {
\r
105 "type": "artifact-script-python",
\r
106 "file": "Scripts/baseconfig-template.vtl"
\r
112 "activate-process":{
\r
114 "call-resource-assignment" : {
\r
115 "description" : "Invoke Resource Assignment Component",
\r
116 "target" : "resource-assignment",
\r
119 "call_operation": "ResourceAssignmentNode.process"
\r
123 "download-baseconfig"
\r
126 "download-baseconfig" : {
\r
127 "description" : "Call Download Base Config Component",
\r
128 "target" : "activate-netconf",
\r
131 "call_operation": "NetconfTransactionNode.process"
\r
138 "download-licence" : {
\r
139 "description" : "Call Download Licence Component",
\r
140 "target" : "activate-netconf",
\r
143 "call_operation": "NetconfTransactionNode.process"
\r
151 "artifact_types": {
\r
152 "artifact-template-velocity": {
\r
153 "description": " Velocity Template used for Configuration",
\r
154 "version": "1.0.0",
\r
158 "derived_from": "tosca.artifacts.Implementation"
\r
160 "artifact-mapping-resource": {
\r
161 "description": " Velocity Template Resource Mapping File used along with Configuration template",
\r
162 "version": "1.0.0",
\r
166 "derived_from": "tosca.artifacts.Implementation"
\r
168 "artifact-script-kotlin": {
\r
169 "description": " Kotlin Script Template used for Configuration",
\r
170 "version": "1.0.0",
\r
174 "derived_from": "tosca.artifacts.Implementation"
\r
176 "artifact-script-python": {
\r
177 "description": " Kotlin Script Template used for Configuration",
\r
178 "version": "1.0.0",
\r
182 "derived_from": "tosca.artifacts.Implementation"
\r
184 "artifact-bpmn-camunda": {
\r
185 "description": " Camunda BPM File",
\r
186 "version": "1.0.0",
\r
190 "derived_from": "tosca.artifacts.Implementation"
\r
192 "artifact-component-jar": {
\r
193 "description": "Component Jar",
\r
194 "version": "1.0.0",
\r
198 "derived_from": "tosca.artifacts.Implementation"
\r
203 "description": "This is BPMN Activate node type",
\r
204 "version": "1.0.0",
\r
217 "default" : "LATEST"
\r
220 "derived_from": "tosca.nodes.Component"
\r
222 "tosca.nodes.Component": {
\r
223 "description": "This is Resource Assignment Component API",
\r
224 "version": "1.0.0",
\r
227 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
233 "DefaultOperation": {
\r
238 "description": "validate for action",
\r
249 "description": "Component Jar",
\r
250 "type": "artifact-component-jar",
\r
251 "file": "Component/basecomponent.jar"
\r
254 "derived_from": "tosca.nodes.Root"
\r
256 "tosca.nodes.component.Python": {
\r
257 "description": "This is Resource Assignment Python Component API",
\r
258 "version": "1.0.0",
\r
261 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
267 "DefaultOperation": {
\r
272 "description": "validate for action",
\r
283 "description": "Component Jar",
\r
284 "type": "artifact-component-jar",
\r
285 "file": "Component/basecomponent.jar"
\r
288 "derived_from": "tosca.nodes.Root"
\r
290 "component-resource-assignment": {
\r
291 "description": "This is Resource Assignment Component API",
\r
292 "version": "1.0.0",
\r
295 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
301 "DefaultComponentNode": {
\r
306 "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
315 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
320 "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
\r
324 "template-content": {
\r
325 "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
\r
329 "mapping-content": {
\r
330 "description": "Id used to pull the data content from the data base. Either template-data or resource-id should be present",
\r
336 "resource-assignment-params": {
\r
349 "derived_from": "tosca.nodes.Component"
\r
351 "component-resource-assignment-python": {
\r
352 "description": "This is Resource Assignment Component API",
\r
353 "version": "1.0.0",
\r
356 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
362 "DefaultComponentNode": {
\r
367 "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
373 "resource-assignment-params": {
\r
386 "derived_from": "tosca.nodes.component.Python"
\r
390 "sample-property" : {
\r
391 "description": "This is sample data type",
\r
392 "version": "1.0.0",
\r
405 "default" : "LATEST"
\r
408 "derived_from" : "tosca.datatypes.Root"
\r