diff --git a/build.gradle b/build.gradle
index 28987cba986..026f4455484 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,7 +22,7 @@ buildscript {
classpath 'com.bmuschko:gradle-docker-plugin:3.2.1'
classpath 'gradle.plugin.org.openrepose:gradle-linkchecker-plugin:1.0.0'
classpath 'gradle.plugin.io.github.http-builder-ng:http-plugin:0.1.1'
- classpath 'org.owasp:dependency-check-gradle:5.1.0'
+ classpath 'org.owasp:dependency-check-gradle:5.2.0'
}
}
@@ -37,8 +37,8 @@ apply plugin: 'io.github.http-builder-ng.http-plugin'
ext {
reposeCodename = "Falco"
scalaMajor = '2'
- scalaMinor = '11'
- scalaPatch = '12'
+ scalaMinor = '12'
+ scalaPatch = '8'
scalaMajDotMin = "$scalaMajor.$scalaMinor"
}
@@ -173,8 +173,8 @@ subprojects {
jaxb "javax.xml.bind:jaxb-api"
jaxb "org.jvnet.jaxb2_commons:jaxb2-basics-ant"
- scoverage "org.scoverage:scalac-scoverage-plugin_$scalaMajDotMin:1.1.0"
- scoverage "org.scoverage:scalac-scoverage-runtime_$scalaMajDotMin:1.1.0"
+ scoverage "org.scoverage:scalac-scoverage-plugin_$scalaMajDotMin:1.4.0"
+ scoverage "org.scoverage:scalac-scoverage-runtime_$scalaMajDotMin:1.4.0"
}
diff --git a/repose-aggregator/artifacts/cli-utils/src/config/docs/DEPENDENCIES.txt b/repose-aggregator/artifacts/cli-utils/src/config/docs/DEPENDENCIES.txt
index 1ee4851fccd..450f97fd4b2 100644
--- a/repose-aggregator/artifacts/cli-utils/src/config/docs/DEPENDENCIES.txt
+++ b/repose-aggregator/artifacts/cli-utils/src/config/docs/DEPENDENCIES.txt
@@ -22,11 +22,11 @@ com.fasterxml.jackson.core jackson-databind 2.
commons-codec commons-codec 1.10 Apache License Version 2.0 http://commons.apache.org/proper/commons-codec/
commons-io commons-io 2.4 Apache License Version 2.0 http://commons.apache.org/proper/commons-io/
commons-pool commons-pool 1.6 Apache License Version 2.0 http://commons.apache.org/proper/commons-pool/
-com.typesafe.scala-logging scala-logging-slf4j_2.11 2.1.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
+com.typesafe.scala-logging scala-logging_2.12 3.9.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
io.dropwizard.metrics metrics-core 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
org.apache.commons commons-lang3 3.8.1 Apache License Version 2.0 http://projects.apache.org/projects/commons_lang.html
org.apache.httpcomponents httpclient 4.4.1 Apache License Version 2.0 http://hc.apache.org/httpcomponents-client-4.4.x/index.html
org.jvnet.jaxb2_commons jaxb2-basics-runtime 0.6.5 CDDL v1.1 and GPL v2 https://jaxb.java.net/
-org.scala-lang scala-library 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
-org.scala-lang scala-reflect 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-library 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-reflect 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
org.slf4j slf4j-api 1.7.22 MIT License http://slf4j.org/license.html
diff --git a/repose-aggregator/artifacts/experimental-filter-bundle/src/config/docs/DEPENDENCIES.txt b/repose-aggregator/artifacts/experimental-filter-bundle/src/config/docs/DEPENDENCIES.txt
index 1ee4851fccd..f4a89b5f28e 100644
--- a/repose-aggregator/artifacts/experimental-filter-bundle/src/config/docs/DEPENDENCIES.txt
+++ b/repose-aggregator/artifacts/experimental-filter-bundle/src/config/docs/DEPENDENCIES.txt
@@ -22,11 +22,11 @@ com.fasterxml.jackson.core jackson-databind 2.
commons-codec commons-codec 1.10 Apache License Version 2.0 http://commons.apache.org/proper/commons-codec/
commons-io commons-io 2.4 Apache License Version 2.0 http://commons.apache.org/proper/commons-io/
commons-pool commons-pool 1.6 Apache License Version 2.0 http://commons.apache.org/proper/commons-pool/
-com.typesafe.scala-logging scala-logging-slf4j_2.11 2.1.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
+com.typesafe.scala-logging scala-logging_2.12 3.9.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
io.dropwizard.metrics metrics-core 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
org.apache.commons commons-lang3 3.8.1 Apache License Version 2.0 http://projects.apache.org/projects/commons_lang.html
org.apache.httpcomponents httpclient 4.4.1 Apache License Version 2.0 http://hc.apache.org/httpcomponents-client-4.4.x/index.html
org.jvnet.jaxb2_commons jaxb2-basics-runtime 0.6.5 CDDL v1.1 and GPL v2 https://jaxb.java.net/
-org.scala-lang scala-library 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
-org.scala-lang scala-reflect 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-library 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-reflect 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
org.slf4j slf4j-api 1.7.22 MIT License http://slf4j.org/license.html
diff --git a/repose-aggregator/artifacts/extensions-filter-bundle/src/config/docs/DEPENDENCIES.txt b/repose-aggregator/artifacts/extensions-filter-bundle/src/config/docs/DEPENDENCIES.txt
index 3233d13fdd1..c686b02f1a5 100644
--- a/repose-aggregator/artifacts/extensions-filter-bundle/src/config/docs/DEPENDENCIES.txt
+++ b/repose-aggregator/artifacts/extensions-filter-bundle/src/config/docs/DEPENDENCIES.txt
@@ -25,12 +25,12 @@ commons-codec commons-codec 1.
commons-io commons-io 2.4 Apache License Version 2.0 http://commons.apache.org/proper/commons-io/
commons-pool commons-pool 1.6 Apache License Version 2.0 http://commons.apache.org/proper/commons-pool/
com.rackspace.identity.components.attribute-mapper mapper-core 2.2.1 Apache License Version 2.0 https://github.com/rackerlabs/attributeMapping
-com.rackspace.papi.components.api-checker checker-core 2.7.0 Apache License Version 2.0 https://github.com/rackerlabs/api-checker/blob/api-checker-2.7.0/LICENSE.txt
-com.rackspace.papi.components.api-checker checker-util 2.7.0 Apache License Version 2.0 https://github.com/rackerlabs/api-checker/blob/api-checker-2.7.0/LICENSE.txt
-com.typesafe.akka akka-actor_2.11 2.4.20 Apache License Version 2.0 https://github.com/akka/akka
+com.rackspace.papi.components.api-checker checker-core 2.8.0 Apache License Version 2.0 https://github.com/rackerlabs/api-checker/blob/api-checker-2.7.0/LICENSE.txt
+com.rackspace.papi.components.api-checker checker-util 2.8.0 Apache License Version 2.0 https://github.com/rackerlabs/api-checker/blob/api-checker-2.7.0/LICENSE.txt
+com.typesafe.akka akka-actor_2.12 2.5.23 Apache License Version 2.0 https://github.com/akka/akka
com.typesafe config 1.3.0 Apache License Version 2.0 https://github.com/typesafehub/config
-com.typesafe.play play-json_2.11 2.5.2 Apache License Version 2.0 https://github.com/playframework/playframework
-com.typesafe.scala-logging scala-logging-slf4j_2.11 2.1.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
+com.typesafe.play play-json_2.12 2.7.4 Apache License Version 2.0 https://github.com/playframework/playframework
+com.typesafe.scala-logging scala-logging-_2.12 3.9.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
io.dropwizard.metrics metrics-core 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
io.dropwizard.metrics metrics-graphite 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
javax.inject javax.inject 1 Apache License Version 2.0 https://jcp.org/en/jsr/detail?id=330
@@ -53,8 +53,8 @@ org.eclipse.jetty jetty-server 9.
org.eclipse.jetty jetty-servlet 9.4.14.v20181114 Apache License Version 2.0 http://www.eclipse.org/jetty/licenses.php
org.jtwig jtwig-core 5.86.1.RELEASE Apache License Version 2.0 https://github.com/jtwig/jtwig-core/blob/5.86.1.RELEASE/LICENSE
org.jvnet.jaxb2_commons jaxb2-basics-runtime 0.6.5 CDDL v1.1 and GPL v2 https://jaxb.java.net/
-org.scala-lang scala-library 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
-org.scala-lang scala-reflect 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-library 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-reflect 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
org.slf4j jcl-over-slf4j 1.7.7 MIT License http://slf4j.org/license.html
org.slf4j slf4j-api 1.7.22 MIT License http://slf4j.org/license.html
org.springframework spring-beans 4.3.21.RELEASE Apache License Version 2.0 https://github.com/spring-projects/spring-framework
diff --git a/repose-aggregator/artifacts/filter-bundle/src/config/docs/DEPENDENCIES.txt b/repose-aggregator/artifacts/filter-bundle/src/config/docs/DEPENDENCIES.txt
index 6c437e9d498..168e0a674bd 100644
--- a/repose-aggregator/artifacts/filter-bundle/src/config/docs/DEPENDENCIES.txt
+++ b/repose-aggregator/artifacts/filter-bundle/src/config/docs/DEPENDENCIES.txt
@@ -23,18 +23,16 @@ com.fasterxml.jackson.core jackson-core
com.fasterxml.jackson.core jackson-databind 2.9.8 Apache License Version 2.0 http://wiki.fasterxml.com/JacksonDownload
com.github.jknack handlebars 2.0.0 Apache License Version 2.0 https://github.com/jknack/handlebars.java
com.google.guava guava 27.0.1-jre Apache License Version 2.0 https://github.com/google/guava
-com.jayway.jsonpath json-path 2.4.0 Apache License Version 2.0 https://github.com/jayway/JsonPath
commons-codec commons-codec 1.10 Apache License Version 2.0 http://commons.apache.org/proper/commons-codec/
commons-io commons-io 2.4 Apache License Version 2.0 http://commons.apache.org/proper/commons-io/
commons-pool commons-pool 1.6 Apache License Version 2.0 http://commons.apache.org/proper/commons-pool/
-com.rackspace.cloud.api wadl-tools_2.11 1.0.32 Apache License Version 2.0 https://github.com/rackerlabs/wadl-tools/blob/wadl-tools-aggregator-1.0.32/LICENSE
-com.typesafe.akka akka-actor_2.11 2.4.20 Apache License Version 2.0 https://github.com/akka/akka
+com.typesafe.akka akka-actor_2.12 2.5.23 Apache License Version 2.0 https://github.com/akka/akka
com.typesafe config 1.3.0 Apache License Version 2.0 https://github.com/typesafehub/config
-com.typesafe.play play-json_2.11 2.5.2 Apache License Version 2.0 https://github.com/playframework/playframework
-com.typesafe.scala-logging scala-logging-slf4j_2.11 2.1.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
+com.typesafe.play play-json_2.12 2.7.4 Apache License Version 2.0 https://github.com/playframework/playframework
+com.typesafe.scala-logging scala-logging_2.12 3.9.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
io.dropwizard.metrics metrics-core 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
io.dropwizard.metrics metrics-graphite 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
-io.gatling jsonpath_2.11 0.6.4 Apache License Version 2.0 https://github.com/gatling/jsonpath
+io.gatling jsonpath_2.12 0.6.10 Apache License Version 2.0 https://github.com/gatling/jsonpath
javax.inject javax.inject 1 Apache License Version 2.0 https://jcp.org/en/jsr/detail?id=330
javax.ws.rs javax.ws.rs-api 2.0.1 CDDL v1.1 https://jax-rs-spec.java.net/
joda-time joda-time 2.9.2 Apache License Version 2.0 http://joda-time.sourceforge.net/license.html
@@ -55,16 +53,16 @@ org.apache.logging.log4j log4j-slf4j-impl
org.codehaus.groovy groovy-all 2.4.15 Apache License Version 2.0 https://github.com/apache/groovy
org.eclipse.jetty jetty-server 9.4.14.v20181114 Apache License Version 2.0 http://www.eclipse.org/jetty/licenses.php
org.eclipse.jetty jetty-servlet 9.4.14.v20181114 Apache License Version 2.0 http://www.eclipse.org/jetty/licenses.php
-org.gnieh diffson_2.11 2.0.1 Apache License Version 2.0 https://github.com/gnieh/diffson
+org.gnieh diffson-play-json_2.12 2.2.6 Apache License Version 2.0 https://github.com/gnieh/diffson
org.joda joda-convert 1.8.1 Apache License Version 2.0 http://www.joda.org/joda-convert/
org.jtwig jtwig-core 5.86.1.RELEASE Apache License Version 2.0 https://github.com/jtwig/jtwig-core/blob/5.86.1.RELEASE/LICENSE
org.jvnet.jaxb2_commons jaxb2-basics-runtime 0.6.5 CDDL v1.1 and GPL v2 https://jaxb.java.net/
org.luaj luaj-jse 3.0.1 MIT License http://luaj.sourceforge.net/
-org.openrepose http-delegation 4.0.0 Apache License Version 2.0 https://github.com/rackerlabs/repose
+org.openrepose http-delegation 5.0.0 Apache License Version 2.0 https://github.com/rackerlabs/repose
org.python jython-standalone 2.7.1 Jython Specific License http://www.jython.org/license.html
-org.scala-lang.modules scala-xml_2.11 1.0.5 Scala Specific License http://www.scala-lang.org/license.html
-org.scala-lang scala-library 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
-org.scala-lang scala-reflect 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang.modules scala-xml_2.12 1.0.5 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-library 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-reflect 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
org.slf4j jcl-over-slf4j 1.7.7 MIT License http://slf4j.org/license.html
org.slf4j slf4j-api 1.7.22 MIT License http://slf4j.org/license.html
org.springframework spring-beans 4.3.21.RELEASE Apache License Version 2.0 https://github.com/spring-projects/spring-framework
diff --git a/repose-aggregator/artifacts/valve/build.gradle b/repose-aggregator/artifacts/valve/build.gradle
index baf247d02ba..9e47f3bad4a 100644
--- a/repose-aggregator/artifacts/valve/build.gradle
+++ b/repose-aggregator/artifacts/valve/build.gradle
@@ -17,7 +17,7 @@ dependencies {
compile project(":repose-aggregator:core:repose-core")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.slf4j:jcl-over-slf4j"
compile "com.github.scopt:scopt_$scalaMajDotMin"
compile "com.typesafe:config"
diff --git a/repose-aggregator/artifacts/valve/src/config/docs/DEPENDENCIES.txt b/repose-aggregator/artifacts/valve/src/config/docs/DEPENDENCIES.txt
index 9128147a0f2..4683a992742 100644
--- a/repose-aggregator/artifacts/valve/src/config/docs/DEPENDENCIES.txt
+++ b/repose-aggregator/artifacts/valve/src/config/docs/DEPENDENCIES.txt
@@ -20,15 +20,15 @@ Group Name Ve
com.fasterxml.jackson.core jackson-annotations 2.9.8 Apache License Version 2.0 http://wiki.fasterxml.com/JacksonDownload
com.fasterxml.jackson.core jackson-core 2.9.8 Apache License Version 2.0 http://wiki.fasterxml.com/JacksonDownload
com.fasterxml.jackson.core jackson-databind 2.9.8 Apache License Version 2.0 http://wiki.fasterxml.com/JacksonDownload
-com.github.scopt scopt_2.11 3.2.0 MIT License https://github.com/scopt/scopt
+com.github.scopt scopt_2.12 3.7.1 MIT License https://github.com/scopt/scopt
com.google.guava guava 27.0.1-jre Apache License Version 2.0 https://github.com/google/guava
commons-codec commons-codec 1.10 Apache License Version 2.0 http://commons.apache.org/proper/commons-codec/
commons-io commons-io 2.4 Apache License Version 2.0 http://commons.apache.org/proper/commons-io/
commons-pool commons-pool 1.6 Apache License Version 2.0 http://commons.apache.org/proper/commons-pool/
-com.typesafe.akka akka-actor_2.11 2.4.20 Apache License Version 2.0 https://github.com/akka/akka
+com.typesafe.akka akka-actor_2.12 2.5.23 Apache License Version 2.0 https://github.com/akka/akka
com.typesafe config 1.3.0 Apache License Version 2.0 https://github.com/typesafehub/config
-com.typesafe.play play-json_2.11 2.5.2 Apache License Version 2.0 https://github.com/playframework/playframework
-com.typesafe.scala-logging scala-logging-slf4j_2.11 2.1.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
+com.typesafe.play play-json_2.12 2.7.4 Apache License Version 2.0 https://github.com/playframework/playframework
+com.typesafe.scala-logging scala-logging_2.121 3.9.2 Apache License Version 2.0 https://github.com/typesafehub/scala-logging
io.dropwizard.metrics metrics-core 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
io.dropwizard.metrics metrics-graphite 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
io.dropwizard.metrics metrics-httpclient 3.2.0 Apache License Version 2.0 https://github.com/dropwizard/metrics/blob/v3.2.0/LICENSE
@@ -56,8 +56,8 @@ org.eclipse.jetty jetty-servlet 9.
org.eclipse.jetty jetty-util 9.4.14.v20181114 Apache License Version 2.0 http://www.eclipse.org/jetty/licenses.php
org.jtwig jtwig-core 5.86.1.RELEASE Apache License Version 2.0 https://github.com/jtwig/jtwig-core/blob/5.86.1.RELEASE/LICENSE
org.jvnet.jaxb2_commons jaxb2-basics-runtime 0.6.5 CDDL v1.1 and GPL v2 https://jaxb.java.net/
-org.scala-lang scala-library 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
-org.scala-lang scala-reflect 2.11.12 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-library 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
+org.scala-lang scala-reflect 2.12.8 Scala Specific License http://www.scala-lang.org/license.html
org.slf4j jcl-over-slf4j 1.7.7 MIT License http://slf4j.org/license.html
org.slf4j slf4j-api 1.7.22 MIT License http://slf4j.org/license.html
org.springframework spring-beans 4.3.21.RELEASE Apache License Version 2.0 https://github.com/spring-projects/spring-framework
diff --git a/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListener.scala b/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListener.scala
index 733da5ec254..7f32aab40a8 100644
--- a/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListener.scala
+++ b/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListener.scala
@@ -21,7 +21,7 @@ package org.openrepose.valve.jetty
import java.time.Instant
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import org.eclipse.jetty.server.{HttpChannel, Request}
import org.openrepose.commons.utils.http.CommonRequestAttributes
diff --git a/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLog.scala b/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLog.scala
index 193c8e0c017..5d3bf0dd7c8 100644
--- a/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLog.scala
+++ b/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLog.scala
@@ -21,7 +21,7 @@ package org.openrepose.valve.jetty
import java.time.Instant
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import org.eclipse.jetty.server.{Request, RequestLog, Response}
import org.openrepose.commons.utils.logging.HttpLoggingContextHelper
diff --git a/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/spring/ValveRunner.scala b/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/spring/ValveRunner.scala
index 439f9bd44ce..5a2afc66b06 100644
--- a/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/spring/ValveRunner.scala
+++ b/repose-aggregator/artifacts/valve/src/main/scala/org/openrepose/valve/spring/ValveRunner.scala
@@ -24,7 +24,7 @@ import java.net.{InetAddress, NetworkInterface, UnknownHostException}
import java.util.concurrent.CountDownLatch
import java.util.concurrent.atomic.AtomicReference
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import javax.management.{InstanceNotFoundException, ObjectName}
import org.openrepose.commons.config.manager.UpdateListener
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/ValveTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/ValveTest.scala
index d5496fb7af9..b8a29c9fe9b 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/ValveTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/ValveTest.scala
@@ -27,7 +27,7 @@ import org.apache.http.HttpResponse
import org.apache.http.client.methods.HttpGet
import org.apache.http.impl.client.HttpClients
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterAll, FunSpec, Matchers}
import org.slf4j.LoggerFactory
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListenerTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListenerTest.scala
index 57665e6e5f8..fc66154be3d 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListenerTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceChannelListenerTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.mockito.Mockito.{verify, when}
import org.openrepose.commons.utils.http.CommonRequestAttributes
import org.openrepose.core.services.httplogging.{HttpLoggingContext, HttpLoggingService}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLogTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLogTest.scala
index 19b487ec60c..8a1434ba5be 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLogTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/HttpLoggingServiceRequestLogTest.scala
@@ -28,8 +28,8 @@ import org.mockito.Matchers.{any, anyLong}
import org.mockito.Mockito.{never, verify, when}
import org.openrepose.commons.utils.http.CommonRequestAttributes
import org.openrepose.core.services.httplogging.{HttpLoggingContext, HttpLoggingService}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettySSLTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettySSLTest.scala
index 1bfdc739e3c..7de555d420e 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettySSLTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettySSLTest.scala
@@ -32,7 +32,7 @@ import org.junit.runner.RunWith
import org.openrepose.core.container.config.{SslCipherConfiguration, SslConfiguration, SslProtocolConfiguration}
import org.openrepose.core.spring.CoreSpringProvider
import org.openrepose.valve.SpringContextResetter
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterAll, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettyServerTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettyServerTest.scala
index ae22938aef7..ac57ee9970f 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettyServerTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/jetty/ReposeJettyServerTest.scala
@@ -28,8 +28,8 @@ import org.openrepose.core.container.config.SslConfiguration
import org.openrepose.core.spring.{CoreSpringProvider, ReposeSpringProperties}
import org.openrepose.valve.SpringContextResetter
import org.openrepose.valve.jetty.ReposeJettyServer.ServerInitializationException
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveRunnerTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveRunnerTest.scala
index 467ff2b7a7a..a9a74ef42ac 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveRunnerTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveRunnerTest.scala
@@ -25,7 +25,7 @@ import org.openrepose.core.container.config.ContainerConfiguration
import org.openrepose.core.spring.CoreSpringProvider
import org.openrepose.core.systemmodel.config.SystemModel
import org.openrepose.nodeservice.test.FakeContainerConfigurationService
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
import org.slf4j.LoggerFactory
diff --git a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveTestModeRunnerTest.scala b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveTestModeRunnerTest.scala
index 617d00f17fe..76087fe5fd7 100644
--- a/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveTestModeRunnerTest.scala
+++ b/repose-aggregator/artifacts/valve/src/test/scala/org/openrepose/valve/spring/ValveTestModeRunnerTest.scala
@@ -22,7 +22,7 @@ package org.openrepose.valve.spring
import java.lang.management.ManagementFactory
import javax.management.{JMX, ObjectName}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.junit.runner.RunWith
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.core.container.config.ContainerConfiguration
@@ -30,7 +30,7 @@ import org.openrepose.core.spring.CoreSpringProvider
import org.openrepose.core.systemmodel.config.SystemModel
import org.openrepose.nodeservice.test.FakeContainerConfigurationService
import org.openrepose.valve.jmx.ValvePortMXBean
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
import org.slf4j.LoggerFactory
diff --git a/repose-aggregator/commons/commons-configuration/build.gradle b/repose-aggregator/commons/commons-configuration/build.gradle
index 9d13127e40b..20f12a3f41f 100644
--- a/repose-aggregator/commons/commons-configuration/build.gradle
+++ b/repose-aggregator/commons/commons-configuration/build.gradle
@@ -16,7 +16,7 @@ dependencies {
testCompile "org.scala-lang:scala-library"
testCompile "org.scalatest:scalatest_$scalaMajDotMin"
testCompile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- testCompile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ testCompile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
testCompile "org.codehaus.groovy:groovy-all"
testCompile "org.spockframework:spock-core"
testCompile "org.apache.logging.log4j:log4j-slf4j-impl"
diff --git a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigValidatorTest.scala b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigValidatorTest.scala
index ec639d551c0..403a132e99e 100644
--- a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigValidatorTest.scala
+++ b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigValidatorTest.scala
@@ -23,7 +23,7 @@ import java.io.InputStream
import java.net.URL
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
import org.xml.sax.SAXParseException
diff --git a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigurationTestTest.scala b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigurationTestTest.scala
index ecb3b1ad582..9d0bab7fd16 100644
--- a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigurationTestTest.scala
+++ b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/ConfigurationTestTest.scala
@@ -22,7 +22,7 @@ package org.openrepose.commons.test
import java.net.URL
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpContextMatchersTest.scala b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpContextMatchersTest.scala
index 101d3ce6ff9..0717223979c 100644
--- a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpContextMatchersTest.scala
+++ b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpContextMatchersTest.scala
@@ -26,8 +26,8 @@ import org.hamcrest.{Description, Matcher, SelfDescribing}
import org.junit.runner.RunWith
import org.mockito.Matchers.{any, anyObject, anyString}
import org.mockito.Mockito.{verify, when}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import scala.Function.tupled
diff --git a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpUriRequestMatchersTest.scala b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpUriRequestMatchersTest.scala
index df07ded0d2d..ffb3fe0acf4 100644
--- a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpUriRequestMatchersTest.scala
+++ b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/HttpUriRequestMatchersTest.scala
@@ -29,8 +29,8 @@ import org.hamcrest.{Description, Matcher, SelfDescribing}
import org.junit.runner.RunWith
import org.mockito.Matchers.{any, anyObject, anyString}
import org.mockito.Mockito.{verify, when}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/MockitoAnswersTest.scala b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/MockitoAnswersTest.scala
index c8e80cb3f54..bd8c5f72fc4 100644
--- a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/MockitoAnswersTest.scala
+++ b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/MockitoAnswersTest.scala
@@ -22,8 +22,8 @@ package org.openrepose.commons.test
import org.junit.runner.RunWith
import org.mockito.invocation.InvocationOnMock
import org.scalatest.{FunSpec, Matchers}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
/**
* Created by adrian on 12/6/16.
diff --git a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/RegexMatcherTest.scala b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/RegexMatcherTest.scala
index 77182553382..86d35aa032a 100644
--- a/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/RegexMatcherTest.scala
+++ b/repose-aggregator/commons/commons-test/src/test/scala/org/openrepose/commons/test/RegexMatcherTest.scala
@@ -22,8 +22,8 @@ package org.openrepose.commons.test
import org.hamcrest.Description
import org.junit.runner.RunWith
import org.mockito.Mockito
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/build.gradle b/repose-aggregator/commons/commons-utilities/build.gradle
index 8d2e65d6c37..e9649a9f585 100644
--- a/repose-aggregator/commons/commons-utilities/build.gradle
+++ b/repose-aggregator/commons/commons-utilities/build.gradle
@@ -6,7 +6,7 @@ dependencies {
compile "org.slf4j:slf4j-api"
compile "commons-pool:commons-pool"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "commons-io:commons-io"
compile "commons-codec:commons-codec"
compile "org.apache.commons:commons-lang3"
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactory.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactory.scala
index 4cf48e36207..0cf96438717 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactory.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactory.scala
@@ -22,7 +22,7 @@ package org.openrepose.commons.utils.jmx
import java.util
import javax.management.{MalformedObjectNameException, ObjectName}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import scala.util.Try
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/HttpLoggingContextHelper.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/HttpLoggingContextHelper.scala
index 19ec6b6f50d..98b25b15a82 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/HttpLoggingContextHelper.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/HttpLoggingContextHelper.scala
@@ -19,7 +19,7 @@
*/
package org.openrepose.commons.utils.logging
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.http.HttpServletRequest
import org.openrepose.commons.utils.http.CommonRequestAttributes
import org.openrepose.core.services.httplogging.HttpLoggingContext
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/TracingHeaderHelper.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/TracingHeaderHelper.scala
index 6aaa2f5a35f..72076ca75a1 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/TracingHeaderHelper.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/logging/TracingHeaderHelper.scala
@@ -26,7 +26,7 @@ import java.util
import com.fasterxml.jackson.core.JsonFactory
import com.fasterxml.jackson.core.`type`.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.commons.codec.binary.Base64
import org.slf4j.MDC
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptor.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptor.scala
index 6e0073d9a9b..884a7c18d18 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptor.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptor.scala
@@ -21,7 +21,7 @@ package org.openrepose.commons.utils.opentracing.httpclient
import java.io.IOException
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import io.opentracing.Tracer
import io.opentracing.propagation.Format.Builtin.HTTP_HEADERS
import io.opentracing.propagation.TextMap
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptor.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptor.scala
index 782d1466f69..fa3009dcb3f 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptor.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptor.scala
@@ -21,7 +21,7 @@ package org.openrepose.commons.utils.opentracing.httpclient
import java.io.IOException
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import io.opentracing.Span
import io.opentracing.tag.Tags._
import org.apache.http._
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapper.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapper.scala
index ac9d4d2854f..75243456c10 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapper.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapper.scala
@@ -24,7 +24,7 @@ import java.nio.charset.{Charset, StandardCharsets}
import java.util
import java.util.Date
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.http.HttpServletResponse
import javax.servlet.{ServletOutputStream, ServletResponse}
import javax.ws.rs.core.HttpHeaders
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStream.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStream.scala
index 4dd34c9fb40..73bc34f7916 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStream.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStream.scala
@@ -21,7 +21,7 @@ package org.openrepose.commons.utils.servlet.http
import java.io.{ByteArrayInputStream, ByteArrayOutputStream, InputStream}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.ServletOutputStream
import org.apache.commons.io.IOUtils
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStream.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStream.scala
index c0c078ffaaf..7b762c4adad 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStream.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStream.scala
@@ -21,7 +21,7 @@ package org.openrepose.commons.utils.servlet.http
import java.io.InputStream
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.ServletOutputStream
class PassthroughServletOutputStream(servletOutputStream: ServletOutputStream)
diff --git a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStream.scala b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStream.scala
index a44f05c192a..f4aed3b2701 100644
--- a/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStream.scala
+++ b/repose-aggregator/commons/commons-utilities/src/main/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStream.scala
@@ -21,7 +21,7 @@ package org.openrepose.commons.utils.servlet.http
import java.io.{ByteArrayInputStream, ByteArrayOutputStream, InputStream}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.ServletOutputStream
class ReadOnlyServletOutputStream(servletOutputStream: ServletOutputStream)
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/io/FileUtilitiesTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/io/FileUtilitiesTest.scala
index f05ad01e82e..2dd4bd2bfaf 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/io/FileUtilitiesTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/io/FileUtilitiesTest.scala
@@ -20,7 +20,7 @@
package org.openrepose.commons.utils.io
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactoryTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactoryTest.scala
index 1b350452a32..92c26aea586 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactoryTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/jmx/JmxObjectNameFactoryTest.scala
@@ -23,7 +23,7 @@ import javax.management.ObjectName
import org.junit.runner.RunWith
import org.scalatest.{FunSpec, Matchers}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class JmxObjectNameFactoryTest extends FunSpec with Matchers {
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/json/JsonHeaderHelperTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/json/JsonHeaderHelperTest.scala
index 58a2f428487..2d847bcc370 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/json/JsonHeaderHelperTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/json/JsonHeaderHelperTest.scala
@@ -21,7 +21,7 @@ package org.openrepose.commons.utils.json
import org.junit.runner.RunWith
import org.openrepose.commons.utils.string.Base64Helper
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/ResponseMessageHandlerTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/ResponseMessageHandlerTest.scala
index a2b33985780..ca966b6221a 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/ResponseMessageHandlerTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/ResponseMessageHandlerTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.openrepose.commons.utils.logging.apache.HttpLogFormatterState
import org.openrepose.commons.utils.servlet.http.{HttpServletResponseWrapper, ResponseMode}
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
@RunWith(classOf[JUnitRunner])
class ResponseMessageHandlerTest extends FunSpec with BeforeAndAfterEach with GivenWhenThen with Matchers with MockitoSugar {
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/TraceGuidHandlerTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/TraceGuidHandlerTest.scala
index 0181a9e2d68..2ad8e254908 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/TraceGuidHandlerTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/logging/apache/format/stock/TraceGuidHandlerTest.scala
@@ -25,8 +25,8 @@ import javax.servlet.http.HttpServletRequest
import org.junit.runner.RunWith
import org.openrepose.commons.utils.http.CommonHttpHeader
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/HttpRequestCarrierTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/HttpRequestCarrierTest.scala
index e3327f50483..c4ea959d9d2 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/HttpRequestCarrierTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/HttpRequestCarrierTest.scala
@@ -21,8 +21,8 @@ package org.openrepose.commons.utils.opentracing
import org.junit.runner.RunWith
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfter, FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/ScopeHelperTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/ScopeHelperTest.scala
index 5fd768a5489..8408a546121 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/ScopeHelperTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/ScopeHelperTest.scala
@@ -28,8 +28,8 @@ import org.junit.runner.RunWith
import org.mockito.Matchers.{any, anyBoolean, anyString, isNull, eq => eql}
import org.mockito.Mockito.{verify, when}
import org.openrepose.core.services.uriredaction.UriRedactionService
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.slf4j.Logger
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptorTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptorTest.scala
index 7999bc8c540..2079f101e21 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptorTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingRequestInterceptorTest.scala
@@ -31,8 +31,8 @@ import org.mockito.Mockito.{verify, when}
import org.openrepose.commons.utils.http.CommonHttpHeader.{REQUEST_ID, VIA}
import org.openrepose.commons.utils.opentracing.ReposeTags.ReposeVersion
import org.openrepose.core.services.uriredaction.UriRedactionService
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptorTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptorTest.scala
index 26cb52b1842..358c1639ce2 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptorTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/opentracing/httpclient/ReposeTracingResponseInterceptorTest.scala
@@ -28,8 +28,8 @@ import org.junit.runner.RunWith
import org.mockito.Matchers.{anyInt, eq => isEq}
import org.mockito.Mockito.{never, verify, when}
import org.openrepose.commons.utils.opentracing.httpclient.ReposeTracingInterceptorConstants.OpenTracingSpan
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/scala/TryWithTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/scala/TryWithTest.scala
index b23cc0e01cc..d5c3841e79b 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/scala/TryWithTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/scala/TryWithTest.scala
@@ -20,7 +20,7 @@
package org.openrepose.commons.utils.scala
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{Matchers, WordSpec}
import scala.util.{Failure, Success}
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletRequestWrapperTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletRequestWrapperTest.scala
index 0e473e2228c..c754aa1346c 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletRequestWrapperTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletRequestWrapperTest.scala
@@ -27,7 +27,7 @@ import javax.servlet.ServletInputStream
import javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED
import org.junit.runner.RunWith
import org.openrepose.commons.utils.io.stream.ServletInputStreamWrapper
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapperTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapperTest.scala
index 537248efaed..96ecd39f9fc 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapperTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/HttpServletResponseWrapperTest.scala
@@ -32,8 +32,8 @@ import org.apache.logging.log4j.test.appender.ListAppender
import org.junit.runner.RunWith
import org.mockito.Matchers.{eq => mEq, _}
import org.mockito.Mockito._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletResponse
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStreamTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStreamTest.scala
index e640786c9ca..75fe4ca7d71 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStreamTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/MutableServletOutputStreamTest.scala
@@ -25,8 +25,8 @@ import javax.servlet.ServletOutputStream
import org.junit.runner.RunWith
import org.mockito.Mockito._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import scala.io.Source
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStreamTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStreamTest.scala
index 34b6ef025a8..8358d16ee70 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStreamTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/PassthroughServletOutputStreamTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.mockito.AdditionalMatchers._
import org.mockito.Matchers.{eq => mEq}
import org.mockito.Mockito._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStreamTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStreamTest.scala
index 8c54fc4cbf7..22342ec282e 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStreamTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/servlet/http/ReadOnlyServletOutputStreamTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.mockito.AdditionalMatchers._
import org.mockito.Matchers.{eq => mEq}
import org.mockito.Mockito._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import scala.io.Source
diff --git a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/string/RegexStringOperatorsTest.scala b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/string/RegexStringOperatorsTest.scala
index dbed8af37d3..fdb5efccb8e 100644
--- a/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/string/RegexStringOperatorsTest.scala
+++ b/repose-aggregator/commons/commons-utilities/src/test/scala/org/openrepose/commons/utils/string/RegexStringOperatorsTest.scala
@@ -22,7 +22,7 @@ package org.openrepose.commons.utils.string
import java.util.regex.Matcher
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/add-header-filter/build.gradle b/repose-aggregator/components/filters/add-header-filter/build.gradle
index 4f59ef7983a..896ac85d46d 100644
--- a/repose-aggregator/components/filters/add-header-filter/build.gradle
+++ b/repose-aggregator/components/filters/add-header-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/add-header-filter/src/main/scala/org/openrepose/filters/addheader/AddHeaderFilter.scala b/repose-aggregator/components/filters/add-header-filter/src/main/scala/org/openrepose/filters/addheader/AddHeaderFilter.scala
index 7431a910b67..5694718fde0 100644
--- a/repose-aggregator/components/filters/add-header-filter/src/main/scala/org/openrepose/filters/addheader/AddHeaderFilter.scala
+++ b/repose-aggregator/components/filters/add-header-filter/src/main/scala/org/openrepose/filters/addheader/AddHeaderFilter.scala
@@ -23,7 +23,7 @@ import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletResponse, HttpServletRequest}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.servlet.http.ResponseMode._
import org.openrepose.commons.utils.servlet.http.{HeaderInteractor, HttpServletResponseWrapper, HttpServletRequestWrapper}
diff --git a/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/AddHeaderFilterTest.scala b/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/AddHeaderFilterTest.scala
index 567c7c93c24..97e68103046 100644
--- a/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/AddHeaderFilterTest.scala
+++ b/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/AddHeaderFilterTest.scala
@@ -30,8 +30,8 @@ import org.mockito.invocation.InvocationOnMock
import org.mockito.stubbing.Answer
import org.openrepose.commons.utils.servlet.http.{HttpServletRequestWrapper, HttpServletResponseWrapper}
import org.openrepose.filters.addheader.config.{AddHeadersConfig, Header, HttpMessage}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
@@ -220,4 +220,4 @@ class AddHeaderFilterTest extends FunSpec with BeforeAndAfterEach with Matchers
object AddHeaderFilterTest {
case class SimpleHeader(name: String, value: String)
-}
\ No newline at end of file
+}
diff --git a/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/config/AddHeaderSchemaTest.scala b/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/config/AddHeaderSchemaTest.scala
index d2c80b68cac..887b75234b4 100644
--- a/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/config/AddHeaderSchemaTest.scala
+++ b/repose-aggregator/components/filters/add-header-filter/src/test/scala/org/openrepose/filters/addheader/config/AddHeaderSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/api-validator-filter/build.gradle b/repose-aggregator/components/filters/api-validator-filter/build.gradle
index 466b17a1c8d..23710d14f82 100644
--- a/repose-aggregator/components/filters/api-validator-filter/build.gradle
+++ b/repose-aggregator/components/filters/api-validator-filter/build.gradle
@@ -4,6 +4,7 @@ dependencies {
compile project(":repose-aggregator:core:repose-core")
compile "xalan:xalan" // Forces the version used by api-checker.
compile "com.google.guava:guava" // Forces the version used by api-checker.
+ compile "io.spray:spray-json_2.12" // Forces the version used by api-checker.
compile "com.rackspace.papi.components.api-checker:checker-core"
compile "io.dropwizard.metrics:metrics-core"
compile "org.slf4j:slf4j-api"
diff --git a/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/ValidatorConfigurationTest.scala b/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/ValidatorConfigurationTest.scala
index 2e0e1236993..282812ef554 100644
--- a/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/ValidatorConfigurationTest.scala
+++ b/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/ValidatorConfigurationTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
import org.openrepose.filters.apivalidator.config.ObjectFactory
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/config/ApiValidatorSchemaTest.scala b/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/config/ApiValidatorSchemaTest.scala
index 7cfbfe67be9..868cd303b01 100644
--- a/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/config/ApiValidatorSchemaTest.scala
+++ b/repose-aggregator/components/filters/api-validator-filter/src/test/scala/org/openrepose/filters/apivalidator/config/ApiValidatorSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/body-extractor-to-header-filter/build.gradle b/repose-aggregator/components/filters/body-extractor-to-header-filter/build.gradle
index 82562f49d15..0ff28648098 100644
--- a/repose-aggregator/components/filters/body-extractor-to-header-filter/build.gradle
+++ b/repose-aggregator/components/filters/body-extractor-to-header-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "com.jayway.jsonpath:json-path"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/BodyExtractorToHeaderFilterTest.scala b/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/BodyExtractorToHeaderFilterTest.scala
index 181d84381e8..0561b01a5ac 100644
--- a/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/BodyExtractorToHeaderFilterTest.scala
+++ b/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/BodyExtractorToHeaderFilterTest.scala
@@ -30,8 +30,8 @@ import org.mockito.Matchers._
import org.mockito.Mockito._
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.bodyextractortoheader.config.{BodyExtractorToHeaderConfig, Extractor}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest}
diff --git a/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/config/BodyExtractorToHeaderSchemaTest.scala b/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/config/BodyExtractorToHeaderSchemaTest.scala
index 6e9f7f0a2d6..0ac286424f0 100644
--- a/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/config/BodyExtractorToHeaderSchemaTest.scala
+++ b/repose-aggregator/components/filters/body-extractor-to-header-filter/src/test/scala/org/openrepose/filters/bodyextractortoheader/config/BodyExtractorToHeaderSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class BodyExtractorToHeaderSchemaTest extends ConfigurationTest {
diff --git a/repose-aggregator/components/filters/body-patcher-filter/build.gradle b/repose-aggregator/components/filters/body-patcher-filter/build.gradle
index 573d1a926c5..2cf2f79ad18 100644
--- a/repose-aggregator/components/filters/body-patcher-filter/build.gradle
+++ b/repose-aggregator/components/filters/body-patcher-filter/build.gradle
@@ -7,9 +7,9 @@ dependencies {
compile project(":repose-aggregator:core:repose-core-api")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "com.typesafe.play:play-json_$scalaMajDotMin"
- compile "org.gnieh:diffson_$scalaMajDotMin"
+ compile "org.gnieh:diffson-play-json_$scalaMajDotMin"
compile "com.fasterxml.jackson.core:jackson-core"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/body-patcher-filter/src/main/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilter.scala b/repose-aggregator/components/filters/body-patcher-filter/src/main/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilter.scala
index da5e28f5cd2..23e6601d2a6 100644
--- a/repose-aggregator/components/filters/body-patcher-filter/src/main/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilter.scala
+++ b/repose-aggregator/components/filters/body-patcher-filter/src/main/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilter.scala
@@ -28,7 +28,7 @@ import javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import com.fasterxml.jackson.core.JsonParseException
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import gnieh.diffson.playJson._
import org.openrepose.commons.utils.io.stream.ServletInputStreamWrapper
import org.openrepose.commons.utils.servlet.http.ResponseMode.{MUTABLE, PASSTHROUGH}
diff --git a/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilterTest.scala b/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilterTest.scala
index b9d5cb70d21..763d953b707 100644
--- a/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilterTest.scala
+++ b/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/BodyPatcherFilterTest.scala
@@ -32,8 +32,8 @@ import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.bodypatcher.BodyPatcherFilter._
import org.openrepose.filters.bodypatcher.config.{BodyPatcherConfig, ChangeDetails, Patch}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfter, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
import play.api.libs.json.{JsResultException, JsValue, Json => PJson}
diff --git a/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/config/BodyPatcherSchemaTest.scala b/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/config/BodyPatcherSchemaTest.scala
index 50bc532c0ab..4a1d7516db0 100644
--- a/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/config/BodyPatcherSchemaTest.scala
+++ b/repose-aggregator/components/filters/body-patcher-filter/src/test/scala/org/openrepose/filters/bodypatcher/config/BodyPatcherSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
/**
diff --git a/repose-aggregator/components/filters/compression-filter/build.gradle b/repose-aggregator/components/filters/compression-filter/build.gradle
index 9569be0f2c6..db90a76f2ec 100644
--- a/repose-aggregator/components/filters/compression-filter/build.gradle
+++ b/repose-aggregator/components/filters/compression-filter/build.gradle
@@ -5,7 +5,7 @@ dependencies {
compile "org.springframework:spring-beans"
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/compression-filter/src/main/scala/org/openrepose/filters/compression/CompressionFilter.scala b/repose-aggregator/components/filters/compression-filter/src/main/scala/org/openrepose/filters/compression/CompressionFilter.scala
index 23bfb425d32..e21d64605d9 100644
--- a/repose-aggregator/components/filters/compression-filter/src/main/scala/org/openrepose/filters/compression/CompressionFilter.scala
+++ b/repose-aggregator/components/filters/compression-filter/src/main/scala/org/openrepose/filters/compression/CompressionFilter.scala
@@ -26,7 +26,7 @@ import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.HttpServletResponse
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.core.filter.FilterConfigHelper
import org.openrepose.core.services.config.ConfigurationService
diff --git a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressingFilterFactoryTest.scala b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressingFilterFactoryTest.scala
index 567ec209841..9470dad0c1b 100644
--- a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressingFilterFactoryTest.scala
+++ b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressingFilterFactoryTest.scala
@@ -24,9 +24,9 @@ import javax.servlet.{ServletContext, FilterConfig}
import org.junit.runner.RunWith
import org.mockito.Mockito._
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{Matchers, FunSpec}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class CompressingFilterFactoryTest extends FunSpec with Matchers with MockitoSugar {
diff --git a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterCompleteTest.scala b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterCompleteTest.scala
index 350a2bc5599..794e455693a 100644
--- a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterCompleteTest.scala
+++ b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterCompleteTest.scala
@@ -33,8 +33,8 @@ import org.mockito.stubbing.Answer
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.external.pjlcompression.CompressingFilter
import org.openrepose.filters.compression.config.{Compression, ContentCompressionConfig}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterTest.scala b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterTest.scala
index 28a4061d348..fca03d62af6 100644
--- a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterTest.scala
+++ b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/CompressionFilterTest.scala
@@ -31,8 +31,8 @@ import org.mockito.Mockito.{doThrow, verify, when}
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.external.pjlcompression.CompressingFilter
import org.openrepose.filters.compression.config.{Compression, ContentCompressionConfig}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/config/ContentCompressionSchemaTest.scala b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/config/ContentCompressionSchemaTest.scala
index 3ddec6ec9d8..a77bdc8c15c 100644
--- a/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/config/ContentCompressionSchemaTest.scala
+++ b/repose-aggregator/components/filters/compression-filter/src/test/scala/org/openrepose/filters/compression/config/ContentCompressionSchemaTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/content-type-stripper-filter/src/test/scala/org/openrepose/filters/contenttypestripper/ContentTypeStripperFilterTest.scala b/repose-aggregator/components/filters/content-type-stripper-filter/src/test/scala/org/openrepose/filters/contenttypestripper/ContentTypeStripperFilterTest.scala
index b08233f1682..47ee09ad8a5 100644
--- a/repose-aggregator/components/filters/content-type-stripper-filter/src/test/scala/org/openrepose/filters/contenttypestripper/ContentTypeStripperFilterTest.scala
+++ b/repose-aggregator/components/filters/content-type-stripper-filter/src/test/scala/org/openrepose/filters/contenttypestripper/ContentTypeStripperFilterTest.scala
@@ -26,8 +26,8 @@ import org.apache.commons.io.IOUtils
import org.junit.runner.RunWith
import org.mockito.Matchers.any
import org.mockito.{ArgumentCaptor, Mockito}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/components/filters/cors-filter/build.gradle b/repose-aggregator/components/filters/cors-filter/build.gradle
index 6b98ddf0e2b..c54ca9999d6 100644
--- a/repose-aggregator/components/filters/cors-filter/build.gradle
+++ b/repose-aggregator/components/filters/cors-filter/build.gradle
@@ -4,7 +4,7 @@ dependencies {
compile "org.scala-lang:scala-library"
compile "com.google.guava:guava"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/cors-filter/src/main/scala/org/openrepose/filters/cors/CorsFilter.scala b/repose-aggregator/components/filters/cors-filter/src/main/scala/org/openrepose/filters/cors/CorsFilter.scala
index 38dc3486e8f..ec54d5591f0 100644
--- a/repose-aggregator/components/filters/cors-filter/src/main/scala/org/openrepose/filters/cors/CorsFilter.scala
+++ b/repose-aggregator/components/filters/cors-filter/src/main/scala/org/openrepose/filters/cors/CorsFilter.scala
@@ -28,7 +28,7 @@ import javax.ws.rs.HttpMethod
import javax.ws.rs.core.{HttpHeaders, MediaType}
import com.google.common.net.InetAddresses
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.http.client.utils.URIBuilder
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.http.{CommonHttpHeader, CorsHttpHeader}
diff --git a/repose-aggregator/components/filters/cors-filter/src/test/scala/org/openrepose/filters/cors/CorsFilterTest.scala b/repose-aggregator/components/filters/cors-filter/src/test/scala/org/openrepose/filters/cors/CorsFilterTest.scala
index 26bf32a8b30..e9fc6ba17d4 100644
--- a/repose-aggregator/components/filters/cors-filter/src/test/scala/org/openrepose/filters/cors/CorsFilterTest.scala
+++ b/repose-aggregator/components/filters/cors-filter/src/test/scala/org/openrepose/filters/cors/CorsFilterTest.scala
@@ -32,8 +32,8 @@ import org.openrepose.commons.utils.http.{CommonHttpHeader, CorsHttpHeader}
import org.openrepose.commons.utils.servlet.http.{HttpServletRequestWrapper, HttpServletResponseWrapper}
import org.openrepose.filters.cors.config.Origins.Origin
import org.openrepose.filters.cors.config._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/derp-filter/build.gradle b/repose-aggregator/components/filters/derp-filter/build.gradle
index 2f441e0f24b..53249d9526b 100644
--- a/repose-aggregator/components/filters/derp-filter/build.gradle
+++ b/repose-aggregator/components/filters/derp-filter/build.gradle
@@ -2,7 +2,7 @@ dependencies {
compile "org.scala-lang:scala-library"
compile "org.openrepose:http-delegation"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.ws.rs:javax.ws.rs-api"
diff --git a/repose-aggregator/components/filters/derp-filter/src/main/scala/org/openrepose/filters/derp/DerpFilter.scala b/repose-aggregator/components/filters/derp-filter/src/main/scala/org/openrepose/filters/derp/DerpFilter.scala
index 828f1494d73..4e5399fc0f2 100644
--- a/repose-aggregator/components/filters/derp-filter/src/main/scala/org/openrepose/filters/derp/DerpFilter.scala
+++ b/repose-aggregator/components/filters/derp-filter/src/main/scala/org/openrepose/filters/derp/DerpFilter.scala
@@ -24,7 +24,7 @@ import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import javax.ws.rs.core.MediaType
import com.rackspace.httpdelegation._
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import scala.collection.JavaConverters._
import scala.util.{Failure, Success}
diff --git a/repose-aggregator/components/filters/derp-filter/src/test/scala/org/openrepose/filters/derp/DerpFilterTest.scala b/repose-aggregator/components/filters/derp-filter/src/test/scala/org/openrepose/filters/derp/DerpFilterTest.scala
index 05d5e91783a..69f91d1fd46 100644
--- a/repose-aggregator/components/filters/derp-filter/src/test/scala/org/openrepose/filters/derp/DerpFilterTest.scala
+++ b/repose-aggregator/components/filters/derp-filter/src/test/scala/org/openrepose/filters/derp/DerpFilterTest.scala
@@ -30,8 +30,8 @@ import org.mockito.Mockito._
import org.mockito.invocation.InvocationOnMock
import org.mockito.stubbing.Answer
import org.scalatest.FunSpec
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import scala.collection.JavaConverters.asJavaEnumerationConverter
diff --git a/repose-aggregator/components/filters/destination-router-filter/build.gradle b/repose-aggregator/components/filters/destination-router-filter/build.gradle
index b9a49cba5d7..8ac2ba3264a 100644
--- a/repose-aggregator/components/filters/destination-router-filter/build.gradle
+++ b/repose-aggregator/components/filters/destination-router-filter/build.gradle
@@ -4,7 +4,7 @@ dependencies {
compile "org.slf4j:slf4j-api"
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "io.dropwizard.metrics:metrics-core"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/destination-router-filter/src/main/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilter.scala b/repose-aggregator/components/filters/destination-router-filter/src/main/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilter.scala
index e4a1790cda0..72925b6c3c0 100644
--- a/repose-aggregator/components/filters/destination-router-filter/src/main/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilter.scala
+++ b/repose-aggregator/components/filters/destination-router-filter/src/main/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilter.scala
@@ -26,7 +26,7 @@ import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import com.codahale.metrics.MetricRegistry
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.http.CommonRequestAttributes
import org.openrepose.commons.utils.servlet.http.RouteDestination
diff --git a/repose-aggregator/components/filters/destination-router-filter/src/test/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilterTest.scala b/repose-aggregator/components/filters/destination-router-filter/src/test/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilterTest.scala
index ff608894f08..00c207d7f21 100644
--- a/repose-aggregator/components/filters/destination-router-filter/src/test/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilterTest.scala
+++ b/repose-aggregator/components/filters/destination-router-filter/src/test/scala/org/openrepose/filters/destinationrouter/DestinationRouterFilterTest.scala
@@ -31,8 +31,8 @@ import org.openrepose.commons.utils.servlet.http.RouteDestination
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.core.services.reporting.metrics.{MetricsService, AggregateMeterFactory}
import org.openrepose.filters.routing.servlet.config.{DestinationRouterConfiguration, Target}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/forwarded-proto-filter/build.gradle b/repose-aggregator/components/filters/forwarded-proto-filter/build.gradle
index 440c02d87b2..e9937ad0fbf 100644
--- a/repose-aggregator/components/filters/forwarded-proto-filter/build.gradle
+++ b/repose-aggregator/components/filters/forwarded-proto-filter/build.gradle
@@ -2,7 +2,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/forwarded-proto-filter/src/main/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilter.scala b/repose-aggregator/components/filters/forwarded-proto-filter/src/main/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilter.scala
index 60f9bcc13ed..754585ec416 100644
--- a/repose-aggregator/components/filters/forwarded-proto-filter/src/main/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilter.scala
+++ b/repose-aggregator/components/filters/forwarded-proto-filter/src/main/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilter.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.forwardedproto
import javax.servlet._
import javax.servlet.http.HttpServletRequest
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
/**
diff --git a/repose-aggregator/components/filters/forwarded-proto-filter/src/test/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilterTest.scala b/repose-aggregator/components/filters/forwarded-proto-filter/src/test/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilterTest.scala
index a172339734b..e64e1403775 100644
--- a/repose-aggregator/components/filters/forwarded-proto-filter/src/test/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilterTest.scala
+++ b/repose-aggregator/components/filters/forwarded-proto-filter/src/test/scala/org/openrepose/filters/forwardedproto/ForwardedProtoFilterTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.mockito.ArgumentCaptor
import org.mockito.Matchers.any
import org.mockito.Mockito._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/components/filters/header-normalization-filter/build.gradle b/repose-aggregator/components/filters/header-normalization-filter/build.gradle
index 50d29c578fb..f02accc4b5d 100644
--- a/repose-aggregator/components/filters/header-normalization-filter/build.gradle
+++ b/repose-aggregator/components/filters/header-normalization-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "io.dropwizard.metrics:metrics-core"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/header-normalization-filter/src/main/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilter.scala b/repose-aggregator/components/filters/header-normalization-filter/src/main/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilter.scala
index b452386fbde..281212b67af 100644
--- a/repose-aggregator/components/filters/header-normalization-filter/src/main/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilter.scala
+++ b/repose-aggregator/components/filters/header-normalization-filter/src/main/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilter.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.headernormalization
import java.util.Optional
import com.codahale.metrics.MetricRegistry
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
diff --git a/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilterTest.scala b/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilterTest.scala
index c1e8da0ee9f..b568cecf02a 100644
--- a/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilterTest.scala
+++ b/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/HeaderNormalizationFilterTest.scala
@@ -35,8 +35,8 @@ import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.core.services.reporting.metrics.{MetricsService, AggregateMeterFactory}
import org.openrepose.filters.headernormalization.config._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/config/HeaderNormalizationConfigurationSchemaTest.scala b/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/config/HeaderNormalizationConfigurationSchemaTest.scala
index ef87b547060..722f63f7111 100644
--- a/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/config/HeaderNormalizationConfigurationSchemaTest.scala
+++ b/repose-aggregator/components/filters/header-normalization-filter/src/test/scala/org/openrepose/filters/headernormalization/config/HeaderNormalizationConfigurationSchemaTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
import org.openrepose.core.spring.{CoreSpringProvider, ReposeSpringProperties}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/header-translation-filter/build.gradle b/repose-aggregator/components/filters/header-translation-filter/build.gradle
index 4f59ef7983a..896ac85d46d 100644
--- a/repose-aggregator/components/filters/header-translation-filter/build.gradle
+++ b/repose-aggregator/components/filters/header-translation-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/header-translation-filter/src/main/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilter.scala b/repose-aggregator/components/filters/header-translation-filter/src/main/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilter.scala
index 336c6dd398c..d70bb1522fa 100644
--- a/repose-aggregator/components/filters/header-translation-filter/src/main/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilter.scala
+++ b/repose-aggregator/components/filters/header-translation-filter/src/main/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilter.scala
@@ -23,7 +23,7 @@ import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.core.filter.FilterConfigHelper
diff --git a/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilterTest.scala b/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilterTest.scala
index 67824cde5fa..4114bbf92d3 100644
--- a/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilterTest.scala
+++ b/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/HeaderTranslationFilterTest.scala
@@ -28,8 +28,8 @@ import org.mockito.Matchers.any
import org.mockito.Mockito.{never, reset, verify}
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.headertranslation.config.{Header, HeaderTranslationType}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/config/HeaderTranslationSchemaTest.scala b/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/config/HeaderTranslationSchemaTest.scala
index 45dd99d6525..c6d2c6a4028 100644
--- a/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/config/HeaderTranslationSchemaTest.scala
+++ b/repose-aggregator/components/filters/header-translation-filter/src/test/scala/org/openrepose/filters/headertranslation/config/HeaderTranslationSchemaTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/header-user-filter/build.gradle b/repose-aggregator/components/filters/header-user-filter/build.gradle
index 4f59ef7983a..896ac85d46d 100644
--- a/repose-aggregator/components/filters/header-user-filter/build.gradle
+++ b/repose-aggregator/components/filters/header-user-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/header-user-filter/src/main/scala/org/openrepose/filters/headeruser/HeaderUserFilter.scala b/repose-aggregator/components/filters/header-user-filter/src/main/scala/org/openrepose/filters/headeruser/HeaderUserFilter.scala
index 1d1f7b7deb8..f7f224f6c76 100644
--- a/repose-aggregator/components/filters/header-user-filter/src/main/scala/org/openrepose/filters/headeruser/HeaderUserFilter.scala
+++ b/repose-aggregator/components/filters/header-user-filter/src/main/scala/org/openrepose/filters/headeruser/HeaderUserFilter.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.headeruser
import java.util.concurrent.atomic.AtomicReference
import javax.servlet.http.{HttpServletResponse, HttpServletRequest}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.http.PowerApiHeader
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
diff --git a/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/HeaderUserFilterTest.scala b/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/HeaderUserFilterTest.scala
index 4b5c2b8cc5b..82282cabecf 100644
--- a/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/HeaderUserFilterTest.scala
+++ b/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/HeaderUserFilterTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.openrepose.commons.utils.http.PowerApiHeader
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.headeruser.config.{HeaderUserConfig, HttpHeader, HttpHeaderList}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest}
diff --git a/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/config/HeaderUserSchemaTest.scala b/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/config/HeaderUserSchemaTest.scala
index 9a9ea1827fa..689da7a8ab2 100644
--- a/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/config/HeaderUserSchemaTest.scala
+++ b/repose-aggregator/components/filters/header-user-filter/src/test/scala/org/openrepose/filters/headeruser/config/HeaderUserSchemaTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/herp-filter/build.gradle b/repose-aggregator/components/filters/herp-filter/build.gradle
index 87664ab25d8..97868157319 100644
--- a/repose-aggregator/components/filters/herp-filter/build.gradle
+++ b/repose-aggregator/components/filters/herp-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.springframework:spring-beans"
compile "org.springframework:spring-web"
compile "org.openrepose:http-delegation"
diff --git a/repose-aggregator/components/filters/herp-filter/src/main/scala/org/openrepose/filters/herp/HerpFilter.scala b/repose-aggregator/components/filters/herp-filter/src/main/scala/org/openrepose/filters/herp/HerpFilter.scala
index d63b59642e6..1753a017fab 100644
--- a/repose-aggregator/components/filters/herp-filter/src/main/scala/org/openrepose/filters/herp/HerpFilter.scala
+++ b/repose-aggregator/components/filters/herp-filter/src/main/scala/org/openrepose/filters/herp/HerpFilter.scala
@@ -30,7 +30,7 @@ import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import com.github.jknack.handlebars.{Handlebars, Helper, Options, Template}
import com.rackspace.httpdelegation._
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.http.HttpHeaders
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.http.CommonRequestAttributes.{QUERY_PARAMS, REQUEST_URL}
diff --git a/repose-aggregator/components/filters/herp-filter/src/test/scala/org/openrepose/filters/herp/HerpFilterTest.scala b/repose-aggregator/components/filters/herp-filter/src/test/scala/org/openrepose/filters/herp/HerpFilterTest.scala
index 05beb53a46d..c926607869e 100644
--- a/repose-aggregator/components/filters/herp-filter/src/test/scala/org/openrepose/filters/herp/HerpFilterTest.scala
+++ b/repose-aggregator/components/filters/herp-filter/src/test/scala/org/openrepose/filters/herp/HerpFilterTest.scala
@@ -36,8 +36,8 @@ import org.openrepose.commons.utils.http.CommonHttpHeader
import org.openrepose.commons.utils.http.CommonRequestAttributes.QUERY_PARAMS
import org.openrepose.filters.herp.config.{FilterOut, HerpConfig, Match, Template}
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.springframework.http.HttpStatus._
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/ip-user-filter/build.gradle b/repose-aggregator/components/filters/ip-user-filter/build.gradle
index 5e6f2f21c90..1bc15df9c26 100644
--- a/repose-aggregator/components/filters/ip-user-filter/build.gradle
+++ b/repose-aggregator/components/filters/ip-user-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/ip-user-filter/src/main/scala/org/openrepose/filters/ipuser/IpUserFilter.scala b/repose-aggregator/components/filters/ip-user-filter/src/main/scala/org/openrepose/filters/ipuser/IpUserFilter.scala
index ad8182c78f9..47729757fa1 100644
--- a/repose-aggregator/components/filters/ip-user-filter/src/main/scala/org/openrepose/filters/ipuser/IpUserFilter.scala
+++ b/repose-aggregator/components/filters/ip-user-filter/src/main/scala/org/openrepose/filters/ipuser/IpUserFilter.scala
@@ -25,7 +25,7 @@ import java.util.concurrent.atomic.AtomicReference
import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import edazdarevic.commons.net.CIDRUtils
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.http.CommonHttpHeader
diff --git a/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/IpUserFilterTest.scala b/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/IpUserFilterTest.scala
index 6fd98ac63c4..38c873cb0a5 100644
--- a/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/IpUserFilterTest.scala
+++ b/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/IpUserFilterTest.scala
@@ -24,7 +24,7 @@ import javax.servlet.http.HttpServletResponse
import org.junit.runner.RunWith
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.ipuser.config.{GroupType, IpUserConfig}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/LabelApplicationTest.scala b/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/LabelApplicationTest.scala
index e4755796372..4855319305d 100644
--- a/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/LabelApplicationTest.scala
+++ b/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/LabelApplicationTest.scala
@@ -21,7 +21,7 @@ package org.openrepose.filters.ipuser
import org.junit.runner.RunWith
import org.scalatest.{FunSpec, Matchers}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class LabelApplicationTest extends FunSpec with Matchers {
diff --git a/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/config/IpUserSchemaTest.scala b/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/config/IpUserSchemaTest.scala
index dcf47562f84..24972fdcaf9 100644
--- a/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/config/IpUserSchemaTest.scala
+++ b/repose-aggregator/components/filters/ip-user-filter/src/test/scala/org/openrepose/filters/ipuser/config/IpUserSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/iri-validator-filter/build.gradle b/repose-aggregator/components/filters/iri-validator-filter/build.gradle
index 44735772570..5f122407b46 100644
--- a/repose-aggregator/components/filters/iri-validator-filter/build.gradle
+++ b/repose-aggregator/components/filters/iri-validator-filter/build.gradle
@@ -1,7 +1,7 @@
dependencies {
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.apache.jena:jena-iri"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/iri-validator-filter/src/main/scala/org/openrepose/filters/irivalidator/IriValidatorFilter.scala b/repose-aggregator/components/filters/iri-validator-filter/src/main/scala/org/openrepose/filters/irivalidator/IriValidatorFilter.scala
index ad84521ee2e..3275e921869 100644
--- a/repose-aggregator/components/filters/iri-validator-filter/src/main/scala/org/openrepose/filters/irivalidator/IriValidatorFilter.scala
+++ b/repose-aggregator/components/filters/iri-validator-filter/src/main/scala/org/openrepose/filters/irivalidator/IriValidatorFilter.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.irivalidator
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.jena.iri.{IRIException, IRIFactory}
/**
diff --git a/repose-aggregator/components/filters/iri-validator-filter/src/test/scala/org/openrepose/filters/irivalidator/IriValidatorFilterTest.scala b/repose-aggregator/components/filters/iri-validator-filter/src/test/scala/org/openrepose/filters/irivalidator/IriValidatorFilterTest.scala
index 130ec37dfda..79499c698e1 100644
--- a/repose-aggregator/components/filters/iri-validator-filter/src/test/scala/org/openrepose/filters/irivalidator/IriValidatorFilterTest.scala
+++ b/repose-aggregator/components/filters/iri-validator-filter/src/test/scala/org/openrepose/filters/irivalidator/IriValidatorFilterTest.scala
@@ -26,8 +26,8 @@ import org.junit.runner.RunWith
import org.mockito.Matchers
import org.mockito.Mockito._
import org.scalatest.FunSpec
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
@RunWith(classOf[JUnitRunner])
class IriValidatorFilterTest extends FunSpec with MockitoSugar {
diff --git a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/build.gradle b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/build.gradle
index 2f18e8b34d0..cbe2f0538e3 100644
--- a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/build.gradle
+++ b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/build.gradle
@@ -5,9 +5,9 @@ dependencies {
compile project(':repose-aggregator:components:services:http-client-service:http-client-service-api')
compile "org.openrepose:http-delegation"
compile "org.scala-lang:scala-library"
- compile "org.scala-lang.modules:scala-xml_2.11"
+ compile "org.scala-lang.modules:scala-xml_$scalaMajDotMin"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.springframework:spring-web"
compile "org.apache.httpcomponents:httpclient"
compile "org.apache.httpcomponents:httpcore"
diff --git a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/main/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilter.scala b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/main/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilter.scala
index 3570c791892..ee18bdcd484 100644
--- a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/main/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilter.scala
+++ b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/main/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilter.scala
@@ -24,7 +24,7 @@ import java.util.concurrent.TimeUnit
import java.util.{Calendar, GregorianCalendar}
import com.rackspace.httpdelegation.HttpDelegationManager
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
diff --git a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/BasicAuthUtilsTest.scala b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/BasicAuthUtilsTest.scala
index 156caa5206f..2fc7edef364 100644
--- a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/BasicAuthUtilsTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/BasicAuthUtilsTest.scala
@@ -21,7 +21,7 @@ package org.openrepose.filters.keystonev2basicauth
import org.apache.commons.codec.binary.Base64
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilterTest.scala b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilterTest.scala
index 5e56e7b46ce..4fbad02ff37 100644
--- a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilterTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/KeystoneV2BasicAuthFilterTest.scala
@@ -21,7 +21,7 @@ package org.openrepose.filters.keystonev2basicauth
import javax.servlet.{FilterChain, FilterConfig}
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.logging.log4j.LogManager
import org.apache.logging.log4j.core.LoggerContext
import org.apache.logging.log4j.test.appender.ListAppender
@@ -36,8 +36,8 @@ import org.openrepose.core.services.datastore.{Datastore, DatastoreService}
import org.openrepose.core.services.httpclient.{HttpClientService, HttpClientServiceClient}
import org.openrepose.filters.keystonev2basicauth.config.KeystoneV2BasicAuthConfig
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.springframework.mock.web.MockHttpServletRequest
import scala.collection.JavaConversions._
diff --git a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/config/KeystoneV2BasicAuthSchemaTest.scala b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/config/KeystoneV2BasicAuthSchemaTest.scala
index 441d28adad4..f3acbeef6a3 100644
--- a/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/config/KeystoneV2BasicAuthSchemaTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-basic-auth-filter/src/test/scala/org/openrepose/filters/keystonev2basicauth/config/KeystoneV2BasicAuthSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class KeystoneV2BasicAuthSchemaTest extends ConfigurationTest {
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/build.gradle b/repose-aggregator/components/filters/keystone-v2-filter/build.gradle
index 898f6a15925..d42b7131f98 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/build.gradle
+++ b/repose-aggregator/components/filters/keystone-v2-filter/build.gradle
@@ -8,10 +8,10 @@ dependencies {
compile project(":repose-aggregator:components:services:datastore-service:datastore-service-api")
compile project(":repose-aggregator:components:services:atom-feed-service:atom-feed-service-api")
compile "org.scala-lang:scala-library"
- compile "org.scala-lang.modules:scala-xml_2.11"
+ compile "org.scala-lang.modules:scala-xml_$scalaMajDotMin"
compile "org.openrepose:http-delegation"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "joda-time:joda-time"
compile "com.typesafe.play:play-json_$scalaMajDotMin"
compile "org.apache.commons:commons-lang3"
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/AbstractKeystoneV2Filter.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/AbstractKeystoneV2Filter.scala
index 04b624a543e..83f586760b7 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/AbstractKeystoneV2Filter.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/AbstractKeystoneV2Filter.scala
@@ -24,7 +24,7 @@ import javax.servlet.http.HttpServletResponse._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import com.rackspace.httpdelegation.HttpDelegationManager
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.utils.http.{IdentityStatus, OpenStackServiceHeader}
import org.openrepose.commons.utils.servlet.http.ResponseMode.{MUTABLE, PASSTHROUGH}
import org.openrepose.commons.utils.servlet.http.{HttpServletRequestWrapper, HttpServletResponseWrapper}
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandler.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandler.scala
index 8b589b80ee4..7cb4061f82d 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandler.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandler.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.keystonev2
import java.util.{Calendar, GregorianCalendar}
import com.fasterxml.jackson.core.JsonProcessingException
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.http.HttpServletResponse._
import javax.ws.rs.core.{HttpHeaders, MediaType}
import org.apache.http.HttpResponse
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneV2Authorization.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneV2Authorization.scala
index 4b47021f248..04d044a9ab5 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneV2Authorization.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/main/scala/org/openrepose/filters/keystonev2/KeystoneV2Authorization.scala
@@ -21,7 +21,7 @@ package org.openrepose.filters.keystonev2
import javax.servlet.http.HttpServletResponse.{SC_FORBIDDEN, SC_UNAUTHORIZED}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.keystonev2.AbstractKeystoneV2Filter.{KeystoneV2Result, Reject}
import org.openrepose.filters.keystonev2.KeystoneV2Common._
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandlerTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandlerTest.scala
index 7c4cb36f535..b4209885e63 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandlerTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneRequestHandlerTest.scala
@@ -27,8 +27,8 @@ import org.apache.http.HttpVersion
import org.apache.http.message.BasicHttpResponse
import org.junit.runner.RunWith
import org.openrepose.commons.utils.http.HttpDate
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationFilterTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationFilterTest.scala
index 26dfe57d97e..268fec2baeb 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationFilterTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationFilterTest.scala
@@ -33,8 +33,8 @@ import org.openrepose.filters.keystonev2.KeystoneV2Common.Endpoint
import org.openrepose.filters.keystonev2.config.TenantHandlingType.SendTenantIdQuality
import org.openrepose.filters.keystonev2.config.{KeystoneV2Config, TenantHandlingType, ValidateTenantType}
import org.scalatest.TryValues._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
import play.api.libs.functional.syntax.{unlift, _}
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationTest.scala
index 90360372f97..9954f8bf78f 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2AuthorizationTest.scala
@@ -25,7 +25,7 @@ import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.keystonev2.AbstractKeystoneV2Filter.Reject
import org.openrepose.filters.keystonev2.KeystoneV2Common._
import org.openrepose.filters.keystonev2.config._
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, PartialFunctionValues, TryValues}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterCacheInvalidationTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterCacheInvalidationTest.scala
index 76028b2c9a5..85d4b2a5acd 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterCacheInvalidationTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterCacheInvalidationTest.scala
@@ -34,8 +34,8 @@ import org.openrepose.core.services.httpclient.{HttpClientService, HttpClientSer
import org.openrepose.filters.keystonev2.KeystoneRequestHandler._
import org.openrepose.filters.keystonev2.config.AtomFeedType
import org.openrepose.nodeservice.atomfeed.{AtomFeedListener, AtomFeedService}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockFilterConfig
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterPrepTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterPrepTest.scala
index 41a96088dd0..f41c6be82c9 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterPrepTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterPrepTest.scala
@@ -34,8 +34,8 @@ import org.openrepose.core.services.httpclient.{HttpClientService, HttpClientSer
import org.openrepose.core.systemmodel.config.{SystemModel, TracingHeaderConfig}
import org.openrepose.filters.keystonev2.config.KeystoneV2AuthenticationConfig
import org.openrepose.nodeservice.atomfeed.{AtomFeedListener, AtomFeedService}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockFilterConfig
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterRcnTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterRcnTest.scala
index cc47f93e681..7b6ad95401f 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterRcnTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterRcnTest.scala
@@ -44,8 +44,8 @@ import org.openrepose.core.services.httpclient.{HttpClientService, HttpClientSer
import org.openrepose.core.systemmodel.config.{SystemModel, TracingHeaderConfig}
import org.openrepose.filters.keystonev2.KeystoneRequestHandler._
import org.openrepose.nodeservice.atomfeed.AtomFeedService
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterTest.scala
index 1dc683d53b1..ecd713d7ee3 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/KeystoneV2FilterTest.scala
@@ -59,8 +59,8 @@ import org.openrepose.filters.keystonev2.KeystoneV2Common._
import org.openrepose.filters.keystonev2.KeystoneV2TestCommon.createValidToken
import org.openrepose.filters.keystonev2.config.{KeystoneV2AuthenticationConfig, ServiceEndpointType}
import org.openrepose.nodeservice.atomfeed.AtomFeedService
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
import play.api.libs.json.Json
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2AuthorizationSchemaTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2AuthorizationSchemaTest.scala
index 87cd53deaa3..950c790a423 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2AuthorizationSchemaTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2AuthorizationSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2SchemaTest.scala b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2SchemaTest.scala
index 1a84ce1de44..1366948abc6 100644
--- a/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2SchemaTest.scala
+++ b/repose-aggregator/components/filters/keystone-v2-filter/src/test/scala/org/openrepose/filters/keystonev2/config/KeystoneV2SchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/merge-header-filter/build.gradle b/repose-aggregator/components/filters/merge-header-filter/build.gradle
index 872c39ce802..6ee91b4cbb6 100644
--- a/repose-aggregator/components/filters/merge-header-filter/build.gradle
+++ b/repose-aggregator/components/filters/merge-header-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/merge-header-filter/src/main/scala/org/openrepose/filters/mergeheader/MergeHeaderFilter.scala b/repose-aggregator/components/filters/merge-header-filter/src/main/scala/org/openrepose/filters/mergeheader/MergeHeaderFilter.scala
index 5d46cf4ef6e..4e1ba1939f0 100644
--- a/repose-aggregator/components/filters/merge-header-filter/src/main/scala/org/openrepose/filters/mergeheader/MergeHeaderFilter.scala
+++ b/repose-aggregator/components/filters/merge-header-filter/src/main/scala/org/openrepose/filters/mergeheader/MergeHeaderFilter.scala
@@ -23,7 +23,7 @@ import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.core.filter.FilterConfigHelper
diff --git a/repose-aggregator/components/filters/merge-header-filter/src/test/scala/org/openrepose/filters/mergeheader/MergeHeaderFilterTest.scala b/repose-aggregator/components/filters/merge-header-filter/src/test/scala/org/openrepose/filters/mergeheader/MergeHeaderFilterTest.scala
index 6c5269209ba..21044158315 100644
--- a/repose-aggregator/components/filters/merge-header-filter/src/test/scala/org/openrepose/filters/mergeheader/MergeHeaderFilterTest.scala
+++ b/repose-aggregator/components/filters/merge-header-filter/src/test/scala/org/openrepose/filters/mergeheader/MergeHeaderFilterTest.scala
@@ -25,8 +25,8 @@ import org.junit.runner.RunWith
import org.mockito.Matchers.{any, anyString}
import org.mockito.Mockito.verify
import org.openrepose.core.services.config.ConfigurationService
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/openapi-validator-filter/build.gradle b/repose-aggregator/components/filters/openapi-validator-filter/build.gradle
index dc608aacdae..293d6d29306 100644
--- a/repose-aggregator/components/filters/openapi-validator-filter/build.gradle
+++ b/repose-aggregator/components/filters/openapi-validator-filter/build.gradle
@@ -2,7 +2,7 @@ dependencies {
compile project(":repose-aggregator:core:repose-core-api")
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.springframework:spring-beans"
compile "com.atlassian.oai:swagger-request-validator-core"
diff --git a/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilter.scala b/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilter.scala
index c6aa66bdf9d..59efd10e575 100644
--- a/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilter.scala
+++ b/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilter.scala
@@ -24,7 +24,7 @@ import java.net.URI
import com.atlassian.oai.validator.OpenApiInteractionValidator
import com.atlassian.oai.validator.report.ValidationReport
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
@@ -105,6 +105,7 @@ class OpenApiValidatorFilter @Inject()(@Value(ReposeSpringProperties.CORE.CONFIG
validator = OpenApiInteractionValidator
.createFor(resolveHref(newConfiguration.getHref))
+ .withCustomRequestValidation(new RaxRolesValidator())
.build()
Thread.currentThread.setContextClassLoader(contextClassLoader)
@@ -172,6 +173,7 @@ object OpenApiValidatorFilter {
"validation.request.accept.invalid" -> HttpServletResponse.SC_BAD_REQUEST,
"validation.request.accept.notAllowed" -> HttpServletResponse.SC_NOT_ACCEPTABLE,
"validation.schema.invalidJson" -> HttpServletResponse.SC_BAD_REQUEST,
+ RaxRolesValidator.RoleValidationMessageKey-> HttpServletResponse.SC_UNAUTHORIZED,
"validation.schema.unknownError" -> HttpServletResponse.SC_INTERNAL_SERVER_ERROR
)
diff --git a/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/RaxRolesValidator.scala b/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/RaxRolesValidator.scala
new file mode 100644
index 00000000000..cd31f7c8b39
--- /dev/null
+++ b/repose-aggregator/components/filters/openapi-validator-filter/src/main/scala/org/openrepose/filters/openapivalidator/RaxRolesValidator.scala
@@ -0,0 +1,42 @@
+/*
+ * _=_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_=
+ * Repose
+ * _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
+ * Copyright (C) 2010 - 2015 Rackspace US, Inc.
+ * _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * =_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_=_
+ */
+package org.openrepose.filters.openapivalidator
+
+import com.atlassian.oai.validator.interaction.request.CustomRequestValidator
+import com.atlassian.oai.validator.model.{ApiOperation, Request}
+import com.atlassian.oai.validator.report.ValidationReport
+import org.openrepose.commons.utils.http.OpenStackServiceHeader.ROLES
+import org.openrepose.filters.openapivalidator.RaxRolesValidator.RoleValidationMessageKey
+
+import scala.collection.JavaConverters._
+
+class RaxRolesValidator extends CustomRequestValidator {
+ override def validate(request: Request, apiOperation: ApiOperation): ValidationReport = {
+ apiOperation.getOperation.getExtensions.asScala.get("x-rax-roles")
+ .map(_.asInstanceOf[java.util.ArrayList[String]])
+ .find(configuredRoles => !request.getHeaderValues(ROLES).asScala.exists(configuredRoles.contains(_)))
+ .map(_ => ValidationReport.singleton(ValidationReport.Message.create(RoleValidationMessageKey, "None of the configured roles match the request.").build()))
+ .getOrElse(ValidationReport.empty())
+ }
+}
+
+object RaxRolesValidator {
+ val RoleValidationMessageKey = "rax.roles"
+}
diff --git a/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/HttpServletValidatorRequestTest.scala b/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/HttpServletValidatorRequestTest.scala
index 5833fad7a4c..e6ea864b319 100644
--- a/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/HttpServletValidatorRequestTest.scala
+++ b/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/HttpServletValidatorRequestTest.scala
@@ -27,8 +27,8 @@ import javax.servlet.http.HttpServletRequest
import org.junit.runner.RunWith
import org.mockito.Mockito.when
import org.openrepose.filters.openapivalidator.HttpServletValidatorRequest.RequestConversionException
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import org.springframework.http.{HttpHeaders, HttpMethod, MediaType}
import org.springframework.mock.web.{DelegatingServletInputStream, MockHttpServletRequest}
diff --git a/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilterTest.scala b/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilterTest.scala
index c5b195fde13..bf421b5f3e4 100644
--- a/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilterTest.scala
+++ b/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/OpenApiValidatorFilterTest.scala
@@ -37,8 +37,8 @@ import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.openapivalidator.HttpServletValidatorRequest.RequestConversionException
import org.openrepose.filters.openapivalidator.OpenApiValidatorFilterTest._
import org.openrepose.filters.openapivalidator.config.OpenApiValidatorConfig
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/RaxRolesValidatorTest.scala b/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/RaxRolesValidatorTest.scala
new file mode 100644
index 00000000000..034958c1523
--- /dev/null
+++ b/repose-aggregator/components/filters/openapi-validator-filter/src/test/scala/org/openrepose/filters/openapivalidator/RaxRolesValidatorTest.scala
@@ -0,0 +1,84 @@
+/*
+ * _=_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_=
+ * Repose
+ * _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
+ * Copyright (C) 2010 - 2015 Rackspace US, Inc.
+ * _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * =_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_=_
+ */
+package org.openrepose.filters.openapivalidator
+
+import com.atlassian.oai.validator.model.{ApiOperation, ApiPath, NormalisedPath, Request}
+import io.swagger.v3.oas.models.{Operation, PathItem}
+import org.junit.runner.RunWith
+import org.openrepose.commons.utils.http.OpenStackServiceHeader.ROLES
+import org.scalatest.junit.JUnitRunner
+import org.scalatest.mock.MockitoSugar
+import org.scalatest.{FunSpec, Matchers}
+import org.springframework.mock.web.MockHttpServletRequest
+
+import scala.collection.JavaConverters._
+
+@RunWith(classOf[JUnitRunner])
+class RaxRolesValidatorTest
+ extends FunSpec with Matchers with MockitoSugar {
+
+ val validator = new RaxRolesValidator
+
+ describe("validate") {
+ it("should match when there's a singular user role and singular configured role; one of which matches") {
+ val report = validator.validate(request("banana"), apiOperation("banana"))
+ report.hasErrors shouldBe false
+ }
+
+ it("should match when there's a singular user role and multiple configured roles; one of which matches") {
+ val report = validator.validate(request("banana"), apiOperation("banana", "phone"))
+ report.hasErrors shouldBe false
+ }
+
+ it("should match when there are multiple user roles and singular configured role; one of which matches") {
+ val report = validator.validate(request("banana", "phone"), apiOperation("banana"))
+ report.hasErrors shouldBe false
+ }
+
+ it("should match when there are multiple user roles and multiple configured roles; one of which matches") {
+ val report = validator.validate(request("banana", "phone"), apiOperation("banana", "time"))
+ report.hasErrors shouldBe false
+ }
+
+ it("should match when there are multiple user roles and multiple configured roles; several match") {
+ val report = validator.validate(request("banana", "phone"), apiOperation("banana", "phone", "time"))
+ report.hasErrors shouldBe false
+ }
+
+ it("shouldn't match when there are multiple user roles and multiple configured roles; none match") {
+ val report = validator.validate(request("banana", "phone"), apiOperation("adventure", "time"))
+ val messages = report.getMessages
+ messages.size() shouldBe 1
+ messages.get(0).getKey shouldBe RaxRolesValidator.RoleValidationMessageKey
+ }
+ }
+
+ def request(roles: String*): Request = {
+ val request = new MockHttpServletRequest()
+ roles.foreach(request.addHeader(ROLES, _))
+ new HttpServletValidatorRequest(request)
+ }
+
+ def apiOperation(roles: String*): ApiOperation = {
+ val operation = new Operation()
+ operation.addExtension("x-rax-roles", roles.toList.asJava)
+ new ApiOperation(mock[ApiPath], mock[NormalisedPath], PathItem.HttpMethod.GET, operation)
+ }
+}
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/build.gradle b/repose-aggregator/components/filters/openstack-identity-v3-filter/build.gradle
index 84376291fa5..4c63f7fcbb6 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/build.gradle
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/build.gradle
@@ -7,9 +7,9 @@ dependencies {
compile project(":repose-aggregator:components:services:atom-feed-service:atom-feed-service-api")
compile project(':repose-aggregator:components:services:http-client-service:http-client-service-api')
compile "org.scala-lang:scala-library"
- compile "org.scala-lang.modules:scala-xml_2.11"
+ compile "org.scala-lang.modules:scala-xml_$scalaMajDotMin"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.openrepose:http-delegation"
compile "commons-codec:commons-codec"
compile "org.springframework:spring-web"
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Filter.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Filter.scala
index 98aee13b8e3..02531df7925 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Filter.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Filter.scala
@@ -24,7 +24,7 @@ import java.net.URL
import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.servlet.filter.FilterAction
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Handler.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Handler.scala
index 4846945f006..4bb28c48795 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Handler.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3Handler.scala
@@ -24,7 +24,7 @@ import javax.servlet.http.HttpServletResponse
import javax.servlet.http.HttpServletResponse._
import com.rackspace.httpdelegation.HttpDelegationManager
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.commons.codec.binary.Base64
import org.openrepose.commons.utils.http._
import org.openrepose.commons.utils.servlet.filter.FilterAction
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3API.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3API.scala
index fea84b19422..f9a92a00684 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3API.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/main/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3API.scala
@@ -23,7 +23,7 @@ import java.io.{InputStream, Serializable}
import java.util.concurrent.TimeUnit
import java.util.{Calendar, GregorianCalendar}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet.http.HttpServletResponse._
import javax.ws.rs.core.MediaType
import org.apache.http.client.entity.EntityBuilder
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3FilterTest.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3FilterTest.scala
index baec6365995..3625f6530de 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3FilterTest.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3FilterTest.scala
@@ -32,8 +32,8 @@ import org.openrepose.core.services.httpclient.{HttpClientService, HttpClientSer
import org.openrepose.filters.openstackidentityv3.config.{OpenstackIdentityService, OpenstackIdentityV3Config}
import org.openrepose.filters.openstackidentityv3.utilities.Cache._
import org.openrepose.nodeservice.atomfeed.{AtomFeedListener, AtomFeedService}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerDeprecatedTest.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerDeprecatedTest.scala
index 013de587232..d9f0b619df8 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerDeprecatedTest.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerDeprecatedTest.scala
@@ -33,8 +33,8 @@ import org.openrepose.filters.openstackidentityv3.config._
import org.openrepose.filters.openstackidentityv3.objects._
import org.openrepose.filters.openstackidentityv3.utilities._
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.springframework.http.HttpHeaders
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerTest.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerTest.scala
index 0651b2180b2..014267f6e8d 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerTest.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/OpenStackIdentityV3HandlerTest.scala
@@ -33,8 +33,8 @@ import org.openrepose.filters.openstackidentityv3.config._
import org.openrepose.filters.openstackidentityv3.objects._
import org.openrepose.filters.openstackidentityv3.utilities._
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.springframework.http.HttpHeaders
import org.springframework.mock.web.{MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/config/OpenStackIdentityV3SchemaTest.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/config/OpenStackIdentityV3SchemaTest.scala
index 5965fc3acf0..b7996eb652e 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/config/OpenStackIdentityV3SchemaTest.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/config/OpenStackIdentityV3SchemaTest.scala
@@ -25,7 +25,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
import org.openrepose.core.spring.{CoreSpringProvider, ReposeSpringProperties}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/CacheTest.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/CacheTest.scala
index dde58d4a74e..06deaa52976 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/CacheTest.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/CacheTest.scala
@@ -21,8 +21,8 @@ package org.openrepose.filters.openstackidentityv3.utilities
import org.junit.runner.RunWith
import org.openrepose.core.services.datastore.Datastore
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3APITest.scala b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3APITest.scala
index 122254f96cd..635623b0cdd 100644
--- a/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3APITest.scala
+++ b/repose-aggregator/components/filters/openstack-identity-v3-filter/src/test/scala/org/openrepose/filters/openstackidentityv3/utilities/OpenStackIdentityV3APITest.scala
@@ -46,8 +46,8 @@ import org.openrepose.filters.openstackidentityv3.config.{OpenstackIdentityServi
import org.openrepose.filters.openstackidentityv3.objects.ValidToken
import org.openrepose.filters.openstackidentityv3.utilities.Cache._
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import scala.Function.tupled
import scala.util.{Failure, Success, Try}
diff --git a/repose-aggregator/components/filters/rate-limiting-filter/build.gradle b/repose-aggregator/components/filters/rate-limiting-filter/build.gradle
index 8448e1cb6e8..b48da599c60 100644
--- a/repose-aggregator/components/filters/rate-limiting-filter/build.gradle
+++ b/repose-aggregator/components/filters/rate-limiting-filter/build.gradle
@@ -7,7 +7,7 @@ dependencies {
compile "com.typesafe.play:play-json_$scalaMajDotMin"
compile "commons-pool:commons-pool"
compile "org.scala-lang:scala-library"
- compile "org.scala-lang.modules:scala-xml_2.11"
+ compile "org.scala-lang.modules:scala-xml_$scalaMajDotMin"
compile "xalan:xalan"
compile "org.springframework:spring-web"
diff --git a/repose-aggregator/components/filters/rate-limiting-filter/src/test/scala/org/openrepose/filters/ratelimiting/UpstreamJsonToXmlTest.scala b/repose-aggregator/components/filters/rate-limiting-filter/src/test/scala/org/openrepose/filters/ratelimiting/UpstreamJsonToXmlTest.scala
index 0190103a5a7..e36352cad6c 100644
--- a/repose-aggregator/components/filters/rate-limiting-filter/src/test/scala/org/openrepose/filters/ratelimiting/UpstreamJsonToXmlTest.scala
+++ b/repose-aggregator/components/filters/rate-limiting-filter/src/test/scala/org/openrepose/filters/ratelimiting/UpstreamJsonToXmlTest.scala
@@ -23,7 +23,7 @@ import java.io.ByteArrayInputStream
import java.nio.charset.StandardCharsets
import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
import scala.xml.{Elem, XML}
diff --git a/repose-aggregator/components/filters/regex-rbac-filter/build.gradle b/repose-aggregator/components/filters/regex-rbac-filter/build.gradle
index 1012f48cc34..c12d977f4a6 100644
--- a/repose-aggregator/components/filters/regex-rbac-filter/build.gradle
+++ b/repose-aggregator/components/filters/regex-rbac-filter/build.gradle
@@ -2,7 +2,7 @@ dependencies {
compile project(":repose-aggregator:core:repose-core-api")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.openrepose:http-delegation"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/regex-rbac-filter/src/main/scala/org/openrepose/filters/regexrbac/RegexRbacFilter.scala b/repose-aggregator/components/filters/regex-rbac-filter/src/main/scala/org/openrepose/filters/regexrbac/RegexRbacFilter.scala
index 3bca43f011b..4b32ac962fb 100644
--- a/repose-aggregator/components/filters/regex-rbac-filter/src/main/scala/org/openrepose/filters/regexrbac/RegexRbacFilter.scala
+++ b/repose-aggregator/components/filters/regex-rbac-filter/src/main/scala/org/openrepose/filters/regexrbac/RegexRbacFilter.scala
@@ -26,7 +26,7 @@ import javax.servlet.http.HttpServletResponse._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import com.rackspace.httpdelegation.HttpDelegationManager
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateFailedException
import org.openrepose.commons.utils.http.PowerApiHeader.RELEVANT_ROLES
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
diff --git a/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/RegexRbacFilterTest.scala b/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/RegexRbacFilterTest.scala
index 37d32d02ee3..abb26a0183c 100644
--- a/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/RegexRbacFilterTest.scala
+++ b/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/RegexRbacFilterTest.scala
@@ -37,8 +37,8 @@ import org.openrepose.commons.config.resource.{ConfigurationResource, Configurat
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.regexrbac.config.{DelegatingType, RegexRbacConfig, ResourcesType}
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.springframework.mock.web.{MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse}
import scala.collection.JavaConversions._
diff --git a/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/config/RegexRbacSchemaTest.scala b/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/config/RegexRbacSchemaTest.scala
index e05fb7c12f8..6e2a3904fc9 100644
--- a/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/config/RegexRbacSchemaTest.scala
+++ b/repose-aggregator/components/filters/regex-rbac-filter/src/test/scala/org/openrepose/filters/regexrbac/config/RegexRbacSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/scripting-filter/build.gradle b/repose-aggregator/components/filters/scripting-filter/build.gradle
index 152425b8749..b42cc15665b 100644
--- a/repose-aggregator/components/filters/scripting-filter/build.gradle
+++ b/repose-aggregator/components/filters/scripting-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "org.python:jython-standalone"
compile "org.codehaus.groovy:groovy-all"
compile "org.luaj:luaj-jse"
diff --git a/repose-aggregator/components/filters/scripting-filter/src/main/scala/org/openrepose/filters/scripting/ScriptingFilter.scala b/repose-aggregator/components/filters/scripting-filter/src/main/scala/org/openrepose/filters/scripting/ScriptingFilter.scala
index d767bd41c20..0a901809f00 100644
--- a/repose-aggregator/components/filters/scripting-filter/src/main/scala/org/openrepose/filters/scripting/ScriptingFilter.scala
+++ b/repose-aggregator/components/filters/scripting-filter/src/main/scala/org/openrepose/filters/scripting/ScriptingFilter.scala
@@ -25,7 +25,7 @@ import javax.script._
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.{UpdateFailedException, UpdateListener}
import org.openrepose.commons.utils.servlet.http._
import org.openrepose.core.filter.FilterConfigHelper
diff --git a/repose-aggregator/components/filters/scripting-filter/src/test/scala/org/openrepose/filters/scripting/ScriptingFilterTest.scala b/repose-aggregator/components/filters/scripting-filter/src/test/scala/org/openrepose/filters/scripting/ScriptingFilterTest.scala
index 0628c483a76..02d6fd33b19 100644
--- a/repose-aggregator/components/filters/scripting-filter/src/test/scala/org/openrepose/filters/scripting/ScriptingFilterTest.scala
+++ b/repose-aggregator/components/filters/scripting-filter/src/test/scala/org/openrepose/filters/scripting/ScriptingFilterTest.scala
@@ -28,8 +28,8 @@ import org.mockito.Mockito.verify
import org.openrepose.commons.config.manager.UpdateFailedException
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.scripting.config.{ScriptingConfig, ScriptingLanguages}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/simple-rbac-filter/build.gradle b/repose-aggregator/components/filters/simple-rbac-filter/build.gradle
index 9ceb0e93467..7af5a26bb22 100644
--- a/repose-aggregator/components/filters/simple-rbac-filter/build.gradle
+++ b/repose-aggregator/components/filters/simple-rbac-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "xalan:xalan" // Forces the version used by api-checker.
compile "com.google.guava:guava" // Forces the version used by api-checker.
compile "com.rackspace.papi.components.api-checker:checker-core"
diff --git a/repose-aggregator/components/filters/simple-rbac-filter/src/main/scala/org/openrepose/filters/simplerbac/SimpleRbacFilter.scala b/repose-aggregator/components/filters/simple-rbac-filter/src/main/scala/org/openrepose/filters/simplerbac/SimpleRbacFilter.scala
index bc6ce9b2115..acd87c837ec 100644
--- a/repose-aggregator/components/filters/simple-rbac-filter/src/main/scala/org/openrepose/filters/simplerbac/SimpleRbacFilter.scala
+++ b/repose-aggregator/components/filters/simple-rbac-filter/src/main/scala/org/openrepose/filters/simplerbac/SimpleRbacFilter.scala
@@ -31,7 +31,7 @@ import javax.xml.transform.stream.StreamSource
import com.rackspace.com.papi.components.checker.handler._
import com.rackspace.com.papi.components.checker.wadl.WADLException
import com.rackspace.com.papi.components.checker.{Config, Validator, ValidatorException}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.apache.commons.lang3.StringUtils
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.StringUriUtilities
diff --git a/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/SimpleRbacFilterTest.scala b/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/SimpleRbacFilterTest.scala
index 14e4ba95829..3c61fe27d93 100644
--- a/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/SimpleRbacFilterTest.scala
+++ b/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/SimpleRbacFilterTest.scala
@@ -32,8 +32,8 @@ import org.openrepose.commons.config.resource.{ConfigurationResource, Configurat
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.simplerbac.config.{DelegatingType, ResourcesType, SimpleRbacConfig}
import org.scalatest._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.springframework.mock.web.{MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse}
import scala.collection.JavaConversions._
diff --git a/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/config/SimpleRbacSchemaTest.scala b/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/config/SimpleRbacSchemaTest.scala
index f7826bbbb32..2bca6eb982c 100644
--- a/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/config/SimpleRbacSchemaTest.scala
+++ b/repose-aggregator/components/filters/simple-rbac-filter/src/test/scala/org/openrepose/filters/simplerbac/config/SimpleRbacSchemaTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/slf4j-http-logging-filter/build.gradle b/repose-aggregator/components/filters/slf4j-http-logging-filter/build.gradle
index f2261583d6c..d8544a1c69b 100644
--- a/repose-aggregator/components/filters/slf4j-http-logging-filter/build.gradle
+++ b/repose-aggregator/components/filters/slf4j-http-logging-filter/build.gradle
@@ -4,7 +4,7 @@ dependencies {
compile "org.scala-lang:scala-library"
compile "org.slf4j:slf4j-api"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/slf4j-http-logging-filter/src/main/scala/org/openrepose/filters/slf4jlogging/Slf4jHttpLoggingFilter.scala b/repose-aggregator/components/filters/slf4j-http-logging-filter/src/main/scala/org/openrepose/filters/slf4jlogging/Slf4jHttpLoggingFilter.scala
index c47f395ddac..a7255fe53ec 100644
--- a/repose-aggregator/components/filters/slf4j-http-logging-filter/src/main/scala/org/openrepose/filters/slf4jlogging/Slf4jHttpLoggingFilter.scala
+++ b/repose-aggregator/components/filters/slf4j-http-logging-filter/src/main/scala/org/openrepose/filters/slf4jlogging/Slf4jHttpLoggingFilter.scala
@@ -24,7 +24,7 @@ import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.logging.apache.HttpLogFormatter
import org.openrepose.core.filter.FilterConfigHelper
diff --git a/repose-aggregator/components/filters/slf4j-http-logging-filter/src/test/scala/org/openrepose/filters/slf4jlogging/config/Slf4jHttpLoggingSchemaTest.scala b/repose-aggregator/components/filters/slf4j-http-logging-filter/src/test/scala/org/openrepose/filters/slf4jlogging/config/Slf4jHttpLoggingSchemaTest.scala
index 7fbb19c1a6e..1485015d107 100644
--- a/repose-aggregator/components/filters/slf4j-http-logging-filter/src/test/scala/org/openrepose/filters/slf4jlogging/config/Slf4jHttpLoggingSchemaTest.scala
+++ b/repose-aggregator/components/filters/slf4j-http-logging-filter/src/test/scala/org/openrepose/filters/slf4jlogging/config/Slf4jHttpLoggingSchemaTest.scala
@@ -24,7 +24,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.xml.sax.SAXParseException
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/split-header-filter/build.gradle b/repose-aggregator/components/filters/split-header-filter/build.gradle
index 41c2c598ab8..57cf4811a7d 100644
--- a/repose-aggregator/components/filters/split-header-filter/build.gradle
+++ b/repose-aggregator/components/filters/split-header-filter/build.gradle
@@ -2,7 +2,7 @@ dependencies {
compile project(":repose-aggregator:core:repose-core-api")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/split-header-filter/src/main/scala/org/openrepose/filters/splitheader/SplitHeaderFilter.scala b/repose-aggregator/components/filters/split-header-filter/src/main/scala/org/openrepose/filters/splitheader/SplitHeaderFilter.scala
index f14576b47a9..348349b9681 100644
--- a/repose-aggregator/components/filters/split-header-filter/src/main/scala/org/openrepose/filters/splitheader/SplitHeaderFilter.scala
+++ b/repose-aggregator/components/filters/split-header-filter/src/main/scala/org/openrepose/filters/splitheader/SplitHeaderFilter.scala
@@ -19,7 +19,7 @@
*/
package org.openrepose.filters.splitheader
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import javax.servlet.FilterChain
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
diff --git a/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/SplitHeaderFilterTest.scala b/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/SplitHeaderFilterTest.scala
index aaa99f4f6a2..2f2cd58ea7c 100644
--- a/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/SplitHeaderFilterTest.scala
+++ b/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/SplitHeaderFilterTest.scala
@@ -24,8 +24,8 @@ import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import org.junit.runner.RunWith
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.filters.splitheader.config.{HeaderList, SplitHeaderConfig}
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
@@ -174,7 +174,7 @@ class SplitHeaderFilterTest extends FunSpec with BeforeAndAfterEach with Mockito
splitHeaderFilter.doWork(request, response, filterChain)
val passedResponse = filterChain.getResponse.asInstanceOf[HttpServletResponse]
- passedResponse.getHeaders(TestHeaderName).asScala.toSeq should contain only("one", "two", "three", "four")
+ passedResponse.getHeaders(TestHeaderName).asScala.toSeq should contain theSameElementsAs Seq("one", "two", "two", "four")
}
it("should split a request header regardless of casing") {
diff --git a/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/config/SplitHeaderSchemaTest.scala b/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/config/SplitHeaderSchemaTest.scala
index 640457131fa..2e17114b776 100644
--- a/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/config/SplitHeaderSchemaTest.scala
+++ b/repose-aggregator/components/filters/split-header-filter/src/test/scala/org/openrepose/filters/splitheader/config/SplitHeaderSchemaTest.scala
@@ -23,7 +23,7 @@ import java.net.URL
import org.junit.runner.RunWith
import org.openrepose.commons.test.ConfigurationTest
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class SplitHeaderSchemaTest extends ConfigurationTest {
diff --git a/repose-aggregator/components/filters/tenant-culling-filter/build.gradle b/repose-aggregator/components/filters/tenant-culling-filter/build.gradle
index 8ca7444e763..a01f92db8f7 100644
--- a/repose-aggregator/components/filters/tenant-culling-filter/build.gradle
+++ b/repose-aggregator/components/filters/tenant-culling-filter/build.gradle
@@ -3,7 +3,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "javax.inject:javax.inject"
diff --git a/repose-aggregator/components/filters/tenant-culling-filter/src/main/scala/org/openrepose/filters/tenantculling/TenantCullingFilter.scala b/repose-aggregator/components/filters/tenant-culling-filter/src/main/scala/org/openrepose/filters/tenantculling/TenantCullingFilter.scala
index 9d054dbd45c..9bad621f766 100644
--- a/repose-aggregator/components/filters/tenant-culling-filter/src/main/scala/org/openrepose/filters/tenantculling/TenantCullingFilter.scala
+++ b/repose-aggregator/components/filters/tenant-culling-filter/src/main/scala/org/openrepose/filters/tenantculling/TenantCullingFilter.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.tenantculling
import java.io.IOException
import com.fasterxml.jackson.core.JsonParseException
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import javax.servlet._
import javax.servlet.http.HttpServletResponse.SC_INTERNAL_SERVER_ERROR
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
diff --git a/repose-aggregator/components/filters/tenant-culling-filter/src/test/scala/org/openrepose/filters/tenantculling/TenantCullingFilterTest.scala b/repose-aggregator/components/filters/tenant-culling-filter/src/test/scala/org/openrepose/filters/tenantculling/TenantCullingFilterTest.scala
index 41e52d470d4..4a206ad892b 100644
--- a/repose-aggregator/components/filters/tenant-culling-filter/src/test/scala/org/openrepose/filters/tenantculling/TenantCullingFilterTest.scala
+++ b/repose-aggregator/components/filters/tenant-culling-filter/src/test/scala/org/openrepose/filters/tenantculling/TenantCullingFilterTest.scala
@@ -30,8 +30,8 @@ import org.openrepose.commons.utils.http.PowerApiHeader.RELEVANT_ROLES
import org.openrepose.commons.utils.json.JsonHeaderHelper
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.tenantculling.TenantCullingFilter.TenantToRolesMap
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/translation-filter/src/test/scala/org/openrepose/filters/translation/httpx/HttpxMarshallerTest.scala b/repose-aggregator/components/filters/translation-filter/src/test/scala/org/openrepose/filters/translation/httpx/HttpxMarshallerTest.scala
index 15668532284..d7064f4e282 100644
--- a/repose-aggregator/components/filters/translation-filter/src/test/scala/org/openrepose/filters/translation/httpx/HttpxMarshallerTest.scala
+++ b/repose-aggregator/components/filters/translation-filter/src/test/scala/org/openrepose/filters/translation/httpx/HttpxMarshallerTest.scala
@@ -23,7 +23,7 @@ import java.io.{ByteArrayInputStream, InputStream}
import org.junit.runner.RunWith
import org.openrepose.docs.repose.httpx.v1._
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/build.gradle b/repose-aggregator/components/filters/uri-normalization-filter/build.gradle
index 71cdb76472b..3f621673099 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/build.gradle
+++ b/repose-aggregator/components/filters/uri-normalization-filter/build.gradle
@@ -8,7 +8,7 @@ dependencies {
compile project(":repose-aggregator:commons:commons-utilities")
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "io.dropwizard.metrics:metrics-core"
compile "org.slf4j:slf4j-api"
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/UriNormalizationFilter.scala b/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/UriNormalizationFilter.scala
index e64b1d0f088..805287ccfbe 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/UriNormalizationFilter.scala
+++ b/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/UriNormalizationFilter.scala
@@ -26,7 +26,7 @@ import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import com.codahale.metrics.MetricRegistry
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.config.manager.UpdateListener
import org.openrepose.commons.utils.http.normal.QueryStringNormalizer
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizer.scala b/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizer.scala
index 2f98dd33f1f..f2a2855b6fd 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizer.scala
+++ b/repose-aggregator/components/filters/uri-normalization-filter/src/main/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizer.scala
@@ -22,7 +22,7 @@ package org.openrepose.filters.urinormalization.normalizer
import java.util.regex.Pattern
import javax.ws.rs.core.HttpHeaders
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import com.typesafe.scalalogging.StrictLogging
import org.openrepose.commons.utils.http.media.MimeType
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.urinormalization.config.MediaType
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/UriNormalizationFilterTest.scala b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/UriNormalizationFilterTest.scala
index c66d95bc197..ed7918af62d 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/UriNormalizationFilterTest.scala
+++ b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/UriNormalizationFilterTest.scala
@@ -31,8 +31,8 @@ import org.mockito.Mockito.{reset, verify, when}
import org.openrepose.core.services.config.ConfigurationService
import org.openrepose.core.services.reporting.metrics.{MetricsService, AggregateMeterFactory}
import org.openrepose.filters.urinormalization.config._
-import org.scalatest.junit.JUnitRunner
-import org.scalatest.mock.MockitoSugar
+import org.scalatestplus.junit.JUnitRunner
+import org.scalatestplus.mockito.MockitoSugar
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.{MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse}
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizerTest.scala b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizerTest.scala
index 7bfda0ae35e..39f302e8982 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizerTest.scala
+++ b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MediaTypeNormalizerTest.scala
@@ -24,7 +24,7 @@ import javax.ws.rs.core.HttpHeaders
import org.junit.runner.RunWith
import org.openrepose.commons.utils.servlet.http.HttpServletRequestWrapper
import org.openrepose.filters.urinormalization.config.MediaType
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
import org.springframework.mock.web.MockHttpServletRequest
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListFactoryTest.scala b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListFactoryTest.scala
index 1f57563e8ad..5797660fc37 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListFactoryTest.scala
+++ b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListFactoryTest.scala
@@ -21,7 +21,7 @@ package org.openrepose.filters.urinormalization.normalizer
import org.junit.runner.RunWith
import org.openrepose.filters.urinormalization.config.{HttpUriParameterList, UriParameter}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListTest.scala b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListTest.scala
index 39a45a153f2..5f28b586e15 100644
--- a/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListTest.scala
+++ b/repose-aggregator/components/filters/uri-normalization-filter/src/test/scala/org/openrepose/filters/urinormalization/normalizer/MultiInstanceWhiteListTest.scala
@@ -21,7 +21,7 @@ package org.openrepose.filters.urinormalization.normalizer
import org.junit.runner.RunWith
import org.openrepose.filters.urinormalization.config.{HttpUriParameterList, UriParameter}
-import org.scalatest.junit.JUnitRunner
+import org.scalatestplus.junit.JUnitRunner
import org.scalatest.{BeforeAndAfterEach, FunSpec, Matchers}
@RunWith(classOf[JUnitRunner])
diff --git a/repose-aggregator/components/filters/uri-stripper-filter/build.gradle b/repose-aggregator/components/filters/uri-stripper-filter/build.gradle
index ab3957d0ee0..5892559c972 100644
--- a/repose-aggregator/components/filters/uri-stripper-filter/build.gradle
+++ b/repose-aggregator/components/filters/uri-stripper-filter/build.gradle
@@ -4,12 +4,10 @@ dependencies {
compile "org.slf4j:slf4j-api"
compile "org.scala-lang:scala-library"
compile "org.scala-lang:scala-reflect" // Forces the version used by scala-logging.
- compile "com.typesafe.scala-logging:scala-logging-slf4j_$scalaMajDotMin"
+ compile "com.typesafe.scala-logging:scala-logging_$scalaMajDotMin"
compile "com.typesafe.play:play-json_$scalaMajDotMin"
compile "io.gatling:jsonpath_$scalaMajDotMin"
compile "org.scala-lang.modules:scala-xml_$scalaMajDotMin"
- compile "xalan:xalan" // Forces the version used by wadl-tools.
- compile "com.rackspace.cloud.api:wadl-tools_$scalaMajDotMin"
compile "net.sf.saxon:Saxon-EE"
compileOnly "javax.servlet:javax.servlet-api"
diff --git a/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/LogErrorListener.scala b/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/LogErrorListener.scala
new file mode 100644
index 00000000000..ef214bc6b37
--- /dev/null
+++ b/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/LogErrorListener.scala
@@ -0,0 +1,61 @@
+/*
+ * _=_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_=
+ * Repose
+ * _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
+ * Copyright (C) 2010 - 2015 Rackspace US, Inc.
+ * _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * =_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_=_
+ */
+
+package org.openrepose.filters.uristripper
+
+import com.typesafe.scalalogging.StrictLogging
+import javax.xml.transform.{ErrorListener, TransformerException}
+import org.openrepose.filters.uristripper.LogErrorListener._
+import org.xml.sax.SAXParseException
+
+class LogErrorListener extends ErrorListener with StrictLogging {
+
+ private def logException(e : TransformerException, default : => Unit) : Unit = {
+ e.getMessage() match {
+ case trace(m) => logger.trace(m)
+ case debug(m) => logger.debug(m)
+ case info(m) => logger.info(m)
+ case warning(m) => logger.warn(m)
+ case error(m) => logger.error(m)
+ case se(m) => logger.error(m)
+ throw new SAXParseException (m, null)
+ case s : String => default
+ }
+ }
+
+ override def error (exception : TransformerException) : Unit =
+ logException(exception, logger.error(exception.getMessage()))
+
+ override def fatalError (exception : TransformerException) : Unit =
+ logException(exception, logger.error(exception.getMessage()))
+
+ override def warning (exception : TransformerException) : Unit =
+ logException(exception, logger.warn(exception.getMessage()))
+
+}
+
+private object LogErrorListener {
+ val trace = "^\\[TRACE\\]\\s+(.*)".r
+ val debug = "^\\[DEBUG\\]\\s+(.*)".r
+ val info = "^\\[INFO\\]\\s+(.*)".r
+ val warning = "^\\[WARNING\\]\\s+(.*)".r
+ val error = "^\\[ERROR\\]\\s+(.*)".r
+ val se = "^\\[SE\\]\\s+(.*)".r
+}
diff --git a/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/UriStripperFilter.scala b/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/UriStripperFilter.scala
index 2632f1d98a2..dabf817a6a0 100644
--- a/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/UriStripperFilter.scala
+++ b/repose-aggregator/components/filters/uri-stripper-filter/src/main/scala/org/openrepose/filters/uristripper/UriStripperFilter.scala
@@ -23,17 +23,17 @@ package org.openrepose.filters.uristripper
import java.io.{ByteArrayInputStream, ByteArrayOutputStream, InputStream}
import java.net.{URI, URL}
import java.nio.charset.Charset
+
+import _root_.io.gatling.jsonpath.AST.{Field, RootNode}
+import _root_.io.gatling.jsonpath.Parser
+import com.typesafe.scalalogging.StrictLogging
import javax.inject.{Inject, Named}
import javax.servlet._
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}
import javax.xml.transform._
import javax.xml.transform.dom._
import javax.xml.transform.stream._
-
-import _root_.io.gatling.jsonpath.AST.{Field, RootNode}
-import _root_.io.gatling.jsonpath.Parser
-import com.rackspace.cloud.api.wadl.Converters._
-import com.typesafe.scalalogging.slf4j.StrictLogging
+import net.sf.saxon.serialize.MessageWarner
import net.sf.saxon.{Controller, TransformerFactoryImpl}
import org.apache.http.HttpHeaders
import org.openrepose.commons.config.manager.UpdateListener
@@ -51,8 +51,9 @@ import play.api.libs.json._
import scala.collection.JavaConversions._
import scala.collection.mutable
-import scala.language.{postfixOps, reflectiveCalls}
+import scala.language.{implicitConversions, postfixOps, reflectiveCalls}
import scala.util.{Failure, Success, Try}
+import scala.xml.NodeSeq
@Named
class UriStripperFilter @Inject()(configurationService: ConfigurationService)
@@ -67,6 +68,13 @@ class UriStripperFilter @Inject()(configurationService: ConfigurationService)
private var templateMapResponse: Map[LinkPath, Templates] = _
private val DROP_CODE: String = "[[DROP]]"
+ def addLogErrorListener(c : Controller) : Unit = {
+ c.asInstanceOf[Transformer].setErrorListener (new LogErrorListener)
+ c.setMessageEmitter(new MessageWarner())
+ }
+
+ implicit def nodeSeq2ByteArrayInputStream(ns : NodeSeq) : ByteArrayInputStream = new ByteArrayInputStream(ns.toString().getBytes())
+
override def init(filterConfig: FilterConfig): Unit = {
logger.trace("URI Stripper filter initializing...")
configurationFileName = new FilterConfigHelper(filterConfig).getFilterConfig(DefaultConfigFileName)
@@ -185,7 +193,7 @@ class UriStripperFilter @Inject()(configurationService: ConfigurationService)
val result = applicableLinkPaths.foldLeft(wrappedRequest.getInputStream) { (in: InputStream, linkPath: LinkPath) =>
val out = new ByteArrayOutputStream()
val transformer = templateMapRequest(linkPath).newTransformer
- transformer.asInstanceOf[Controller].addLogErrorListener
+ addLogErrorListener(transformer.asInstanceOf[Controller])
transformer.setParameter("removedToken", "")
transformer.setParameter("prefixToken", "")
transformer.setParameter("postfixToken", "")
@@ -229,7 +237,7 @@ class UriStripperFilter @Inject()(configurationService: ConfigurationService)
val result = applicableLinkPaths.foldLeft(wrappedResponse.getOutputStreamAsInputStream) { (in: InputStream, linkPath: LinkPath) =>
val out = new ByteArrayOutputStream()
val transformer = templateMapResponse(linkPath).newTransformer
- transformer.asInstanceOf[Controller].addLogErrorListener
+ addLogErrorListener(transformer.asInstanceOf[Controller])
transformer.setParameter("removedToken", token.getOrElse(""))
transformer.setParameter("prefixToken", previousToken.getOrElse(""))
transformer.setParameter("postfixToken", nextToken.getOrElse(""))
@@ -431,7 +439,7 @@ class UriStripperFilter @Inject()(configurationService: ConfigurationService)
))
setupTransformer.setParameter("failOnMiss", xmlElement.getXpath.getLinkMismatchAction == FAIL)
- setupTransformer.asInstanceOf[Controller].addLogErrorListener
+ addLogErrorListener(setupTransformer.asInstanceOf[Controller])
val updateXPathXSLTDomResult = new DOMResult()
setupTransformer.transform(new StreamSource(