Commit Graph

40632 Commits (82283c92c6509a8122859730134663e181aa040e)
 

Author SHA1 Message Date
Sébastien Deleuze e7f91bab78 Refine BackgroundPreinitializer code reachability
GraalVM code reachability algorithm is not able to evaluate at build
time that ENABLED static field is always false in a native image,
shipping unreachable code.

Before this commit, building a native image with -H:+PrintAnalysisCallTree
shows that the following methods are included:
- BackgroundPreinitializer$1.<init>(BackgroundPreinitializer):void
- BackgroundPreinitializer$1.run():void
- BackgroundPreinitializer$1.runSafely(Runnable):void
- BackgroundPreinitializer$CharsetInitializer.run():void
- BackgroundPreinitializer$ConversionServiceInitializer.run():void
- BackgroundPreinitializer$JacksonInitializer.run():void
- BackgroundPreinitializer$MessageConverterInitializer.run():void
- BackgroundPreinitializer$ValidationInitializer.run():void
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void
- BackgroundPreinitializer.performPreinitialization():void

After this commit, only those are included:
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void

See gh-33240
2 years ago
Moritz Halbritter 517ec654ed Document @NestedConstructorBinding in all cases
This covers Kotlin data classes, constructor injection and records.

Closes gh-33235
2 years ago
Andy Wilkinson 931cc8a508 Merge branch '2.7.x'
Closes gh-33250
2 years ago
Andy Wilkinson 0a3c403948 Merge branch '2.6.x' into 2.7.x
Closes gh-33249
2 years ago
Andy Wilkinson 7c65c3e260 Handle invalid names gracefully in properties migrator
Closes gh-32729
2 years ago
Stephane Nicoll be89f03acb Merge branch '2.7.x' 2 years ago
Stephane Nicoll 36d1b05475 Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 92454ca4e1 Upgrade to Spring Data 2021.2.6
Closes gh-33132
2 years ago
Stephane Nicoll 97e6626b34 Upgrade to Spring Data 2021.1.10
Closes gh-33125
2 years ago
Moritz Halbritter 5a88468c09 Refine example to show @NestedConfigurationProperty usage
Closes gh-33239
2 years ago
Moritz Halbritter 5c10ae2f0b Revert "Remove unneeded NestedConfigurationProperty"
This reverts commit 8048e2d6c2.
2 years ago
Moritz Halbritter 8048e2d6c2 Remove unneeded NestedConfigurationProperty
Closes gh-33239
2 years ago
Moritz Halbritter b7de4020cb Mention @RegisterReflectionForBinding in the docs
Closes gh-32903
2 years ago
Phillip Webb fb5cdbd11c Create ApplicationTags in common WavefrontAutoConfiguration
Relocate `ApplicationTags` `@Bean` method from
`WavefrontTracingAutoConfiguration` to `WavefrontAutoConfiguration`
since it is now shared between tracing and metrics.

The `application-name`, `service-name`, `cluster-name` and `shard-name`
have also been relocated from `management.wavefront.tracing` to
`management.wavefront`.

Fixes gh-33244
2 years ago
Phillip Webb fafbefa35c Ensure @ContextHierarchy is never used with UseMainMethod
Fixes gh-33078
2 years ago
Andy Wilkinson b9e57c73b5 Consider Kotlin when checking if parameter names are available
See gh-33182
2 years ago
Andy Wilkinson cd455a9f6f Restore previous serialization formatting in Actuator responses
Fixes gh-33236
2 years ago
Stephane Nicoll cb1ee205ea Exclude SharedMetadataReaderFactoryContextInitializer from AOT contexts
SharedMetadataReaderFactoryContextInitializer exposes an additional
bean post processor that is only relevant when parsing the bean
factory, auto-configurations in particular. Given that this does not
happen in an AOT-optimized context, this commit excludes the bean
and makes sure the initializer does not do anything at runtime.

Closes gh-33216
2 years ago
Stephane Nicoll 55ba5a5074 Upgrade to Elasticsearch Client 8.5.1
Closes gh-33225
2 years ago
Phillip Webb 7525c0f557 Merge pull request #32844 from oppegard
* pr/32844:
  Polish 'Align Wavefront application tags support with Spring Boot 2.x'
  Align Wavefront application tags support with Spring Boot 2.x
  Switch to use BeanUtils.getPropertyDescriptors

