This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b1f2b7  [create-pull-request] automated change
8b1f2b7 is described below

commit 8b1f2b771108510ab518637cb8322273e5af06d9
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Sep 15 01:13:14 2020 +0000

    [create-pull-request] automated change
---
 .../src/main/docs/core-starter.adoc                |  4 ++--
 .../Resilience4jConfigurationDefinitionCommon.java | 24 +++++++++++-----------
 docs/modules/ROOT/pages/core-starter.adoc          |  4 ++--
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git 
a/components-starter/camel-core-starter/src/main/docs/core-starter.adoc 
b/components-starter/camel-core-starter/src/main/docs/core-starter.adoc
index 69dc358..35e2782 100644
--- a/components-starter/camel-core-starter/src/main/docs/core-starter.adoc
+++ b/components-starter/camel-core-starter/src/main/docs/core-starter.adoc
@@ -133,12 +133,12 @@ The component supports 145 options, which are listed 
below.
 | *camel.resilience4j.configurations* | Define additional configuration 
definitions |  | Map
 | *camel.resilience4j.enabled* | Enable the component | true | Boolean
 | *camel.resilience4j.failure-rate-threshold* | Configures the failure rate 
threshold in percentage. If the failure rate is equal or greater than the 
threshold the CircuitBreaker transitions to open and starts short-circuiting 
calls. The threshold must be greater than 0 and not greater than 100. Default 
value is 50 percentage. |  | Float
-| *camel.resilience4j.minimum-number-of-calls* | Configures configures the 
minimum number of calls which are required (per sliding window period) before 
the CircuitBreaker can calculate the error rate. For example, if 
minimumNumberOfCalls is 10, then at least 10 calls must be recorded, before the 
failure rate can be calculated. If only 9 calls have been recorded the 
CircuitBreaker will not transition to open even if all 9 calls have failed. 
Default minimumNumberOfCalls is 100 | 100 | Integer
+| *camel.resilience4j.minimum-number-of-calls* | Configures the minimum number 
of calls which are required (per sliding window period) before the 
CircuitBreaker can calculate the error rate. For example, if 
minimumNumberOfCalls is 10, then at least 10 calls must be recorded, before the 
failure rate can be calculated. If only 9 calls have been recorded the 
CircuitBreaker will not transition to open even if all 9 calls have failed. 
Default minimumNumberOfCalls is 100 | 100 | Integer
 | *camel.resilience4j.permitted-number-of-calls-in-half-open-state* | 
Configures the number of permitted calls when the CircuitBreaker is half open. 
The size must be greater than 0. Default size is 10. | 10 | Integer
 | *camel.resilience4j.sliding-window-size* | Configures the size of the 
sliding window which is used to record the outcome of calls when the 
CircuitBreaker is closed. slidingWindowSize configures the size of the sliding 
window. Sliding window can either be count-based or time-based. If 
slidingWindowType is COUNT_BASED, the last slidingWindowSize calls are recorded 
and aggregated. If slidingWindowType is TIME_BASED, the calls of the last 
slidingWindowSize seconds are recorded and aggregat [...]
 | *camel.resilience4j.sliding-window-type* | Configures the type of the 
sliding window which is used to record the outcome of calls when the 
CircuitBreaker is closed. Sliding window can either be count-based or 
time-based. If slidingWindowType is COUNT_BASED, the last slidingWindowSize 
calls are recorded and aggregated. If slidingWindowType is TIME_BASED, the 
calls of the last slidingWindowSize seconds are recorded and aggregated. 
Default slidingWindowType is COUNT_BASED. | COUNT_BASED | String
 | *camel.resilience4j.slow-call-duration-threshold* | Configures the duration 
