CDS plugin providing integration with SAP Integration Suite, advanced event mesh.
See Getting Started on how to jumpstart your development and grow as you go with SAP Cloud Application Programming Model.
Install the plugin via:
npm add @cap-js/advanced-event-mesh
Please follow the guide on messaging to get an overview over the messaging concepts of CAP.
You can create an SAP Integration Suite, advanced event mesh service with the following configuration:
Additional configuration options are:
Property | Type | Description |
---|---|---|
session |
SessionProperties | Used for createSession |
queue |
createMsgVpnQueue | The queue object which is created via the SEMP API |
consumer |
MessageConsumerProperties | Used for createMessageConsumer |
clientFactory |
SolclientFactoryProperties | Used to create the SolclientFactory instance |
The default values can be found in the plugin's package.json.
For more details, please refer to the messaging section of the CAP Node.js documentation.
The broker must be created manually in SAP Integration Suite, advanced event mesh and trust to the respective application in SAP Cloud Identity Services must be established, both for the Solace broker and the SEMP API. For details, please consult SAP Integration Suite, advanced event mesh's documentation at help.pubsub.em.services.cloud.sap and help.sap.com.
The broker's credentials must be provided via a user-provided service instance with the name advanced-event-mesh
and credentials in the following format:
{
"authentication-service": {
"tokenendpoint": "https://<ias host>/oauth2/token",
"clientid": "<client id>",
"clientsecret": "<client secret>"
},
"endpoints": {
"advanced-event-mesh": {
"uri": "https://<broker host>:<port>",
"smf_uri": "wss://<broker host>:<port>"
}
},
"vpn": "<vpn>"
}
Finally, your app must be bound to an instance of service SAP Integration Suite, advanced event mesh
with plan aem-validation-service
.
Please see Validation of VMR Provisioning for how-to as well as background information.
This project is open to feature requests/suggestions, bug reports etc. via GitHub 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.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
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 at all times.
Copyright 2024 SAP SE or an SAP affiliate company and advanced-event-mesh contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.