diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-03-08 13:41:18 -0500 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-03-11 15:59:44 -0400 |
commit | 51da489d08f63d3ac8f176609d442bcf7f7a04bd (patch) | |
tree | 0df0397f96a09319c7cd680aecf6571662ab4e14 /components | |
parent | 5919971ce250eb2b91c2989efafe7851ea64389d (diff) |
Enhance / fix REST resource resolution
- 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>
Diffstat (limited to 'components')
-rw-r--r-- | components/model-catalog/definition-type/starter-type/node_type/source-rest.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/source-rest.json b/components/model-catalog/definition-type/starter-type/node_type/source-rest.json index 044983040..b28e9341d 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/source-rest.json +++ b/components/model-catalog/definition-type/starter-type/node_type/source-rest.json @@ -14,6 +14,23 @@ } ] }, + "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" |