diff options
author | 2018-11-20 12:20:30 -0500 | |
---|---|---|
committer | 2018-11-30 20:22:00 +0000 | |
commit | 7af6a923ef993bed14d0fc5f769c3766c94b88b3 (patch) | |
tree | ff56cb783a01b95e1e8d563f74fb8ce0a9ef3079 /components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json | |
parent | 421823b343881c6d1690be8b1082a878764635f2 (diff) |
Add Jython Component model and validation logics.
Change-Id: I2bdba0016a41e16198d60be68dff68d1ce7ad13a
Issue-ID: CCSDK-696
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json')
-rw-r--r-- | components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json new file mode 100644 index 000000000..4959a9dd1 --- /dev/null +++ b/components/model-catalog/definition-type/starter-type/node_type/component-jython-executor.json @@ -0,0 +1,40 @@ +{ + "description": "This is Jython Execution Component.", + "version": "1.0.0", + "capabilities": { + "component-node": { + "type": "tosca.capabilities.Node" + } + }, + "interfaces": { + "JythonExecutorComponent": { + "operations": { + "process": { + "inputs": { + "instance-dependencies": { + "required": true, + "description": "Instance Names to Inject to Jython Script.", + "type": "list", + "entry_schema": { + "type": "string" + } + } + }, + "outputs": { + "response-data": { + "description": "Execution Response Data in JSON format.", + "required": false, + "type": "string" + }, + "status": { + "description": "Status of the Component Execution ( success or failure )", + "required": true, + "type": "string" + } + } + } + } + } + }, + "derived_from": "tosca.nodes.component.Jython" +}
\ No newline at end of file |