Add Java Capability resource assignment processor
authorMuthuramalingam, Brinda Santh <bs2796@att.com>
Tue, 8 Jan 2019 04:15:01 +0000 (23:15 -0500)
committerBrinda Santh Muthuramalingam <bs2796@att.com>
Thu, 10 Jan 2019 18:20:57 +0000 (18:20 +0000)
Change-Id: I21cea850d8fbe1c9f0a01fdc72f7147a2827ae03
Issue-ID: CCSDK-665
Signed-off-by: Muthuramalingam, Brinda Santh <bs2796@att.com>
components/model-catalog/definition-type/starter-type/node_type/source-capability.json [new file with mode: 0644]

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 (file)
index 0000000..241b699
--- /dev/null
@@ -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