Skip to content
Snippets Groups Projects
README.md 786 B
Newer Older
# How to locally run and test the KPI Value Writer
Waleed Akbar's avatar
Waleed Akbar committed

### Pre-requisets 
Ensure the following requirements are meet before executing the KPI Value Writer service.
Waleed Akbar's avatar
Waleed Akbar committed

1. The KPI Manger and KPI Value API services are running.
Waleed Akbar's avatar
Waleed Akbar committed

Waleed Akbar's avatar
Waleed Akbar committed
2. A Virtual enviornment exist with all the required packages listed in the ["requirements.in"](https://labs.etsi.org/rep/tfs/controller/-/blob/develop/src/kpi_value_writer/requirements.in) file installed sucessfully.
Waleed Akbar's avatar
Waleed Akbar committed
### Messages format templates
The ["messages"](https://labs.etsi.org/rep/tfs/controller/-/blob/develop/src/kpi_value_writer/tests/test_messages.py) python file contains the templates to create gRPC messages.
Waleed Akbar's avatar
Waleed Akbar committed
### Flow of execution
1. The service will be running, consuming KPI values from the Kafka topic, and pushing KPI metrics to Prometheus.