Merge "Resource dictionary- updated license text"
[ccsdk/cds.git] / cds-ui / server / src / datasources / blueprint.datasource-template.ts
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 };