Commit Graph

38466 Commits (f4a48ae312d2b74c681254bd9621bb68524d832c)
 

Author SHA1 Message Date
Andy Wilkinson 85887b5411 Merge branch '2.6.x' into 2.7.x 2 years ago
Andy Wilkinson ed897fc922 Start building against Spring Framework 5.3.21 snapshots
See gh-31318
2 years ago
Moritz Halbritter d1647cf68c Don't back off on user-supplied SpanHandlers
Instead the auto-configuration now backs off only on ZipkinSpanHandler.

Closes gh-31273
2 years ago
Andy Wilkinson 91bb5aa222 Move auto-config of ReactiveElasticClient to elasticsearch pkg
Closes gh-28068
2 years ago
Stephane Nicoll db847e2a82 Merge branch '2.7.x' 2 years ago
Stephane Nicoll 79759f7270 Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 7a15c495a3 Upgrade CI to Docker 20.10.17
Closes gh-31295
2 years ago
Stephane Nicoll c4bbbcd3e1 Upgrade Java 18 version in CI image
Closes gh-31299
2 years ago
Stephane Nicoll 1bf43fc238 Upgrade Java 17 version in CI image
Closes gh-31298
2 years ago
Stephane Nicoll a4599e22dd Upgrade Ubuntu version in CI images
Closes gh-31296
2 years ago
Stephane Nicoll 152766c07a Upgrade CI to Docker 20.10.17
Closes gh-31289
2 years ago
Stephane Nicoll d39f4efb05 Upgrade Java 18 version in CI image
Closes gh-31292
2 years ago
Stephane Nicoll a932555539 Upgrade Java 17 version in CI image
Closes gh-31284
2 years ago
Stephane Nicoll 1c85e1083a Upgrade Java 11 version in CI image
Closes gh-31285
2 years ago
Stephane Nicoll 87840c755b Upgrade Java 8 version in CI image
Closes gh-31286
2 years ago
Stephane Nicoll 1a8c1217ed Upgrade Ubuntu version in CI images
Closes gh-31288
2 years ago
Stephane Nicoll b028263663 Upgrade CI to Docker 20.10.17
Closes gh-31297
2 years ago
Stephane Nicoll f96f21c8a2 Upgrade Java 18 version in CI image
Closes gh-31294
2 years ago
Stephane Nicoll c07623e040 Upgrade Java 17 version in CI image
Closes gh-31290
2 years ago
Stephane Nicoll 4822c9b809 Upgrade Java 11 version in CI image
Closes gh-31293
2 years ago
Stephane Nicoll 976f1ac355 Upgrade Java 8 version in CI image
Closes gh-31291
2 years ago
Stephane Nicoll ea85dccd61 Upgrade Ubuntu version in CI images
Closes gh-31287
2 years ago
Phillip Webb c56783064d Support management contexts with AOT
Refactor child management configuration and add AOT generation support.
A new `ChildManagementContextInitializer` class now performs the child
context initialization and also handles AOT processing concerns.

Closes gh-31163
2 years ago
Phillip Webb a729f71cba Polish LogbackRuntimeHintsRegistrar 2 years ago
Phillip Webb e8f9386594 Add Runnable variant of TestPropertyValues.applyToSystemProperties
Closes gh-31303
2 years ago
Phillip Webb 11184aae8d Allow ApplicationContextRunner to return non-refreshed context
Add `AbstractApplicationContextRunner.prepare` which can be used to
test an `ApplicationContext` that has been prepared but not refreshed.

Closes gh-31302
2 years ago
Andy Wilkinson 46c262d3cc Merge branch '2.7.x'
Closes gh-31283
2 years ago
Andy Wilkinson 12eb7a8795 Merge branch '2.6.x' into 2.7.x
Closes gh-31282
2 years ago
Andy Wilkinson a651061e2c Remove SpringApplicationHierarchyTests
Closes gh-31281
2 years ago
Andy Wilkinson 62f40f2c38 Apply initializers and bean registrations before registering classes
Previously, classes were registered first which meant that their
conditions were evaluated before any initializers and bean
registrations were applied. This prevented the bean registrations and
initializers from affecting the outcome of the condition evaluation.

