sammler-jobs-service

0.0.13 • Public • Published

sammler-jobs-service

Job service for sammler.

CircleCI

Purpose

Very simple, opinionated and re-usable service to log hierarchical jobs to MongoDB:

  • Save the state of jobs & sub-jobs to MongoDB
  • Update their status
  • Retrieve the current state of a job
  • Get the history of jobs

Configuration

sammler-jobs-service can be configured by the following environment variables:

  • PORT - The port to run the REST API (defaults to 3003).

Configuration for dependent services (in development mode)

  • SAMMLER_DB_JOBS_URI - URI for the MongoDB Jobs database. Defaults to mongodb://localhost:27117/jobs

Note: MongoDB runs on port 27117 to prevent conflicts with running the entire sammler development-environment at the same time.

Author

Stefan Walther

License

Released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i sammler-jobs-service

Weekly Downloads

1

Version

0.0.13

License

MIT

Last publish

Collaborators

  • stefanwalther