summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/rest.config.json
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-02-22 16:25:49 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-02-22 16:25:58 +0530
commit01210650e6eb2b0ba427cb80cc1130cbb58fa803 (patch)
tree61737988e707e01a043b461aa19a3a145092308e /cds-ui/server/src/datasources/rest.config.json
parentd94c81e03562abd5fe097c21bba1b00d2bd9bdea (diff)
Loopback rest service
Created rest service , which will be used to interact with backend API's Issue-ID: CCSDK-1097 Change-Id: Ie91b1b60e2237c1ec80e490877dc6292c3106835 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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