@sap/cds-dk 6.5.1 → 6.6.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 (123) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/bin/activate.js +7 -0
  3. package/bin/add.js +1 -2
  4. package/bin/build/all.js +14 -9
  5. package/bin/cds.js +11 -8
  6. package/bin/compile/index.js +13 -3
  7. package/bin/env.js +16 -25
  8. package/bin/extend.js +8 -0
  9. package/bin/init.js +0 -3
  10. package/bin/login.js +3 -7
  11. package/bin/logout.js +2 -7
  12. package/bin/migrate.js +5 -2
  13. package/bin/watch.js +4 -5
  14. package/lib/client/activate.js +1 -1
  15. package/lib/client/helper/errors.js +2 -1
  16. package/lib/client/params.js +4 -3
  17. package/lib/client/pull.js +31 -5
  18. package/lib/client/push.js +3 -3
  19. package/lib/client/settings_manager.js +6 -6
  20. package/lib/client/subscription.js +1 -1
  21. package/lib/compile/asyncapi/channels.js +22 -0
  22. package/lib/compile/asyncapi/components/messageTraits/index.js +89 -0
  23. package/lib/compile/asyncapi/components/messages/index.js +150 -0
  24. package/lib/compile/asyncapi/components/schemas/annotations.js +13 -0
  25. package/lib/compile/asyncapi/components/schemas/array.js +8 -0
  26. package/lib/compile/asyncapi/components/schemas/cache.js +14 -0
  27. package/lib/compile/asyncapi/components/schemas/definition.js +187 -0
  28. package/lib/compile/asyncapi/components/schemas/enum.js +16 -0
  29. package/lib/compile/asyncapi/components/schemas/examples.js +10 -0
  30. package/lib/compile/asyncapi/components/schemas/index.js +14 -0
  31. package/lib/compile/asyncapi/components/schemas/localized.js +29 -0
  32. package/lib/compile/asyncapi/components/schemas/primitiveElement.js +41 -0
  33. package/lib/compile/asyncapi/components/schemas/ref.js +45 -0
  34. package/lib/compile/asyncapi/components/schemas/utils.js +108 -0
  35. package/lib/compile/asyncapi/index.js +226 -0
  36. package/lib/compile/asyncapi/message.js +13 -0
  37. package/lib/compile/asyncapi/utils.js +27 -0
  38. package/lib/compile/index.js +1 -0
  39. package/lib/compile/openapi/csdl2openapi.js +40 -18
  40. package/lib/import/message.js +3 -1
  41. package/lib/import/odata/metadataconverter/MetadataConverter.js +1 -1
  42. package/lib/import/odata/v2parser.js +131 -50
  43. package/lib/import/odata/v4parser.js +160 -68
  44. package/lib/import/openapi/importOpenAPI.js +14 -14
  45. package/lib/init/constants.js +1 -1
  46. package/lib/init/index.js +11 -21
  47. package/lib/init/template/_merging/registry-mta.js +15 -26
  48. package/lib/init/template/approuter/files/package.json +2 -2
  49. package/lib/init/template/approuter/index.js +6 -12
  50. package/lib/init/template/auditlog/files/auditlog.yaml +4 -1
  51. package/lib/init/template/auditlog/index.js +23 -8
  52. package/lib/init/template/cf-manifest/index.js +4 -14
  53. package/lib/init/template/connectivity/files/connectivity-proxy-info.yaml +2 -6
  54. package/lib/init/template/connectivity/files/values.yaml.hbs +5 -8
  55. package/lib/init/template/connectivity/index.js +2 -9
  56. package/lib/init/template/data/index.js +0 -4
  57. package/lib/init/template/destinations/files/destination.yaml +4 -1
  58. package/lib/init/template/destinations/index.js +25 -10
  59. package/lib/init/template/enterprise-messaging/files/event-mesh.yaml +4 -1
  60. package/lib/init/template/enterprise-messaging/files/values.yaml +1 -2
  61. package/lib/init/template/enterprise-messaging/index.js +28 -20
  62. package/lib/init/template/extensibility/index.js +23 -31
  63. package/lib/init/template/hana/files/hana.yaml +4 -1
  64. package/lib/init/template/hana/index.js +44 -24
  65. package/lib/init/template/helm/chart/templates/_helpers.tpl +12 -0
  66. package/lib/init/template/helm/chart/values.root.schema.json +40 -0
  67. package/lib/init/template/helm/chart/values.schema.json +32 -69
  68. package/lib/init/template/helm/index.js +26 -16
  69. package/lib/init/template/helm/subcharts/content-deployment/templates/_helpers.tpl +13 -26
  70. package/lib/init/template/helm/subcharts/content-deployment/templates/job.yaml +3 -3
  71. package/lib/init/template/helm/subcharts/content-deployment/templates/service-account.yaml +2 -0
  72. package/lib/init/template/helm/subcharts/content-deployment/templates/service-binding.yaml +3 -3
  73. package/lib/init/template/helm/subcharts/content-deployment/templating.md +37 -0
  74. package/lib/init/template/helm/subcharts/content-deployment/values.md +182 -185
  75. package/lib/init/template/helm/subcharts/content-deployment/values.schema.json +18 -22
  76. package/lib/init/template/helm/subcharts/content-deployment/values.yaml +2 -0
  77. package/lib/init/template/helm/subcharts/service-instance/Chart.yaml +5 -0
  78. package/lib/init/template/helm/subcharts/service-instance/templates/_helpers.tpl +65 -0
  79. package/lib/init/template/helm/subcharts/service-instance/templates/serviceinstance.yaml +23 -0
  80. package/lib/init/template/helm/subcharts/service-instance/templating.md +18 -0
  81. package/lib/init/template/helm/subcharts/service-instance/values-lint.yaml +2 -0
  82. package/lib/init/template/helm/subcharts/service-instance/values.md +186 -0
  83. package/lib/init/template/helm/subcharts/service-instance/values.schema.json +102 -0
  84. package/lib/init/template/helm/subcharts/service-instance/values.yaml +15 -0
  85. package/lib/init/template/html5-repo/files/html5-apps-repo-host.yaml +4 -1
  86. package/lib/init/template/html5-repo/index.js +30 -21
  87. package/lib/init/template/java/index.js +2 -5
  88. package/lib/init/template/kibana-logging/index.js +7 -10
  89. package/lib/init/template/lint/index.js +2 -3
  90. package/lib/init/template/mta/files/mta.yaml.hbs +4 -2
  91. package/lib/init/template/mta/index.js +7 -11
  92. package/lib/init/template/mtx/index.js +0 -5
  93. package/lib/init/template/multitenancy/files/java/package.json +16 -7
  94. package/lib/init/template/multitenancy/files/mta.yaml.hbs +11 -3
  95. package/lib/init/template/multitenancy/files/saas-registry-secret.yaml +9 -0
  96. package/lib/init/template/multitenancy/files/saas-registry.yaml +4 -17
  97. package/lib/init/template/multitenancy/files/service-manager.yaml +4 -1
  98. package/lib/init/template/multitenancy/files/values.yaml.hbs +15 -3
  99. package/lib/init/template/multitenancy/index.js +56 -31
  100. package/lib/init/template/nodejs/index.js +4 -7
  101. package/lib/init/template/notebook/index.js +1 -3
  102. package/lib/init/template/pipeline/index.js +2 -5
  103. package/lib/init/template/samples/index.js +6 -11
  104. package/lib/init/template/templateBase.js +10 -17
  105. package/lib/init/template/toggles/index.js +2 -6
  106. package/lib/init/template/xsuaa/files/values.yaml.hbs +0 -1
  107. package/lib/init/template/xsuaa/files/xsuaa.yaml +4 -1
  108. package/lib/init/template/xsuaa/index.js +27 -23
  109. package/lib/init/types.d.ts +0 -81
  110. package/lib/init/util/merge.js +23 -25
  111. package/lib/init/util/projectReader.js +27 -24
  112. package/lib/lint/Linter.js +31 -13
  113. package/lib/watch/livereload-server.js +21 -14
  114. package/lib/watch/node-watch.js +51 -49
  115. package/npm-shrinkwrap.json +546 -453
  116. package/package.json +2 -2
  117. package/readme.md +5 -0
  118. package/lib/init/template/connectivity/files/connectivity-binding.yaml +0 -9
  119. package/lib/init/template/connectivity/files/connectivity.yaml +0 -1
  120. package/lib/init/template/multitenancy/files/xsuaa.yaml +0 -1
  121. /package/lib/init/template/hana/files/{chart.yaml → hana-deployer.yaml} +0 -0
  122. /package/lib/init/template/html5-repo/files/{chart.yaml → html5-apps-deployer.yaml} +0 -0
  123. /package/lib/init/template/multitenancy/files/{chart.yaml → sidecar.yaml} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "6.5.1",
