Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bdd6d9d
Configure backoffs from application settings
reactivestudio Nov 8, 2026
b4a3312
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 8, 2026
3362251
Depend on the Spring module of backoff
reactivestudio Nov 8, 2026
db030e6
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 8, 2026
18ac90d
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
aad15d7
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
8dc40fe
Register backoffs through registrars in the auto-configuration
reactivestudio Nov 9, 2026
1473225
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
c6172a6
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
1bdab69
Register backoff beans after every registrar
reactivestudio Nov 9, 2026
9885960
Customize the backoff registry through beans
reactivestudio Nov 9, 2026
fd5ced3
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
1ca8bce
Cover backoff beans replacing the settings
reactivestudio Nov 9, 2026
d4fee59
Apply settings and beans through the standard customizer
reactivestudio Nov 9, 2026
59a8b4d
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
e6faefb
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
2b662e5
Use the default backoff name in the auto-configuration tests
reactivestudio Nov 9, 2026
520c952
Fill the backoff registry in the auto-configuration
reactivestudio Nov 9, 2026
8d74ef0
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
93dd9a4
Name the validation of the default backoff
reactivestudio Nov 9, 2026
6ad4632
Pick backoff algorithms from factory beans in the auto-configuration
reactivestudio Nov 9, 2026
740c103
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
251d17e
Say that the name of the default backoff is reserved
reactivestudio Nov 9, 2026
c6c4e0b
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
e2b5d5e
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
4817c16
Fill the backoff registry through the properties registrar
reactivestudio Nov 10, 2026
9c24cbd
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
8e92384
Bind backoff settings by the key of their type in the auto-configuration
reactivestudio Nov 10, 2026
421e221
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
25b077d
Put the misspelled field under its type in the auto-configuration test
reactivestudio Nov 10, 2026
3ef32e7
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
1dd0b7f
Describe relaxed backoff names in the settings guide
reactivestudio Nov 10, 2026
c91d1cc
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
78d0fb9
Wrap the start failures paragraph of the settings guide
reactivestudio Nov 10, 2026
935a788
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
238d2c1
Name the backoff factory beans of the auto-configuration by their type
reactivestudio Nov 10, 2026
bd771ef
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
2237a7a
Bind backoff settings through properties in the auto-configuration
reactivestudio Nov 10, 2026
0f3999c
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
1ba224f
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
…-spring-boot-autoconfiguration

# Conflicts:
#	architecture/pattern/resilience/backoff/spring-boot/autoconfigure/api/semantic-resilience-backoff-spring-boot.api
  • Loading branch information
reactivestudio committed Nov 9, 2026
commit 18ac90d45ff85499c47d4529c6e8ad352db3c798

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
package pro.vlprojects.semantic.resilience.backoff.spring.boot
package pro.vlprojects.semantic.resilience.backoff.spring.boot.config

import org.springframework.beans.factory.ListableBeanFactory
import org.springframework.boot.autoconfigure.AutoConfiguration
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Bean
import pro.vlprojects.semantic.resilience.backoff.Backoff
import pro.vlprojects.semantic.resilience.backoff.spring.boot.BackoffRegistry
import pro.vlprojects.semantic.resilience.backoff.spring.boot.config.properties.BackoffConfigurationProperties

@AutoConfiguration
@EnableConfigurationProperties(BackoffProperties::class)
@EnableConfigurationProperties(BackoffConfigurationProperties::class)
public class BackoffAutoConfiguration {

@Bean
@ConditionalOnMissingBean
public fun backoffRegistry(
properties: BackoffProperties,
properties: BackoffConfigurationProperties,
beanFactory: ListableBeanFactory,
): BackoffRegistry = beanFactory
.getBeansOfType(Backoff::class.java)
.let(BackoffRegistryAssembler(properties)::assemble)
.let(BackoffPropertiesMapper(properties)::mapToRegistry)
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pro.vlprojects.semantic.resilience.backoff.spring.boot.BackoffAutoConfiguration
pro.vlprojects.semantic.resilience.backoff.spring.boot.config.BackoffAutoConfiguration
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pro.vlprojects.semantic.resilience.backoff.spring.boot.integration
package pro.vlprojects.semantic.resilience.backoff.spring.boot.integration.config

import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNotNull
Expand All @@ -14,8 +14,8 @@ import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import pro.vlprojects.semantic.resilience.backoff.Backoff
import pro.vlprojects.semantic.resilience.backoff.FixedBackoff
import pro.vlprojects.semantic.resilience.backoff.spring.boot.BackoffAutoConfiguration
import pro.vlprojects.semantic.resilience.backoff.spring.boot.BackoffRegistry
import pro.vlprojects.semantic.resilience.backoff.spring.boot.config.BackoffAutoConfiguration
import java.time.Duration

class BackoffAutoConfigurationTests {
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.