@sap/cds-dk 9.4.3 → 9.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 (168) hide show
  1. package/CHANGELOG.md +115 -0
  2. package/bin/compile/index.js +1 -1
  3. package/bin/env.js +3 -3
  4. package/bin/export.js +1 -1
  5. package/bin/help.js +0 -1
  6. package/bin/import.js +8 -3
  7. package/bin/repl.js +7 -11
  8. package/bin/up.js +159 -23
  9. package/bin/util/containerize.js +79 -25
  10. package/bin/version.js +4 -4
  11. package/lib/bind/k8s.js +1 -1
  12. package/lib/build/plugins/helm/files/templates/_deployment_helpers.tpl +1 -1
  13. package/lib/build/plugins/helm/index.js +1 -1
  14. package/lib/build/provider/hana/2migration.js +16 -24
  15. package/lib/build/provider/hana/index.js +1 -1
  16. package/lib/build/provider/hana/template/.hdiconfig-all +7 -1
  17. package/lib/build/provider/hana/template/package.json +1 -1
  18. package/lib/build/provider/internalBuildPlugin.js +15 -1
  19. package/lib/build/provider/java/index.js +12 -1
  20. package/lib/build/provider/mtx-sidecar/index.js +2 -1
  21. package/lib/build/provider/nodejs/index.js +2 -1
  22. package/lib/build/util.js +36 -19
  23. package/lib/compile/to_openapi.js +1 -5
  24. package/lib/import/common.js +9 -2
  25. package/lib/import/odata/ParserContext.js +1 -0
  26. package/lib/import/odata/v4parser.js +57 -25
  27. package/lib/import/openapi/importOpenAPI.js +6 -1
  28. package/lib/init/constants.js +1 -1
  29. package/lib/init/index.js +20 -6
  30. package/lib/init/merge.js +16 -0
  31. package/lib/init/projectReader.js +34 -8
  32. package/lib/init/registries/mta.js +2 -2
  33. package/lib/init/template/ams/index.js +3 -3
  34. package/lib/init/template/app-frontend/files/app-package.json.hbs +1 -7
  35. package/lib/init/template/app-frontend/files/ui5.yaml.hbs +21 -1
  36. package/lib/init/template/app-frontend/index.js +2 -6
  37. package/lib/init/template/application-logging/index.js +11 -16
  38. package/lib/init/template/approuter/files/mta.yaml.hbs +0 -2
  39. package/lib/init/template/approuter/index.js +13 -10
  40. package/lib/init/template/attachments/index.js +4 -2
  41. package/lib/init/template/audit-logging/index.js +4 -2
  42. package/lib/init/template/cloud-logging/index.js +6 -5
  43. package/lib/init/template/connectivity/index.js +2 -2
  44. package/lib/init/template/console/files/package.json +5 -0
  45. package/lib/init/template/console/index.js +25 -0
  46. package/lib/init/template/containerize/index.js +4 -6
  47. package/lib/init/template/data/as-json.js +18 -20
  48. package/lib/init/template/destination/index.js +4 -2
  49. package/lib/init/template/dynatrace/files/package.json.hbs +2 -2
  50. package/lib/init/template/dynatrace/index.js +4 -4
  51. package/lib/init/template/enterprise-messaging/files/mta.yaml.hbs +3 -1
  52. package/lib/init/template/enterprise-messaging/index.js +4 -2
  53. package/lib/init/template/enterprise-messaging-shared/index.js +4 -2
  54. package/lib/init/template/github-actions/files/workflows/cf.yaml.hbs +16 -1
  55. package/lib/init/template/github-actions/files/workflows/release.yaml.hbs +2 -2
  56. package/lib/init/template/github-actions/files/workflows/test.yaml.hbs +20 -0
  57. package/lib/init/template/github-actions/index.js +7 -10
  58. package/lib/init/template/hana/files/db/package.json +2 -2
  59. package/lib/init/template/hana/files/mta.yaml.hbs +0 -4
  60. package/lib/init/template/hana/index.js +7 -9
  61. package/lib/init/template/helm/index.js +8 -10
  62. package/lib/init/template/helm-unified-runtime/index.js +1 -4
  63. package/lib/init/template/html5-repo/files/app-package.json.hbs +1 -7
  64. package/lib/init/template/html5-repo/files/ui5.yaml.hbs +21 -1
  65. package/lib/init/template/html5-repo/index.js +14 -18
  66. package/lib/init/template/ias/files/values.yaml.hbs +6 -6
  67. package/lib/init/template/ias/index.js +13 -21
  68. package/lib/init/template/java/index.js +14 -0
  69. package/lib/init/template/kafka/index.js +4 -2
  70. package/lib/init/template/{containerize → kyma}/files/containerize.yaml.hbs +17 -2
  71. package/lib/init/template/kyma/index.js +129 -5
  72. package/lib/init/template/malware-scanner/files/mta.yaml.hbs +3 -1
  73. package/lib/init/template/malware-scanner/files/values.yaml +3 -1
  74. package/lib/init/template/malware-scanner/index.js +4 -2
  75. package/lib/init/template/multitenancy/files/mta.yaml.hbs +1 -3
  76. package/lib/init/template/multitenancy/files/values.yaml.hbs +8 -0
  77. package/lib/init/template/multitenancy/index.js +15 -7
  78. package/lib/init/template/nodejs/files/.vscode/extensions.json +0 -3
  79. package/lib/init/template/nodejs/files/package.json.hbs +1 -1
  80. package/lib/init/template/pipeline/files/app-package.json.hbs +1 -7
  81. package/lib/init/template/pipeline/files/ui5.yaml.hbs +21 -1
  82. package/lib/init/template/pipeline/index.js +1 -2
  83. package/lib/init/template/portal/files/mta.yaml.hbs +5 -3
  84. package/lib/init/template/portal/index.js +8 -8
  85. package/lib/init/template/postgres/index.js +2 -2
  86. package/lib/init/template/redis/index.js +2 -3
  87. package/lib/init/template/redis-messaging/index.js +2 -3
  88. package/lib/init/template/sample/files/_i18n/i18n_de.properties +21 -0
  89. package/lib/init/template/sample/files/_i18n/i18n_en.properties +21 -0
  90. package/lib/init/template/sample/files/_i18n/i18n_fr.properties +21 -0
  91. package/lib/init/template/sample/files/_i18n/messages_de.properties +34 -0
  92. package/lib/init/template/sample/files/_i18n/messages_en.properties +34 -0
  93. package/lib/init/template/sample/files/_i18n/messages_fr.properties +34 -0
  94. package/lib/init/template/sample/files/app/_i18n/i18n.properties +13 -25
  95. package/lib/init/template/sample/files/app/_i18n/i18n_de.properties +13 -25
  96. package/lib/init/template/sample/files/app/admin-authors/fiori-service.cds +52 -0
  97. package/lib/init/template/sample/files/app/admin-authors/webapp/Component.js.hbs +3 -0
  98. package/lib/init/template/sample/files/app/admin-authors/webapp/i18n/i18n.properties +3 -0
  99. package/lib/init/template/sample/files/app/admin-authors/webapp/i18n/i18n_de.properties +3 -0
  100. package/lib/init/template/sample/files/app/admin-authors/webapp/i18n/i18n_en.properties +3 -0
  101. package/lib/init/template/sample/files/app/admin-authors/webapp/manifest.json +130 -0
  102. package/lib/init/template/sample/files/app/admin-books/fiori-service.cds +81 -88
  103. package/lib/init/template/sample/files/app/admin-books/webapp/Component.js.hbs +3 -0
  104. package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n.properties +3 -3
  105. package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n_de.properties +3 -3
  106. package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n_en.properties +3 -3
  107. package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +24 -48
  108. package/lib/init/template/sample/files/app/appconfig/fioriSandboxConfig.json +56 -5
  109. package/lib/init/template/sample/files/app/browse/fiori-service.cds +30 -30
  110. package/lib/init/template/sample/files/app/browse/webapp/Component.js.hbs +3 -0
  111. package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n.properties +3 -4
  112. package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n_de.properties +3 -3
  113. package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n_en.properties +3 -4
  114. package/lib/init/template/sample/files/app/browse/webapp/manifest.json +19 -24
  115. package/lib/init/template/sample/files/app/common.cds +127 -158
  116. package/lib/init/template/sample/files/app/fiori-apps.html +50 -0
  117. package/lib/init/template/sample/files/app/genres/fiori-service.cds +33 -0
  118. package/lib/init/template/sample/files/app/genres/tree-view.cds +42 -0
  119. package/lib/init/template/sample/files/app/genres/value-help.cds +6 -0
  120. package/lib/init/template/sample/files/app/genres/webapp/Component.js.hbs +3 -0
  121. package/lib/init/template/sample/files/app/genres/webapp/i18n/i18n.properties +3 -0
  122. package/lib/init/template/sample/files/app/genres/webapp/i18n/i18n_de.properties +3 -0
  123. package/lib/init/template/sample/files/app/genres/webapp/i18n/i18n_en.properties +3 -0
  124. package/lib/init/template/sample/files/app/genres/webapp/manifest.json +126 -0
  125. package/lib/init/template/sample/files/app/services.cds +6 -2
  126. package/lib/init/template/sample/files/db/currencies.cds +13 -0
  127. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Books.csv +5 -5
  128. package/lib/init/template/sample/files/db/data/{sap.capire.bookshop-Books_texts.csv → sap.capire.bookshop-Books.texts.csv} +4 -4
  129. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Genres.csv +42 -15
  130. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Genres.texts.csv +43 -0
  131. package/lib/init/template/sample/files/db/data/sap.common-Currencies.csv +12 -0
  132. package/lib/init/template/sample/files/db/data/sap.common-Currencies.texts.csv +15 -0
  133. package/lib/init/template/sample/files/db/hana/index.cds +10 -0
  134. package/lib/init/template/sample/files/db/schema.cds +35 -22
  135. package/lib/init/template/sample/files/db/sqlite/index.cds +10 -0
  136. package/lib/init/template/sample/files/package.json.hbs +14 -1
  137. package/lib/init/template/sample/files/srv/access-control.cds +3 -0
  138. package/lib/init/template/sample/files/srv/admin-service.cds +3 -2
  139. package/lib/init/template/sample/files/srv/cat-service.cds +7 -11
  140. package/lib/init/template/sample/index.js +40 -18
  141. package/lib/init/template/sqlite/files/package.json.hbs +13 -0
  142. package/lib/init/template/sqlite/index.js +1 -1
  143. package/lib/init/template/telemetry/index.js +1 -3
  144. package/lib/init/template/typescript/files/package.json +1 -1
  145. package/lib/init/template/workzone-standard/files/mta.yaml.hbs +0 -5
  146. package/lib/init/template/workzone-standard/index.js +0 -1
  147. package/lib/init/template/xsuaa/files/mta.yaml.hbs +4 -0
  148. package/lib/init/template/xsuaa/index.js +7 -6
  149. package/lib/lint/Linter.js +10 -4
  150. package/lib/lint/eslintHelp.json +1 -1
  151. package/lib/mtx/tenant_action.js +12 -4
  152. package/lib/util/checksum.js +41 -0
  153. package/lib/util/fs.js +8 -1
  154. package/lib/util/glob.js +26 -13
  155. package/lib/util/question.js +60 -7
  156. package/npm-shrinkwrap.json +141 -118
  157. package/package.json +2 -2
  158. package/lib/init/template/app-frontend/files/ui5-deploy.yaml.hbs +0 -25
  159. package/lib/init/template/github-actions/files/cf-setup/action.yaml +0 -53
  160. package/lib/init/template/html5-repo/files/ui5-deploy.yaml.hbs +0 -25
  161. package/lib/init/template/pipeline/files/ui5-deploy.yaml.hbs +0 -25
  162. package/lib/init/template/sample/files/app/admin-books/webapp/Component.js +0 -8
  163. package/lib/init/template/sample/files/app/browse/webapp/Component.js +0 -7
  164. package/lib/init/template/sample/files/app/index.html +0 -32
  165. package/lib/init/template/sqlite/files/package.json +0 -5
  166. /package/lib/init/template/{helm → kyma}/files/Chart.yaml.hbs +0 -0
  167. /package/lib/init/template/{helm → kyma}/files/values.schema.json +0 -0
  168. /package/lib/init/template/{helm → kyma}/files/values.yaml.hbs +0 -0
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "9.4.3",
3
+ "version": "9.6.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "9.4.3",
9
+ "version": "9.6.0",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@cap-js/asyncapi": "^1.0.0",
@@ -16,7 +16,7 @@
16
16
  "@sap/hdi-deploy": "^5",
