From: Dan Timoney Date: Fri, 29 Mar 2019 13:00:07 +0000 (+0000) Subject: Merge "Add Restconf Kotlin script sample" X-Git-Tag: 0.4.2~138 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4d2c0fae422489c14350a95f46325da8d9573ecf;p=ccsdk%2Fcds.git Merge "Add Restconf Kotlin script sample" --- 4d2c0fae422489c14350a95f46325da8d9573ecf diff --cc components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json index 3658a260d,c550306d3..07e4df140 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/node_types.json @@@ -203,8 -278,50 +278,50 @@@ } } }, - "derived_from": "tosca.nodes.DG" + "derived_from": "tosca.nodes.Workflow" }, + "source-capability": { + "description": "This is Component Resource Source Node Type", + "version": "1.0.0", + "properties": { + "script-type": { + "required": true, + "type": "string", + "constraints": [ + { + "valid_values": [ + "kotlin", + "internal", + "jython" + ] + } + ], + "default": "kotlin" + }, + "script-class-reference": { + "description": "Capability reference name for internal and kotlin, for jython script file path", + "required": true, + "type": "string" + }, + "instance-dependencies": { + "description": "Instance dependency Names to Inject to Kotlin / Jython Script.", + "required": false, + "type": "list", + "entry_schema": { + "type": "string" + } + }, + "key-dependencies": { + "description": "Resource Resolution dependency dictionary names.", + "required": true, + "type": "list", + "entry_schema": { + "type": "string" + } + } + }, + "derived_from": "tosca.nodes.ResourceSource" + }, "source-input": { "description": "This is Input Resource Source Node Type", "version": "1.0.0",