4208412eca8e498e7d3084ae46d180e3e703f18d
Add temporary functiontal tests, that must be removed soon. Refactor tests: Remove outdated resource manager tests and add functional tests with Docker and Kafka integration - Deleted existing unit tests for ResourceManager. - Introduced new functional tests for single node operations with Redis and Kafka. - Added Docker Compose setup for test environment. - Implemented fixtures for Redis and Kafka consumers. - Created comprehensive tests for data publishing and slot management. - Added unit tests for DataManager and IngestorManager with mocked dependencies. - Included tests for OpcManager covering connection, subscription, and data change notifications.
sientia-dataops-opc-gateway
OPC gateway to manage Scouter pipelines
Local tests
Generate your ssh key to Docker
''' ssh-keygen -t ed25519 -C "docker-access" -f ~/.ssh/id_ed25519_docker ''' Add the public key to yout Git SSH keys
Enable Docker BuildKit
''' export DOCKER_BUILDKIT=1 ''' or make it permanent: ''' echo '{ "features": { "buildkit": true } }' | sudo tee /etc/docker/daemon.json sudo systemctl restart docker '''
Run docker compose
''' docker compose build --ssh default=$HOME/.ssh/id_ed25519_docker docker compose up -d '''
Populate redis server
Create venv with python3.11 ''' python3.11 -m venv venv source ./venv/bin/activate ''' Install requirements ''' pip install -r requirements.txt ''' Run feeder ''' python simulator/redis-feeder.py '''
Description
Languages
Python
97.5%
Shell
2.5%