SIENTIAPDE-1646

SIENTIAPDE-1646 Update dependencies and refactor OPC integration

- Replaced `opcua` with `asyncua` in `requirements-local.txt` and `requirements.txt` to utilize the async capabilities.
- Updated `values.yaml` to change the GitHub branch from `feature/SIENTIAPDE-1646` to `release/SIENTIAPDE-1646`.
- Refactored `opc.py` and `opc_repository.py` to accommodate the new `asyncua` library, ensuring compatibility with the synchronous API.
- Adjusted tests in `test_opc_repository.py` to reflect changes in the client implementation and maintain functionality.
This commit is contained in:
vitor-aignosi
2026-05-11 12:29:39 -03:00
parent 8d34228d7b
commit e22b0bc7c3
6 changed files with 26 additions and 21 deletions

View File

@@ -143,7 +143,7 @@ class OPC(SientiaMonitoring):
level=NotificationLevel.ERROR,
attachment_content=trace,
)
raise e
raise
def validate_server(self, server_id: str, metadata: dict[str, Any]) -> bool:
"""