@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.
127 lines (126 loc) • 3.8 kB
JSON
{
"name": "@cap-js-community/event-queue",
"version": "2.0.3",
"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 --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 .",
"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": {
"@cap-js-community/common": "0.3.2",
"@sap/xssec": "^4.11.0",
"cron-parser": "^5.4.0",
"verror": "^1.10.1",
"yaml": "^2.7.1"
},
"devDependencies": {
"@actions/core": "^1.11.1",
"@cap-js/cds-test": "^0.4.0",
"@cap-js/db-service": "^2.6.0",
"@cap-js/hana": "^2.3.4",
"@cap-js/sqlite": "^2.1.0",
"@opentelemetry/api": "^1.9.0",
"@sap/cds": "^9.4.5",
"@sap/cds-dk": "^9.4.2",
"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.26.1",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"sqlite3": "^5.1.7"
},
"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",
"plan": "application"
}
},
"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"
}