{"id":27970064,"url":"https://github.com/cap-js/advanced-event-mesh","last_synced_at":"2025-07-09T17:34:30.086Z","repository":{"id":281812107,"uuid":"930549503","full_name":"cap-js/advanced-event-mesh","owner":"cap-js","description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh.","archived":false,"fork":false,"pushed_at":"2025-06-05T20:50:04.000Z","size":115,"stargazers_count":3,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-09T04:58:16.927Z","etag":null,"topics":["cap","cds","nodejs","plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cap-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-10T20:15:04.000Z","updated_at":"2025-06-06T13:48:05.000Z","dependencies_parsed_at":"2025-06-03T10:10:01.211Z","dependency_job_id":"a33c2214-8d96-4843-9e38-38bd56fb6f23","html_url":"https://github.com/cap-js/advanced-event-mesh","commit_stats":null,"previous_names":["cap-js/advanced-event-mesh"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cap-js/advanced-event-mesh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fadvanced-event-mesh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fadvanced-event-mesh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fadvanced-event-mesh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fadvanced-event-mesh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cap-js","download_url":"https://codeload.github.com/cap-js/advanced-event-mesh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fadvanced-event-mesh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502279,"owners_count":23618567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cap","cds","nodejs","plugin"],"created_at":"2025-05-07T21:56:10.913Z","updated_at":"2025-07-09T17:34:30.037Z","avatar_url":"https://github.com/cap-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to @cap-js/advanced-event-mesh\n\n[![REUSE status](https://api.reuse.software/badge/github.com/cap-js/advanced-event-mesh)](https://api.reuse.software/info/github.com/cap-js/advanced-event-mesh)\n\n\n\n## About this project\n\nCDS plugin providing integration with SAP Integration Suite, advanced event mesh.\n\n\n\n## Table of Contents\n\n- [About this project](#about-this-project)\n- [Requirements](#requirements)\n- [Setup](#setup)\n  - [Setting Up the Broker](#setting-up-the-broker)\n  - [Broker Validation](#broker-validation)\n  - [Additional Configuration Options](#additional-configuration-options)\n- [Support, Feedback, Contributing](#support-feedback-contributing)\n- [Code of Conduct](#code-of-conduct)\n- [Licensing](#licensing)\n\n\n\n## Requirements\n\nSee [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).\nTo learn about messaging in CAP, please consult the guide on [Events \u0026 Messaging](https://cap.cloud.sap/docs/guides/messaging/).\n\n\n\n## Setup\n\nInstall the plugin via:\n\n```bash\nnpm add @cap-js/advanced-event-mesh\n```\n\nThen, set the `kind` of your messaging service to `advanced-event-mesh`:\n\n```jsonc\n{\n  \"cds\": {\n    \"requires\": {\n      \"messaging\": {\n        \"kind\": \"advanced-event-mesh\"\n      }\n    }\n  }\n}\n```\n\n\n### Setting Up the Broker\n\nThe broker itself must be created manually in SAP Integration Suite, advanced event mesh and trust must be established to the respective application in [SAP Cloud Identity Services](https://help.sap.com/docs/cloud-identity-services/cloud-identity-services), both for the Solace broker and the [SEMP API](https://docs.solace.com/Admin/SEMP/Using-SEMP.htm).\nFor details, please consult SAP Integration Suite, advanced event mesh's documentation at [help.pubsub.em.services.cloud.sap](https://help.pubsub.em.services.cloud.sap/Get-Started/get-started-lp.htm) and [help.sap.com](https://help.sap.com/docs/sap-integration-suite/advanced-event-mesh).\n\nSpecifically, you need to configure SAP Integration Suite, advanced event mesh to allow your CAP application to connect to the broker.\nFor this, follow guide [CAP Plugin for SAP Integration Suite, Advanced Event Mesh](https://help.sap.com/docs/sap-integration-suite/advanced-event-mesh/cap-plugin-for-sap-integration-suite-advanced-event-mesh).\n\nFinally, the broker's credentials must be provided via a [user-provided service instance](https://docs.cloudfoundry.org/devguide/services/user-provided.html) with the name `advanced-event-mesh` and credentials in the following format:\n\n```jsonc\n{\n  \"authentication-service\": {\n    \"tokenendpoint\": \"https://\u003cias host\u003e/oauth2/token\",\n    \"clientid\": \"\u003cclient id\u003e\",\n    \"clientsecret\": \"\u003cclient secret\u003e\"\n  },\n  \"endpoints\": {\n    \"advanced-event-mesh\": {\n      \"uri\": \"https://\u003cbroker host\u003e:\u003cport\u003e\",\n      \"smf_uri\": \"wss://\u003cbroker host\u003e:\u003cport\u003e\"\n    }\n  },\n  \"vpn\": \"\u003cvpn\u003e\"\n}\n```\n\nTo troubleshoot connection issues, set log level for component `messaging` to `DEBUG`.\nCheck [`cds.log()`](https://cap.cloud.sap/docs/node.js/cds-log) for how to maintain log levels.\n\n\n### Broker Validation\n\nYour app must be bound to an instance of service `SAP Integration Suite, advanced event mesh` with plan `aem-validation-service`.\nPlease see [Validation of VMR Provisioning](https://help.sap.com/docs/sap-integration-suite/advanced-event-mesh/validation-of-vmr-provisioning) for more information.\n\n\n### Additional Configuration Options\n\nAdditional configuration options for the messaging service (i.e., `cds.requires.messaging`) are:\n\n| Property | Type | Description |\n| --- | --- | --- |\n| `skipManagement` | `boolean` | If set to `true`, the plugin will not create a queue or subscription. This is useful if you want to manage these resources manually, default: `false` |\n| `session` | [SessionProperties](https://docs.solace.com/API-Developer-Online-Ref-Documentation/nodejs/solace.SessionProperties.html) | Used for [`createSession`](https://docs.solace.com/API-Developer-Online-Ref-Documentation/nodejs/solace.SolclientFactory.html#createSession) |\n| `queue`   | [createMsgVpnQueue](https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/software-broker/config/index.html#/msgVpn/createMsgVpnQueue) | The queue object which is created via the [SEMP API](https://docs.solace.com/Admin/SEMP/Using-SEMP.htm) |\n| `consumer` | [MessageConsumerProperties](https://docs.solace.com/API-Developer-Online-Ref-Documentation/nodejs/solace.MessageConsumerProperties.html) | Used for [`createMessageConsumer`](https://docs.solace.com/API-Developer-Online-Ref-Documentation/nodejs/solace.Session.html#createMessageConsumer) |\n| `clientFactory` | [SolclientFactoryProperties](https://docs.solace.com/API-Developer-Online-Ref-Documentation/nodejs/solace.SolclientFactoryProperties.html#SolclientFactoryProperties) | Used to create the [SolclientFactory](https://docs.solace.com/API-Developer-Online-Ref-Documentation/nodejs/solace.SolclientFactory.html) instance |\n\nThe default values can be found in the plugin's [package.json](https://github.com/cap-js/advanced-event-mesh/blob/main/package.json).\nAs always, the effective configuration for your project can be queried via CLI command [`cds env`](https://cap.cloud.sap/docs/node.js/cds-env).\n\nFor more details, please refer to the [messaging section](https://cap.cloud.sap/docs/node.js/messaging) of the CAP Node.js documentation.\n\n\n\n## Support, Feedback, Contributing\n\nThis project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/advanced-event-mesh/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).\n\n\n\n## Security / Disclosure\n\nIf you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cap-js/advanced-event-mesh/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.\n\n\n\n## Code of Conduct\n\nWe 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.\n\n\n\n## Licensing\n\nCopyright 2024 SAP SE or an SAP affiliate company and advanced-event-mesh 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/advanced-event-mesh).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-js%2Fadvanced-event-mesh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcap-js%2Fadvanced-event-mesh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-js%2Fadvanced-event-mesh/lists"}