Skip to content

Commit

Permalink
chore: SAP Cloud Application Event Hub and fixed tests (#12)
Browse files Browse the repository at this point in the history
* chore: SAP Cloud Application Event Hub

* no version in peerDependency

* fixed tests
  • Loading branch information
David-Kunz authored Oct 11, 2024
1 parent 05150d1 commit 66e1c4c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## About this project

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



Expand Down Expand Up @@ -37,7 +37,7 @@ npm add @cap-js/event-broker

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

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

```jsonc
{
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@sap/cds": ">=7"
},
"devDependencies": {
"@cap-js/event-broker": "file:.",
"@sap-cloud-sdk/resilience": "^3.21.0",
"@sap/xssec": "^4.2.4"
},
Expand Down
5 changes: 3 additions & 2 deletions tests/event-broker-ias-multitenant/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "event-broker-mock-app",
"dependencies": {
"@cap-js/event-broker": ".."
"@cap-js/event-broker": "*"
},
"cds": {
"requires": {
"multitenancy": true,
"messaging": {
"kind": "event-broker-internal"
"kind": "event-broker-internal",
"outbox": false
},
"auth": {
"kind": "ias",
Expand Down
3 changes: 2 additions & 1 deletion tests/event-broker-ias-single-tenant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"cds": {
"requires": {
"messaging": {
"kind": "event-broker"
"kind": "event-broker",
"outbox": false
},
"auth": {
"kind": "ias",
Expand Down
1 change: 1 addition & 0 deletions tests/event-broker-x509-multitenant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"multitenancy": true,
"messaging": {
"kind": "event-broker-internal",
"outbox": false,
"x509": {
"cert": "$myCert",
"pkey": "$myPkey"
Expand Down

0 comments on commit 66e1c4c

Please sign in to comment.