17
17
  "axios": "^1",
18
18
  "express": "^4.17.3",
19
- "hdb": "^0",
19
+ "hdb": "^2.0.0",
20
20
  "livereload-js": "^4.0.1",
21
21
  "mustache": "^4.0.1",
22
22
  "node-watch": ">=0.7",
@@ -42,20 +42,20 @@
42
42
  }
43
43
  },
44
44
  "node_modules/@cap-js/db-service": {
45
- "version": "2.6.0",
46
- "integrity": "sha512-t72/FcAYFbPdx+5iV+lVKcwF2MLOx8II3jJdlC1dX/KXQORoS3wDFwWbakP0f/eharE5hfa7KMFJqrSMtDigbQ==",
45
+ "version": "2.8.0",
46
+ "integrity": "sha512-Ub+ywq2Nk5UmKH5pZnqZ7qC37DIRfF9IhOozjByhevjB/j7A6p9SpLkTwElSEMkhPSJnRYafILOGde1XH/wseQ==",
47
47
  "devOptional": true,
48
48
  "license": "Apache-2.0",
49
49
  "dependencies": {
50
50
  "generic-pool": "^3.9.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@sap/cds": ">=9"
53
+ "@sap/cds": ">=9.4.5"
54
54
  }
55
55
  },
56
56
  "node_modules/@cap-js/openapi": {
57
- "version": "1.2.3",
58
- "integrity": "sha512-UnEUBrBIjMvYYJTtAmSrnWLKIjnaK9KcCS6pPoVBRgZrMaL0bl/aB3KMH4xzc6LWjtbxzlyI71XC7No4+SKerg==",
57
+ "version": "1.3.0",
58
+ "integrity": "sha512-bLb7BadSA8cqcYJLXDgZ6lrDlk8SaAb2amSZY3pi9rd02yCJI3a2Z4a3F2HFXhX0C9ioC22IRd6Yf5mE0fDAfQ==",
59
59
  "license": "Apache-2.0",
60
60
  "dependencies": {
61
61
  "pluralize": "^8.0.0"
@@ -65,12 +65,12 @@
65
65
  }
66
66
  },
