julwil / ccs4dt

The Cloud Correlation Service for Data Tracking (CCS4DT)
https://julwil.github.io/ccs4dt/index.html
0 stars 0 forks source link

ccs4dt

Correlation Engine for Livealytics


Installation

Docker and Docker-compose are required.

  1. Clone repository at git@github.com:mtornow/ccs4dt.git
  2. Go into project root folder cd ccs4dt/
  3. Run docker-compose up

Getting Started

REST API

API is exposed at http://localhost:5000 Find API documentation here.


CoreDB

Stores configuration and metadata:


InfluxDB

Stores the actual time-series data provided by the InputBatch

InfluxDB UI is exposed at http://localhost:8086


Tests

All tests are in the project's /test folder

ccs4dt
│   ...
└───tests
│   └───integration
│   └───unit
│   ...

prefix all tests with test_ and place them in /tests/integration or /tests/unit folder.

Run all tests with docker run api pytest or docker exec api pytest


Documentation

REST API

OpenAPI v3 specification can be found here

Backend

  1. Run docker exec api /bin/bash scripts/docs/generate.sh to generate documentation
  2. Open the generated HTML file at docs/_build/html/index.html in a browser