This commit inverts the ordering so that classes are not registerd,
and therefore their conditions are not evaluated, until after the
bean registrations and initializers have been applied.

Closes gh-31280
2 years ago
Stephane Nicoll e30391ca7a Use Application as target for generated code
Closes gh-31274
2 years ago
Andy Wilkinson ab93bc26c7 Merge branch '2.7.x'
Closes gh-31271
2 years ago
Andy Wilkinson a0fee42740 Merge branch '2.6.x' into 2.7.x
Closes gh-31270
2 years ago
Andy Wilkinson 4c23d2c45b Merge pull request #31267 from vpavic
* gh-31267:
  Polish "Update smoke tests to avoid conflicts with NAME environment variable"
  Update smoke tests to avoid conflicts with NAME environment variable

Closes gh-31267
2 years ago
Andy Wilkinson 0834dc5b01 Polish "Update smoke tests to avoid conflicts with NAME environment variable"
See gh-31267
2 years ago
Vedran Pavic 95e0d6c0f7 Update smoke tests to avoid conflicts with NAME environment variable
This commit updates several smoke tests in order to avoid conflicts
with NAME environment variable that is present in WSL and causes
project build to fail. Previous attempt to fix this in 7da42d71 was
incomplete.

See gh-31267
2 years ago
Stephane Nicoll 8413002bcb Polish
See gh-31247
2 years ago
Andy Wilkinson 869bb91c80 Polish 2 years ago
Stephane Nicoll ac16432fad Add AOT support for immutable ConfigurationProperties bean definitions
This commit introduces a dedicated AotProcessors for immutable
configuration properties beans as their bean definition use an
instance supplier that needs special handling. If such a bean definition
is detected, dedicated code is generated that replicates the behavior
of the instance supplier.

Closes gh-31247
2 years ago
Brian Clozel 3f0c14187a Register runtime hints for @ConfigurationProperties
Prior to this commit, the `@ConfigurationProperties` annotation would
not be registered for reflection hints: this means it could be missing
at runtime in a native image and would not be registered for JDK
proxying - this can fail the synthesized annotation resolution.

This commit ensures that hints are registered for this annotation if
configuration properties are declared in the bean factory.

Fixes gh-31227
2 years ago
Stephane Nicoll e2c42e4bbf Merge branch '2.7.x'
Closes gh-31262
2 years ago
Stephane Nicoll 8e550933a8 Merge branch '2.6.x' into 2.7.x
Closes gh-31261
2 years ago
Stephane Nicoll bbb5966bca Upgrade integration tests to Apache Maven 3.8.5
Closes gh-31260
2 years ago
Stephane Nicoll 1c94f835c7 Copy AOT-generated classes
Closes gh-31245
2 years ago
Andy Wilkinson 11cbb2549e Merge branch '2.7.x'
Closes gh-31256
2 years ago
Andy Wilkinson c379456722 Remove dependency management for spring-ldap-ldif-batch
The spring-ldap-ldif-batch module was removed in Spring LDAP 2.4.0 in
favor of the equivalent code that already exists in Spring Batch.
This commit aligns Boot's dependency management with this removal.

Closes gh-31254
2 years ago
Stephane Nicoll c996e4335a Fix singleton handling of ConfigurationProperties hints
Closes gh-31248
2 years ago
Stephane Nicoll cf19c176f6 Adapt test to change in Spring Framework snapshots 2 years ago
Stephane Nicoll 2a405c94a8 Add missing test
Closes gh-31249
2 years ago
Stephane Nicoll fb439b6824 Permit AOT-generated code to run on the JVM as well
This commit updates the codebase so that AOT-generated code can run on
the JVM in an opt-in fashion alongside the existing support of native
images.

When optimizations have been generated, setting the "spring.aot.enabled"
spring property (JVM or spring.properties) allows to opt-in for that
behavior on the JVM.

Closes gh-31244
2 years ago