Skip to content

Commit 156a9ce

Browse files
dependabot[bot]deekshas8cloud-sdk-js
authored
chore(deps-dev): bump @sap/cds-dk from 7.9.4 to 8.4.1 (#5171)
* chore(deps-dev): bump @sap/cds-dk from 7.9.4 to 8.4.1 Bumps [@sap/cds-dk](https://cap.cloud.sap/) from 7.9.4 to 8.4.1. --- updated-dependencies: - dependency-name: "@sap/cds-dk" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * remove resolution * Changes from lint:fix * try * Changes from lint:fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: deekshas8 <[email protected]> Co-authored-by: cloud-sdk-js <[email protected]>
1 parent 224094b commit 156a9ce

File tree

8 files changed

+267
-145
lines changed

8 files changed

+267
-145
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
"typescript": "~5.6.3"
119119
},
120120
"resolutions": {
121-
"@sap/cds": "^6.1.1",
122121
"color-string": ">=1.5.5",
123122
"detective-postcss": "^6.1.0",
124123
"dot-prop": "^6.0.1",

test-packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"@sap-cloud-sdk/test-services-e2e": "^3.23.0",
3535
"@sap-cloud-sdk/test-services-openapi": "^3.23.0",
3636
"@sap-cloud-sdk/util": "^3.23.0",
37-
"@sap/cds": "^8.4.2",
38-
"@sap/cds-dk": "7.9.4",
37+
"@sap/cds": "^8.4.1",
38+
"@sap/cds-dk": "8.4.1",
3939
"axios": "^1.7.7",
4040
"execa": "^5.0.0",
4141
"express": "^4.21.1",

test-packages/e2e-tests/srv/test-service.cds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using { cloudsdk.test as cloudsdk } from '../db/schema';
22

3-
@path : 'test-service'
3+
@path : '/test-service'
44
service TestService {
55

66
define type MyComplexReturnType {

test-packages/e2e-tests/srv/test-service.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = async srv => {
1111
// bound function
1212
srv.on('getStringProperty', 'TestEntity', async oRequest => {
1313
const entity = await cds
14-
.transaction(oRequest)
14+
.tx(oRequest)
1515
.run(SELECT.one.from(oRequest.query.SELECT.from));
1616
oRequest.reply(entity.StringProperty);
1717
});
@@ -62,10 +62,10 @@ module.exports = async srv => {
6262
// bound action
6363
srv.on('deleteEntity', 'TestEntity', async oRequest => {
6464
const entity = await cds
65-
.transaction(oRequest)
65+
.tx(oRequest)
6666
.run(SELECT.one.from(oRequest.query.SELECT.from));
6767
await cds
68-
.transaction(oRequest)
68+
.tx(oRequest)
6969
.run(DELETE.from(TestEntity).byKey(entity.KeyTestEntity));
7070
oRequest.reply(entity.KeyTestEntity);
7171
});
@@ -129,23 +129,23 @@ module.exports = async srv => {
129129
srv.on('createTestEntityById', async oRequest => {
130130
const id = oRequest.data.id;
131131
await cds
132-
.transaction(oRequest)
132+
.tx(oRequest)
133133
.run(INSERT.into(TestEntity).columns('KeyTestEntity').values(id));
134134
oRequest.reply({ KeyTestEntity: id });
135135
});
136136

137137
srv.on('createTestEntityByIdReturnId', async oRequest => {
138138
const id = oRequest.data.id;
139139
await cds
140-
.transaction(oRequest)
140+
.tx(oRequest)
141141
.run(INSERT.into(TestEntity).columns('KeyTestEntity').values(id));
142142
oRequest.reply(id);
143143
});
144144

145145
srv.on('createTestEntityReturnId', async oRequest => {
146146
const param = oRequest.data.param;
147147
await cds
148-
.transaction(oRequest)
148+
.tx(oRequest)
149149
.run(
150150
INSERT.into(TestEntity)
151151
.columns('KeyTestEntity')

test-packages/e2e-tests/test/proxy/odata.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const onPremDestination: HttpDestination = {
2020
proxyType: 'OnPremise',
2121
// NoAuthentication is not possible with OnPremise proxy type.
2222
authentication: 'BasicAuthentication',
23-
username: '',
24-
password: '',
23+
username: 'username',
24+
password: 'password',
2525
proxyConfiguration: {
2626
host: proxyHost,
2727
port: proxyPort,

test-packages/e2e-tests/test/proxy/proxy-server-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const proxyPort = 3100;
22
const proxyHost = 'localhost';
33
const proxyUser = 'user';
44
const proxyPassword = 'password';
5-
const proxyBearAuth = 'Bear jwt';
5+
const proxyBearAuth = 'Bearer jwt';
66
const proxyBasicAuth = 'Basic dXNlcjpwYXNzd29yZA==';
77

88
module.exports = {

test-packages/e2e-tests/test/request-builder.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function createEntity(key: number) {
2626
.stringProperty('someValue')
2727
.dateProperty(moment(0))
2828
.timeOfDayProperty({ hours: 1, minutes: 2, seconds: 3 })
29-
.dataTimeOffsetDataTimeProperty(moment(0))
29+
// .dataTimeOffsetDataTimeProperty(moment(0))
3030
.build();
3131
return requestBuilder.create(dataForCreation).execute(destination);
3232
}

0 commit comments

Comments
 (0)