You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#40
---------
Co-authored-by: f_nie <frank_nietzold@sap.com>
Co-authored-by: Andre Meyering <info@andremeyering.de>
Co-authored-by: Dr. David A. Kunz <david.kunz@sap.com>
CDS plugin providing integration with SAP Cloud Application Event Hub (technical name: `event-broker`).
10
8
11
-
12
-
13
9
## Table of Contents
14
10
15
11
-[About this project](#about-this-project)
@@ -19,15 +15,11 @@ CDS plugin providing integration with SAP Cloud Application Event Hub (technical
19
15
-[Code of Conduct](#code-of-conduct)
20
16
-[Licensing](#licensing)
21
17
22
-
23
-
24
18
## Requirements
25
19
26
20
See [Getting Started](https://cap.cloud.sap/docs/get-started/in-a-nutshell) on how to jumpstart your development and grow as you go with SAP Cloud Application Programming Model (CAP).
27
21
To learn about messaging in CAP, please consult the guide on [Events & Messaging](https://cap.cloud.sap/docs/guides/messaging/).
28
22
29
-
30
-
31
23
## Setup
32
24
33
25
Install the plugin via:
@@ -67,26 +59,37 @@ If you are not using [IAS-based Authentication](https://cap.cloud.sap/docs/node.
67
59
68
60
For more information, please see [SAP Cloud Application Event Hub](https://help.sap.com/docs/sap-cloud-application-event-hub) in SAP Help Portal.
69
61
62
+
## Parameters
70
63
64
+
### webhookSizeLimit
71
65
72
-
## Support, Feedback, Contributing
66
+
To set a size limit for events accepted by the webhook, set the ``webhookSizeLimit``parameter in the ``package.json`` file in the root folder of your app, e.g.
73
67
74
-
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/event-broker/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
68
+
```jsonc
69
+
"cds": {
70
+
"requires": {
71
+
"messaging": {
72
+
"kind":"event-broker",
73
+
"webhookSizeLimit":"1mb"
74
+
}
75
+
}
76
+
}
77
+
```
78
+
79
+
If the parameter is not set, the [global request body size limit](https://pages.github.tools.sap/cap/docs/node.js/cds-server#maximum-request-body-size)``cds.env.server.body_parser.limit`` is taken into account. If this parameter is not set either, the default value of ``1mb``is used.
75
80
81
+
## Support, Feedback, Contributing
76
82
83
+
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/event-broker/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
77
84
78
85
## Security / Disclosure
79
86
80
87
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cap-js/event-broker/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.
81
88
82
-
83
-
84
89
## Code of Conduct
85
90
86
91
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/cap-js/.github/blob/main/CODE_OF_CONDUCT.md) at all times.
87
92
88
-
89
-
90
93
## Licensing
91
94
92
95
Copyright 2024 SAP SE or an SAP affiliate company and event-broker contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/event-broker).
0 commit comments