This library is built to make development of services for Holmes-Totem easier.
Contained within this library is a standardized set of helpers for Python3 and Go.
-
Go (examples):
- JSON configuration parsing
- Input identification and validation
- HTTP router for standard paths / Standard Info-Output
- Submit/get samples to/from a Holmes-Storage instance (example see here)
-
Python3 (examples):
- JSON configuration parsing
- Input identification and validation
- HTTP router for standard paths / Standard Info-Output
- Submit/get samples to/from a Holmes-Storage instance (example see here)
- Some tests create temporary files on the hard drive for testing
- Some tests open a dummy webserver on 127.0.0.1:8017
cd holmeslibrary/python3
python3 -m unittest -v testing/*.py
go get "github.com/HolmesProcessing/Holmes-Totem-Service-Library"
go test "github.com/HolmesProcessing/Holmes-Totem-Service-Library/go/..."