Commit Graph

253 Commits

Author SHA1 Message Date
vitor-aignosi
ccd45d6bc2 Merge branch 'SIENTIAPDE-1222-ajustar-a-library-para-fazer-o-download-do-courier' of github.com:Aignosi/sientia-dataops-orchestrator_temporal into SIENTIAPDE-1222-ajustar-a-library-para-fazer-o-download-do-courier 2025-09-24 10:36:38 -03:00
vitor-aignosi
60cc55fdd0 SIENTIAPDE-1222
Remove .env file containing sensitive configuration details, enhancing security by eliminating hardcoded credentials.
2025-09-24 10:36:35 -03:00
vitor-aignosi
0991cc74ab Update run_local.sh
Co-authored-by: codeant-ai[bot] <151821869+codeant-ai[bot]@users.noreply.github.com>
2025-09-24 10:26:20 -03:00
vitor-aignosi
52fd68f469 Update orchestrator/workflows/subworkflows/process_notifications.py
Co-authored-by: codeant-ai[bot] <151821869+codeant-ai[bot]@users.noreply.github.com>
2025-09-24 10:26:09 -03:00
vitor-aignosi
c3f5ba660f SIENTIAPDE-1222
Enhance test cases for server configuration in test_formatters.py and test_orchestrator_functions.py

- Added optional fields for certificate paths in the test cases to align with recent changes in server configuration, improving test coverage and ensuring proper handling of security configurations.
2025-09-24 09:13:22 -03:00
vitor-aignosi
02b647931f SIENTIAPDE-1222
Enhance OPC server configuration in orchestrator_functions.py

- Added optional fields for certificate paths in the build_tag_config function to improve security configuration flexibility.
2025-09-19 08:56:40 -03:00
vitor-aignosi
e31c5eece1 SIENTIAPDE-1222
SIENTIAPDE-1222
Enhance tests for email and MongoDB activities

- Added a test for sending emails when no SMTP server is configured, ensuring proper handling of such cases.
- Updated MongoDB tests to include timestamp fields in the results, improving data accuracy in document retrieval.
- Modified connector configuration tests to reflect changes in SMTP server settings.
2025-09-16 17:36:39 -03:00
vitor-aignosi
dae585533c SIENTIAPDE-1222
Update image tag in values.yaml to version 0.4.6
2025-09-16 16:42:36 -03:00
vitor-aignosi
b816ad523b SIENTIAPDE-1222
Enhance README and activities with advanced notification filtering features

- Updated README to include new intelligent notification filtering capabilities, including TTL-based duplicate prevention and ignore lists.
- Enhanced `Formatters` activity to support notification filtering for scheduled reports and added detailed filtering logic.
- Improved `SlotManager` to implement advanced notification filtering with persistent alert detection and group-based filtering.
- Updated `Alerts` workflow to incorporate intelligent filtering for real-time error notifications, ensuring efficient alert delivery.
2025-09-16 16:36:32 -03:00
vitor-aignosi
1f8d3e8777 SIENTIAPDE-1222
Update GITHUB_BRANCH in values.yaml to reflect new task for downloading the courier
2025-09-16 15:24:04 -03:00
vitor-aignosi
137367c963 SIENTIAPDE-1222
Refactor orchestration and email handling

- Updated the orchestration queries to streamline model lookups and added conditions for active models.
- Changed the entry point in the local run script to use the worker module.
- Removed the deprecated samples.json file.
- Enhanced the Email activity to skip sending if the SMTP server is not configured.
- Added timestamp field handling in MongoDB activities for better data management.
- Updated connectors configuration to allow for a None SMTP server.
- Improved the common configuration function to include model configuration details.
2025-09-12 14:39:42 -03:00
Bruno Domingues
5db411e5b5 Merge pull request #21 from Aignosi/SIENTIAPDE-1182-ajustar-laborious-para-pegar-timestamp-da-resposta-do-mlflow
Fix: Handle empty receiver groups in Alerts workflow and add corresponding test
2025-09-05 13:38:31 -03:00
vitor-aignosi
d9dad61d9c Merge branch 'main' into SIENTIAPDE-1182-ajustar-laborious-para-pegar-timestamp-da-resposta-do-mlflow 2025-09-05 12:58:20 -03:00
vitor-aignosi
678c149cf2 SIENTIAPDE-1182
Add test for handling cases with no receiver groups in Alerts workflow

- Implemented a new test case to verify the behavior of the Alerts workflow when no receiver groups are provided, ensuring that the workflow executes correctly without unnecessary processing.
2025-09-05 12:57:59 -03:00
vitor-aignosi
c4733f4daa SIENTIAPDE-1182
SIENTIAPDE-1206: Add early return for empty receiver groups in Alerts workflow