Closes gh-32844
2 years ago
Phillip Webb a0f39d66fe Polish 'Align Wavefront application tags support with Spring Boot 2.x'
See gh-32844
2 years ago
Glenn Oppegard 42bb4c0615 Align Wavefront application tags support with Spring Boot 2.x
Update `application-name` and `service-name` `management.wavefront`
properties to align with Spring Boot 2.x support. The properties now
use the wavefront terminology where `application` refers to an a
collection of (micro)`services`.

This commit also adds `cluster-name` and `shard-name` properties that
can be used to add additional items to the `ApplicationTags`.

See gh-32844
2 years ago
Phillip Webb a50d1f0bd6 Switch to use BeanUtils.getPropertyDescriptors
Update `BindableRuntimeHintsRegistrar` to use
`BeanUtils.getPropertyDescriptors` rather than `BeanInfoFactory`.

Closes gh-33232
2 years ago
Phillip Webb 2e8d766889 Fix BindableRuntimeHintsRegistrarTests inner class to be static 2 years ago
Phillip Webb d6151858f2 Merge pull request #32851 from tumit
* pr/32851:
  Polish 'Add test for BindableRuntimeHintsRegistrar'
  Add tests for BindableRuntimeHintsRegistrar

Closes gh-32851
2 years ago
Phillip Webb 13a4902018 Polish 'Add test for BindableRuntimeHintsRegistrar'
See gh-32851
2 years ago
tumit 7e424bdf0c Add tests for BindableRuntimeHintsRegistrar
See gh-32851
2 years ago
Andy Wilkinson 421f2fac67 Fail fast when constructor bound and not compiled with -parameters
Closes gh-33182
2 years ago
Phillip Webb e2dc35954e Merge branch '2.7.x'
Closes gh-33230
2 years ago
Phillip Webb e255bba018 Merge branch '2.6.x' into 2.7.x
Closes gh-33229
2 years ago
Phillip Webb c1fe43a4ac Merge pull request #33220 from sdeleuze
* pr/33220:
  Polish 'Refine BackgroundPreinitializer Jackson initialization'
  Refine BackgroundPreinitializer Jackson initialization

Closes gh-33220
2 years ago
Phillip Webb 6cc6a15edf Polish 'Refine BackgroundPreinitializer Jackson initialization'
See gh-33220
2 years ago
Sébastien Deleuze bdac416a62 Refine BackgroundPreinitializer Jackson initialization
AllEncompassingFormHttpMessageConverter already initializes
Jackson ObjectMapper. This commit updates BackgroundPreinitializer
in order to not run JacksonInitializer when
MessageConverterInitializer already takes care of initializing
ObjectMapper.

See gh-33220
2 years ago
Andy Wilkinson f39b297677 Merge branch '2.7.x'
Closes gh-33227
2 years ago
Andy Wilkinson 04353e4961 Merge branch '2.6.x' into 2.7.x
Closes gh-33226
2 years ago
Andy Wilkinson a650361f1d Merge branch 'gh-17299' into 2.6.x
Closes gh-17299
2 years ago
Andy Wilkinson 4bb13bcdfd Fix package tangles in spring-boot-autoconfigure
See gh-17299
2 years ago
Andy Wilkinson 1494deb4a0 Check for package tangles at build time
See gh-17299
2 years ago
Brian Clozel c1c818d43c Polish
See gh-33208
2 years ago
Stephane Nicoll 4d54071d31 Merge branch '2.7.x' 2 years ago
Stephane Nicoll 59d3cfddb0 Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 3f67037acf Start building against Spring AMQP 2.4.8 snapshots
See gh-33223
2 years ago
Stephane Nicoll 8bcde6d57b Start building against Spring AMQP 2.4.8 snapshots
See gh-33222
2 years ago
Brian Clozel 200458136c Contribute GraphQL resources during AOT phase
This commit ensures that the default locations for GraphQL schema files
and the GraphiQL UI HTML page are included in the native image by
registering resource hints during the AOT phase.

Fixes gh-33208
2 years ago
Stephane Nicoll 934b601c88 Upgrade to Spring Retry 2.0.0
Closes gh-33149
2 years ago
Stephane Nicoll 2df3598247 Merge branch '2.7.x' 2 years ago
Stephane Nicoll bee259e3ce Upgrade to Micrometer 1.10.1
Closes gh-33218
2 years ago
Stephane Nicoll fdab1de2d6 Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 8983a6b013 Upgrade to Micrometer 1.9.6
Closes gh-33129
2 years ago
Stephane Nicoll 4067dec811 Upgrade to Micrometer 1.8.12
Closes gh-33122
2 years ago