67
67
  "node_modules/@cap-js/sqlite": {
68
- "version": "2.0.4",
69
- "integrity": "sha512-QPVkycLJG6EubtjrPeiK4dTI1zPH/nabvhiYnTeg2AbeQ8mbazm5pjmcLrzOOKF/5bGS8KQo2J+49fU5LPRR3A==",
68
+ "version": "2.1.1",
69
+ "integrity": "sha512-6u4A3TQLbF5/of9JrtuNEva97wp5KOl6finhE4CaD4MgOp/uCVZFBb06wF3WYRF6ZhD8rMtgQ/PGv+sWfrLrVQ==",
70
70
  "license": "Apache-2.0",
71
71
  "optional": true,
72
72
  "dependencies": {
73
- "@cap-js/db-service": "^2.6.0",
73
+ "@cap-js/db-service": "^2.8.0",
74
74
  "better-sqlite3": "^12.0.0"
75
75
  },
76
76
  "peerDependencies": {
@@ -78,8 +78,8 @@
78
78
  }
79
79
  },
80
80
  "node_modules/@eslint/js": {
81
- "version": "9.38.0",
82
- "integrity": "sha512-UZ1VpFvXf9J06YG9xQBdnzU+kthors6KjhMAl6f4gH4usHyh31rUf2DLGInT8RFYIReYXNSydgPY0V2LuWgl7A==",
81
+ "version": "9.39.2",
82
+ "integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==",
83
83
  "license": "MIT",
84
84
  "peer": true,
85
85
  "engines": {
@@ -90,13 +90,13 @@
90
90
  }
91
91
  },