threshold (seconds) above which calls are considered as slow and increase the 
slow calls percentage. Default value is 60 seconds. | 60 | Integer
-| *camel.resilience4j.slow-call-rate-threshold* | Configures a threshold in 
percentage. The CircuitBreaker considers a call as slow when the call duration 
is greater than slowCallDurationThreshold(Duration. When the percentage of slow 
calls is equal or greater the threshold, the CircuitBreaker transitions to open 
and starts short-circuiting calls. The threshold must be greater than 0 and not 
greater than 100. Default value is 100 percentage which means that all recorded 
calls must be slo [...]
+| *camel.resilience4j.slow-call-rate-threshold* | Configures a threshold in 
percentage. The CircuitBreaker considers a call as slow when the call duration 
is greater than slowCallDurationThreshold Duration. When the percentage of slow 
calls is equal or greater the threshold, the CircuitBreaker transitions to open 
and starts short-circuiting calls. The threshold must be greater than 0 and not 
greater than 100. Default value is 100 percentage which means that all recorded 
calls must be slo [...]
 | *camel.resilience4j.wait-duration-in-open-state* | Configures the wait 
duration (in seconds) which specifies how long the CircuitBreaker should stay 
open, before it switches to half open. Default value is 60 seconds. | 60 | 
Integer
 | *camel.resilience4j.writable-stack-trace-enabled* | Enables writable stack 
traces. When set to false, Exception.getStackTrace returns a zero length array. 
This may be used to reduce log spam when the circuit breaker is open as the 
cause of the exceptions is already known (the circuit breaker is 
short-circuiting calls). | true | Boolean
 | *camel.rest.api-component* | The name of the Camel component to use as the 
REST API (such as swagger) If no API Component has been explicit configured, 
then Camel will lookup if there is a Camel component responsible for servicing 
and generating the REST API documentation, or if a 
org.apache.camel.spi.RestApiProcessorFactory is registered in the registry. If 
either one is found, then that is being used. |  | String
diff --git 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
index fa656b1..4b1e5a2 100644
--- 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
+++ 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
@@ -76,12 +76,12 @@ public class Resilience4jConfigurationDefinitionCommon {
      */
     private String slidingWindowType = "COUNT_BASED";
     /**
-     * Configures configures the minimum number of calls which are required 
(per
-     * sliding window period) before the CircuitBreaker can calculate the error
-     * rate. For example, if minimumNumberOfCalls is 10, then at least 10 calls
-     * must be recorded, before the failure rate can be calculated. If only 9
-     * calls have been recorded the CircuitBreaker will not transition to open
-     * even if all 9 calls have failed. Default minimumNumberOfCalls is 100
+     * Configures the minimum number of calls which are required (per sliding
+     * window period) before the CircuitBreaker can calculate the error rate.
+     * For example, if minimumNumberOfCalls is 10, then at least 10 calls must
+     * be recorded, before the failure rate can be calculated. If only 9 calls
+     * have been recorded the CircuitBreaker will not transition to open even 
if
+     * all 9 calls have failed. Default minimumNumberOfCalls is 100
      */
     private Integer minimumNumberOfCalls = 100;
     /**
@@ -104,12 +104,12 @@ public class Resilience4jConfigurationDefinitionCommon {
     private Boolean automaticTransitionFromOpenToHalfOpenEnabled = false;
     /**
      * Configures a threshold in percentage. The CircuitBreaker considers a 
call
-     * as slow when the call duration is greater than
-     * slowCallDurationThreshold(Duration. When the percentage of slow calls is
-     * equal or greater the threshold, the CircuitBreaker transitions to open
-     * and starts short-circuiting calls. The threshold must be greater than 0
-     * and not greater than 100. Default value is 100 percentage which means
-     * that all recorded calls must be slower than slowCallDurationThreshold.
+     * as slow when the call duration is greater than slowCallDurationThreshold
+     * Duration. When the percentage of slow calls is equal or greater the
+     * threshold, the CircuitBreaker transitions to open and starts
+     * short-circuiting calls. The threshold must be greater than 0 and not
+     * greater than 100. Default value is 100 percentage which means that all
+     * recorded calls must be slower than slowCallDurationThreshold.
      */
     private Float slowCallRateThreshold;
     /**
diff --git a/docs/modules/ROOT/pages/core-starter.adoc 
b/docs/modules/ROOT/pages/core-starter.adoc
index 69dc358..35e2782 100644
--- a/docs/modules/ROOT/pages/core-starter.adoc
+++ b/docs/modules/ROOT/pages/core-starter.adoc
@@ -133,12 +133,12 @@ The component supports 145 options, which are listed 
below.
 | *camel.resilience4j.configurations* | Define additional configuration 
definitions |  | Map
 | *camel.resilience4j.enabled* | Enable the component | true | Boolean
 | *camel.resilience4j.failure-rate-threshold* | Configures the failure rate 
threshold in percentage. If the failure rate is equal or greater than the 
threshold the CircuitBreaker transitions to open and starts short-circuiting 
calls. The threshold must be greater than 0 and not greater than 100. Default 
value is 50 percentage. |  | Float
-| *camel.resilience4j.minimum-number-of-calls* | Configures configures the 
minimum number of calls which are required (per sliding window period) before 
the CircuitBreaker can calculate the error rate. For example, if 
minimumNumberOfCalls is 10, then at least 10 calls must be recorded, before the 
failure rate can be calculated. If only 9 calls have been recorded the 
CircuitBreaker will not transition to open even if all 9 calls have failed. 
Default minimumNumberOfCalls is 100 | 100 | Integer
+| *camel.resilience4j.minimum-number-of-calls* | Configures the minimum number 
of calls which are required (per sliding window period) before the 
CircuitBreaker can calculate the error rate. For example, if 
minimumNumberOfCalls is 10, then at least 10 calls must be recorded, before the 
failure rate can be calculated. If only 9 calls have been recorded the 
CircuitBreaker will not transition to open even if all 9 calls have failed. 
Default minimumNumberOfCalls is 100 | 100 | Integer
 | *camel.resilience4j.permitted-number-of-calls-in-half-open-state* | 
Configures the number of permitted calls when the CircuitBreaker is half open. 
The size must be greater than 0. Default size is 10. | 10 | Integer
 | *camel.resilience4j.sliding-window-size* | Configures the size of the 
sliding window which is used to record the outcome of calls when the 
CircuitBreaker is closed. slidingWindowSize configures the size of the sliding 
window. Sliding window can either be count-based or time-based. If 
slidingWindowType is COUNT_BASED, the last slidingWindowSize calls are recorded 
and aggregated. If slidingWindowType is TIME_BASED, the calls of the last 
slidingWindowSize seconds are recorded and aggregat [...]
 | *camel.resilience4j.sliding-window-type* | Configures the type of the 
sliding window which is used to record the outcome of calls when the 
CircuitBreaker is closed. Sliding window can either be count-based or 
time-based. If slidingWindowType is COUNT_BASED, the last slidingWindowSize 
calls are recorded and aggregated. If slidingWindowType is TIME_BASED, the 
calls of the last slidingWindowSize seconds are recorded and aggregated. 
Default slidingWindowType is COUNT_BASED. | COUNT_BASED | String
 | *camel.resilience4j.slow-call-duration-threshold* | Configures the duration 
threshold (seconds) above which calls are considered as slow and increase the 
slow calls percentage. Default value is 60 seconds. | 60 | Integer
-| *camel.resilience4j.slow-call-rate-threshold* | Configures a threshold in 
percentage. The CircuitBreaker considers a call as slow when the call duration 
is greater than slowCallDurationThreshold(Duration. When the percentage of slow 
calls is equal or greater the threshold, the CircuitBreaker transitions to open 
and starts short-circuiting calls. The threshold must be greater than 0 and not 
greater than 100. Default value is 100 percentage which means that all recorded 
calls must be slo [...]
+| *camel.resilience4j.slow-call-rate-threshold* | Configures a threshold in 
percentage. The CircuitBreaker considers a call as slow when the call duration 
is greater than slowCallDurationThreshold Duration. When the percentage of slow 
calls is equal or greater the threshold, the CircuitBreaker transitions to open 
and starts short-circuiting calls. The threshold must be greater than 0 and not 
greater than 100. Default value is 100 percentage which means that all recorded 
calls must be slo [...]
 | *camel.resilience4j.wait-duration-in-open-state* | Configures the wait 
duration (in seconds) which specifies how long the CircuitBreaker should stay 
open, before it switches to half open. Default value is 60 seconds. | 60 | 
Integer
 | *camel.resilience4j.writable-stack-trace-enabled* | Enables writable stack 
traces. When set to false, Exception.getStackTrace returns a zero length array. 
This may be used to reduce log spam when the circuit breaker is open as the 
cause of the exceptions is already known (the circuit breaker is 
short-circuiting calls). | true | Boolean
 | *camel.rest.api-component* | The name of the Camel component to use as the 
REST API (such as swagger) If no API Component has been explicit configured, 
then Camel will lookup if there is a Camel component responsible for servicing 
and generating the REST API documentation, or if a 
org.apache.camel.spi.RestApiProcessorFactory is registered in the registry. If 
either one is found, then that is being used. |  | String

Reply via email to