fuweng11 commented on code in PR #9057:
URL: https://github.com/apache/inlong/pull/9057#discussion_r1520760233


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/core/impl/AuditServiceImpl.java:
##########
@@ -104,13 +106,32 @@
 public class AuditServiceImpl implements AuditService {
 
     private static final Logger LOGGER = 
LoggerFactory.getLogger(AuditServiceImpl.class);
+    private static final Gson GSON = new GsonBuilder().create();
     private static final String SECOND_FORMAT = "yyyy-MM-dd HH:mm:ss";
     private static final String HOUR_FORMAT = "yyyy-MM-dd HH";
     private static final String DAY_FORMAT = "yyyy-MM-dd";
     private static final DateTimeFormatter SECOND_DATE_FORMATTER = 
DateTimeFormat.forPattern(SECOND_FORMAT);
     private static final DateTimeFormatter HOUR_DATE_FORMATTER = 
DateTimeFormat.forPattern(HOUR_FORMAT);
     private static final DateTimeFormatter DAY_DATE_FORMATTER = 
DateTimeFormat.forPattern(DAY_FORMAT);
 
+    private static final double ES_DEFAULT_BOOST = 1.0;
+    private static final boolean ES_ADJUST_PURE_NEGATIVE = true;
+    private static final int ES_QUERY_FROM = 0;
+    private static final int ES_QUERY_SIZE = 0;
+    private static final String ES_SORT_ORDER = "ASC";
+    private static final String ES_TERM_FILED = "log_ts";
+    private static final String ES_AGGREGATIONS_COUNT = "count";
+    private static final String ES_AGGREGATIONS_DELAY = "delay";
+    private static final String ES_AGGREGATIONS = "aggregations";
+    private static final String ES_BUCKETS = "buckets";
+    private static final String ES_KEY = "key";
+    private static final String ES_VALUE = "value";
+    private static final String ES_INLONG_GROUP_ID = "inlong_group_id";

Review Comment:
   No need to add ES prefix, these parameters are independent of ES.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to