blob: 1188d9bcf62fdd66ba635a344cad9e8b9f11481e [file] [log] [blame]
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -04001import {controllerApiConfig} from '../config/app-config';
Nirvan Ramjuttun087d4b62019-05-07 12:39:19 -04002
3export default {
4 "name": "blueprint",
5 "connector": "rest",
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -04006 "baseURL": controllerApiConfig.http.url,
Nirvan Ramjuttun087d4b62019-05-07 12:39:19 -04007 "crud": false,
Rami17411022019-05-27 17:23:37 +02008 "debug": true,
Nirvan Ramjuttun087d4b62019-05-07 12:39:19 -04009 "operations": [{
10 "template": {
11 "method": "GET",
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -040012 "url": controllerApiConfig.http.url + "/blueprint-model/",
Nirvan Ramjuttun087d4b62019-05-07 12:39:19 -040013 "headers": {
14 "accepts": "application/json",
15 "content-type": "application/json",
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -040016 "authorization": controllerApiConfig.http.authToken
Nirvan Ramjuttun087d4b62019-05-07 12:39:19 -040017 },
18 "responsePath": "$.*"
19 },
20 "functions": {
21 "getAllblueprints": []
22
23 }
Ezhilarasi8cfbbce2019-07-22 21:14:08 +053024 },
25 {
26 "template": {
27 "method": "GET",
28 "url": controllerApiConfig.http.url + "/blueprint-model/search/{tags}",
29 "headers": {
30 "accepts": "application/json",
31 "content-type": "application/json",
32 "authorization": controllerApiConfig.http.authToken
33 },
34 "responsePath": "$.*"
35 },
36 "functions": {
37 "getByTags": ["tags"]
38
39 }
40 },
41]
Nirvan Ramjuttun087d4b62019-05-07 12:39:19 -040042};