SIENTIAPDE-1646

Update requirements and enhance OPC communication handling

- Updated `requirements-local.txt` to use the latest versions of `sientia-dataops-library` (1.12.1) and `sientia-model-library` (0.10.0).
- Improved documentation in `opc-communication.md` to clarify the transition from async to sync implementation and added details on error classification and reconnection behavior.
- Refactored `init_opc` method in `opc.py` to enhance connection handling and logging, ensuring independent server initialization.
- Enhanced validation and writing methods in `opc.py` to provide better feedback and error handling for OPC server operations.
- Updated `opc_repository.py` to improve error payload construction and session management metrics.
This commit is contained in:
vitor-aignosi
2026-05-19 16:43:20 -03:00
parent c919713075
commit 7a776066ec
4 changed files with 135 additions and 37 deletions

View File

@@ -3,10 +3,8 @@ psycopg2-binary
sqlalchemy
asyncua==1.0.6
redis
#git+ssh://git@github.com/Aignosi/sientia-dataops-library.git@1.12.0
/home/grezewave/Documents/projects/sientia/sientia-dataops-library
#git+ssh://git@github.com/Aignosi/sientia-model-library.git@0.8.3
/home/grezewave/Documents/projects/sientia/sientia-model-library
git+ssh://git@github.com/Aignosi/sientia-dataops-library.git@1.12.1
git+ssh://git@github.com/Aignosi/sientia-model-library.git@0.10.0
prometheus-client
botocore
boto3