From e7978dce2ecfbdaa2847a0e6bc7ae7bbae11d291 Mon Sep 17 00:00:00 2001 From: selva Date: Wed, 5 Jun 2019 15:21:50 +0100 Subject: [PATCH] spring boot 2.0.9 --- pom.xml | 2 +- .../ac/ebi/ampt2d/registry/config/SwaggerConfiguration.java | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index f96ef3c..6c3979e 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ org.springframework.boot spring-boot-starter-parent - 2.1.5.RELEASE + 2.0.9.RELEASE diff --git a/src/main/java/uk/ac/ebi/ampt2d/registry/config/SwaggerConfiguration.java b/src/main/java/uk/ac/ebi/ampt2d/registry/config/SwaggerConfiguration.java index 2f79be1..8646b8a 100644 --- a/src/main/java/uk/ac/ebi/ampt2d/registry/config/SwaggerConfiguration.java +++ b/src/main/java/uk/ac/ebi/ampt2d/registry/config/SwaggerConfiguration.java @@ -24,7 +24,6 @@ import org.springframework.context.annotation.Import; import org.springframework.http.ResponseEntity; import org.springframework.web.context.request.async.DeferredResult; -import org.springframework.web.filter.ForwardedHeaderFilter; import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSelectors; @@ -84,11 +83,6 @@ public Docket propertyRegistryApi() { } - @Bean - public ForwardedHeaderFilter forwardedHeaderFilter() { - return new ForwardedHeaderFilter(); - } - private Predicate getScanRestServicesPathPredicate() { return PathSelectors.regex(".*/actuator.*") // Hide spring-actuator .or(PathSelectors.regex(".*/error.*")) // Hide spring-data error