# sammler-jobs-service

> Job service for sammler.

Latest version **0.0.13** (published 2017-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install sammler-jobs-service
pnpm add sammler-jobs-service
yarn add sammler-jobs-service
bun add sammler-jobs-service
```

## Health

**Score 5/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.13 |
| Published | 2017-01-30 |
| First published | 2017-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.2.0 |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+7 in 1 direct dependencies) |
| Install scripts | no |
| Author | Stefan Walther |
| Maintainers | stefanwalther |
| Keywords | sammler |

## Links

- npm: https://www.npmjs.com/package/sammler-jobs-service
- Repository: https://github.com/sammler/sammler-jobs-service
- Issues: https://github.com/sammler/sammler-jobs-service/issues
- npm.io page: https://npm.io/package/sammler-jobs-service

## Dependencies (12)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [express](https://npm.io/package/express.md) ^4.14.1
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.7.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.7
- [mongoose](https://npm.io/package/mongoose.md) ^4.8.0
- [body-parser](https://npm.io/package/body-parser.md) ^1.16.0
- [swagger-jsdoc](https://npm.io/package/swagger-jsdoc.md) ^1.9.1
- [http-status-codes](https://npm.io/package/http-status-codes.md) ^1.1.6
- [mongoose-timestamp](https://npm.io/package/mongoose-timestamp.md) ^0.6.0
- [swagger-ui-express](https://npm.io/package/swagger-ui-express.md) ^1.0.3
- [mongoose-materialized](https://npm.io/package/mongoose-materialized.md) ^0.1.9
- [sammler-nodelib-logger](https://npm.io/package/sammler-nodelib-logger.md) github:sammler/sammler-nodelib-logger

## Recent versions

- 0.0.13 (latest) — 2017-01-30
- 0.0.12 — 2017-01-30
- 0.0.11 — 2017-01-30
- 0.0.10 — 2017-01-30
- 0.0.9 — 2017-01-30
- 0.0.7 — 2017-01-06
- 0.0.2 — 2017-01-06

## README

# sammler-jobs-service

> Job service for sammler.

[![CircleCI](https://img.shields.io/circleci/project/github/sammler/sammler-jobs-service.svg)](https://circleci.com/gh/sammler/sammler-jobs-service)

## 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**

* [github/stefanwalther](https://github.com/stefanwalther)
* [twitter/waltherstefan](http://twitter.com/waltherstefan)

## License
Released under the MIT license.

---
_Source: https://npm.io/package/sammler-jobs-service · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
