Skip to content

Commit

Permalink
spring boot 2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
selvaebi committed Jun 5, 2019
1 parent bf3c171 commit e7978dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.5.RELEASE</version>
<version>2.0.9.RELEASE</version>
</parent>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -84,11 +83,6 @@ public Docket propertyRegistryApi() {

}

@Bean
public ForwardedHeaderFilter forwardedHeaderFilter() {
return new ForwardedHeaderFilter();
}

private Predicate<String> getScanRestServicesPathPredicate() {
return PathSelectors.regex(".*/actuator.*") // Hide spring-actuator
.or(PathSelectors.regex(".*/error.*")) // Hide spring-data error
Expand Down

0 comments on commit e7978dc

Please sign in to comment.