Nirvan Ramjuttun | 087d4b6 | 2019-05-07 12:39:19 -0400 | [diff] [blame^] | 1 | import {controllerApiConfig} from '../../config/app-config'; |
| 2 | |
| 3 | export default { |
| 4 | "name": "blueprint", |
| 5 | "connector": "rest", |
| 6 | "baseURL": controllerApiConfig.url, |
| 7 | "crud": false, |
| 8 | "operations": [{ |
| 9 | "template": { |
| 10 | "method": "GET", |
| 11 | "url": controllerApiConfig.url + "/blueprint-model/", |
| 12 | "headers": { |
| 13 | "accepts": "application/json", |
| 14 | "content-type": "application/json", |
| 15 | "authorization": controllerApiConfig.authToken |
| 16 | }, |
| 17 | "responsePath": "$.*" |
| 18 | }, |
| 19 | "functions": { |
| 20 | "getAllblueprints": [] |
| 21 | |
| 22 | } |
| 23 | }] |
| 24 | }; |