92
92
  "node_modules/@sap/cds": {
93
- "version": "9.4.4",
94
- "integrity": "sha512-JJCHeEJF4xzFyZSf2ToocvVE9dyHfNLTRXOauOxlmpfyaLg97G7Qp+L4bD132eB0onBG9bQj3eH8DzBm0hVvIw==",
93
+ "version": "9.6.0",
94
+ "integrity": "sha512-KZdAQZl8B2hvY71eh0FlXezTMuAsFILNgPZwqcT45ibAU4GSQB1eDc51jqA3t6UnpWN+jLSZDYNOagpztBkwJg==",
95
95
  "license": "SEE LICENSE IN LICENSE",
96
96
  "dependencies": {
97
97
  "@sap/cds-compiler": "^6.3",
98
98
  "@sap/cds-fiori": "^2",
99
- "js-yaml": "^4.1.0"
99
+ "js-yaml": "^4.1.1"
100
100
  },
101
101
  "bin": {
102
102
  "cds-deploy": "bin/deploy.js",
@@ -120,8 +120,8 @@
120
120
  }
121
121
  },
122
122
  "node_modules/@sap/cds-compiler": {
123
- "version": "6.4.6",
124
- "integrity": "sha512-auAjRh9t0KKj4LiGAr/fxikZRIngx9YXVHTJWf0LeaGv0ZpYOi6iWbSnU1XRB2e6hsf+Ou1w5oTOHooC5sZfog==",
123
+ "version": "6.6.0",
124
+ "integrity": "sha512-cttVQhuzobLsnaGjmCz6gOXdUdHRawTbUK8UsUPnOIOboAOJRvLbrX4RF/iY6VxewpupDcx+FhfDCbAupO3EwQ==",
125
125
  "license": "SEE LICENSE IN LICENSE",
126
126
  "bin": {
127
127
  "cdsc": "bin/cdsc.js",
@@ -142,8 +142,8 @@
142
142
  }
143
143
  },
144
144
  "node_modules/@sap/cds-mtxs": {
145
- "version": "3.4.3",
146
- "integrity": "sha512-vgABFr7huaKWGx2fWHeGom5bVgsQKD7/gqkC7aQ/7yC9hdZdrx0mz4iZ0ASHUZ5PZWp2FWLD+eaJ9sXKUGHgpA==",
145
+ "version": "3.6.1",
146
+ "integrity": "sha512-/iIhdlBU8cH5ki8UhBpgBUmPaWx+IeZYqLttqbY56VTj0ZoMKdFYiapdrTQjZCQu4M83baj/Y4Mv+u1a4QoBcg==",
147
147
  "license": "SEE LICENSE IN LICENSE",
148
148
  "dependencies": {
149
149
  "@sap/hdi-deploy": "^5"
@@ -180,12 +180,12 @@
180
180
  }
181
181
  },
182
182
  "node_modules/@sap/hdi-deploy": {
183
- "version": "5.5.1",
184
- "integrity": "sha512-5r9SIkXX7cO+MwRFF32O566sMx6LP1mLin0eT9F+Adqy+0SrdwkWv4JslQzYetiWLuNsfqQljcao62alaxts8A==",
183
+ "version": "5.6.0",
184
+ "integrity": "sha512-FVHuNB664eFVWn1yTfKIZUdo3CCur3HFV8VEblBupVDK2s8PPwgMqjSw56gCo4lLOyvy7xVi9yyWOHIxoSjz4Q==",
185
185
  "license": "See LICENSE file",
186
186
  "dependencies": {
187
187
  "@sap/hdi": "^4.8.0",
188
- "@sap/xsenv": "^5.2.0",
188
+ "@sap/xsenv": "^6.0.0",
189
189
  "async": "^3.2.6",
190
190
  "dotenv": "^16.4.5",
191
191
  "handlebars": "^4.7.8",
@@ -208,16 +208,16 @@
208
208
  }
209
209
  },
210
210
  "node_modules/@sap/xsenv": {
211
- "version": "5.6.1",
212
- "integrity": "sha512-4pDpsYLNJsLUBWtTSG+TJ8ul5iY0dWDyJgTy2H/WZGZww9CSPLP/39x+syDDTjkggsmZAlo9t7y9TiXMmtAunw==",
211
+ "version": "6.0.0",
212
+ "integrity": "sha512-9bNpJXmxndWn5JbRCPPtbeMqldXOn2Od17ybS92PHd1rNkZ80IMmOURHNct5YSVQ1MKBIDAyC+ck6VL7cVAfUA==",
213
213
  "license": "SEE LICENSE IN LICENSE file",
214
214
  "dependencies": {
215
- "debug": "4.4.0",
215
+ "debug": "4.4.1",
216
216
  "node-cache": "^5.1.2",
217
217
  "verror": "1.10.1"
218
218
  },
219
219
  "engines": {
220
- "node": "^18.0.0 || ^20.0.0 || ^22.0.0"
220
+ "node": "^20.0.0 || ^22.0.0 || ^24.0.0"
221
221
  }
222
222
  },
