Commit Graph

249 Commits

Author SHA1 Message Date
e61cb38b5b SIENTIAPDE-1445
SIENTIAPDE-1445 Add PI Web API configuration to .env.example and enhance worker setup

- Introduced new environment variables for PI Web API configuration in .env.example.
- Updated prepare_worker.py to utilize a camelCase to kebab-case conversion function for queue naming.
- Enhanced logging in prepare_worker to provide better insights during worker preparation.
- Adjusted execution counts in tests.ipynb for improved notebook state management.
2025-12-17 17:02:06 -03:00
034e0b2520 SIENTIAPDE-1445
Refactor workflow parameters in tests.ipynb and prepare_worker.py to enhance clarity and flexibility. Updated workflow_id and task_queue to accept dynamic values, and standardized timeout parameters for improved configuration.
2025-12-17 16:46:15 -03:00
d7d61f27a4 SIENTIAPDE-1445
Update API configuration in values.yaml and connectors_config.py; integrate PIWebAPIScouter into worker setup
2025-12-17 16:42:51 -03:00
e87c5d2da6 SIENTIAPDE-1445
Enhance Activities and API Integration

- Updated Activities class to include API operations for external data ingestion.
- Added API configuration builder to connectors_config.py for environment variable management.
- Integrated API configuration into worker setup.
- Expanded unit tests to cover new API functionality and configuration handling.
- Updated requirements.txt to include pycurl and prometheus-client for enhanced metrics support.
2025-12-17 15:16:00 -03:00
ab99695702 Merge pull request #26 from Aignosi/release/SIENTIAPDE-1441
Enhance Temporal Worker Configuration, Refine Helm Chart, and Streamline Dependencies
2025-12-16 16:33:12 -03:00
666a0a6e13 SIENTIAPDE-1441
Refactor prepare_worker.py to improve type annotations and code clarity. Update import statements and enhance formatting for better readability. Adjust comments in worker.py for consistency.
2025-12-16 16:01:47 -03:00
26eed05f74 SIENTIAPDE-1441
Update sonar-project.properties to include prepare_worker.py in coverage exclusions, enhancing code quality metrics.
2025-12-16 15:51:31 -03:00
5e2403090b SIENTIAPDE-1441
Refactor prepare_worker function to return a single Worker instance instead of a list, streamlining worker configuration and improving code clarity.
2025-12-16 15:43:01 -03:00
f1cdf7471d SIENTIAPDE-1441
SIENTIAPDE-1441: Refactor worker configuration in worker.py to utilize a new prepare_worker function for cleaner setup. Update environment variable names in values.yaml for consistency and clarity, adjusting memory requests and enhancing health check commands for improved application monitoring.
2025-12-16 15:39:54 -03:00
14eea70090 SIENTIAPDE-1441
Update values.yaml to modify liveness and readiness probe configurations, enhancing application health checks with improved metrics validation and adjusted timing parameters for better responsiveness.
2025-12-16 14:06:39 -03:00
39494b90ac SIENTIAPDE-1441
Update requirements.txt to upgrade sientia-dataops-library dependency from version 1.5.3 to 1.6.1 for improved functionality.
2025-12-16 13:40:54 -03:00
d3555221cf SIENTIAPDE-1441
Update values.yaml to define resource limits and requests for improved resource management in Kubernetes deployments.
2025-12-16 13:24:23 -03:00
c538f43488 SIENTIAPDE-1441
Update requirements.txt to remove unused dependencies: asyncua and aiokafka, streamlining the project requirements.
2025-12-16 10:45:01 -03:00
5c4f9eca96 SIENTIAPDE-1441
Update README.md and values.yaml to enhance system description and worker configuration. Added ML model orchestration to the system overview, introduced new debug mode features, and updated environment variable values to be strings for consistency.
2025-12-16 10:40:21 -03:00
e879107053 SIENTIAPDE-1441
SIENTIAPDE-1442: Enhance Temporal worker configuration by adding environment variables for concurrency limits and poller behavior settings in values.yaml and worker.py for optimized performance.
2025-12-16 10:10:42 -03:00
f3833a0f98 SIENTIAPDE-1441
Remove encrypt.py and test.ipynb files; update values.yaml to set image tag to 1.0.0 and change GITHUB_BRANCH to release/SIENTIAPDE-1441 for version consistency.
2025-12-16 09:48:28 -03:00
Matheus Demoner
9332f6a4a9 Merge pull request #25 from Aignosi/fix/SIENTIAPDE-1273
SIENTIAPDE-1273: Update GITHUB_BRANCH, Helm Chart Version, Metrics Registration, and Test Cases
2025-11-19 16:56:41 -03:00
2bc49637a1 SIENTIAPDE-1273
Update image tag in values.yaml from 0.5.0 to 0.5.2 for version consistency.
2025-11-18 11:42:21 -03:00
fc4ec35298 SIENTIAPDE-1273
Update GITHUB_BRANCH in values.yaml to fix/SIENTIAPDE-1273 for issue resolution.
2025-11-17 16:53:32 -03:00
6701a25c7b SIENTIAPDE-1273
Update GITHUB_BRANCH in values.yaml to feature/SIENTIAPDE-1273, increment Helm chart version to 0.6.0, and modify metrics registration in Gates class to skip None values. Update test cases to reflect changes in tag values.
2025-11-14 12:04:16 -03:00
5db04c7e5b Merge pull request #24 from Aignosi/feature/SIENTIAPDE-1325-adicionar-metricas-especificas-de-operacoes-externas
SIENTIAPDE-1325: Refactor Activities, Gates, MongoDB, and Redis for Improved Monitoring, Asynchronous Notifications, and Repository Pattern Implementation
2025-11-10 10:12:16 -03:00
1b7391e8f1 SIENTIAPDE-1325
Enhance Redis activity by formatting set and get operations for improved readability and consistency. Update tests to include metadata in assertions for better verification of Redis interactions.
2025-11-10 08:39:19 -03:00
3e8ba6c758 SIENTIAPDE-1325
Update release workflow to trigger only on merged pull requests, ensuring proper release management.
2025-11-10 08:23:01 -03:00
082ae682ee SIENTIAPDE-1325
Update requirements to use sientia-dataops-library version 1.5.3 and enhance Redis activity logging by including metadata in get and set operations.
2025-11-06 15:19:55 -03:00
d4fbb69b26 SIENTIAPDE-1325
Update requirements to use the remote sientia-dataops-library repository and increment image tag in values.yaml from 0.4.9 to 0.5.0 for version consistency.
2025-11-05 09:28:17 -03:00
32882d0b6f SIENTIAPDE-1325
Update metric labels from 'pipeline_name' to 'workflow_name' in metrics and related classes, ensuring consistency across the codebase and tests.
2025-11-04 08:49:38 -03:00
4351289111 SIENTIAPDE-1325
Refactor notification methods in Gates, MongoDB, and Redis classes to use asynchronous send_notification_async. Update related tests to ensure proper async handling and verification of notifications.
2025-11-03 14:57:44 -03:00
8350a3a0c3 SIENTIAPDE-1325
Refactor initialization of Activities, Gates, and MongoDB classes for improved readability by using multi-line argument formatting. Update related tests to match the new initialization style.
2025-10-30 16:50:39 -03:00
d4a74ec5eb SIENTIAPDE-1325
Update environment configuration and refactor activities to include metrics controller. Remove Kafka settings and adjust Redis and MongoDB initialization. Update tests to reflect changes in initialization and metrics tracking.
2025-10-30 16:49:55 -03:00
0c16075823 SIENTIAPDE-1325
Update GITHUB_BRANCH in values.yaml to feature/SIENTIAPDE-1325 for specific external operation metrics. Refactor shutdown methods in Activities class to ensure proper closure of MongoDB, Redis, and Gates connections. Adjust tests to reflect these changes and enhance repository pattern implementation for MongoDB and Redis activities.
2025-10-29 16:58:22 -03:00
10b3310677 SIENTIAPDE-1325
Refactor MongoDB, Redis, and Gates classes to extend SientiaMonitoring instead of BaseActivity. Update requirements to point to local dataops library path. Implement repository pattern for MongoDB and Redis operations, enhancing code organization and maintainability.
2025-10-29 16:01:54 -03:00
Matheus Demoner
7265819ae0 Merge pull request #23 from Aignosi/fix/SIENTIAPDE-1314-ajustes-nas-camadas-de-monitoramento-do-sientia
Implement tag value registration in Gates activity for improved metrics tracking
2025-10-27 14:28:51 -03:00
5dc2971d8c SIENTIAPDE-1314
SIENTIAPDE-1314: Update workflow name from 'sub_core_scouter' to 'subworkflow.core_scouter' in scouter.py and core_scouter.py, and adjust test references accordingly in test_scouter.py for consistency.
2025-10-27 10:16:57 -03:00
6af45c7476 SIENTIAPDE-1314
SIENTIAPDE-1314: Rename core_scouter workflow to sub_core_scouter and update references in scouter.py and test_scouter.py for consistency.
2025-10-27 10:11:07 -03:00
25838c26a6 SIENTIAPDE-1314
Update GITHUB_BRANCH in values.yaml to fix/SIENTIAPDE-1314 for monitoring layer adjustments
2025-10-24 10:14:26 -03:00
d1521838c5 SIENTIAPDE-1314
SIENTIAPDE-1314: Update type annotations in encrypt.py for improved clarity and type safety. Added type hint for file_tree variable and included type ignore for yaml import.
2025-10-23 16:15:29 -03:00
05fa808bfd SIENTIAPDE-1314
SIENTIAPDE-1314: Remove redundant blank line in Redis class to enhance code clarity.
2025-10-23 16:10:36 -03:00
fb1440b0d7 SIENTIAPDE-1314
Remove unnecessary blank line in Redis class definition to improve code readability.
2025-10-23 16:08:44 -03:00
f0ca06b4aa SIENTIAPDE-1314
Implement tag value registration in Gates activity and update related tests. Enhanced the write_metrics method to process and register tag values, improving metrics tracking. Adjusted tests to validate new functionality.
2025-10-23 16:02:38 -03:00
Bruno Domingues
c9136ca537 Merge pull request #22 from Aignosi/feature/SIENTIAPDE-1327-controle-de-releases
SIENTIAPDE-1327: Streamline CI Workflow and Update Dependencies
2025-10-23 10:45:15 -03:00
b063f973cd SIENTIAPDE-1327
Update requirements and simplify CI workflow by integrating quality gate from template. Bump sientia-dataops-library version to 1.4.7 and streamline quality-gate.yml to use a shared workflow configuration.
2025-10-23 09:04:28 -03:00
Matheus Demoner
e0532a629e Merge pull request #21 from Aignosi/SIENTIAPDE-1312-melhorias-e-correcoes-nas-pipelines-de-dados
SIENTIAPDE-1312/SIENTIAPDE-1318: Implement 'fill_missing_tags' parameter and update image tag
2025-10-21 17:25:14 -03:00
507ee8cc18 SIENTIAPDE-1312
Update image tag to 0.4.9 and change GITHUB_BRANCH to SIENTIAPDE-1312-melhorias-e-correcoes-nas-pipelines-de-dados in values.yaml
2025-10-21 14:40:07 -03:00
9cc55ea5e7 SIENTIAPDE-1312
Update Redis and CoreScouter to incorporate 'fill_missing_tags' parameter in data processing. Adjusted related tests to ensure proper handling of missing tags, enhancing overall functionality and consistency across workflows.
2025-10-21 09:14:41 -03:00
bd6474a975 SIENTIAPDE-1312
SIENTIAPDE-1318: Add 'fill_missing_tags' parameter to CoreScouter for enhanced tag handling in data processing. This update allows for the specification of missing tags during workflow execution.
2025-10-21 09:01:08 -03:00
4bd29ae0d7 SIENTIAPDE-1318
SIENTIAPDE-1318: Add support for filling missing tags in Redis data processing. Enhanced the Redis class to include a new parameter for handling missing tags, ensuring that absent tags are filled with None in the data package.
2025-10-20 16:24:36 -03:00
Matheus Demoner
4d602dc935 Merge pull request #20 from Aignosi/SIENTIAPDE-1318-adicionar-pipeline-de-qualidade
Enhance Code Quality Validation Script and CI Workflow
2025-10-20 08:36:33 -03:00
da2ffd6520 SIENTIAPDE-1318
Enhance validation script and CI workflow for code quality checks

- Added support for a --fix option in validate.sh to apply Ruff auto-fixes for code formatting and linting.
- Updated quality-gate.yml to include separate steps for installing development and runtime dependencies.
- Introduced dedicated steps for code formatting checks, linting, type checking, and security analysis in the CI workflow.
2025-10-17 12:47:40 -03:00
Matheus Demoner
9939147c9e Merge pull request #19 from Aignosi/SIENTIAPDE-1316-otimizacao-do-scouter
SIENTIAPDE-1316: Refactor metrics, activities, gates, and update .gitignore
2025-10-16 15:24:48 -03:00
ecfdb4873d SIENTIAPDE-1316
fix on requirements
2025-10-16 15:02:25 -03:00