Commit Graph

488 Commits

Author SHA1 Message Date
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
spencergibb
443d0e89f4 Updates to 4.1.0-SNAPSHOT 2023-06-13 13:50:26 -04:00
spencergibb
9cb8802f74 Updates for boot 3.2 compatibility 2023-06-13 13:44:33 -04:00
Ryan Baxter
ac709ec6e2 Merge branch '3.1.x' 2023-05-04 15:26:49 -04:00
Ryan Baxter
2f467e5823 Add application listener to locate property sources during bootstrap (#1228)
* Add application listener to locate property sources during bootstrap

Also adds support for activating profiles using spring.profiles.active from bootstrap property source listeners.

Allow profiles to be passed from bootstrap context to main application context

* Add application listener to locate property sources during bootstrap

Also adds support for activating profiles using spring.profiles.active from bootstrap property source listeners.

Allow profiles to be passed from bootstrap context to main application context

Updating version in docs
2023-05-04 15:06:20 -04:00
Ryan Baxter
f990f1c8cf Remove unused parameters in reinitializeLoggingSystem. Fixes #1200 2023-01-30 08:05:02 -05:00
Krishna
a6c5d438fe Removed ModifiedClasspathRunner and used the ClasspathExtensions from the Spring boot test support (#1181) 2023-01-23 11:46:30 +01:00
Olga Maciaszek-Sharma
097959a64a Merge remote-tracking branch 'origin/3.1.x' 2023-01-17 14:00:36 +01:00
qingshanpeng
483798a7d2 add override annotation for ScopeCache child class 2023-01-17 13:56:30 +01:00
Ryan Baxter
34687af510 Use spring.config.activate.on-profile instead of spring.profiles for Boot 3 compatibility. Fixes #1177 (#1182)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2022-12-15 08:58:35 -05:00
Olga Maciaszek-Sharma
78eb9a0fd6 Lazily initialize child contexts with AOT initializers. (#1176) 2022-11-30 21:01:45 +01:00
Olga Maciaszek-Sharma
efe5131a36 Remove some deprecated API usage, switch to newer JDK api usages, refactor. 2022-11-08 13:57:03 +01:00
spencergibb
0a4ee74bca Merge branch '3.1.x' 2022-10-27 11:51:56 -04:00
spencergibb
3a582dc603 Adds rebind/refresh an individual bean by type
Fixes gh-1162
2022-10-27 11:51:04 -04:00
spencergibb
d1dba70bbf Adds rebind/refresh an individual bean by type
Fixes gh-1162
2022-10-27 11:43:45 -04:00
Ryan Baxter
7afddc8eb8 Destroy and initialize beans within the correct context. Fixes #1158 (#1160)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2022-10-25 09:06:31 -04:00
Ryan Baxter
86c44de855 Destroy and initialize beans within the correct context. Fixes #1158 (#1160)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2022-10-25 09:05:18 -04:00