Commit Graph

24 Commits

Author SHA1 Message Date
vitor-aignosi
34dbc886f3 SIENTIAPDE-1646
Update project configuration and dependencies

- Added .mypy_cache and .cursor to .gitignore.
- Changed asyncio_default_fixture_loop_scope and asyncio_default_test_loop_scope to "session" in pyproject.toml.
- Updated e2e testing dependencies in requirements-dev.txt, replacing fakeredis and mongomock with pytest-httpserver.
- Updated requirements.txt to use sientia_do instead of a specific git commit.
- Modified sonar-project.properties to remove a file from coverage exclusions.
- Enhanced E2E test fixtures in e2e/conftest.py for better container management.
- Cleaned up e2e test files related to CoreScouter and PIWebAPIScouter workflows.
2026-05-25 12:58:03 -03:00
vitor-aignosi
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
vitor-aignosi
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
vitor-aignosi
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
vitor-aignosi
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
vitor-aignosi
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
vitor-aignosi
97eb5bc904 SIENTIAPDE-1316
Update .gitignore and refactor metrics.py, activities.py, and gates.py for improved clarity and consistency. Added coverage.xml and cache directories to .gitignore. Standardized string formatting and parameter handling in metrics and activities classes, enhancing code readability. Removed the deprecated faker.py file and adjusted related tests accordingly.
2025-10-16 13:31:12 -03:00
vitor-aignosi
a973da9d60 SIENTIAPDE-1084
Remove deprecated files and configurations, including .env, Dockerfile, docker-compose.yml, and client-schedule.py. Update README.md to reflect new architecture and features, enhancing clarity on system capabilities and workflows. Adjust values.yaml for image tag and replica count, and improve code documentation across various modules for better maintainability.
2025-08-29 11:56:45 -03:00
vitor-aignosi
54c3dd25e9 SIENTIAPDE-1193
Update replica count in values.yaml to 1 and enhance timestamp handling in MongoDB activity by setting timezone to UTC for inserted_at field.
2025-08-22 15:30:47 -03:00
vitor-aignosi
0e0603d2bc SIENTIAPDE-1193
Update sientia-dataops-library version to 1.4.3 and refactor timestamp handling in MongoDB and Redis activities to use DATETIME_FORMAT constants for improved consistency. Enhance unit tests to reflect these changes.
2025-08-22 11:12:37 -03:00
vitor-aignosi
2a76f2e3c6 SIENTIAPDE-1199
Enhance logging in Gates, MongoDB, and Redis activities by replacing debug statements with info level logs, improving observability of data processing steps. Update worker configuration to adjust concurrency settings and enable autoscaling for task polling.
2025-08-20 12:39:43 -03:00
vitor-aignosi
3bbc2c4993 SIENTIAPDE-1199
Update dependencies and improve observability by changing logger imports. Bump sientia-dataops-library version to 1.4.1 and update image tag to 0.4.2 in values.yaml.
2025-08-19 16:29:30 -03:00
vitor-aignosi
2efad30304 SIENTIAPDE-1174
SIENTIAPDE-1174 Update dependencies, modify image tag, and enhance metrics tracking in various activities for improved observability and performance.
2025-07-31 12:52:07 -03:00
vitor-aignosi
aacd52b5c7 SIENTIAPDE-1151
Add debug logging for collected data in MongoDB activity
2025-07-21 11:12:39 -03:00
vitor-aignosi
95defccbf6 SIENTIAPDE-1163
Refactor notification handler imports across multiple files to use CoreNotificationHandler instead of NotificationHandler for consistency and clarity.
2025-07-16 08:59:21 -03:00
vitor-aignosi
332612ac84 SIENTIAPDE-1110
Integrate Druid activity into the Activities class, adding support for Druid configuration and initialization. Update worker and connectors configuration to accommodate Druid, enhancing data processing capabilities.
2025-07-02 09:02:59 -03:00
vitor-aignosi
91f2d8610b SIENTIAPDE-1110
Update MongoDB activity to format 'inserted_at' timestamps as strings in the format 'YYYY-MM-DD HH:MM:SS.ssssss', improving readability of timestamp data.
2025-07-01 16:09:46 -03:00
vitor-aignosi
82ce1852e3 SIENTIAPDE-1110
Add debug logging for data filter in MongoDB activity to enhance traceability of filtering criteria.
2025-07-01 16:03:40 -03:00
vitor-aignosi
f183bac90d SIENTIAPDE-1110
Enhance MongoDB data return format by converting to DataFrame dictionary, improving data structure for downstream processing.
2025-07-01 15:37:40 -03:00
vitor-aignosi
f441873969 SIENTIAPDE-1110
Refactor MongoDB data retrieval to convert cursor to list, improving data handling and compatibility.
2025-07-01 15:33:51 -03:00
vitor-aignosi
d7d44556c8 SIENTIAPDE-1110
Update MongoDB activity to handle None last_data_timestamp by using an empty filter, improving data retrieval logic.
2025-07-01 15:31:27 -03:00
vitor-aignosi
1908741feb SIENTIAPDE-1110
Add debug logging for MongoDB data loading to enhance traceability of input data.
2025-07-01 15:26:57 -03:00
vitor-aignosi
9b524ea428 SIENTIAPDE-1110
Refactor MongoDB activity to import datetime directly and format 'inserted_at' timestamps to ISO 8601 format for improved data consistency.
2025-07-01 15:20:50 -03:00
vitor-aignosi
53337de74a SIENTIAPDE-1110
SIENTIAPDE-1110 Add MongoDB integration and enhance Redis activity with timestamp management functions.
2025-07-01 15:10:32 -03:00