From f95d768275d383023983e4babf17e418ed4d7ec1 Mon Sep 17 00:00:00 2001 From: Michael Wunderlich Date: Wed, 25 Jan 2017 00:01:55 +0000 Subject: [PATCH] Update X-Ray SDK to 1.0.2-beta --- build.gradle | 3 +-- src/main/java/scorekeep/WebConfig.java | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index c4de0cb..c7b4eba 100644 --- a/build.gradle +++ b/build.gradle @@ -35,13 +35,12 @@ dependencies { compile("com.amazonaws:aws-xray-recorder-sdk-aws-sdk-instrumentor") testCompile("junit:junit:4.11") compile("com.fasterxml.jackson.core:jackson-databind:2.8.4") - compile("commons-validator:commons-validator:1.5.1") } dependencyManagement { imports { mavenBom("com.amazonaws:aws-java-sdk-bom:1.11.67") - mavenBom("com.amazonaws:aws-xray-recorder-sdk-bom:1.0.0-beta") + mavenBom("com.amazonaws:aws-xray-recorder-sdk-bom:1.0.2-beta") } } task wrapper(type: Wrapper) { diff --git a/src/main/java/scorekeep/WebConfig.java b/src/main/java/scorekeep/WebConfig.java index f23c9e7..2babd98 100644 --- a/src/main/java/scorekeep/WebConfig.java +++ b/src/main/java/scorekeep/WebConfig.java @@ -12,12 +12,13 @@ import javax.servlet.Filter; import java.net.URL; + @Configuration public class WebConfig { @Bean public Filter TracingFilter() { - return new AWSXRayServletFilter(); + return new AWSXRayServletFilter("Scorekeep"); } @Bean