diff --git a/.travis.yml b/.travis.yml
index eba66e4..8c89893 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
language: java
jdk:
- - openjdk8
- openjdk11
+ - openjdk13
addons:
sonarcloud:
organization: "rchukh-github"
diff --git a/README.md b/README.md
index 9e4d543..dd1ae14 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
# Overview
-Presto QueryLog is a Presto plugin for logging query events into separate log file.
+Presto QueryLog is a [PrestoSQL](https://prestosql.io/) plugin for logging query events into separate log file.
Its main purpose is to gather queries metadata and statistics as one event per line, so it can be easily collected by external software (e.g. Elastic FileBeat which will send data to Logstash/ElasticSearch/Kibana for storage/analysis).
diff --git a/pom.xml b/pom.xml
index 4d14f42..c84da8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,20 +6,19 @@
com.github.rchukh
presto-querylog
- 0.2.1-SNAPSHOT
+ 0.3.0-SNAPSHOT
Presto Query Log
UTF-8
- 8
- 2.12.0
- 316
-
-
- 2.9.8
+ 11
+ 2.12.1
+ 326
+
+
+ 2.10.0
- 5.5.1
- 1.3.2
+ 5.5.2
@@ -31,12 +30,13 @@
provided
-
+
org.apache.logging.log4j
log4j-core
${log4j2.version}
+
com.fasterxml.jackson.core
jackson-databind
@@ -61,15 +61,6 @@
${junit.jupiter.version}
test
-
-
-
- org.junit.platform
- junit-platform-surefire-provider
- ${junit.platform.version}
- test
-
-
@@ -79,8 +70,7 @@
maven-compiler-plugin
3.8.1
-
- ${maven.compiler.source}
+ ${maven.compiler.release}
${project.build.sourceEncoding}
@@ -107,7 +97,7 @@
org.apache.maven.plugins
maven-source-plugin
- 3.1.0
+ 3.2.0
attach-sources
@@ -122,7 +112,7 @@
maven-javadoc-plugin
3.1.1
-
+ ${maven.compiler.release}
@@ -136,7 +126,7 @@
org.apache.maven.plugins
maven-assembly-plugin
- 3.1.1
+ 3.2.0
package
diff --git a/src/test/java/com/github/presto/querylog/QueryLogListenerTest.java b/src/test/java/com/github/presto/querylog/QueryLogListenerTest.java
index 136d009..d6ca1e5 100644
--- a/src/test/java/com/github/presto/querylog/QueryLogListenerTest.java
+++ b/src/test/java/com/github/presto/querylog/QueryLogListenerTest.java
@@ -1,6 +1,5 @@
package com.github.presto.querylog;
-import io.airlift.units.DataSize;
import io.prestosql.spi.eventlistener.QueryContext;
import io.prestosql.spi.eventlistener.QueryCreatedEvent;
import io.prestosql.spi.eventlistener.QueryMetadata;
@@ -132,9 +131,9 @@ private QueryContext prepareQueryContext() {
"user",
Optional.of("principal"),
Optional.empty(), Optional.empty(), Optional.empty(),
- Optional.empty(), new HashSet(), new HashSet(), Optional.empty(), Optional.empty(),
- Optional.empty(),Optional.empty(),new HashMap<>(),
- new ResourceEstimates(Optional.empty(), Optional.empty(), Optional.of(DataSize.succinctDataSize(1000, DataSize.Unit.BYTE))),
+ Optional.empty(), new HashSet<>(), new HashSet<>(), Optional.empty(), Optional.empty(),
+ Optional.empty(), Optional.empty(), new HashMap<>(),
+ new ResourceEstimates(Optional.empty(), Optional.empty(), Optional.of(1000L)),
"serverAddress", "serverVersion", "environment"
);
}