Enhance / fix REST resource resolution
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Fri, 8 Mar 2019 18:41:18 +0000 (13:41 -0500)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Mon, 11 Mar 2019 19:59:44 +0000 (15:59 -0400)
- provide sync web client
- add support for VERB
- add support for payload
- fix URI resolution from input-key-mapping

Change-Id: Id4f1973a15778ad4f2ab0f7e2a4b2c61054a234d
Issue-ID: CCSDK-1131
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
components/model-catalog/definition-type/starter-type/node_type/source-rest.json

index 0449830..b28e934 100644 (file)
         }
       ]
     },
+    "verb": {
+      "required": false,
+      "type": "string",
+      "default": "GET",
+      "constraints": [
+        {
+          "valid_values": [
+            "GET", "POST", "DELETE", "PUT"
+          ]
+        }
+      ]
+    },
+    "payload": {
+      "required": false,
+      "type": "string",
+      "default": ""
+    },
     "endpoint-selector": {
       "required": false,
       "type": "string"