First i would like to thank you for bringing this new capability to add cloud logging and telemetry libraries with a single command.
Here's one observation that i feel can be improved.
When i use the command cds add cloud-logging --with-telemetry, it adds "telemetry": "to-cloud-logging" property at cds.requires level.
Running cds watch breaks the startup of application as the applications starts looking for Cloud Logging Credentials.
Moving the property under production solves this
"[production]": {
"db": "hana",
"auth": "xsuaa",
"multitenancy": true,
"telemetry": "to-cloud-logging"
},
It will be great if this can be adapted with the cds add cloud-logging --with-telemetry command.
Also,
The Indentation of Cloud logging Service in mta is wrong.
The current generated code is :
First i would like to thank you for bringing this new capability to add cloud logging and telemetry libraries with a single command. Here's one observation that i feel can be improved.
When i use the command
cds add cloud-logging --with-telemetry
, it adds"telemetry": "to-cloud-logging"
property at cds.requires level. Runningcds watch
breaks the startup of application as the applications starts looking for Cloud Logging Credentials. Moving the property under production solves this "[production]": { "db": "hana", "auth": "xsuaa", "multitenancy": true, "telemetry": "to-cloud-logging" },cds add cloud-logging --with-telemetry
command.Also, The Indentation of Cloud logging Service in mta is wrong. The current generated code is :
Required indentation: