Skip to content

Commit

Permalink
DRILL-8438: Bump YAUAA to 7.19.2 (#2808)
Browse files Browse the repository at this point in the history
* chore(deps): Update Yauaa to 7.19.2

* Additional fix, please squash on merge
  • Loading branch information
nielsbasjes authored May 23, 2023
1 parent d6d1b19 commit 214e188
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 14 deletions.
4 changes: 0 additions & 4 deletions contrib/format-httpd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
<groupId>nl.basjes.parse.httpdlog</groupId>
<artifactId>httpdlog-parser</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down
6 changes: 0 additions & 6 deletions contrib/udfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@
<groupId>nl.basjes.parse.useragent</groupId>
<artifactId>yauaa</artifactId>
<version>${yauaa.version}</version>
<exclusions>
<exclusion>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Test dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ private static class UserAgentAnalyzerHolder {
private static final UserAgentAnalyzer INSTANCE = UserAgentAnalyzer.newBuilder()
.dropTests()
.hideMatcherLoadStats()
// Caffeine is a Java 11+ library.
.useJava8CompatibleCaching()
.immediateInitialization()
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void testBadFieldName() throws Exception {
@Test
public void testNullUserAgent() throws Exception {
// If a null value is provided then the UserAgentAnalyzer will classify this as a Hacker because all requests normally have a User-Agent.
UserAgentAnalyzer analyzer = UserAgentAnalyzer.newBuilder().showMinimalVersion().withoutCache().dropTests().immediateInitialization().build();
UserAgentAnalyzer analyzer = UserAgentAnalyzer.newBuilder().showMinimalVersion().withoutCache().withoutClientHintsCache().dropTests().immediateInitialization().build();
Map<String, String> expected = analyzer.parse((String)null).toMap(analyzer.getAllPossibleFieldNamesSorted());

Map<String, Text> expectedRecord = new TreeMap<>();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<commons.configuration.version>1.10</commons.configuration.version>
<commons.beanutils.version>1.9.4</commons.beanutils.version>
<httpdlog-parser.version>5.8</httpdlog-parser.version>
<yauaa.version>7.9.0</yauaa.version>
<yauaa.version>7.19.2</yauaa.version>
<log4j.version>2.19.0</log4j.version>
<aircompressor.version>0.20</aircompressor.version>
<iceberg.version>0.12.1</iceberg.version>
Expand Down

0 comments on commit 214e188

Please sign in to comment.