1. 01 Jun, 2025 1 commit
    • qiuqunfeng's avatar
      Implement dynamic log level configuration and refactor Elasticsearch client creation · 5f22de38
      qiuqunfeng authored
      This update introduces the ability to set the log level dynamically based on the LOG_LEVEL environment variable, allowing for better control over logging verbosity. Additionally, the Elasticsearch client creation has been refactored to utilize configuration settings from a JSON file, enhancing the application's configurability. The previous LoadConfig function has been replaced with a more structured approach, and unnecessary code has been removed to streamline the log consumer service.
      5f22de38
  2. 03 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Update configuration and database migration for deployment · 4d18b503
      qiuqunfeng authored
      - Update region configuration with new API server and cluster details
      - Modify database configuration to use Kubernetes service endpoint
      - Change WAF rule categories table migration to use BIGINT with AUTO_INCREMENT
      - Standardize JSON configuration formatting
      4d18b503
  3. 28 Feb, 2025 1 commit
    • qiuqunfeng's avatar
      Refactor EnableListenerWafs to support new listener format · 59201340
      qiuqunfeng authored
      - Updated `EnableListenerWafsReq` struct to use string slice for listeners
      - Modified WAF service method to parse listener string into hosts and port
      - Simplified listener WAF configuration logic to work with new listener representation
      - Added error handling for port parsing and listener format validation
      59201340