Public | Automated Build

Last pushed: 5 months ago
Short Description
Collect a user's tasks from exchange
Full Description


tasks-collector-exchange


Collect a user's tasks from exchange

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-exchange .

Start

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

From hub.docker.com

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

Call the service

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