223
223
  "node_modules/accepts": {
@@ -261,8 +261,8 @@
261
261
  "license": "MIT"
262
262
  },
263
263
  "node_modules/axios": {
264
- "version": "1.13.1",
265
- "integrity": "sha512-hU4EGxxt+j7TQijx1oYdAjw4xuIp1wRQSsbMFwSthCWeBQur1eF+qJ5iQ5sN3Tw8YRzQNKb8jszgBdMDVqwJcw==",
264
+ "version": "1.13.2",
265
+ "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==",
266
266
  "license": "MIT",
267
267
  "dependencies": {
268
268
  "follow-redirects": "^1.15.6",
@@ -291,8 +291,8 @@
291
291
  "optional": true
292
292
  },
293
293
  "node_modules/better-sqlite3": {
294
- "version": "12.4.1",
295
- "integrity": "sha512-3yVdyZhklTiNrtg+4WqHpJpFDd+WHTg2oM7UcR80GqL05AOV0xEJzc6qNvFYoEtE+hRp1n9MpN6/+4yhlGkDXQ==",
294
+ "version": "12.5.0",
295
+ "integrity": "sha512-WwCZ/5Diz7rsF29o27o0Gcc1Du+l7Zsv7SYtVPG0X3G/uUI1LqdxrQI7c9Hs2FWpqXXERjW9hp6g3/tH7DlVKg==",
296
296
  "hasInstallScript": true,
297
297
  "license": "MIT",
298
298
  "optional": true,
@@ -301,7 +301,7 @@
301
301
  "prebuild-install": "^7.1.1"
302
302
  },
303
303
  "engines": {
304
- "node": "20.x || 22.x || 23.x || 24.x"
304
+ "node": "20.x || 22.x || 23.x || 24.x || 25.x"
305
305
  }
306
306
  },
307
307
  "node_modules/bindings": {
@@ -325,22 +325,22 @@
325
325
  }
326
326
  },
327
327
  "node_modules/body-parser": {
328
- "version": "1.20.3",
329
- "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
328
+ "version": "1.20.4",
329
+ "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==",
330
330
  "license": "MIT",
331
331
  "dependencies": {
332
- "bytes": "3.1.2",
332
+ "bytes": "~3.1.2",
333
333
  "content-type": "~1.0.5",
334
334
  "debug": "2.6.9",
335
335
  "depd": "2.0.0",
336
- "destroy": "1.2.0",
337
- "http-errors": "2.0.0",
338
- "iconv-lite": "0.4.24",
339
- "on-finished": "2.4.1",
340
- "qs": "6.13.0",
341
- "raw-body": "2.5.2",
336
+ "destroy": "~1.2.0",
337
+ "http-errors": "~2.0.1",
338
+ "iconv-lite": "~0.4.24",
339
+ "on-finished": "~2.4.1",
340
+ "qs": "~6.14.0",
341
+ "raw-body": "~2.5.3",
342
342
  "type-is": "~1.6.18",
343
- "unpipe": "1.0.0"
343
+ "unpipe": "~1.0.0"
344
344
  },
345
345
  "engines": {
346
346
  "node": ">= 0.8",
@@ -475,16 +475,16 @@
475
475
  }
476
476
  },
477
477
  "node_modules/cookie": {
478
- "version": "0.7.1",
479
- "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
478
+ "version": "0.7.2",
479
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
480
480
  "license": "MIT",
481
481
  "engines": {
482
482
  "node": ">= 0.6"
483
483
  }
484
484
  },
485
485
  "node_modules/cookie-signature": {
486
- "version": "1.0.6",
487
- "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
486
+ "version": "1.0.7",
487
+ "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==",
488
488
  "license": "MIT"
489
489
  },
490
490
  "node_modules/core-util-is": {
@@ -493,8 +493,8 @@
493
493
  "license": "MIT"
494
494
  },
495
495
  "node_modules/debug": {
496
- "version": "4.4.0",
497
- "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
496
+ "version": "4.4.1",
497
+ "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
498
498
  "license": "MIT",
499
499
  "dependencies": {
500
500
  "ms": "^2.1.3"
@@ -676,38 +676,38 @@
676
676
  }
677
677
  },
