sammler-scheduler-service
v0.3.2
Published
Scheduler for sammler.
Downloads
3
Readme
sammler-scheduler
Scheduler for sammler.
Purpose
sammler-scheduler publishes messages to RabbitMQ based on scheduled events (jobs).
It is also the responsibility of sammler-scheduler to store the initial state of jobs (using sammler-jobs-service).
Work in progress
Right now, sammler-scheduler just contains a very basic (and more or less hardcoded) solution, to get messages into the system.
Install
Prerequisites
- node >=7.0
- yarn
Install yarn globally:
$ npm install -g yarn
Clone scheduler service
$ git clone [email protected]:sammler/sammler-scheduler-service.git
Configuration
The following environment variables need to be defined for running the service:
SAMMLER_RABBITMQ_URI
SAMMLER_JOBS_SERVICE_URI
SAMMLER_LOG_SERVICE_URI
Build & Run
Run the development environment:
$ yarn run dc-dev-up
# Just a shortcut for
# $ docker-compose f=./docker-compose.dev.yml run --build
Hint: The development environment relies on some basic services defined in sammler-base
Author
Stefan Walther
License
Released under the MIT license.
This file was generated by verb-generate-readme, v0.2.0, on January 05, 2017.