Skip to content
Snippets Groups Projects
  1. Sep 13, 2024
    • Waleed Akbar's avatar
      Changes in Analytics · c1ee28db
      Waleed Akbar authored
      Backend:
      - Updated the `StartSparkStreamer` function call to send `Analyzer_uuid` as the key for messages produced on the Kafka topic.
      - Updated the `SparkStream` definition to receive the key and added the key to the `streamwriter` object.
      
      Frontend:
      - Integrated APScheduler to manage `StreamListener`.
      - Added `ResponseListener` to consume messages from the `analytics_response_topic` and process them.
      - Added APScheduler to manage StreamListener.
      - Added "ResponseListener" to consumer messages from analytics response_topic and process it.
      c1ee28db
  2. Sep 09, 2024
    • Waleed Akbar's avatar
      Changes in Analytics · 8ac130c1
      Waleed Akbar authored
      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.
      8ac130c1
  3. Sep 07, 2024
    • Waleed Akbar's avatar
      Changes in Analytics · 88caa1cf
      Waleed Akbar authored
      **Backend:**
      - Added a dictionary to manage running analyzers.
      - Implemented logic to manage running analyzers.
      - Added the `TerminateAnalyzerBackend` method to handle analyzer termination.
      
      **Frontend:**
      - Modified and invoked the `PublishStopRequestOnKafka` method.
      88caa1cf
    • Waleed Akbar's avatar
      Changes in Analytics Service. · 88d7a200
      Waleed Akbar authored
      - Thresholds, window_size, window_slider is added in Frontend and Backend.
      88d7a200
  4. Sep 03, 2024
    • Waleed Akbar's avatar
      Changes in Telemetry · 067ace16
      Waleed Akbar authored
      - Added Kafka Request Listener to listen for requests from the Analytics Frontend.
      - Updated `SparkStreamer.py` to consume and process streams from VALUE topics, and further filter rows based on KPIs in the `input_kpis` list.
      - Updated the frontend TOPIC from `VALUE` to `ANALYTICS_REQUEST`.
      - Updated messages to keep the KPI UUID consistent with the one generated by the Telemetry Backend service.
      067ace16
  5. Aug 28, 2024
    • Waleed Akbar's avatar
      Changes in Analytic DB and Frontend · 28bf80d3
      Waleed Akbar authored
      - Created the Analytic Engine, Model, and DB files.
      - Added the DB connection.
      - Added `add_row_to_db` in `StartCollector`.
      - Added `delete_db_row_by_id` in `StopCollector`.
      - Improved message formatting.
      - Added a DB test file.
      28bf80d3
    • Waleed Akbar's avatar
      Changes in Analytics Frontend. · e0a77d5f
      Waleed Akbar authored
      - Actul logic is added in StartAnalyzer method.
      - Actual logic is added in StopAnalyzer method.
      - Improvements in message formats.
      e0a77d5f
  6. Aug 27, 2024
    • Waleed Akbar's avatar
      Initial Version of Analytics Component · 485d3178
      Waleed Akbar authored
      - Added the Analytics Frontend client and service with no logic implemented yet.
      - Added enums and ports for the Analytics frontend and backend in the constants.
      - Added test files and messages.
      - Added test execution scripts.
      485d3178
Loading