Changes in Analytics
Proto: - Added `Duration_s` field to the proto file. Frontend: - Added `SelectAnalyzer` logic. - Improved message formatting in the `create_analyzer_filter()` function. - Added a test case: `test_SelectAnalytics`. Backend: - Renamed the `RunSparkStreamer` method to `StartSparkStreamer`. - Updated the `StartRequestListener` method to return `(thread, stop_event)`. - Added a `StopRequestListener` method to stop the listener. Database: - Added the `select_with_filter` method with actual logic implementation. - Updated the `ConvertRowToAnalyzer` method to correctly read the `operation_mode` ENUM value.
parent
54e0014b
No related branches found
No related tags found
Showing
- proto/analytics_frontend.proto 10 additions, 8 deletionsproto/analytics_frontend.proto
- src/analytics/backend/service/AnalyticsBackendService.py 26 additions, 8 deletionssrc/analytics/backend/service/AnalyticsBackendService.py
- src/analytics/backend/service/SparkStreaming.py 2 additions, 1 deletionsrc/analytics/backend/service/SparkStreaming.py
- src/analytics/backend/tests/test_backend.py 18 additions, 3 deletionssrc/analytics/backend/tests/test_backend.py
- src/analytics/database/AnalyzerModel.py 1 addition, 1 deletionsrc/analytics/database/AnalyzerModel.py
- src/analytics/database/Analyzer_DB.py 16 additions, 3 deletionssrc/analytics/database/Analyzer_DB.py
- src/analytics/frontend/service/AnalyticsFrontendServiceServicerImpl.py 15 additions, 4 deletions.../frontend/service/AnalyticsFrontendServiceServicerImpl.py
- src/analytics/frontend/tests/messages.py 13 additions, 12 deletionssrc/analytics/frontend/tests/messages.py
- src/analytics/frontend/tests/test_frontend.py 14 additions, 7 deletionssrc/analytics/frontend/tests/test_frontend.py
Please register or sign in to comment