{"_id":"@cap-js/advanced-event-mesh","_rev":"6-856e96c9e06f4a991792d26841f96712","name":"@cap-js/advanced-event-mesh","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1-alpha.0":{"name":"@cap-js/advanced-event-mesh","version":"0.0.1-alpha.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"SEE LICENSE IN LICENSE","_id":"@cap-js/advanced-event-mesh@0.0.1-alpha.0","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/advanced-event-mesh/issues"},"cds":{"requires":{"kinds":{"advanced-event-mesh":{"impl":"@cap-js/advanced-event-mesh","vcap":{"name":"advanced-event-mesh"},"queue":{"queueName":"$appId","egressEnabled":true,"ingressEnabled":true},"outbox":true,"session":{"connectRetries":-1,"publisherProperties":{"acknowledgeMode":"PER_MESSAGE"},"authenticationScheme":"AuthenticationScheme_oauth2"},"consumer":{"acknowledgeMode":"CLIENT","queueDescriptor":{"type":"QUEUE"},"requiredSettlementOutcomes":[1,3]},"logLevel":1,"publishPrefix":"","subscribePrefix":""}}}},"dist":{"shasum":"570a6d6eb792e48f2a6214838a5783e3ff51a7d1","tarball":"https://registry.npmjs.org/@cap-js/advanced-event-mesh/-/advanced-event-mesh-0.0.1-alpha.0.tgz","fileCount":5,"integrity":"sha512-KY7k95cKZrbMKA0dJIT9mKK8n4WW6Exw3Ye0lsnKaArIYABeP11CRd+uVgBkQWkytZTj0lLtklqZtQjnn44Oiw==","signatures":[{"sig":"MEQCID55lMRhZeBPRAnJ+Vispq0MwbVvIP5xav8MCyc21AkwAiAXE0AkBz1B/MKp7kp/Tbc8m2YoPvTtb92tfwm21o+TyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31905},"main":"cds-plugin.js","gitHead":"800ef8d927c6bb3fecd98bfc3eed00f9b7abf654","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/advanced-event-mesh.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh","directories":{},"_nodeVersion":"20.18.3","dependencies":{"solclientjs":"^10.17.1","@sap/xb-msg-amqp-v100":"*"},"_hasShrinkwrap":false,"devDependencies":{"@cap-js/sqlite":"*","@sap-cloud-sdk/resilience":"^4.0.1","@cap-js/advanced-event-mesh":"file:."},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/advanced-event-mesh_0.0.1-alpha.0_1741702045041_0.7753326528877014","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@cap-js/advanced-event-mesh","version":"0.1.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"SEE LICENSE IN LICENSE","_id":"@cap-js/advanced-event-mesh@0.1.0","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/advanced-event-mesh/issues"},"cds":{"requires":{"kinds":{"advanced-event-mesh":{"impl":"@cap-js/advanced-event-mesh","vcap":{"name":"advanced-event-mesh"},"queue":{"queueName":"$appId","permission":"consume","egressEnabled":true,"ingressEnabled":true},"outbox":true,"session":{"connectRetries":-1,"publisherProperties":{"acknowledgeMode":"PER_MESSAGE"},"authenticationScheme":"AuthenticationScheme_oauth2"},"consumer":{"acknowledgeMode":"CLIENT","queueDescriptor":{"type":"QUEUE"},"requiredSettlementOutcomes":[1,3]}}}}},"dist":{"shasum":"b91ad62fc71cb6c66184e2c20231d8e4b25ed4a1","tarball":"https://registry.npmjs.org/@cap-js/advanced-event-mesh/-/advanced-event-mesh-0.1.0.tgz","fileCount":5,"integrity":"sha512-R9hqUSrnG+rndC9vYzdY1tKhdeAcwZV7VxFHHwaJRPLn7HOnCAz0EIJKkkT9sN5QHnncX6+wmXOdH/xh0M+/lg==","signatures":[{"sig":"MEUCIFvFWZEjyCcLDVHQlsS9v20o/+Mw8s8bKb886iBhtvNkAiEA06nv0QeIHaFppUtO/qM2K81w31UGnIpFev6y0mUAZRM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35832},"main":"cds-plugin.js","gitHead":"dc1e93c5b72c73831efe0ea539a3adecf89b27c7","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/advanced-event-mesh.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh","directories":{},"_nodeVersion":"20.19.0","dependencies":{"solclientjs":"^10.17.1","@sap/xb-msg-amqp-v100":"*"},"_hasShrinkwrap":false,"devDependencies":{"@cap-js/sqlite":"*","@sap-cloud-sdk/resilience":"^4.0.1","@cap-js/advanced-event-mesh":"file:."},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/advanced-event-mesh_0.1.0_1743154675156_0.6731427744791931","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cap-js/advanced-event-mesh","version":"0.2.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","_id":"@cap-js/advanced-event-mesh@0.2.0","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/advanced-event-mesh/issues"},"cds":{"requires":{"kinds":{"advanced-event-mesh":{"impl":"@cap-js/advanced-event-mesh","vcap":{"name":"advanced-event-mesh"},"queue":{"queueName":"$appId","permission":"consume","egressEnabled":true,"ingressEnabled":true},"outbox":true,"session":{"connectRetries":-1,"publisherProperties":{"acknowledgeMode":"PER_MESSAGE"},"authenticationScheme":"AuthenticationScheme_oauth2"},"consumer":{"acknowledgeMode":"CLIENT","queueDescriptor":{"type":"QUEUE"},"requiredSettlementOutcomes":[1,3]}}}}},"dist":{"shasum":"7aa6d9cdbd5a6f53f571fbbc125991b3252e4221","tarball":"https://registry.npmjs.org/@cap-js/advanced-event-mesh/-/advanced-event-mesh-0.2.0.tgz","fileCount":5,"integrity":"sha512-0Ec3oXc5nGUxMRTVuLETf4lfPDMekGF7e/NiDPC5zUBEJZCK2zZU6n2SLMTwu58dg471p6I1bQPAFyPu8vOHcQ==","signatures":[{"sig":"MEUCIH4/RPG5+pM1ffAzkDim+o1CQJfqzjr2vrKTVmNNC6z4AiEA+fVqUC/qzOoO0kV0DEJIMPebGKsd5Jc4PbxpC46c1A0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37266},"main":"cds-plugin.js","gitHead":"77d7c772629a60e6a0fb2046b146cecb6b41c3df","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/advanced-event-mesh.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh","directories":{},"_nodeVersion":"20.19.1","dependencies":{"solclientjs":"^10.17.1","@sap/xb-msg-amqp-v100":"*"},"_hasShrinkwrap":false,"devDependencies":{"@cap-js/sqlite":">=1","@cap-js/cds-test":">=0","@sap-cloud-sdk/resilience":"^4.0.1","@cap-js/advanced-event-mesh":"file:."},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/advanced-event-mesh_0.2.0_1749123145439_0.7142075546501636","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@cap-js/advanced-event-mesh","version":"0.2.1","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","_id":"@cap-js/advanced-event-mesh@0.2.1","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/advanced-event-mesh/issues"},"cds":{"requires":{"kinds":{"advanced-event-mesh":{"impl":"@cap-js/advanced-event-mesh","vcap":{"name":"advanced-event-mesh"},"queue":{"queueName":"$appId","permission":"consume","egressEnabled":true,"ingressEnabled":true},"outbox":true,"session":{"connectRetries":-1,"publisherProperties":{"acknowledgeMode":"PER_MESSAGE"},"authenticationScheme":"AuthenticationScheme_oauth2"},"consumer":{"acknowledgeMode":"CLIENT","queueDescriptor":{"type":"QUEUE"},"requiredSettlementOutcomes":[1,3]}}}}},"dist":{"shasum":"3ad4e10724c97c97261f23fa0b4916191a91ece7","tarball":"https://registry.npmjs.org/@cap-js/advanced-event-mesh/-/advanced-event-mesh-0.2.1.tgz","fileCount":5,"integrity":"sha512-2N757712KdYA/8MXDHuXEH49Tgvatl09NLkd6Dk7+gqtr2StxBZKejeJr6rStvrLy3pnr70b1m4JUu+JID2wwA==","signatures":[{"sig":"MEQCIC66PX8Zs1Rp30jxZ/EIsRFVnBz7a/vGJnj0i29Mss7iAiBIXY127m0/1XvY1H1FVceQAH2FPxBRiOeABYPM6BLJ7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37714},"main":"cds-plugin.js","gitHead":"a03800b4df55b642995d555523a8bb4b215d378a","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/advanced-event-mesh.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh","directories":{},"_nodeVersion":"20.19.4","dependencies":{"solclientjs":"^10.17.1","@sap/xb-msg-amqp-v100":"*"},"_hasShrinkwrap":false,"devDependencies":{"@cap-js/sqlite":">=1","@cap-js/cds-test":">=0","@sap-cloud-sdk/resilience":"^4.0.1","@cap-js/advanced-event-mesh":"file:."},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/advanced-event-mesh_0.2.1_1754656192476_0.06192110470516332","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@cap-js/advanced-event-mesh","version":"1.0.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","_id":"@cap-js/advanced-event-mesh@1.0.0","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/advanced-event-mesh/issues"},"cds":{"requires":{"kinds":{"advanced-event-mesh":{"impl":"@cap-js/advanced-event-mesh","vcap":{"name":"advanced-event-mesh"},"queue":{"queueName":"$appId","permission":"consume","egressEnabled":true,"ingressEnabled":true},"outbox":true,"session":{"connectRetries":-1,"publisherProperties":{"acknowledgeMode":"PER_MESSAGE"},"authenticationScheme":"AuthenticationScheme_oauth2"},"consumer":{"acknowledgeMode":"CLIENT","queueDescriptor":{"type":"QUEUE"},"requiredSettlementOutcomes":[1,3]}}}}},"dist":{"shasum":"4c994cf5f95a6e559dd6326ad747795708629d32","tarball":"https://registry.npmjs.org/@cap-js/advanced-event-mesh/-/advanced-event-mesh-1.0.0.tgz","fileCount":4,"integrity":"sha512-QiLUVhSxAJ760Qt655VVT7cnEc3/yK75WvXC3L22HNmPeVTtuiAiYO4Pk4pexfcI2CwULib0mR75RuxmxL+Lzg==","signatures":[{"sig":"MEYCIQDV4gc5SoHkhlBntkEygKAm/lRkM+SXRgrQOd0NbEPiMgIhAPphjn5/W02Vd183Yi78QoYTurqH/y5/thjDu10C0mfh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37446},"main":"cds-plugin.js","gitHead":"74ebf9a4bf6e61a3764d76a943e18d37453c8ead","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/advanced-event-mesh.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh","directories":{},"_nodeVersion":"20.19.5","dependencies":{"solclientjs":"^10.17.1","@sap/xb-msg-amqp-v100":"*"},"_hasShrinkwrap":false,"devDependencies":{"@cap-js/sqlite":">=1","@cap-js/cds-test":">=0","@sap-cloud-sdk/resilience":"^4.0.1","@cap-js/advanced-event-mesh":"file:."},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/advanced-event-mesh_1.0.0_1759152315275_0.6137829632996483","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-03-11T14:07:24.952Z","modified":"2026-05-12T20:56:02.647Z","0.0.1-alpha.0":"2025-03-11T14:07:25.264Z","0.1.0":"2025-03-28T09:37:55.388Z","0.2.0":"2025-06-05T11:32:25.608Z","0.2.1":"2025-08-08T12:29:52.728Z","1.0.0":"2025-09-29T13:25:15.480Z"},"bugs":{"url":"https://github.com/cap-js/advanced-event-mesh/issues"},"author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","homepage":"https://cap.cloud.sap/","repository":{"url":"git+https://github.com/cap-js/advanced-event-mesh.git","type":"git"},"description":"CDS plugin providing integration with SAP Integration Suite, advanced event mesh","maintainers":[{"email":"mob.extrepo.stores@sap.com","name":"sap_extncrepos"},{"email":"cap@sap.com","name":"cap-npm"},{"email":"ospo@sap.com","name":"sap-ospo-admin"}],"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 & 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://<ias host>/oauth2/token\",\n    \"clientid\": \"<client id>\",\n    \"clientsecret\": \"<client secret>\"\n  },\n  \"endpoints\": {\n    \"advanced-event-mesh\": {\n      \"uri\": \"https://<broker host>:<port>\",\n      \"smf_uri\": \"wss://<broker host>:<port>\"\n    }\n  },\n  \"vpn\": \"<vpn>\"\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| `subaccountId` | `string` | The ID of the subaccount in which SAP Integration Suite, advanced event mesh is subscribed. This is necessary in case the app runs in a different subaccount. |\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","readmeFilename":"README.md"}