- Implemented an early return in the Alerts class to handle cases where no receiver groups are provided, preventing unnecessary processing in the notification workflow.
2025-09-05 12:43:39 -03:00
Bruno Domingues
28382c2190 Merge pull request #20 from Aignosi/SIENTIAPDE-1182-ajustar-laborious-para-pegar-timestamp-da-resposta-do-mlflow
SIENTIAPDE-1182: Update Environment Variables and Enhance Batch Prediction
2025-09-05 10:35:42 -03:00
vitor-aignosi
42565b5983 SIENTIAPDE-1182
Update environment variables in values.yaml and enhance predictions_batch function in orchestrator_functions.py

- Changed GITHUB_BRANCH to reflect the new task for adjusting laborious processes to capture timestamps from MLflow.
- Added a new filter configuration for handling empty data in the predictions_batch function to improve error management.
2025-09-04 15:39:27 -03:00
Bruno Domingues
27ac78e769 Merge pull request #19 from Aignosi/SIENTIAPDE-1084-ajustar-documentacao
Refactor and Enhance Prediction Batch Processing, Documentation, and Cleanup Deprecated Code
2025-09-03 13:35:18 +00:00
vitor-aignosi
deeb6a6d2f SIENTIAPDE-1084
Remove outdated module docstrings from orchestrator and activities packages for improved clarity and maintenance.
2025-09-01 15:51:39 -03:00
vitor-aignosi
8d0b6c1222 Merge branch 'SIENTIAPDE-1084-ajustar-documentacao' of github.com:Aignosi/sientia-dataops-orchestrator_temporal into SIENTIAPDE-1084-ajustar-documentacao 2025-09-01 15:50:02 -03:00
vitor-aignosi
fc1358713c SIENTIAPDE-1182
Update README.md to enhance system architecture documentation

- Removed outdated system overview diagram and replaced it with updated architecture diagrams for workflows, including Data Loading, Processing, and Notifications.
- Added detailed architecture sections for the Alerts and Reports workflows, including input parameters and flowcharts to illustrate processes.
- Improved clarity and organization of the README to better reflect the current system design and functionality.
2025-09-01 15:49:44 -03:00
vitor-aignosi
01b4c7a126 SIENTIAPDE-1182
Remove deprecated files and configurations

- Deleted coverage.sh, Dockerfile, docker-compose.yml, email.html, input_sample.json, and Makefile as part of the cleanup process.
- Updated README.md to reflect the removal of these components and provide a clearer overview of the project structure and functionality.
- Added module-level docstrings to orchestrator, activities, and workflows for improved documentation and clarity on system architecture.
2025-09-01 15:49:44 -03:00
vitor-aignosi
36f1388301 SIENTIAPDE-1182
SIENTIAPDE-1205: Enhance predictions_batch function and update test cases

- Added 'predictions_storage_policy' to the predictions_batch function for improved configuration handling.
- Updated test cases to include 'predictions_storage_policy' in expected results, ensuring consistency in testing.
2025-09-01 15:49:44 -03:00
vitor-aignosi
93e50883c1 SIENTIAPDE-1182
Update README.md to enhance system architecture documentation

- Removed outdated system overview diagram and replaced it with updated architecture diagrams for workflows, including Data Loading, Processing, and Notifications.
- Added detailed architecture sections for the Alerts and Reports workflows, including input parameters and flowcharts to illustrate processes.
- Improved clarity and organization of the README to better reflect the current system design and functionality.
2025-09-01 09:19:46 -03:00
vitor-aignosi
3724ea2bc8 SIENTIAPDE-1182
Remove deprecated files and configurations

- Deleted coverage.sh, Dockerfile, docker-compose.yml, email.html, input_sample.json, and Makefile as part of the cleanup process.
- Updated README.md to reflect the removal of these components and provide a clearer overview of the project structure and functionality.
- Added module-level docstrings to orchestrator, activities, and workflows for improved documentation and clarity on system architecture.
2025-08-29 16:13:57 -03:00
Bruno Domingues
d701943586 Merge pull request #18 from Aignosi/SIENTIAPDE-1205-alterar-opc-para-assincrono
SIENTIAPDE-1205: Standardize Datetime Handling in MongoDB Activities and Update Orchestration Notebook
2025-08-29 14:00:17 +00:00
vitor-aignosi
e389bd7c27 SIENTIAPDE-1182
SIENTIAPDE-1205: Enhance predictions_batch function and update test cases

