sammler-jobs-service
v0.0.13
Published
Job service for sammler.
Downloads
1
Readme
sammler-jobs-service
Job service for sammler.
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 to3003
).
Configuration for dependent services (in development mode)
SAMMLER_DB_JOBS_URI
- URI for the MongoDB Jobs database. Defaults tomongodb://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.