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.

117 lines (116 loc) 3.63 kB
{ "name": "@cap-js-community/event-queue", "version": "1.10.11", "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": { "start": "PORT=4005 cds-serve", "watch": "PORT=4005 cds watch", "test:unit": "jest --testPathIgnorePatterns=\"/test-integration/\"", "test:integration": "jest --testPathIgnorePatterns=\"/test/\" --runInBand --forceExit", "voter:test:integration": "jest --testPathIgnorePatterns=\"/test/\" --forceExit", "test": "npm run test:unit && npm run test:integration", "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 .", "prepareRelease": "npm prune --production", "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": ">=18" }, "dependencies": { "@sap/xssec": "^4.6.0", "cron-parser": "^5.2.0", "redis": "^4.7.0", "verror": "^1.10.1", "yaml": "^2.7.1" }, "devDependencies": { "@cap-js/cds-test": "^0.4.0", "@cap-js/hana": "^2.1.0", "@cap-js/sqlite": "^2.0.1", "@sap/cds": "^9.1.0", "@sap/cds-dk": "^9.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.6.0", "eslint-plugin-node": "^11.1.0", "express": "^4.21.2", "hdb": "^2.25.1", "jest": "^29.7.0", "prettier": "^2.8.8", "sqlite3": "^5.1.7", "@opentelemetry/api": "^1.9.0", "@actions/core": "^1.11.1" }, "homepage": "https://cap-js-community.github.io/event-queue/", "repository": { "type": "git", "url": "https://github.com/cap-js-community/event-queue.git" }, "cds": { "eventQueue": { "[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": { "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" }