Skip to content

Commit 66e1c4c

Browse files
authored
chore: SAP Cloud Application Event Hub and fixed tests (#12)
* chore: SAP Cloud Application Event Hub * no version in peerDependency * fixed tests
1 parent 05150d1 commit 66e1c4c

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## About this project
88

9-
CDS plugin providing integration with SAP Event Broker.
9+
CDS plugin providing integration with SAP Cloud Application Event Hub (technical name: `event-broker`).
1010

1111

1212

@@ -37,7 +37,7 @@ npm add @cap-js/event-broker
3737

3838
Please follow the [guide on messaging](https://cap.cloud.sap/docs/guides/messaging/) to get an overview over the messaging concepts of CAP.
3939

40-
You can create an SAP Event Broker service with the following configuration:
40+
You can create an SAP Cloud Application Event Hub service with the following configuration:
4141

4242
```jsonc
4343
{

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@sap/cds": ">=7"
2222
},
2323
"devDependencies": {
24+
"@cap-js/event-broker": "file:.",
2425
"@sap-cloud-sdk/resilience": "^3.21.0",
2526
"@sap/xssec": "^4.2.4"
2627
},

tests/event-broker-ias-multitenant/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "event-broker-mock-app",
33
"dependencies": {
4-
"@cap-js/event-broker": ".."
4+
"@cap-js/event-broker": "*"
55
},
66
"cds": {
77
"requires": {
88
"multitenancy": true,
99
"messaging": {
10-
"kind": "event-broker-internal"
10+
"kind": "event-broker-internal",
11+
"outbox": false
1112
},
1213
"auth": {
1314
"kind": "ias",

tests/event-broker-ias-single-tenant/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"cds": {
77
"requires": {
88
"messaging": {
9-
"kind": "event-broker"
9+
"kind": "event-broker",
10+
"outbox": false
1011
},
1112
"auth": {
1213
"kind": "ias",

tests/event-broker-x509-multitenant/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"multitenancy": true,
99
"messaging": {
1010
"kind": "event-broker-internal",
11+
"outbox": false,
1112
"x509": {
1213
"cert": "$myCert",
1314
"pkey": "$myPkey"

0 commit comments

Comments
 (0)