From 025ae752ac0ad8ef79d3d7ffe5cc7b8e565fd13b Mon Sep 17 00:00:00 2001 From: Xu Yang Date: Mon, 2 Dec 2024 10:23:59 -0800 Subject: [PATCH] update --- .../java/com/uid2/shared/vertx/RequestCapturingHandler.java | 1 + .../java/com/uid2/shared/vertx/RequestCapturingHandlerTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/uid2/shared/vertx/RequestCapturingHandler.java b/src/main/java/com/uid2/shared/vertx/RequestCapturingHandler.java index d52f59d5..d837a8bb 100644 --- a/src/main/java/com/uid2/shared/vertx/RequestCapturingHandler.java +++ b/src/main/java/com/uid2/shared/vertx/RequestCapturingHandler.java @@ -40,6 +40,7 @@ private static String formatRFC1123DateTime(long time) { return DateTimeFormatter.RFC_1123_DATE_TIME.format(Instant.ofEpochMilli(time).atZone(ZONE_GMT)); } + @Deprecated public RequestCapturingHandler() { } diff --git a/src/test/java/com/uid2/shared/vertx/RequestCapturingHandlerTest.java b/src/test/java/com/uid2/shared/vertx/RequestCapturingHandlerTest.java index 2feda9e8..b3f6b089 100644 --- a/src/test/java/com/uid2/shared/vertx/RequestCapturingHandlerTest.java +++ b/src/test/java/com/uid2/shared/vertx/RequestCapturingHandlerTest.java @@ -176,7 +176,7 @@ public void getSiteIdFromRoutingContextData(String key, Object value, String sit } private static Stream siteIdRoutingContextData() { - // Arguments are: routing context data key, routing context data value, site ID tag. + // Arguments are: routing context data key, routing context data value, site ID tag, site Name return Stream.of( Arguments.of(Const.RoutingContextData.SiteId, 100, "100", "test-100"), Arguments.of(AuthMiddleware.API_CLIENT_PROP, new ClientKey("keyHash", "keySalt", "secret", "", Instant.MIN, Set.of(), 200, "test-key-id-1"), "200", "test-200"),