- Added 'predictions_storage_policy' to the predictions_batch function for improved configuration handling.
- Updated test cases to include 'predictions_storage_policy' in expected results, ensuring consistency in testing.
2025-08-28 16:32:06 -03:00
vitor-aignosi
8f49745b0a SIENTIAPDE-1205
SIENTIAPDE-1205: Update timestamp formatting in MongoDB tests

- Modified timestamp handling in test_mongo_db.py to utilize DATETIME_FORMAT_MS_WITH_TZ for consistent formatting across test cases.
- Ensured all timestamp strings include UTC timezone information for improved accuracy in datetime comparisons.
2025-08-28 09:00:39 -03:00
vitor-aignosi
fbf006bb99 SIENTIAPDE-1205
SIENTIAPDE-1205: Update timestamp handling in MongoDB activities

- Modified timestamp formatting in mongo_db.py to apply UTC timezone before string conversion, ensuring consistency with DATETIME_FORMAT_MS_WITH_TZ.
2025-08-27 09:37:45 -03:00
vitor-aignosi
90e9e571b2 SIENTIAPDE-1205
SIENTIAPDE-1205: Simplify timestamp formatting in MongoDB activities

- Removed timezone conversion from timestamp handling in mongo_db.py, streamlining the formatting process while maintaining consistency with DATETIME_FORMAT_MS_WITH_TZ.
2025-08-27 09:35:55 -03:00
vitor-aignosi
2a3e5b8bc4 SIENTIAPDE-1205
SIENTIAPDE-1205: Refactor timestamp handling in MongoDB activities

- Updated the import statement in mongo_db.py to include timezone support.
- Modified timestamp formatting to ensure UTC timezone is applied before string conversion, enhancing consistency in datetime handling.
2025-08-27 09:32:42 -03:00
vitor-aignosi
93915841d6 SIENTIAPDE-1205
SIENTIAPDE-1205: Update GITHUB_BRANCH and standardize datetime handling in MongoDB activities

- Changed GITHUB_BRANCH in values.yaml from "main" to "SIENTIAPDE-1205-alterar-opc-para-assincrono".
- Updated datetime parsing in mongo_db.py to use DATETIME_FORMAT_MS_WITH_TZ for consistent timestamp handling.
2025-08-27 09:25:17 -03:00
vitor-aignosi
e17df007ab SIENTIAPDE-1205
Update orchestration notebook execution count, modify image tag in values.yaml, and standardize datetime handling in MongoDB activities

- Changed execution count in init_orchestration.ipynb from 2 to 1.
- Updated image tag in values.yaml from 0.4.4 to 0.4.5.
- Replaced DATETIME_FORMAT_MS_WITH_TZ with DATETIME_FORMAT_MS in mongo_db.py for consistent timestamp handling.
2025-08-27 09:12:24 -03:00
Bruno Domingues
e3b35bf4fa Merge pull request #17 from Aignosi/SIENTIAPDE-1193-conferir-como-a-escrita-de-datetime-ocorre-no-temporal
SIENTIAPDE-1193: Improve Timestamp Handling and Update Dependencies
2025-08-26 13:39:28 +00:00
vitor-aignosi
c581e7da47 Merge branch 'SIENTIAPDE-1193-conferir-como-a-escrita-de-datetime-ocorre-no-temporal' of github.com:Aignosi/sientia-dataops-orchestrator_temporal into SIENTIAPDE-1193-conferir-como-a-escrita-de-datetime-ocorre-no-temporal 2025-08-25 10:27:17 -03:00
vitor-aignosi
2aae718e5a SIENTIAPDE-1193
Enhance test cases to include datetime_columns for improved timestamp handling in minimal_retrain and predictions_batch functions
2025-08-25 10:04:26 -03:00
vitor-aignosi
575a99fd31 SIENTIAPDE-1193
chore: update image tag and enhance datetime column handling in orchestrator functions

- Updated the image tag in values.yaml from 0.4.2 to 0.4.4 for the latest version.
- Added support for datetime_columns in minimal_retrain and predictions_batch functions to improve timestamp handling in orchestrator functions.
2025-08-25 10:04:26 -03:00
vitor-aignosi
4aa7ea70fa SIENTIAPDE-1193
refactor: standardize timestamp handling across MongoDB and SlotManager

- Replaced instances of `now()` with `date_now` for consistent timestamp usage in MongoDB and SlotManager activities.
- Updated test cases to mock the new `now()` function, ensuring accurate timestamp handling in unit tests.
- Adjusted timestamp formatting in various tests to align with the DATETIME_FORMAT_MS_WITH_TZ standard.
2025-08-25 10:04:26 -03:00
vitor-aignosi
d7effd44e5 SIENTIAPDE-1193
refactor: update date handling and remove deprecated constants

