Commit Graph

18286 Commits (2ea9a4828bf8e01a97fa24ceb2ace98778d5f5bf)

Author SHA1 Message Date
Phillip Webb a993731ee8 Merge branch '2.7.x'
Closes gh-32168
2 years ago
Phillip Webb 10ded39217 Merge branch '2.6.x' into 2.7.x
Closes gh-32167
2 years ago
Phillip Webb 24c2daa99d Improve javadoc regarding use on @Bean methods
Closes gh-32166
2 years ago
Madhura Bhave 47effdcade Support role-based sanitization for actuator endpoints
Closes gh-32156
2 years ago
Scott Frederick ada2450483 Reinstate testing for NoSuchMethodFailureAnalyzer parsing on OpenJ9
Closes gh-28785
2 years ago
Scott Frederick c0cbaa1460 Merge branch '2.7.x' 2 years ago
Scott Frederick 257e236b06 Fix image-building unit tests on Windows
See gh-32000
2 years ago
Stephane Nicoll bb7829791a Adapt to recent changes in RuntimeHints API
See gh-https://github.com/spring-projects/spring-framework/issues/29011
2 years ago
Moritz Halbritter 1db2ad08fa Add classpath checks for runtime hints
This suppresses native-image warnings.
2 years ago
Phillip Webb 6db88e12c8 Polish 'Allow multiple hosts to be set in MongoProperties'
See gh-32125
2 years ago
thegeekyasian e0d40009f3 Allow multiple hosts to be set in MongoProperties
Update `MongoProperties` with an `additional-hosts` property which
can be used to configure MongoDB in a multi-host environment.

See gh-32125
2 years ago
Phillip Webb 6e1b28e6a2 Relocate MimeMapping Tomcat comparison test
See gh-32101
2 years ago
Phillip Webb dd98b88732 Fix 'Align MimeMappings with Tomcat's defaults'
Update COMMON_MAPPINGS to align with the properties file and change
the test so that it consistently works.

See gh-32101
2 years ago
Phillip Webb 86f38e15f0 Polish 'Align MimeMappings with Tomcat's defaults'
Refine `MimeMappings` so that common default mappings are included
by default and the complete set is only loaded when needed.

The `TomcatServletWebServerFactory` has been updated so that if
`TomcatEmbeddedContext` is in use the mime mapping are used
directly rather than being copied to another Map.

The `AbstractServletWebServerFactory` class has also been changed
to use a lazy copy of the mappings. This should mean that the
complete set of properties is only loaded if the user mutates
the mappings.

See gh-32101
2 years ago
Guirong Hu 7728ae4e00 Align MimeMappings with Tomcat's defaults
Update `MimeMappings` to align with the default values used in
Tomcat. The mime mapping are now loaded from a properties file
and a test has been added to ensure that they remain in sync
with Tomcat's defaults.

See gh-32101
2 years ago
Stephane Nicoll c67010ddd1 Make test more robust 2 years ago
Moritz Halbritter 0cc0b48a67 Add runtime hints for freemarker
Registers reflection hints for the FreeMarkerTemplateAvailabilityProperties
class.

Closes gh-32052
2 years ago
Moritz Halbritter 7a8d7a9cd9 Polish TemplateAvailabilityProviders 2 years ago
Stephane Nicoll d637fe37cc Merge branch '2.7.x'
Closes gh-32146
2 years ago
Stephane Nicoll 7a91fa90d5 Merge branch '2.6.x' into 2.7.x
Closes gh-32145
2 years ago
Stephane Nicoll 7f2d4fceec Polish "Allow Netty default leak detection to be overidden"
See gh-32144
2 years ago
Russell You 51f2e40c69 Allow Netty default leak detection to be overidden
See gh-32144
2 years ago
Stephane Nicoll 639f980876 Avoid proxy on Validator in ValidationAutoConfiguration
Closes gh-32134
2 years ago
Stephane Nicoll 82a9c219e1 Merge branch '2.7.x'
Closes gh-32129
2 years ago
Stephane Nicoll a6350b5992 Merge branch '2.6.x' into 2.7.x
Closes gh-32128
2 years ago
Stephane Nicoll 6d80b601b6 Upgrade to Testcontainers 1.17.3
Closes gh-32127
2 years ago
Scott Frederick 2cdaab59f6 Merge branch '2.7.x'
Closes gh-32122
2 years ago
Scott Frederick c16094e04b Disable SELinux label security policy when building images
When using the Gradle `bootBuildImage` task or Maven
`spring-boot:build-image` goal on a Linux distribution with SELinux
enabled, binding the Docker socket in the builder container might
fail. This commit disables the `label` security policy in the builder
container to prevent this type of failure.

Fixes gh-32000
2 years ago
Stephane Nicoll e3ddb54cb8 Adapt JPA auto-configuration to PersistenceManagedTypes
This commit exposes a PersistenceManagedTypes bean with the entities
to consider in a typical auto-configuration scenario. This allows the
result of the scanning to be optimized AOT, if necessary.

Closes gh-32119
2 years ago
Stephane Nicoll f2f5bae314 Add native hints for default LDIF file
Closes gh-32084
2 years ago
Stephane Nicoll c41609d01d Polish 2 years ago
Phillip Webb 07c0a8bced Fix SecurityManager deprecation issues
See gh-32086
2 years ago
Phillip Webb 4ec2e357d9 Merge branch '2.7.x'
See gh-32086
2 years ago
Phillip Webb 60e1cc510c Merge branch '2.6.x' into 2.7.x
See gh-32085
2 years ago
Phillip Webb bd74344025 Revert "Don't close jar files early"
This reverts commit b42f056ddb.
2 years ago
Phillip Webb 674022d401 Revert "Don't close nested jars or wrapper when parent is closed"
This reverts commit 360eb027be.
2 years ago
Stephane Nicoll 24a52aa66d Annotate actuator internal infrastructure with @Reflective
This commit simplifies the registration of hints for the infrastructure
of the Actuator that is invoked via reflection.
2 years ago
Stephane Nicoll 6d6270edaf Start building against Spring LDAP 3.0.0-M4 snapshots
See gh-32105
2 years ago
Stephane Nicoll 4823b8ef7b Merge branch '2.7.x'
Closes gh-32104
2 years ago
Stephane Nicoll 3fcfcc4a3b Merge branch '2.6.x' into 2.7.x
Closes gh-32103
2 years ago
Stephane Nicoll 3b01325c6b Use asList consistently
Closes gh-32102
2 years ago
Stephane Nicoll e6977777cc Merge branch '2.7.x'
Closes gh-32100
2 years ago
Stephane Nicoll ca63a6e9ad Merge branch '2.6.x' into 2.7.x
Closes gh-32099
2 years ago
Stephane Nicoll 191593cf15 Review Git contribution documentation
Closes gh-31904
2 years ago
Stephane Nicoll 2e3c3efd44 Merge branch '2.7.x'
Closes gh-32098
2 years ago
Stephane Nicoll 1c6624db44 Merge branch '2.6.x' into 2.7.x
Closes gh-32097
2 years ago
Stephane Nicoll e94ddfa589 Polish "Explicit error message if source is not an archive"
See gh-31997
2 years ago
Nils Hartmann a0f273a041 Explicit error message if source is not an archive
This commit split the existing assertion to provide an explicit error
message if the source file is not an archive.

See gh-31997
2 years ago
Stephane Nicoll d6f6bcb770 Polish "Add socketKeepAlive configuration property for Elasticsearch"
See gh-32051
2 years ago
puppylpg 122d40a110 Add socketKeepAlive configuration property for Elasticsearch
See gh-32051
2 years ago