3
+ "version": "6.6.0",
4
4
  "description": "Command line client and development toolkit for the SAP Cloud Application Programming Model",
5
5
  "homepage": "https://cap.cloud.sap/",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "axios": ">=0.21",
24
24
  "eslint": "^8",
25
25
  "express": "^4.17.1",
26
- "livereload-js": "^3.3.1",
26
+ "livereload-js": "^4.0.0",
27
27
  "md5": "^2.3.0",
28
28
  "mustache": "^4.0.1",
29
29
  "node-watch": ">=0.7",
package/readme.md CHANGED
@@ -4,5 +4,10 @@ The command line client and development toolkit for the [SAP Cloud Application P
4
4
 
5
5
  See the [documentation](https://cap.cloud.sap/docs/get-started/) for more details.
6
6
 
7
+ ## How to Obtain Support**
8
+
9
+ In case you find a bug, please report an [incident](https://cap.cloud.sap/docs/resources/#reporting-incidents) on SAP Support Portal.
10
+
7
11
  ## License
12
+
8
13
  This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3_1.txt).
@@ -1,9 +0,0 @@
1
- {{- include "cap.sapcp.bindings" (merge
2
- (dict "bindings"
3
- (dict "binding"
4
- (dict "serviceInstanceName" "connectivity")
5
- )
6
- "root" .
7
- "name" "connectivity"
8
- ) . )
9
- }}
@@ -1 +0,0 @@
1
- {{- include "cap.service-instance" . }}
@@ -1 +0,0 @@
1
- {{- include "cap.service-instance" . }}