aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuthuramalingam, Brinda Santh <bs2796@att.com>2019-01-07 23:15:01 -0500
committerBrinda Santh Muthuramalingam <bs2796@att.com>2019-01-10 18:20:57 +0000
commit07603763ab93f4ad57587430e96a3bd82b7eab80 (patch)
tree5cbbd8a687fb612cbe6c5882ce2f9587ba4d09a1
parent980a624d8af8bd0d3993522c52864102e3df2d60 (diff)
Add Java Capability resource assignment processor
Change-Id: I21cea850d8fbe1c9f0a01fdc72f7147a2827ae03 Issue-ID: CCSDK-665 Signed-off-by: Muthuramalingam, Brinda Santh <bs2796@att.com>
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/source-capability.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/source-capability.json b/components/model-catalog/definition-type/starter-type/node_type/source-capability.json
new file mode 100644
index 000000000..241b69953
--- /dev/null
+++ b/components/model-catalog/definition-type/starter-type/node_type/source-capability.json
@@ -0,0 +1,49 @@
+{
+ "description": "This is Component Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {
+ "type": {
+ "required": true,
+ "type": "string",
+ "default": "JAVA-COMPONENT",
+ "constraints": [
+ {
+ "valid_values": [
+ "JAVA-COMPONENT",
+ "JYTHON-COMPONENT"
+ ]
+ }
+ ]
+ },
+ "instance-name": {
+ "description": "Capability component instance reference name.",
+ "required": true,
+ "type": "string"
+ },
+ "input-key-mapping": {
+ "description": "Context name to input parameters name mapping.",
+ "required": false,
+ "type": "map",
+ "entry_schema": {
+ "type": "string"
+ }
+ },
+ "output-key-mapping": {
+ "description": "Context name to output parameters name mapping.",
+ "required": false,
+ "type": "map",
+ "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"
+} \ No newline at end of file