summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/blueprint.datasource-template.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/server/src/datasources/blueprint.datasource-template.ts')
-rw-r--r--cds-ui/server/src/datasources/blueprint.datasource-template.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/cds-ui/server/src/datasources/blueprint.datasource-template.ts b/cds-ui/server/src/datasources/blueprint.datasource-template.ts
new file mode 100644
index 000000000..3cbf09576
--- /dev/null
+++ b/cds-ui/server/src/datasources/blueprint.datasource-template.ts
@@ -0,0 +1,24 @@
+import {controllerApiConfig} from '../../config/app-config';
+
+export default {
+ "name": "blueprint",
+ "connector": "rest",
+ "baseURL": controllerApiConfig.url,
+ "crud": false,
+ "operations": [{
+ "template": {
+ "method": "GET",
+ "url": controllerApiConfig.url + "/blueprint-model/",
+ "headers": {
+ "accepts": "application/json",
+ "content-type": "application/json",
+ "authorization": controllerApiConfig.authToken
+ },
+ "responsePath": "$.*"
+ },
+ "functions": {
+ "getAllblueprints": []
+
+ }
+ }]
+}; \ No newline at end of file