Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@pager/minion-army
Advanced tools
Changelog
Readme
Microservice Framework for RabbitMQ Workers
const Army = require('@pager/minion-army');
const Joi = require('joi');
// Refer to lib/schema.js to see valid options
const manifest = {
connection: { // optional, if not provided will default to a rabbit connection to local host
rabbitUrl: 'amqp://localhost'
},
defaults: { // default values that apply for all workers
exchangeName: 'my-exchange-name'
},
workers: [
{
handler: (message) => console.log('my job is to log this', message),
config: { // same config as expected by minions
name: 'jobs.logging',
key: 'events.something.happened'
},
validate: Joi.object({ // set a joi schema to validate handler input (optional)
id: Joi.string().required()
})
},
{
handler: (message) => true,
config: {
name: `jobs.trueing`,
key: `events.something.happened`
}
}
]
};
const army = Army(manifest);
army.start(); // if you provide defaults.autoStart = true this is not needed
FAQs
Microservice Framework for RabbitMQ Workers
The npm package @pager/minion-army receives a total of 550 weekly downloads. As such, @pager/minion-army popularity was classified as not popular.
We found that @pager/minion-army demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 69 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.