c66bb6ef251d1653887fbeefed39665ae404e0b9
[ccsdk/cds.git] /
1 {
2   "tosca_definitions_version": "controller_blueprint_1_0_0",
3   "metadata": {
4     "template_author": "Brinda Santh Muthuramalingam",
5     "author-email": "brindasanth@in.ibm.com",
6     "user-groups": "ADMIN, OPERATION",
7     "template_name": "capability-cli",
8     "template_version": "1.0.0",
9     "template_tags": "brinda, tosca"
10   },
11   "imports": [
12     {
13       "file": "Definitions/data_types.json"
14     },
15     {
16       "file": "Definitions/relationship_types.json"
17     },
18     {
19       "file": "Definitions/artifact_types.json"
20     },
21     {
22       "file": "Definitions/node_types.json"
23     },
24     {
25       "file": "Definitions/policy_types.json"
26     }
27   ],
28   "dsl_definitions": {
29     "config-deploy-properties": {
30       "resolution-key": {
31         "get_input": "resolution-key"
32       }
33     }
34   },
35   "topology_template": {
36     "workflows": {
37       "check": {
38         "steps": {
39           "activate-process": {
40             "description": "Check CLI",
41             "target": "check",
42             "activities": [
43               {
44                 "call_operation": "ComponentCliExecutor.process"
45               }
46             ]
47           }
48         }
49       }
50     },
51     "node_templates": {
52       "check": {
53         "type": "component-cli-executor",
54         "interfaces": {
55           "ComponentCliExecutor": {
56             "operations": {
57               "process": {
58                 "implementation": {
59                   "primary": "component-script"
60                 },
61                 "inputs": {
62                   "script-type": "kotlin",
63                   "script-class-reference": "InternalSimpleCli_cba$TestCliScriptFunction",
64                   "instance-dependencies": []
65                 },
66                 "outputs": {
67                   "response-data": "",
68                   "status": "success"
69                 }
70               }
71             }
72           }
73         },
74         "artifacts": {
75           "command-template": {
76             "type": "artifact-template-velocity",
77             "file": "Templates/check-command-template.vtl"
78           }
79         }
80       }
81     }
82   }
83 }