f0911004576cf721c4f2b8d9bfe890a25651ae9b
[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": "ComponentScriptExecutor.process"
45               }
46             ]
47           }
48         }
49       }
50     },
51     "node_templates": {
52       "check": {
53         "type": "component-script-executor",
54         "interfaces": {
55           "ComponentScriptExecutor": {
56             "operations": {
57               "process": {
58                 "implementation": {
59                   "primary": "component-script"
60                 },
61                 "inputs": {
62                   "script-type": "kotlin",
63                   "script-class-reference": "cba.scripts.capability.cli.Check"
64                 },
65                 "outputs": {
66                   "response-data": "",
67                   "status": "success"
68                 }
69               }
70             }
71           }
72         },
73         "artifacts": {
74           "command-template": {
75             "type": "artifact-template-velocity",
76             "file": "Templates/check-command-template.vtl"
77           }
78         }
79       }
80     }
81   }
82 }