- Replaced the usage of datetime.now() with a new now() function from sientia_do.temporal.constants for consistent timestamp handling across multiple files.
- Updated the date format from DEFAULT_DATE_FORMAT to DATETIME_FORMAT_MS_WITH_TZ in various activities to ensure uniformity in timestamp formatting.
- Removed the obsolete patterns.py file that contained the DEFAULT_DATE_FORMAT constant.
2025-08-25 10:04:26 -03:00
vitor-aignosi
d4efe1d159 SIENTIAPDE-1193
chore: update sientia-dataops-library version and modify environment variables

- Updated the sientia-dataops-library dependency version from 1.4.1 to 1.4.2 in requirements.txt.
- Changed the GITHUB_BRANCH value in values.yaml to reflect the new task SIENTIAPDE-1193.
- Enhanced the process_notifications workflow to include timestamp conversion metadata for improved data handling.
2025-08-25 10:04:26 -03:00
Matheus Demoner
3e3926832b Merge pull request #16 from Aignosi/SIENTIAPDE-1199-revisar-e-testar-observabilidade
Sientiapde 1199 revisar e testar observabilidade
2025-08-25 09:52:44 -03:00
vitor-aignosi
33017ffc7e SIENTIAPDE-1193
Enhance test cases to include datetime_columns for improved timestamp handling in minimal_retrain and predictions_batch functions
2025-08-25 09:16:47 -03:00
vitor-aignosi
92e5ccdcde SIENTIAPDE-1193
chore: update image tag and enhance datetime column handling in orchestrator functions

- Updated the image tag in values.yaml from 0.4.2 to 0.4.4 for the latest version.
- Added support for datetime_columns in minimal_retrain and predictions_batch functions to improve timestamp handling in orchestrator functions.
2025-08-25 08:48:02 -03:00
vitor-aignosi
5692fa69e1 SIENTIAPDE-1193
refactor: standardize timestamp handling across MongoDB and SlotManager

- Replaced instances of `now()` with `date_now` for consistent timestamp usage in MongoDB and SlotManager activities.
- Updated test cases to mock the new `now()` function, ensuring accurate timestamp handling in unit tests.
- Adjusted timestamp formatting in various tests to align with the DATETIME_FORMAT_MS_WITH_TZ standard.
2025-08-25 08:30:42 -03:00
vitor-aignosi
9672a9cb7e SIENTIAPDE-1193
refactor: update date handling and remove deprecated constants

- Replaced the usage of datetime.now() with a new now() function from sientia_do.temporal.constants for consistent timestamp handling across multiple files.
- Updated the date format from DEFAULT_DATE_FORMAT to DATETIME_FORMAT_MS_WITH_TZ in various activities to ensure uniformity in timestamp formatting.
- Removed the obsolete patterns.py file that contained the DEFAULT_DATE_FORMAT constant.
2025-08-22 11:45:11 -03:00
vitor-aignosi
cb3caaa55c SIENTIAPDE-1193
chore: update sientia-dataops-library version and modify environment variables

- Updated the sientia-dataops-library dependency version from 1.4.1 to 1.4.2 in requirements.txt.
- Changed the GITHUB_BRANCH value in values.yaml to reflect the new task SIENTIAPDE-1193.
- Enhanced the process_notifications workflow to include timestamp conversion metadata for improved data handling.
2025-08-22 08:11:19 -03:00
vitor-aignosi
e48bb4cc1e Merge branch 'SIENTIAPDE-1199-revisar-e-testar-observabilidade' of github.com:Aignosi/sientia-dataops-orchestrator_temporal into SIENTIAPDE-1199-revisar-e-testar-observabilidade 2025-08-21 09:28:00 -03:00
vitor-aignosi
5992909a61 SIENTIAPDE-1199
fix: add metadata handling in schedule configuration tests

- Enhanced the test cases in test_formatters.py and test_temporal_manager.py to include metadata in the schedule configuration inputs.
- This change improves the accuracy and traceability of the tests by ensuring that metadata is properly accounted for in the test scenarios.
2025-08-21 09:27:57 -03:00
vitor-aignosi
2ed8f2e2db Merge branch 'main' into SIENTIAPDE-1199-revisar-e-testar-observabilidade 2025-08-21 09:25:01 -03:00
vitor-aignosi
e0b8677f83 Merge pull request #15 from Aignosi/SIENTIAPDE-1169-pensar-e-projetar-testes-de-breakdown-e-performance
Sientiapde 1169 pensar e projetar testes de breakdown e performance
2025-08-21 09:19:17 -03:00