summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
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
commit83cbb1f2a7ee6a2effe38ebc95b04703030fe20d (patch)
tree18290ea3669cfac684cc45cdbd7a49eca0537c74 /components/model-catalog
parent355bfe87bb4f760bc8cc1b3131b48448cb85e4c5 (diff)
parent51da489d08f63d3ac8f176609d442bcf7f7a04bd (diff)
Merge "Enhance / fix REST resource resolution"
Diffstat (limited to 'components/model-catalog')
-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 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"