Public | Automated Build

Last pushed: 6 months ago
Short Description
Collect a user's tasks from Compilo
Full Description


tasks-collector-compilo


Service for collecting a user's tasks from Compilo

Inbound messages

This microservice listens for the following messages

  • {cmd: 'collect-tasks', type: 'user'}

Outbound messages

This microservice emits the following messages

  • {info: 'tasks', type:'user'}

Docker

Build the image

$ docker build -t tasks-collector-compilo .

Start

$ docker run -d --net host --name tasks-collector-compilo tasks-collector-compilo

From hub.docker.com

$ docker run -d --net host --name tasks-collector-compilo telemark/tasks-collector-compilo

Call the service

$ curl -d '{"cmd":"collect-tasks", "type": "user", "user":"gasg"}' -v http://192.168.99.100:8000/act
Docker Pull Command
Owner
telemark