Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade all components to cds8 #345

Merged
merged 14 commits into from
Jul 19, 2024
7 changes: 4 additions & 3 deletions db/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
StefanHenke marked this conversation as resolved.
Show resolved Hide resolved
"name": "deploy",
"dependencies": {
"@sap/hdi-deploy": "4.8.2"
"hdb": "^0",
"@sap/hdi-deploy": "^5"
},
"engines": {
"node": "^18"
"node": "^18 || ^20"
beckermarc marked this conversation as resolved.
Show resolved Hide resolved
},
"scripts": {
"start": "node node_modules/@sap/hdi-deploy/deploy.js",
"start": "node node_modules/@sap/hdi-deploy/deploy.js --use-hdb",
"build": "npm i && npx cds build .. --for hana --production"
}
}
16 changes: 7 additions & 9 deletions mtx/sidecar/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
{
"dependencies": {
"@sap/cds": "^7",
"@sap/cds-mtxs": "^1",
"@sap/xssec": "^3",
"express": "^4",
"hdb": "^0",
"passport": "^0",
"@sap/hdi-deploy": "4.8.2"
"@cap-js/hana": "^1",
"@sap/cds": "^8",
"@sap/cds-mtxs": "^2",
"@sap/xssec": "^4",
"express": "^4"
},
"devDependencies": {
"sqlite3": "^5"
"@cap-js/sqlite": "^1"
},
"engines": {
"node": "^18"
"node": "^18 || ^20"
beckermarc marked this conversation as resolved.
Show resolved Hide resolved
},
"cds": {
"profiles": ["mtx-sidecar", "java"],
Expand Down
2 changes: 1 addition & 1 deletion srv/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<goal>npm</goal>
</goals>
<configuration>
<arguments>install @sap/cds-dk@${cds.install-cdsdk.version} @sap/cds-mtxs@^2 --no-save</arguments>
<arguments>install @sap/cds-dk@${cds.install-cdsdk.version} @sap/cds-mtxs@^2 --ignore-scripts --no-save</arguments>
mofterdinger marked this conversation as resolved.
Show resolved Hide resolved
</configuration>
</execution>

Expand Down
1 change: 1 addition & 0 deletions srv/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cds:
odata-v4:
endpoint.path: "/api"
security:
authentication.normalize-provider-tenant: true
mofterdinger marked this conversation as resolved.
Show resolved Hide resolved
mock.users:
admin:
password: admin
Expand Down
Loading