678
678
  "node_modules/express": {
679
- "version": "4.21.2",
680
- "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
679
+ "version": "4.22.1",
680
+ "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==",
681
681
  "license": "MIT",
682
682
  "dependencies": {
683
683
  "accepts": "~1.3.8",
684
684
  "array-flatten": "1.1.1",
685
- "body-parser": "1.20.3",
686
- "content-disposition": "0.5.4",
685
+ "body-parser": "~1.20.3",
686
+ "content-disposition": "~0.5.4",
687
687
  "content-type": "~1.0.4",
688
- "cookie": "0.7.1",
689
- "cookie-signature": "1.0.6",
688
+ "cookie": "~0.7.1",
689
+ "cookie-signature": "~1.0.6",
690
690
  "debug": "2.6.9",
691
691
  "depd": "2.0.0",
692
692
  "encodeurl": "~2.0.0",
693
693
  "escape-html": "~1.0.3",
694
694
  "etag": "~1.8.1",
695
- "finalhandler": "1.3.1",
696
- "fresh": "0.5.2",
697
- "http-errors": "2.0.0",
695
+ "finalhandler": "~1.3.1",
696
+ "fresh": "~0.5.2",
697
+ "http-errors": "~2.0.0",
698
698
  "merge-descriptors": "1.0.3",
699
699
  "methods": "~1.1.2",
700
- "on-finished": "2.4.1",
700
+ "on-finished": "~2.4.1",
701
701
  "parseurl": "~1.3.3",
702
- "path-to-regexp": "0.1.12",
702
+ "path-to-regexp": "~0.1.12",
703
703
  "proxy-addr": "~2.0.7",
704
- "qs": "6.13.0",
704
+ "qs": "~6.14.0",
705
705
  "range-parser": "~1.2.1",
706
706
  "safe-buffer": "5.2.1",
707
- "send": "0.19.0",
708
- "serve-static": "1.16.2",
707
+ "send": "~0.19.0",
708
+ "serve-static": "~1.16.2",
709
709
  "setprototypeof": "1.2.0",
710
- "statuses": "2.0.1",
710
+ "statuses": "~2.0.1",
711
711
  "type-is": "~1.6.18",
712
712
  "utils-merge": "1.0.1",
713
713
  "vary": "~1.1.2"
@@ -759,16 +759,16 @@
759
759
  }
760
760
  },
761
761
  "node_modules/finalhandler": {
762
- "version": "1.3.1",
763
- "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
762
+ "version": "1.3.2",
763
+ "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==",
764
764
  "license": "MIT",
765
765
  "dependencies": {
766
766
  "debug": "2.6.9",
767
767
  "encodeurl": "~2.0.0",
768
768
  "escape-html": "~1.0.3",
769
- "on-finished": "2.4.1",
769
+ "on-finished": "~2.4.1",
770
770
  "parseurl": "~1.3.3",
771
- "statuses": "2.0.1",
771
+ "statuses": "~2.0.2",
772
772
  "unpipe": "~1.0.0"
773
773
  },
774
774
  "engines": {
@@ -808,8 +808,8 @@
808
808
  }
809
809
  },
810
810
  "node_modules/form-data": {
811
- "version": "4.0.4",
812
- "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
811
+ "version": "4.0.5",
812
+ "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",
813
813
  "license": "MIT",
814
814
  "dependencies": {
815
815
  "asynckit": "^0.4.0",
@@ -970,29 +970,51 @@
970
970
  }
971
971
  },
972
972
  "node_modules/hdb": {
973
- "version": "0.19.12",
974
- "integrity": "sha512-vv+cjmvr6fNH/s0Q2zOZc4sEjMpSC0KuacFn8dp3L38qM3RA2LLeX70wWhZLESpwvwUf1pQkRfUhZeooFSmv3A==",
973
+ "version": "2.26.3",
974
+ "integrity": "sha512-+fTSzgUZoThsQPlakxOYDYigkSAJfewr72y3cN8PLutGCugwym88A+7nV82+3bMYi/SaDB9JfIPPfi1Otv2iow==",
975
975
  "license": "Apache-2.0",
976
976
  "dependencies": {
977
- "iconv-lite": "^0.4.18"
977
+ "iconv-lite": "0.7.0"
978
978
  },
979
979
  "engines": {
980
- "node": ">= 0.12"
980
+ "node": ">= 18"
981
+ },
982
+ "optionalDependencies": {
983
+ "lz4-wasm-nodejs": "0.9.2"
984
+ }
985
+ },
986
+ "node_modules/hdb/node_modules/iconv-lite": {
987
+ "version": "0.7.0",
988
+ "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
989
+ "license": "MIT",
990
+ "dependencies": {
991
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
992
+ },
993
+ "engines": {
994
+ "node": ">=0.10.0"
995
+ },
996
+ "funding": {
997
+ "type": "opencollective",
998
+ "url": "https://opencollective.com/express"
981
999
  }
982
1000
  },
983
1001
  "node_modules/http-errors": {
984
- "version": "2.0.0",
985
- "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
1002
+ "version": "2.0.1",
1003
+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
986
1004
  "license": "MIT",
987
1005
  "dependencies": {
988
- "depd": "2.0.0",
989
- "inherits": "2.0.4",
990
- "setprototypeof": "1.2.0",
991
- "statuses": "2.0.1",
992
- "toidentifier": "1.0.1"
1006
+ "depd": "~2.0.0",
1007
+ "inherits": "~2.0.4",
1008
+ "setprototypeof": "~1.2.0",
1009
+ "statuses": "~2.0.2",
1010
+ "toidentifier": "~1.0.1"
993
1011
  },
994
1012
  "engines": {
995
1013
  "node": ">= 0.8"
1014
+ },
1015
+ "funding": {
1016
+ "type": "opencollective",
1017
+ "url": "https://opencollective.com/express"
996
1018
  }
997
1019
  },
998
1020
  "node_modules/iconv-lite": {
@@ -1054,8 +1076,8 @@
1054
1076
  }
