HUB
Sign inSign up
tasks-user logo

telemark/tasks-user

By telemark

•Updated over 9 years ago

Collect all tasks for a user

Image
0

7.4K

telemark/tasks-user repository overview

Build Status js-standard-style

⁠tasks-user

Greenkeeper badge Microservice to collect a user's task

⁠Inbound messages

This microservice listens for the following messages

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

⁠Outbound messages

This microservice emits the following messages

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

⁠Docker

Build the image

$ docker build -t tasks-user .

Start

$ docker run -d --net host --name tasks-user tasks-user

From hub.docker.com

$ docker run -d --net host --name tasks-user telemark/tasks-user

Call the service

$ curl -d '{"role":"tasks", "type": "user", "user":"gasg"}' -v http://localhost:8000/act
$ curl -d '{"info":"tasks", "type": "user", "data":{"user": "gasg", "system": "npm", "data": ["awsm"]}}' -v http://localhost:8000/act

Tag summary

Content type

Image

Digest

Size

97.3 MB

Last updated

over 9 years ago

docker pull telemark/tasks-user