Merge pull request #11 from Aignosi/SIENTIAPDE-1151-criar-testes-de-stress

Sientiapde 1151 criar testes de stress
This commit is contained in:
Bruno Domingues
2025-07-22 12:22:46 -03:00
committed by GitHub
2 changed files with 11 additions and 3 deletions

View File

@@ -125,8 +125,16 @@ class OPC(BaseActivity):
for server_id, config in opc_output_config.items():
if self.opc_repository.get(server_id) is None:
self.error(f"OPC server {server_id} not found", metadata)
continue
message = f"OPC server {server_id} not found to perform write operation."
self.send_notification(
metadata=metadata,
notification_id="OPC_SERVER_NOT_FOUND",
message=message,
block="write_opc_data",
level=NotificationLevel.ERROR,
attachment_content=f"OPC servers: {list(self.opc_repository.keys())}"
)
success = False
if 'prediction_tags' in config:
for tag, tag_config in config['prediction_tags'].items():

View File

@@ -123,7 +123,7 @@ env:
- name: GITHUB_REPO_URL
value: "git@github.com:Aignosi/sientia-dataops-laborious_temporal.git"
- name: GITHUB_BRANCH
value: "SIENTIAPDE-1163-alterar-dinamica-de-notificacoes-para-usar-o-mongodb-ao-inves-do-kafka"
value: "SIENTIAPDE-1151-criar-testes-de-stress"
- name: PYTHON_APP
value: "laborious.worker.worker"