summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/cba/lock-device/Definitions/lock-device.json
diff options
context:
space:
mode:
Diffstat (limited to 'cds-regression-test/cba/lock-device/Definitions/lock-device.json')
-rw-r--r--cds-regression-test/cba/lock-device/Definitions/lock-device.json98
1 files changed, 0 insertions, 98 deletions
diff --git a/cds-regression-test/cba/lock-device/Definitions/lock-device.json b/cds-regression-test/cba/lock-device/Definitions/lock-device.json
deleted file mode 100644
index c90021c..0000000
--- a/cds-regression-test/cba/lock-device/Definitions/lock-device.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "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": {}
- }
- }
- }
- }
- }
- }
- }
-}