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
2022-08-23 20:21:16 -07:00
Phillip Webb
6e1b28e6a2
Relocate MimeMapping Tomcat comparison test
...
See gh-32101
2022-08-23 18:05:39 -07:00
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
2022-08-23 16:38:31 -07:00
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
2022-08-23 11:37:16 -07:00
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
2022-08-23 10:15:41 -07:00
Stephane Nicoll
c67010ddd1
Make test more robust
2022-08-23 14:45:52 +02:00
Moritz Halbritter
0cc0b48a67
Add runtime hints for freemarker
...
Registers reflection hints for the FreeMarkerTemplateAvailabilityProperties
class.
Closes gh-32052
2022-08-23 09:23:42 +02:00
Moritz Halbritter
7a8d7a9cd9
Polish TemplateAvailabilityProviders
2022-08-23 09:20:29 +02:00
Stephane Nicoll
d637fe37cc
Merge branch '2.7.x'
...
Closes gh-32146
2022-08-23 07:25:57 +02:00
Stephane Nicoll
7a91fa90d5
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32145
2022-08-23 07:25:45 +02:00
Stephane Nicoll
7f2d4fceec
Polish "Allow Netty default leak detection to be overidden"
...
See gh-32144
2022-08-23 07:20:49 +02:00
Russell You
51f2e40c69
Allow Netty default leak detection to be overidden
...
See gh-32144
2022-08-23 07:12:24 +02:00
Stephane Nicoll
639f980876
Avoid proxy on Validator in ValidationAutoConfiguration
...
Closes gh-32134
2022-08-22 14:44:18 +02:00
Stephane Nicoll
82a9c219e1
Merge branch '2.7.x'
...
Closes gh-32129
2022-08-22 06:38:52 +02:00
Stephane Nicoll
a6350b5992
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32128
2022-08-22 06:38:38 +02:00
Stephane Nicoll
6d80b601b6
Upgrade to Testcontainers 1.17.3
...
Closes gh-32127
2022-08-22 06:37:56 +02:00
Scott Frederick
2cdaab59f6
Merge branch '2.7.x'
...
Closes gh-32122
2022-08-19 13:57:26 -05:00
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
2022-08-19 13:56:34 -05:00
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
2022-08-19 16:17:44 +02:00
Stephane Nicoll
f2f5bae314
Add native hints for default LDIF file
...
Closes gh-32084
2022-08-18 15:31:58 +02:00
Stephane Nicoll
c41609d01d
Polish
2022-08-18 09:44:55 +02:00
Phillip Webb
07c0a8bced
Fix SecurityManager deprecation issues
...
See gh-32086
2022-08-17 13:22:40 -07:00
Phillip Webb
4ec2e357d9
Merge branch '2.7.x'
...
See gh-32086
2022-08-17 12:49:52 -07:00
Phillip Webb
60e1cc510c
Merge branch '2.6.x' into 2.7.x
...
See gh-32085
2022-08-17 12:48:21 -07:00
Phillip Webb
bd74344025
Revert "Don't close jar files early"
...
This reverts commit b42f056ddb
.
2022-08-17 11:38:42 -07:00
Phillip Webb
674022d401
Revert "Don't close nested jars or wrapper when parent is closed"
...
This reverts commit 360eb027be
.
2022-08-17 11:37:19 -07:00
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.
2022-08-17 17:25:06 +02:00
Stephane Nicoll
6d6270edaf
Start building against Spring LDAP 3.0.0-M4 snapshots
...
See gh-32105
2022-08-17 14:45:01 +02:00
Stephane Nicoll
4823b8ef7b
Merge branch '2.7.x'
...
Closes gh-32104
2022-08-17 13:33:33 +02:00
Stephane Nicoll
3fcfcc4a3b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32103
2022-08-17 13:33:24 +02:00
Stephane Nicoll
3b01325c6b
Use asList consistently
...
Closes gh-32102
2022-08-17 13:32:36 +02:00
Stephane Nicoll
e6977777cc
Merge branch '2.7.x'
...
Closes gh-32100
2022-08-17 09:10:13 +02:00
Stephane Nicoll
ca63a6e9ad
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32099
2022-08-17 09:10:02 +02:00
Stephane Nicoll
191593cf15
Review Git contribution documentation
...
Closes gh-31904
2022-08-17 08:58:56 +02:00
Stephane Nicoll
2e3c3efd44
Merge branch '2.7.x'
...
Closes gh-32098
2022-08-17 08:34:52 +02:00
Stephane Nicoll
1c6624db44
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32097
2022-08-17 08:34:38 +02:00
Stephane Nicoll
e94ddfa589
Polish "Explicit error message if source is not an archive"
...
See gh-31997
2022-08-17 08:33:54 +02:00
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
2022-08-17 08:30:03 +02:00
Stephane Nicoll
d6f6bcb770
Polish "Add socketKeepAlive configuration property for Elasticsearch"
...
See gh-32051
2022-08-17 08:25:51 +02:00
puppylpg
122d40a110
Add socketKeepAlive configuration property for Elasticsearch
...
See gh-32051
2022-08-17 08:25:39 +02:00
Marten Deinum
3b410719e6
Remove use of reflection in MustacheViewResolver
...
Prior to this commit the MustacheViewResolver used reflection
to instantiate a MustacheView class, which fails when using AOT.
Creating the view without reflection (analogous to the
FreemarkerViewResolver) will fix this without the need for additional
constructor hints.
See gh-32030
2022-08-17 08:00:43 +02:00
Madhura Bhave
cea6492c4a
Align default JMX and WEB endpoint exposures
...
Closes gh-32005
2022-08-16 14:29:08 -07:00
Madhura Bhave
1f6a966336
Start building against Spring Integration 6.0.0-SNAPSHOT
...
See gh-32096
2022-08-16 10:58:35 -07:00
Stephane Nicoll
888ccfea2d
Adapt to changes in Spring Framework
2022-08-16 16:02:00 +02:00
Stephane Nicoll
1b12ea71ee
Upgrade to Undertow 2.2.19.Final
...
Closes gh-32090
2022-08-16 09:56:15 +02:00
Stephane Nicoll
464c2ed83a
Upgrade to Maven Javadoc Plugin 3.4.1
...
Closes gh-32089
2022-08-16 09:56:11 +02:00
Stephane Nicoll
2550763669
Upgrade to Undertow 2.2.19.Final
...
Closes gh-32087
2022-08-16 08:46:00 +02:00
Stephane Nicoll
542267e244
Upgrade to Spring Security 5.7.3
...
Closes gh-32040
2022-08-16 07:14:53 +02:00
Stephane Nicoll
fd89ced078
Upgrade to Spring Security 5.6.7
...
Closes gh-32039
2022-08-16 07:14:15 +02:00
Phillip Webb
ee2bd9e065
Merge branch '2.7.x'
...
Closes gh-32086
2022-08-15 17:59:28 -07:00
Phillip Webb
ef7aac8c14
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32085
2022-08-15 17:59:06 -07:00
Phillip Webb
360eb027be
Don't close nested jars or wrapper when parent is closed
...
Update `JarFile` so that the `close()` method no longer closes nested
jars or the wrapper. Prior to this commit it was possible for a parent
jar file to be garbage collected and closed even though references still
existed to the nested jars. When this happened the nested jars would get
closed and any access to entries would result in `JarFile.ensureOpen()`
throwing an `IllegalStateException`. The user would often not see this
exception directly, but rather find `ClassNotFoundException` being
thrown.
Fixes gh-31853
2022-08-15 17:55:25 -07:00
Andy Wilkinson
a8ae7a1e44
Fix Gradle AOT integration test on Windows
...
See gh-31970
2022-08-15 10:21:42 +01:00
Stephane Nicoll
4a00d76b85
Adapt integration tests to proxy changes in Spring Framework
2022-08-13 13:56:09 +02:00
Stephane Nicoll
332419e3a7
Remove extra 'build' directory
...
See gh-32069
2022-08-12 17:47:38 +02:00
Stephane Nicoll
e21041ce65
Harmonize location of generated classes processed Ahead-of-time
...
Closes gh-32069
2022-08-11 17:07:16 +02:00
Andy Wilkinson
9caad3d31b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32059
2022-08-10 12:28:26 +01:00
Andy Wilkinson
c9e69f555e
Test our Gradle plugin against Gradle 7.5.1
...
Closes gh-32058
2022-08-10 12:27:47 +01:00
Andy Wilkinson
f36a6a5b93
Upgrade to Dependency Management Plugin 1.0.13.RELEASE
...
Closes gh-32057
2022-08-10 12:17:58 +01:00
Andy Wilkinson
0069fc831e
Upgrade to Dependency Management Plugin 1.0.13.RELEASE
...
Closes gh-32056
2022-08-10 12:15:51 +01:00
Andy Wilkinson
64a3276b78
Upgrade to Dependency Management Plugin 1.0.13.RELEASE
...
Closes gh-32055
2022-08-10 12:15:09 +01:00
Andy Wilkinson
8e3346c24f
Catch exception that's thrown on Java 11 and later
...
See gh-32034
2022-08-10 11:20:33 +01:00
Stephane Nicoll
556a4116d7
Upgrade to Reactor 2020.0.22
...
Closes gh-32038
2022-08-10 12:03:36 +02:00
Stephane Nicoll
e8c218908c
Upgrade to Reactor 2020.0.22
...
Closes gh-32037
2022-08-10 12:02:51 +02:00
Stephane Nicoll
6d2d67b0bc
Merge branch '2.7.x'
...
Closes gh-32050
2022-08-10 09:16:15 +02:00
Vedran Pavic
0e6cf07ec9
Polish LogFileWebEndpoint
...
See gh-32049
2022-08-10 09:12:57 +02:00
Andy Wilkinson
889c40355c
Tolerate Flyway 9
...
Closes gh-32034
2022-08-09 17:50:47 +01:00
Andy Wilkinson
c6872e57a9
Remove support for Flyway 8.x and earlier
...
Closes gh-32036
2022-08-09 15:38:16 +01:00
Stephane Nicoll
caa2598b2b
Start building against Spring Security 5.7.3
...
See gh-32040
2022-08-09 14:07:37 +02:00
Stephane Nicoll
3fc7736c34
Start building against Reactor 2020.0.22 snapshots
...
See gh-32038
2022-08-09 14:07:11 +02:00
Stephane Nicoll
24c2ed3c78
Start building against Spring Security 5.6.7 snapshots
...
See gh-32039
2022-08-09 14:06:24 +02:00
Stephane Nicoll
19eb69c1bb
Start building against Reactor 2020.0.22 snapshots
...
See gh-32037
2022-08-09 14:05:53 +02:00
Andy Wilkinson
ff348f4c6b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32017
2022-08-09 10:57:44 +01:00
Andy Wilkinson
4a807ebbf4
Upgrade to Groovy 3.0.12
...
Closes gh-32008
2022-08-09 10:56:41 +01:00
Phillip Webb
bb75f04ce6
Merge branch '2.7.x'
...
Closes gh-32032
2022-08-09 10:24:18 +01:00
Phillip Webb
9e1a69efc9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32031
2022-08-09 10:23:25 +01:00
Phillip Webb
2f85ea3a30
Protect against deeply nested maps
...
Update BasicJsonParser to fix the deeply nested map protection logic.
Fixes gh-32029
2022-08-09 10:21:13 +01:00
Stephane Nicoll
1efad88c8c
Merge branch '2.7.x'
...
Closes gh-32027
2022-08-09 09:53:22 +02:00
Stephane Nicoll
6e64f49593
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32026
2022-08-09 09:53:13 +02:00
Stephane Nicoll
12c1da275b
Polish contribution
...
See gh-32004
2022-08-09 09:52:11 +02:00
Ionascu Stefan Ciprian
c441bafe27
Document the DefaultServlet is no longer being enabled by default
...
See gh-32004
2022-08-09 09:41:53 +02:00
Stephane Nicoll
ccf1b9ebe4
Upgrade to MySQL 8.0.30
...
Closes gh-32023
2022-08-08 21:06:20 +02:00
Stephane Nicoll
c050e08238
Upgrade to Micrometer 1.9.3
...
Closes gh-32022
2022-08-08 21:06:19 +02:00
Stephane Nicoll
9edbbbcc03
Upgrade to MariaDB 3.0.7
...
Closes gh-32021
2022-08-08 21:06:19 +02:00
Stephane Nicoll
11112624f7
Upgrade to Hibernate Validator 6.2.4.Final
...
Closes gh-32020
2022-08-08 21:06:19 +02:00
Stephane Nicoll
5c1248b6cb
Upgrade to Hazelcast 5.1.3
...
Closes gh-32019
2022-08-08 21:06:18 +02:00
Stephane Nicoll
de59f948f2
Upgrade to Gson 2.9.1
...
Closes gh-32018
2022-08-08 21:06:18 +02:00
Stephane Nicoll
68b61f574a
Upgrade to Netty tcNative 2.0.54.Final
...
Closes gh-32012
2022-08-08 21:02:07 +02:00
Stephane Nicoll
81c5b5a9fe
Upgrade to MySQL 8.0.30
...
Closes gh-32011
2022-08-08 21:02:07 +02:00
Stephane Nicoll
a614c912f6
Upgrade to Micrometer 1.8.9
...
Closes gh-32010
2022-08-08 21:02:06 +02:00
Stephane Nicoll
6233e0356a
Upgrade to Hibernate Validator 6.2.4.Final
...
Closes gh-32009
2022-08-08 21:02:06 +02:00
Stephane Nicoll
e8a89e44ce
Upgrade to Embedded Mongo 3.4.8
...
Closes gh-32016
2022-08-08 20:54:26 +02:00
Stephane Nicoll
e85e3f65d4
Upgrade to Dropwizard Metrics 4.2.11
...
Closes gh-32015
2022-08-08 20:54:23 +02:00
Stephane Nicoll
001cc473c9
Upgrade to Couchbase Client 3.3.3
...
Closes gh-32014
2022-08-08 20:54:20 +02:00
Stephane Nicoll
a1d741b3a8
Upgrade to Byte Buddy 1.12.13
...
Closes gh-32013
2022-08-08 20:54:17 +02:00
Stephane Nicoll
f0d61a8db8
Upgrade to Dropwizard Metrics 4.2.11
...
Closes gh-32007
2022-08-08 20:51:06 +02:00
Andy Wilkinson
ba93e6c0ed
Restore support for Jersey
...
Closes gh-28637
2022-08-08 15:45:20 +01:00
Andy Wilkinson
fb2f7c1e38
Fix test to create correct type of child context
...
Closes gh-32002
2022-08-08 14:18:40 +01:00
Madhura Bhave
0991bd3983
Harmonize data configuration
...
Any classes that rely on Spring Data being on the classpath
have been moved under a data package.
Certain configuration properties have also been updated to
accurately reflect whether Spring Data is required for the
auto-configuration to work.
Closes gh-11574
2022-08-05 13:32:25 -07:00
Stephane Nicoll
1af5994d8f
Adapt to API change in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/28927
2022-08-05 10:39:36 +02:00