aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-13 00:22:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-13 00:22:52 +0000
commitd77524d5f0b7445b3b64846c5332d4ce81752f46 (patch)
tree2a4e883533c231c0f91e8addd77d5e19dbb2ac95 /components
parent70ba1bd3f4975395b409223d96ccb3e360c30048 (diff)
parent349643f7bec1b793e3427e97c79f0a123a20ca37 (diff)
Merge "Enhance / fix REST resource resolution"
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/source-rest.json17
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 04498304..b28e9341 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"