1055
1077
  },
1056
1078
  "node_modules/js-yaml": {
1057
- "version": "4.1.0",
1058
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
1079
+ "version": "4.1.1",
1080
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
1059
1081
  "license": "MIT",
1060
1082
  "dependencies": {
1061
1083
  "argparse": "^2.0.1"
@@ -1069,6 +1091,12 @@
1069
1091
  "integrity": "sha512-Fy7VwgQNiOkynYyNBTo3v9hQUhcW5pFAheJN148+DTgpShjsy/22pLHKKwDK5v0kOsZsJBK+6q1PMgLvRmrwFQ==",
1070
1092
  "license": "MIT"
1071
1093
  },
1094
+ "node_modules/lz4-wasm-nodejs": {
1095
+ "version": "0.9.2",
1096
+ "integrity": "sha512-hSwgJPS98q/Oe/89Y1OxzeA/UdnASG8GvldRyKa7aZyoAFCC8VPRtViBSava7wWC66WocjUwBpWau2rEmyFPsw==",
1097
+ "license": "MIT",
1098
+ "optional": true
1099
+ },
1072
1100
  "node_modules/math-intrinsics": {
1073
1101
  "version": "1.1.0",
1074
1102
  "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
@@ -1213,8 +1241,8 @@
1213
1241
  "license": "MIT"
1214
1242
  },
1215
1243
  "node_modules/node-abi": {
1216
- "version": "3.79.0",
1217
- "integrity": "sha512-Pr/5KdBQGG8TirdkS0qN3B+f3eo8zTOfZQWAxHoJqopMz2/uvRnG+S4fWu/6AZxKei2CP2p/psdQ5HFC2Ap5BA==",
1244
+ "version": "3.85.0",
1245
+ "integrity": "sha512-zsFhmbkAzwhTft6nd3VxcG0cvJsT70rL+BIGHWVq5fi6MwGrHwzqKaxXE+Hl2GmnGItnDKPPkO5/LQqjVkIdFg==",
1218
1246
  "license": "MIT",
1219
1247
  "optional": true,
1220
1248
  "dependencies": {
@@ -1349,11 +1377,11 @@
1349
1377
  }
1350
1378
  },
1351
1379
  "node_modules/qs": {
1352
- "version": "6.13.0",
1353
- "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
1380
+ "version": "6.14.0",
1381
+ "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
1354
1382
  "license": "BSD-3-Clause",
1355
1383
  "dependencies": {
1356
- "side-channel": "^1.0.6"
1384
+ "side-channel": "^1.1.0"
1357
1385
  },
1358
1386
  "engines": {
1359
1387
  "node": ">=0.6"
@@ -1371,14 +1399,14 @@
1371
1399
  }
1372
1400
  },
1373
1401
  "node_modules/raw-body": {
1374
- "version": "2.5.2",
1375
- "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
1402
+ "version": "2.5.3",
1403
+ "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
1376
1404
  "license": "MIT",
1377
1405
  "dependencies": {
1378
- "bytes": "3.1.2",
1379
- "http-errors": "2.0.0",
1380
- "iconv-lite": "0.4.24",
1381
- "unpipe": "1.0.0"
1406
+ "bytes": "~3.1.2",
1407
+ "http-errors": "~2.0.1",
1408
+ "iconv-lite": "~0.4.24",
1409
+ "unpipe": "~1.0.0"
1382
1410
  },
1383
1411
  "engines": {
1384
1412
  "node": ">= 0.8"
@@ -1438,9 +1466,9 @@
1438
1466
  "license": "MIT"
1439
1467
  },
1440
1468
  "node_modules/sax": {
1441
- "version": "1.4.1",
1442
- "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==",
1443
- "license": "ISC"
1469
+ "version": "1.4.3",
1470
+ "integrity": "sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==",
1471
+ "license": "BlueOak-1.0.0"
1444
1472
  },
1445
1473
  "node_modules/semver": {
1446
1474
  "version": "7.7.3",
@@ -1455,23 +1483,23 @@
1455
1483
  }
1456
1484
  },
1457
1485
  "node_modules/send": {
1458
- "version": "0.19.0",
1459
- "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
1486
+ "version": "0.19.2",
1487
+ "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==",
1460
1488
  "license": "MIT",
1461
1489
  "dependencies": {
1462
1490
  "debug": "2.6.9",
1463
1491
  "depd": "2.0.0",
1464
1492
  "destroy": "1.2.0",
1465
- "encodeurl": "~1.0.2",
1493
+ "encodeurl": "~2.0.0",
1466
1494
  "escape-html": "~1.0.3",
1467
1495
  "etag": "~1.8.1",
1468
- "fresh": "0.5.2",
1469
- "http-errors": "2.0.0",
1496
+ "fresh": "~0.5.2",
1497
+ "http-errors": "~2.0.1",
1470
1498
  "mime": "1.6.0",
1471
1499
  "ms": "2.1.3",
1472
- "on-finished": "2.4.1",
1500
+ "on-finished": "~2.4.1",
1473
1501
  "range-parser": "~1.2.1",
1474
- "statuses": "2.0.1"
1502
+ "statuses": "~2.0.2"
1475
1503
  },
1476
1504
  "engines": {
1477
1505
  "node": ">= 0.8.0"
@@ -1490,23 +1518,15 @@
1490
1518
  "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
1491
1519
  "license": "MIT"
1492
1520
  },
1493
- "node_modules/send/node_modules/encodeurl": {
1494
- "version": "1.0.2",
1495
- "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
1496
- "license": "MIT",
1497
- "engines": {
1498
- "node": ">= 0.8"
1499
- }
1500
- },
1501
1521
  "node_modules/serve-static": {
1502
- "version": "1.16.2",
1503
- "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
1522
+ "version": "1.16.3",
1523
+ "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==",
1504
1524
  "license": "MIT",
1505
1525
  "dependencies": {
1506
1526
  "encodeurl": "~2.0.0",
1507
1527
  "escape-html": "~1.0.3",
1508
1528
  "parseurl": "~1.3.3",
1509
- "send": "0.19.0"
1529
+ "send": "~0.19.1"
1510
1530
  },
1511
1531
  "engines": {
1512
1532
  "node": ">= 0.8.0"
@@ -1639,8 +1659,8 @@
1639
1659
  }
1640
1660
  },
1641
1661
  "node_modules/statuses": {
1642
- "version": "2.0.1",
1643
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
1662
+ "version": "2.0.2",
1663
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
1644
1664
  "license": "MIT",
1645
1665
  "engines": {
1646
1666
  "node": ">= 0.8"
@@ -1833,14 +1853,17 @@
1833
1853
  }
1834
1854
  },
1835
1855
  "node_modules/yaml": {
1836
- "version": "2.8.1",
1837
- "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==",
1856
+ "version": "2.8.2",
1857
+ "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==",
1838
1858
  "license": "ISC",
1839
1859
  "bin": {
1840
1860
  "yaml": "bin.mjs"
1841
1861
  },
1842
1862
  "engines": {
1843
1863
  "node": ">= 14.6"
1864
+ },
1865
+ "funding": {
1866
+ "url": "https://github.com/sponsors/eemeli"
1844
1867
  }
1845
1868
  }
1846
1869
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "9.4.3",
3
+ "version": "9.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": [
@@ -24,7 +24,7 @@
24
24
  "@sap/hdi-deploy": "^5",
25
25
  "axios": "^1",
26
26
  "express": "^4.17.3",
27
- "hdb": "^0",
27
+ "hdb": "^2.0.0",
28
28
  "livereload-js": "^4.0.1",
29
29
  "mustache": "^4.0.1",
30
30
  "node-watch": ">=0.7",
@@ -1,25 +0,0 @@
1
- ---
2
- # yaml-language-server: $schema=https://sap.github.io/ui5-tooling/schema/ui5.yaml.json
3
- specVersion: '3.1'
4
- metadata:
5
- name: {{app}}
6
- type: application
7
- resources:
8
- configuration:
9
- propertiesFileSourceEncoding: UTF-8
10
- builder:
11
- resources:
12
- excludes:
13
- - "/test/**"
14
- - "/localService/**"
15
- customTasks:
16
- - name: ui5-task-zipper
17
- afterTask: generateVersionInfo
18
- configuration:
19
- archiveName: {{app}}
20
- additionalFiles:
21
- - xs-app.json
22
- {{#isTypescript}}
23
- - name: ui5-tooling-transpile-task
24
- afterTask: replaceVersion
25
- {{/isTypescript}}
@@ -1,53 +0,0 @@
1
- name: Cloud Foundry Setup
2
- description: "Installs dependencies for Cloud Foundry deployment"
3
-
4
- inputs:
5
- cf-version:
6
- description: "The version of the Cloud Foundry CLI to install"
7
- required: false
8
- default: "8.8.3"
9
- cf-api:
10
- description: "The Cloud Foundry API endpoint to connect to"
11
- required: true
12
- cf-org:
13
- description: "The Cloud Foundry organization to target"
14
- required: true
15
- cf-space:
16
- description: "The Cloud Foundry space to target"
17
- required: true
18
- cf-username:
19
- description: "The Cloud Foundry username to authenticate with"
20
- required: true
21
- cf-password:
22
- description: "The Cloud Foundry password to authenticate with"
23
- required: true
24
-
25
- runs:
26
- using: composite
27
- steps:
28
- - shell: bash
29
- run: |
30
- set -e
31
- echo "Using CF_VERSION=${{ inputs.cf-version }}"
32
- echo "Using CF_API=${{ inputs.cf-api }}"
33
- curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=${{ inputs.cf-version }}&source=github" -o cf-cli.tgz
34
- mkdir cf-cli && tar -xzf cf-cli.tgz -C cf-cli
35
- chmod +x cf-cli/cf
36
- echo "${PWD}/cf-cli" >> $GITHUB_PATH
37
-
38
- - shell: bash
39
- run: |
40
- echo "Installing MBT..."
41
- npm install -g mbt
42
-
43
- - shell: bash
44
- run: |
45
- echo "Installing CF CLI multiapps plugin..."
46
- cf install-plugin multiapps -f
47
-
48
- - shell: bash
49
- run: |
50
- echo "Authenticating to Cloud Foundry..."
51
- cf api "${{ inputs.cf-api }}"
52
- cf auth "${{ inputs.cf-username }}" "${{ inputs.cf-password }}"
53
- cf target -o "${{ inputs.cf-org }}" -s "${{ inputs.cf-space }}"