phanimahesh / vienna-emscsv-processor

A data import tool for city of vienna - imports energy measurements into fiware components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emscsv-processor

Monitors a file server for csv-like files containing energy measurements, and pushes the data into a FIWARE context broker.

Usage

This is intented to be used by internal services of city of vienna, and makes many assumptions. Specifically, the file formats, simple html page listing on file server, specific url structures and certificate based access. It may not be usable as-is outside its intended environments.

Most configurable options can be controlled with environment variables. For a complete list, see src/Config.hs. Each field of APP maps to an env var obtained by converting camel case to upper snake case. For example, fiwareService becomes FIWARE_SERVICE

Minimal docker image

To build a minimal docker image, run

cd docker/minimal
make

stack is required on the host system to build the minimal image.

About

A data import tool for city of vienna - imports energy measurements into fiware components

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 70.1%Language:Makefile 23.3%Language:Shell 4.1%Language:Python 1.9%Language:Dockerfile 0.6%