Skip to content

sesam-community/elsmart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elsmart workorder microservice

Environment variables which need to be set:

API_ENDPOINT

Set these if you want authentication:

USERNAME

PASSWORD

https://travis-ci.org/sesam-community/elsmart.svg?branch=master

A python micro service template for receiving a JSON entity stream from a Sesam service instance and forwarding it to a Elsmart workorder endpoint. The return JSON payload is then inspected to generate proper HTTP error codes in case something has gone wrong.

$ python3 service/datasink-service.py
 * Running on http://0.0.0.0:5001/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger pin code: 260-787-156

The service listens on port 5001.

JSON entities can be posted to 'http://localhost:5001/receiver'.

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • Dockerfile 4.5%