Yanming Zhou
bff2c95fe1
Support configuring bean names as well as bean types for extra-refreshable and never-refreshable ( #1457 )
...
Thanks to https://github.com/spring-projects/spring-boot/issues/22403 , applications could define a bean in addition to an auto-configured bean of the same type, then we should support configuring bean names for fine-grained control.
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-01-24 10:55:52 -05:00
Ryan Baxter
9450a2dfca
Merge branch '4.1.x' into 4.2.x
2025-01-23 16:47:35 -05:00
Yanming Zhou
ee490fe7c8
Move field ContextRefresher.REFRESH_ARGS_PROPERTY_SOURCE down to LegacyContextRefresher ( #1450 )
...
It's specific to LegacyContextRefresher.
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-01-23 16:47:20 -05:00
Ryan Baxter
c50e97641f
Merge branch '4.1.x' into 4.2.x
2025-01-22 09:34:16 -05:00
Yanming Zhou
1e15993f73
Remove workaround for data source cycle ( #1445 )
...
It should be fixed at Spring Boot side, see 2f83a6714b
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-01-22 09:34:01 -05:00
Ryan Baxter
2298cdba50
Merge branch '4.1.x' into 4.2.x
2025-01-21 15:35:34 -05:00
Yanming Zhou
375bc032e4
Polish RefreshAutoConfiguration to reuse constants ( #1443 )
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-01-21 15:35:18 -05:00
Ryan Baxter
5853b051b7
Merge branch '4.1.x' into 4.2.x
2025-01-21 15:29:55 -05:00
Yanming Zhou
d9a0bf923e
Use Objects.equals() instead ( #1452 )
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-01-21 15:29:40 -05:00
Ryan Baxter
10583b09cd
Merge branch '4.1.x' into 4.2.x
2025-01-21 15:25:31 -05:00
Yanming Zhou
6002301d1b
Fix typo ( #1444 )
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-01-21 15:25:15 -05:00
Spencer Gibb
d87c755c92
Removes spring-security-rsa ( #1399 )
...
In favor of merging into spring-security-crypto
Fixes gh-1398
2024-09-24 16:10:20 -04:00
spencergibb
27e43e59ef
Removes Base64Utils.java and updates spring-security-rsa to 1.1.5
2024-08-05 15:02:21 -04:00
spencergibb
1fff6f1220
Disables tests in LifecycleMvcAutoConfigurationTests
...
See gh-1362
2024-08-05 13:33:07 -04:00
spencergibb
40808a31d5
formatting Base64Utils
2024-08-05 11:46:42 -04:00
spencergibb
b59d266bf8
Adds temporary copy of removed Base64Utils class
2024-08-05 11:22:23 -04:00
buildmaster
ba9605b36f
Bumping versions
2024-07-23 03:55:25 +00:00
erabii
04e746da46
fix issue ( #1357 )
2024-06-13 14:48:52 -04:00
JAY
295b016aac
Using defined constants ( #1356 )
2024-06-13 13:28:51 -04:00
Olga Maciaszek-Sharma
e6ad2033f5
Allow getting annotated bean instance with NamedContextFactory. ( #1352 )
2024-04-22 15:04:16 +02:00
Ryan Baxter
77d221da04
Add the ability for FailsafeTextEncryptor to have a delegate. ( #1349 )
...
Related to https://github.com/spring-cloud/spring-cloud-config/issues/2330
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com >
2024-04-05 16:04:04 -04:00
erabii
b5abbf6b55
fix ( #1338 )
2024-02-19 15:10:25 -05:00
Olga Maciaszek-Sharma
b1e8d6a08c
Fix the order in which the postprocessors run. ( #1333 )
2024-02-08 14:35:20 +01:00
Johnny Lim
9b8929c394
Use dedicated file for RsaSecretEncryptor runtime hints ( #1255 )
2023-11-30 18:14:29 +01:00
Olga MaciaszekSharma
14bfa57922
Fix lifecycle synchronisation.
2023-10-19 18:42:57 +02:00
Ryan Baxter
f51cc1fd92
Merge branch '4.0.x'
2023-10-19 08:41:41 -04:00
Ryan Baxter
1dbe6c0c39
Fix bad merge
2023-10-18 17:56:11 -04:00
Ryan Baxter
fb70b21b9a
Merge branch '3.1.x' into 4.0.x
2023-10-18 17:05:34 -04:00
Jinghao Song
9b2d247537
Fix #1285 Spring Cloud activates unexpected profiles when some conditions met ( #1286 )
...
* Fix #1285 Spring Cloud activates unexpected profiles when some conditions met
* Fix code style
2023-10-18 17:04:32 -04:00
buildmaster
083675da7c
Bumping versions
2023-10-13 03:54:32 +00:00
buildmaster
1b8075e06a
Bumping versions
2023-10-12 23:49:10 +00:00
Maurice Zeijen
a7876333d3
Fixed order of the BootstrapConfigFileApplicationListener so that it always runs after the ConfigDataEnvironmentPostProcessor ( #1213 )
...
* Changed order of `BootstrapConfigFileApplicationListener`
Previously `BootstrapConfigFileApplicationListener` had the same order
as `ConfigDataEnvironmentPostProcessor`. This made it indeterminable
which one would run first. However, the
`BootstrapConfigFileApplicationListener` relies on the
`ConfigDataEnvironmentPostProcessor` to make sure the
`Environment.activeProfiles` are correctly set, so it must always run
after the `ConfigDataEnvironmentPostProcessor`.
* Using `Math.addExact` for adding one to the `ConfigDataEnvironmentPostProcessor.DEFAULT_ORDER` so that any accidental overflow results in an exception
2023-10-12 15:36:01 -04:00
Maurice Zeijen
9ea5801529
Fixed order of the BootstrapConfigFileApplicationListener so that it always runs after the ConfigDataEnvironmentPostProcessor ( #1213 )
...
* Changed order of `BootstrapConfigFileApplicationListener`
Previously `BootstrapConfigFileApplicationListener` had the same order
as `ConfigDataEnvironmentPostProcessor`. This made it indeterminable
which one would run first. However, the
`BootstrapConfigFileApplicationListener` relies on the
`ConfigDataEnvironmentPostProcessor` to make sure the
`Environment.activeProfiles` are correctly set, so it must always run
after the `ConfigDataEnvironmentPostProcessor`.
* Using `Math.addExact` for adding one to the `ConfigDataEnvironmentPostProcessor.DEFAULT_ORDER` so that any accidental overflow results in an exception
2023-10-12 15:35:01 -04:00
buildmaster
3a29227a28
Bumping versions
2023-09-22 03:53:50 +00:00
Olga Maciaszek-Sharma
9449edf93b
Refresh Scope on restart. ( #1266 )
...
* Refresh Scope on restart.
2023-09-21 16:16:16 +02:00
Ryan Baxter
a51f56f47d
Merge branch '4.0.x'
2023-09-08 09:19:15 -04:00
Ryan Baxter
ea1fc56772
Clarify property docs. Fixes #1264
2023-09-08 09:12:57 -04:00
Olga MaciaszekSharma
db4a1bbd75
Temporarily disable test.
2023-07-27 12:40:46 +02:00
Olga MaciaszekSharma
8fdedcfa42
Merge remote-tracking branch 'origin/4.0.x'
2023-07-20 10:42:52 +02:00
Olga MaciaszekSharma
6ce1debaf2
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
2023-07-20 10:37:23 +02:00
Olga MaciaszekSharma
989ed7dc15
Use classloader from class.
2023-07-20 10:24:57 +02:00
Olga Maciaszek-Sharma
464a9820fd
Use classloader from class. ( #1256 )
2023-07-20 10:24:29 +02:00
Dave Syer
e090bd234f
Fix dependencies
2023-06-28 14:46:08 +00:00
Dave Syer
f0ccaf01ac
Remove obsolete code
2023-06-28 12:31:42 +00:00
Olga MaciaszekSharma
1a04b22591
Merge remote-tracking branch 'origin/4.0.x'
2023-06-26 17:54:34 +02:00
Olga MaciaszekSharma
a22bb12e75
Add missing reflection hints for EncryptionBootstrapConfiguration. Fixes gh-1245.
2023-06-26 17:53:59 +02:00
buildmaster
3df50061ac
Bumping versions
2023-06-21 23:49:09 +00:00
spencergibb
5b4a46fc60
formattingˆ
2023-06-21 13:58:54 -04:00
spencergibb
c682b2de1d
Uses a custom event to share the SpringApplication.
...
Rather than RestartListener republishing the ApplicationPreparedEvent, a new event, ContextRefreshedWithApplicationEvent, is published with the data from the original event. Listeners were refactored to listen to the new event instead.
Fixes gh-1248
2023-06-21 13:58:54 -04:00
spencergibb
d0f6d2b2e9
Uses a custom event to share the SpringApplication.
...
Rather than RestartListener republishing the ApplicationPreparedEvent, a new event, ContextRefreshedWithApplicationEvent, is published with the data from the original event. Listeners were refactored to listen to the new event instead.
Fixes gh-1248
2023-06-21 13:57:07 -04:00