{ "metadata": { "template_author": "Selffish", "author-email": "test@bell.ca", "template_name": "RT-lock-device", "template_version": "1.0.0", "template_tags": "Bell, CBA, test" }, "dsl_definitions": {}, "topology_template": { "workflows": { "resolve-deploy-kotlin": { "steps": { "resolve": { "description": "resolve vnf-id", "target": "resource-resolution", "on_success": [ "execute-script" ] }, "execute-script": { "description": "Execute Kotlin Script", "target": "execute-kotlin" } }, "outputs": { "response-data": { "type": "string", "value": { "get_attribute": [ "execute-kotlin", "response-data" ] } } } } }, "node_templates": { "resource-resolution": { "type": "component-resource-resolution", "interfaces": { "ResourceResolutionComponent": { "operations": { "process": { "inputs": { "artifact-prefix-names": [ "base" ], "resolution-summary": true } } } } }, "artifacts": { "base-mapping": { "type": "artifact-mapping-resource", "file": "Templates/base-mapping.json" } } }, "execute-kotlin": { "type": "component-script-executor", "interfaces": { "ComponentScriptExecutor": { "operations": { "process": { "implementation": { "primary": "component-script", "lock": { "key": { "get_attribute": [ "resource-resolution", "", "assignment-map", "base", "vnf-id" ] }, "acquireTimeout": { "get_input": "lock-acquire-timeout" } } }, "inputs": { "script-type": "kotlin", "script-class-reference": "cba.cds.RT.ProcessOperation" }, "outputs": {} } } } } } } } }