From 39ac98f0dc9c62737561579502bb7260594dd075 Mon Sep 17 00:00:00 2001 From: Rebecca Dong Date: Mon, 3 May 2021 10:50:38 -0700 Subject: [PATCH] fix: value annotation for environment name (#495) * fix: value annotation for environment name * Update max-http-header-size * Update version to 4.12.1 Co-authored-by: Shawn Sherwood --- .../src/main/java/com/nike/cerberus/service/JwtService.java | 2 +- cerberus-web/src/main/resources/cerberus.yaml | 3 +++ gradle.properties | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cerberus-web/src/main/java/com/nike/cerberus/service/JwtService.java b/cerberus-web/src/main/java/com/nike/cerberus/service/JwtService.java index 89b25a9d5..5de65c34a 100644 --- a/cerberus-web/src/main/java/com/nike/cerberus/service/JwtService.java +++ b/cerberus-web/src/main/java/com/nike/cerberus/service/JwtService.java @@ -65,7 +65,7 @@ public class JwtService { @Autowired public JwtService( CerberusSigningKeyResolver signingKeyResolver, - @Value("cerberus.environmentName") String environmentName, + @Value("${cerberus.environmentName}") String environmentName, JwtBlocklistDao jwtBlocklistDao) { this.signingKeyResolver = signingKeyResolver; this.environmentName = environmentName; diff --git a/cerberus-web/src/main/resources/cerberus.yaml b/cerberus-web/src/main/resources/cerberus.yaml index 14e31818c..58a8ce714 100644 --- a/cerberus-web/src/main/resources/cerberus.yaml +++ b/cerberus-web/src/main/resources/cerberus.yaml @@ -43,6 +43,9 @@ c3p0: maxConnectionAge: 300 preferredTestQuery: SELECT 1 +server: + max-http-header-size: 65536 + cerberus: partitions: awsGlobal: diff --git a/gradle.properties b/gradle.properties index c864b7a24..9936476ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,5 +14,5 @@ # limitations under the License. # -version=4.12.0 +version=4.12.1 group=com.nike.cerberus