summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources
diff options
context:
space:
mode:
authorRami <rmohamed.ext@orange.com>2019-05-27 17:23:37 +0200
committerRami <rmohamed.ext@orange.com>2019-05-30 11:39:54 +0200
commit174110278bd235b7bf878fc4bd773078d633ce00 (patch)
tree89d2931a0455f5d9f689f6120798e620a0df2713 /cds-ui/server/src/datasources
parent1f69e1c3569196305c23f085cfbc03bdba14f4e0 (diff)
Add logger to the server
- add logger with interceptor for requests Change-Id: Iecb6b6e51c28aadcc4eec3bb69dc38f4e0e346c5 Issue-ID: CCSDK-1295 Signed-off-by: Rami <rmohamed.ext@orange.com>
Diffstat (limited to 'cds-ui/server/src/datasources')
-rw-r--r--cds-ui/server/src/datasources/blueprint.datasource-template.ts1
-rw-r--r--cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts1
2 files changed, 2 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
index 3cbf09576..f5dad3a1e 100644
--- a/cds-ui/server/src/datasources/blueprint.datasource-template.ts
+++ b/cds-ui/server/src/datasources/blueprint.datasource-template.ts
@@ -5,6 +5,7 @@ export default {
"connector": "rest",
"baseURL": controllerApiConfig.url,
"crud": false,
+ "debug": true,
"operations": [{
"template": {
"method": "GET",
diff --git a/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts b/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts
index b987e588c..1c459e0e7 100644
--- a/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts
+++ b/cds-ui/server/src/datasources/resource-dictionary.datasource-template.ts
@@ -5,6 +5,7 @@ export default {
"connector": "rest",
"baseURL": controllerApiConfig.url + "/dictionary",
"crud": false,
+ "debug": true,
"operations": [{
"template": {
"method": "GET",