summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/cba/lock-device/Definitions/lock-device.json
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-19 12:32:04 -0500
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-20 10:02:39 -0500
commite92fce768cb792f11920f45fdbb38b3af69e212f (patch)
tree650d0bd49b1c98b49535d3f8aa9f98bb97255532 /cds-regression-test/cba/lock-device/Definitions/lock-device.json
parentbfffa2d982cc506979aaa0b96b6bb352c8dda9a7 (diff)
Update to latest version
Issue-ID: TEST-295 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ie14e2061c1e0931bf3d555e54c79bb736d140d5c
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": {}
- }
- }
- }
- }
- }
- }
- }
-}