summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/rest.config.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-02-22 20:46:02 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-22 20:46:02 +0000
commita9a51128e6197fbb4efb38b5cd73e247d7c1fa45 (patch)
treeaf2ea63b5f5cc332ae28b2e41772b55243f610d5 /cds-ui/server/src/datasources/rest.config.json
parentafa8baf78420f3d0a1532f94ec59bf13067705a8 (diff)
parent01210650e6eb2b0ba427cb80cc1130cbb58fa803 (diff)
Merge "Loopback rest service"
Diffstat (limited to 'cds-ui/server/src/datasources/rest.config.json')
-rw-r--r--cds-ui/server/src/datasources/rest.config.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/cds-ui/server/src/datasources/rest.config.json b/cds-ui/server/src/datasources/rest.config.json
new file mode 100644
index 000000000..86f33fbd4
--- /dev/null
+++ b/cds-ui/server/src/datasources/rest.config.json
@@ -0,0 +1,39 @@
+{
+ "name": "restConfig",
+ "connector": "rest",
+ "options": {
+ "headers": {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+ },
+ "operations": [
+ {
+ "template": {
+ "method": "GET",
+ "url": ""
+ },
+ "functions": {
+ "getEnricheddata": [""]
+ }
+ },
+ {
+ "template": {
+ "method": "POST",
+ "url": ""
+ },
+ "functions": {
+ "saveBlueprint": [""]
+ }
+ },
+ {
+ "template": {
+ "method": "POST",
+ "url": ""
+ },
+ "functions": {
+ "test": [""]
+ }
+ }
+]
+} \ No newline at end of file