@sap/cds-dk 8.7.3 → 8.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/bin/bind.js +7 -8
  3. package/bin/cds.js +2 -4
  4. package/bin/compile/index.js +1 -0
  5. package/bin/deploy/index.js +10 -5
  6. package/bin/watch.js +48 -7
  7. package/lib/bind/{cfKeyProvider.js → cf.js} +43 -53
  8. package/lib/bind/k8s.js +138 -0
  9. package/lib/bind/plugin.js +48 -0
  10. package/lib/bind/shared.js +267 -0
  11. package/lib/build/buildTaskEngine.js +1 -1
  12. package/lib/build/plugins/helm/files/subcharts/content-deployment/Chart.yaml +0 -2
  13. package/lib/build/plugins/helm/files/subcharts/web-application/Chart.yaml +1 -3
  14. package/lib/build/plugins/helm/files/subcharts/web-application/templates/service-binding.yaml +3 -0
  15. package/lib/build/plugins/helm/files/subcharts/web-application/values.schema.json +3 -0
  16. package/lib/build/plugins/helm/files/subcharts/web-application/values.yaml +2 -1
  17. package/lib/build/util.js +1 -1
  18. package/lib/compile/to-mermaid.js +1 -2
  19. package/lib/deploy/to-hana/hana.js +1 -1
  20. package/lib/deploy/to-hana/mtaUtil.js +0 -13
  21. package/lib/import/common.js +6 -7
  22. package/lib/init/merge.js +41 -32
  23. package/lib/init/projectReader.js +15 -7
  24. package/lib/init/registries/mta.js +7 -1
  25. package/lib/init/template/approuter/files/package.json +1 -1
  26. package/lib/init/template/approuter/files/xs-app.json.hbs +0 -11
  27. package/lib/init/template/cloud-logging/files/package.json.hbs +12 -1
  28. package/lib/init/template/cloud-logging/files/values.yaml.hbs +0 -2
  29. package/lib/init/template/cloud-logging/index.js +8 -15
  30. package/lib/init/template/destination/files/values.yaml +4 -4
  31. package/lib/init/template/destination/index.js +1 -1
  32. package/lib/init/template/html5-repo/files/app-package.json.hbs +0 -2
  33. package/lib/init/template/html5-repo/files/containerize.yaml.hbs +25 -0
  34. package/lib/init/template/html5-repo/files/mta.yaml.hbs +1 -2
  35. package/lib/init/template/html5-repo/files/package.json.hbs +1 -1
  36. package/lib/init/template/html5-repo/files/ui-resources/package.json.hbs +11 -0
  37. package/lib/init/template/html5-repo/files/ui5-deploy.yaml.hbs +4 -7
  38. package/lib/init/template/html5-repo/files/values.yaml.hbs +6 -4
  39. package/lib/init/template/html5-repo/index.js +22 -10
  40. package/lib/init/template/http/index.js +1 -1
  41. package/lib/init/template/multitenancy/files/mta.yaml.hbs +0 -2
  42. package/lib/init/template/multitenancy/index.js +1 -1
  43. package/lib/init/template/portal/files/mta.yaml.hbs +9 -0
  44. package/lib/init/template/portal/index.js +3 -1
  45. package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +119 -119
  46. package/lib/init/template/sample/files/app/browse/webapp/manifest.json +1 -1
  47. package/lib/init/template/telemetry/index.js +0 -13
  48. package/lib/init/template/typer/files/package.json +3 -0
  49. package/lib/init/template/workzone-standard/files/cdm.json.hbs +97 -0
  50. package/lib/init/template/workzone-standard/files/mta.yaml.hbs +23 -0
  51. package/lib/init/template/workzone-standard/index.js +70 -39
  52. package/lib/init/template/xsuaa/files/mta.yaml.hbs +2 -2
  53. package/lib/init/template/xsuaa/files/values.yaml.hbs +0 -2
  54. package/lib/init/template/xsuaa/index.js +22 -10
  55. package/lib/mtx/util/cf.js +1 -2
  56. package/lib/util/cf.js +104 -84
  57. package/lib/util/command.js +1 -2
  58. package/lib/util/git.js +1 -1
  59. package/npm-shrinkwrap.json +31 -31
  60. package/package.json +1 -1
  61. package/bin/deploy/to-cf.js +0 -0
  62. package/bin/deploy/via-mta.js +0 -0
  63. package/lib/bind/KubernetesApiAccessor.js +0 -81
  64. package/lib/bind/bindingManager.js +0 -89
  65. package/lib/bind/bindingResolver.js +0 -54
  66. package/lib/bind/bindingUtil.js +0 -129
  67. package/lib/bind/index.js +0 -127
  68. package/lib/bind/kubernetesCredentialsProvider.js +0 -84
  69. package/lib/bind/userCdsrcJsonStorageProvider.js +0 -92
  70. package/lib/init/template/destination/files/package.sidecar.json +0 -7
  71. package/lib/init/template/html5-repo/files/package.sidecar.json +0 -7
  72. package/lib/init/template/telemetry/files/package.json.hbs +0 -18
@@ -1,18 +0,0 @@
1
- {
2
- "dependencies": {
3
- "@cap-js/telemetry": ">=0",
4
- "@grpc/grpc-js": "^1",
5
- "@opentelemetry/exporter-trace-otlp-grpc": "^0",
6
- "@opentelemetry/exporter-metrics-otlp-grpc": "^0",
7
- "@opentelemetry/host-metrics": "^0"
8
- },
9
- "cds": {
10
- "requires": {
11
- "[{{profile}}]": {
12
- "telemetry": {
13
- "kind": "to-cloud-logging"
14
- }
15
- }
16
- }
17
- }
18
- }