UNPKG

@cap-js-community/event-queue

Version:

An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.

121 lines (120 loc) 3.6 kB
{ "name": "@cap-js-community/event-queue", "version": "2.3.0", "description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.", "main": "src/index.js", "types": "src/index.d.ts", "files": [ "src", "srv", "db", "cds-plugin.js", "index.cds" ], "keywords": [ "CAP", "CDS", "messaging", "async", "redis", "load-balancing", "eventing", "multi-tenancy" ], "scripts": { "test:unit": "jest --selectProjects unit", "test:integration": "jest --selectProjects integration --runInBand", "voter:test:integration": "jest --selectProjects integration", "test": "jest --runInBand", "test:all:coverage": "jest --runInBand --forceExit --collect-coverage", "test:prepare": "npm run build:ci --prefix=./test-integration/_env", "test:deploySchema": "node test-integration/_env/srv/hana/deploy.js", "test:cleanSchemas": "node test-integration/_env/srv/hana/deleteTestSchema.js ", "lint": "npm run eslint && npm run prettier", "lint:ci": "npm run eslint:ci && npm run prettier:ci", "eslint": "eslint --fix .", "eslint:ci": "eslint .", "prettier": "prettier --write --loglevel error .", "prettier:ci": "prettier --check .", "docs": "cd docs && bundle exec jekyll serve", "docs:install": "cd docs && npx shx rm -rf vendor Gemfile.lock && bundle install", "upgrade-lock": "npx shx rm -rf package-lock.json node_modules && npm i --package-lock" }, "engines": { "node": "^22.13.0 || >=24" }, "dependencies": { "@cap-js-community/common": "^0.5.0", "@sap/xssec": "^4.13.1", "cron-parser": "^5.6.1", "verror": "^1.10.1", "yaml": "^2.9.0" }, "devDependencies": { "@cap-js/cds-test": "^1.0.1", "@cap-js/db-service": "^3.0.1", "@cap-js/hana": "^3.0.1", "@cap-js/sqlite": "^3.0.2", "@eslint/js": "^10.0.1", "@opentelemetry/api": "^1.9.1", "@sap/cds": "^10.0.3", "@sap/cds-dk": "^10.0.4", "eslint": "^10.7.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.15.4", "globals": "^17.7.0", "jest": "^30.4.2", "prettier": "^3.9.5" }, "homepage": "https://cap-js-community.github.io/event-queue/", "repository": { "type": "git", "url": "https://github.com/cap-js-community/event-queue.git" }, "cds": { "eventQueue": { "[development]": { "cleanupLocksAndEventsForDev": true }, "[production]": { "disableRedis": false }, "[test]": { "isEventQueueActive": false, "registerAsEventProcessor": false, "updatePeriodicEvents": false, "insertEventsBeforeCommit": false }, "periodicEvents": { "[production]": { "EVENT_QUEUE_BASE/DELETE_EVENTS": { "priority": "low", "impl": "./housekeeping/EventQueueDeleteEvents", "load": 20, "interval": 86400, "internalEvent": true } } } }, "requires": { "scheduling": false, "xsuaa-eventQueue": { "vcap": { "label": "xsuaa" } }, "redis-eventQueue": { "options": {}, "vcap": { "label": "redis-cache" } }, "event-queue": { "model": "@cap-js-community/event-queue" } } }, "author": "Maximilian Gruenfelder <maximilian.gruenfelder@sap.com>", "license": "Apache-2.0" }