From 063923fd5f5fd133d9639098281b0dd5ccad2e42 Mon Sep 17 00:00:00 2001 From: dowenliu-xyz Date: Sun, 7 Jul 2024 23:36:14 +0800 Subject: [PATCH] generate spring-configuration-metadata.json --- spring-cloud-circuitbreaker-resilience4j/pom.xml | 5 +++++ .../resilience4j/Resilience4JConfigurationProperties.java | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/spring-cloud-circuitbreaker-resilience4j/pom.xml b/spring-cloud-circuitbreaker-resilience4j/pom.xml index a9a1d74..c3cf398 100644 --- a/spring-cloud-circuitbreaker-resilience4j/pom.xml +++ b/spring-cloud-circuitbreaker-resilience4j/pom.xml @@ -100,6 +100,11 @@ org.springframework.cloud spring-cloud-test-support + + org.springframework.boot + spring-boot-configuration-processor + annotationProcessor + diff --git a/spring-cloud-circuitbreaker-resilience4j/src/main/java/org/springframework/cloud/circuitbreaker/resilience4j/Resilience4JConfigurationProperties.java b/spring-cloud-circuitbreaker-resilience4j/src/main/java/org/springframework/cloud/circuitbreaker/resilience4j/Resilience4JConfigurationProperties.java index 8a00e21..d353c12 100644 --- a/spring-cloud-circuitbreaker-resilience4j/src/main/java/org/springframework/cloud/circuitbreaker/resilience4j/Resilience4JConfigurationProperties.java +++ b/spring-cloud-circuitbreaker-resilience4j/src/main/java/org/springframework/cloud/circuitbreaker/resilience4j/Resilience4JConfigurationProperties.java @@ -66,11 +66,11 @@ public void setDisableThreadPool(boolean disableThreadPool) { this.disableThreadPool = disableThreadPool; } - boolean isDisableTimeLimiter() { + public boolean isDisableTimeLimiter() { return disableTimeLimiter; } - void setDisableTimeLimiter(boolean disableTimeLimiter) { + public void setDisableTimeLimiter(boolean disableTimeLimiter) { this.disableTimeLimiter = disableTimeLimiter; }