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.

120 lines (119 loc) 3.58 kB
{ "name": "@cap-js-community/event-queue", "version": "2.1.1", "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": "^20.19.0 || ^22.13.0 || >=24" }, "dependencies": { "@cap-js-community/common": "^0.4.0", "@sap/xssec": "^4.13.0", "cron-parser": "^5.5.0", "verror": "^1.10.1", "yaml": "^2.8.4" }, "devDependencies": { "@cap-js/cds-test": "^1.0.1", "@cap-js/db-service": "^2.11.0", "@cap-js/hana": "^2.8.0", "@cap-js/sqlite": "^2.4.0", "@eslint/js": "^10.0.1", "@opentelemetry/api": "^1.9.1", "@sap/cds": "^9.9.1", "@sap/cds-dk": "^9.9.0", "eslint": "^10.3.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.15.2", "globals": "^17.6.0", "jest": "^30.3.0", "prettier": "^3.8.3" }, "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": { "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" }