From 3dc5377c755d75043607cd298ac1504cd5fef6db Mon Sep 17 00:00:00 2001 From: sfrevel <3075075+sfrevel@users.noreply.github.com> Date: Fri, 29 May 2020 13:15:41 +0200 Subject: [PATCH] TSK-1271:migrate properties in application.properties files to spring-boot 2.3 --- .../src/test/resources/application.properties | 4 ++-- .../src/main/resources/application-postgres.properties | 4 ++-- .../src/main/resources/application.properties | 6 +++--- .../src/test/resources/application.properties | 4 ++-- .../src/test/resources/application-ldap.properties | 4 ++-- .../src/test/resources/application.properties | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/rest/taskana-rest-spring-example-common/src/test/resources/application.properties b/rest/taskana-rest-spring-example-common/src/test/resources/application.properties index 316500e16..299127c3f 100644 --- a/rest/taskana-rest-spring-example-common/src/test/resources/application.properties +++ b/rest/taskana-rest-spring-example-common/src/test/resources/application.properties @@ -38,5 +38,5 @@ taskana.jobscheduler.async.cron=0 0 * * * * spring.resources.cache.cachecontrol.cache-private=true spring.main.allow-bean-definition-overriding=true ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy -server.tomcat.internal-proxies=.* -server.use-forward-headers=true +server.tomcat.remoteip.internal-proxies=.* +server.forward-headers-strategy=native diff --git a/rest/taskana-rest-spring-example-wildfly/src/main/resources/application-postgres.properties b/rest/taskana-rest-spring-example-wildfly/src/main/resources/application-postgres.properties index 88f63943f..15867e6ae 100644 --- a/rest/taskana-rest-spring-example-wildfly/src/main/resources/application-postgres.properties +++ b/rest/taskana-rest-spring-example-wildfly/src/main/resources/application-postgres.properties @@ -28,5 +28,5 @@ taskana.jobscheduler.async.cron=0 * * * * * ####### cache static resources properties spring.resources.cache.cachecontrol.cache-private=true ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy -server.tomcat.internal-proxies=.* -server.use-forward-headers=true +server.tomcat.remoteip.internal-proxies=.* +server.forward-headers-strategy=native diff --git a/rest/taskana-rest-spring-example-wildfly/src/main/resources/application.properties b/rest/taskana-rest-spring-example-wildfly/src/main/resources/application.properties index 85be9b4e6..52f58539c 100644 --- a/rest/taskana-rest-spring-example-wildfly/src/main/resources/application.properties +++ b/rest/taskana-rest-spring-example-wildfly/src/main/resources/application.properties @@ -34,9 +34,9 @@ spring.servlet.multipart.max-request-size=10MB spring.main.allow-bean-definition-overriding=true -server.tomcat.max-http-post-size=-1 +server.tomcat.max-http-form-post-size=-1 server.tomcat.max-save-post-size=-1 server.tomcat.max-swallow-size=-1 ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy -server.tomcat.internal-proxies=.* -server.use-forward-headers=true +server.tomcat.remoteip.internal-proxies=.* +server.forward-headers-strategy=native diff --git a/rest/taskana-rest-spring-example-wildfly/src/test/resources/application.properties b/rest/taskana-rest-spring-example-wildfly/src/test/resources/application.properties index 870095a0f..776030e79 100644 --- a/rest/taskana-rest-spring-example-wildfly/src/test/resources/application.properties +++ b/rest/taskana-rest-spring-example-wildfly/src/test/resources/application.properties @@ -33,5 +33,5 @@ spring.resources.cache.cachecontrol.cache-private=true spring.main.allow-bean-definition-overriding=true ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy -server.tomcat.internal-proxies=.* -server.use-forward-headers=true +server.tomcat.remoteip.internal-proxies=.* +server.forward-headers-strategy=native diff --git a/rest/taskana-rest-spring/src/test/resources/application-ldap.properties b/rest/taskana-rest-spring/src/test/resources/application-ldap.properties index e35a88830..1e931930e 100644 --- a/rest/taskana-rest-spring/src/test/resources/application-ldap.properties +++ b/rest/taskana-rest-spring/src/test/resources/application-ldap.properties @@ -39,8 +39,8 @@ taskana.jobscheduler.async.cron=0 0 * * * * spring.resources.cache.cachecontrol.cache-private=true spring.main.allow-bean-definition-overriding=true ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy -server.tomcat.internal-proxies=.* -server.use-forward-headers=true +server.tomcat.remoteip.internal-proxies=.* +server.forward-headers-strategy=native # Embedded Spring LDAP spring.ldap.embedded.base-dn= O=TASKANA diff --git a/rest/taskana-rest-spring/src/test/resources/application.properties b/rest/taskana-rest-spring/src/test/resources/application.properties index 316500e16..299127c3f 100644 --- a/rest/taskana-rest-spring/src/test/resources/application.properties +++ b/rest/taskana-rest-spring/src/test/resources/application.properties @@ -38,5 +38,5 @@ taskana.jobscheduler.async.cron=0 0 * * * * spring.resources.cache.cachecontrol.cache-private=true spring.main.allow-bean-definition-overriding=true ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy -server.tomcat.internal-proxies=.* -server.use-forward-headers=true +server.tomcat.remoteip.internal-proxies=.* +server.forward-headers-strategy=native