summaryrefslogtreecommitdiffstats
path: root/test/resource-resolution/data-dict/RT-rest-get-id.json
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-19 12:32:04 -0500
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-20 10:02:39 -0500
commite92fce768cb792f11920f45fdbb38b3af69e212f (patch)
tree650d0bd49b1c98b49535d3f8aa9f98bb97255532 /test/resource-resolution/data-dict/RT-rest-get-id.json
parentbfffa2d982cc506979aaa0b96b6bb352c8dda9a7 (diff)
Update to latest version
Issue-ID: TEST-295 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ie14e2061c1e0931bf3d555e54c79bb736d140d5c
Diffstat (limited to 'test/resource-resolution/data-dict/RT-rest-get-id.json')
-rw-r--r--test/resource-resolution/data-dict/RT-rest-get-id.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/resource-resolution/data-dict/RT-rest-get-id.json b/test/resource-resolution/data-dict/RT-rest-get-id.json
new file mode 100644
index 0000000..b665027
--- /dev/null
+++ b/test/resource-resolution/data-dict/RT-rest-get-id.json
@@ -0,0 +1,34 @@
+{
+ "name": "RT-rest-get-id",
+ "data_type": "string",
+ "description": "Rest GET request using input key mapping",
+ "tags": "RT-rest-get-id",
+ "updatedBy": "Selfish",
+ "definition": {
+ "name": "RT-rest-get-id",
+ "tags": "RT-rest-get-id",
+ "updated-by": "Selffish",
+ "property": {
+ "description": "Rest GET request using input key mapping",
+ "type": "string"
+ },
+ "sources": {
+ "sdnc": {
+ "type": "source-rest",
+ "properties": {
+ "type": "string",
+ "verb": "GET",
+ "url-path": "/get/$id/id",
+ "endpoint-selector": "rest-endpoint",
+ "path": "",
+ "input-key-mapping": {
+ "id": "j_get"
+ },
+ "output-key-mapping": {
+ "value": "value"
+ }
+ }
+ }
+ }
+ }
+}