Andy Wilkinson
ff64e112c9
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
4cfc532890
Upgrade to Spring Ws 3.0.7.RELEASE
...
Closes gh-16127
6 years ago
Andy Wilkinson
51657e1ad0
Upgrade to Spring Integration 5.0.12.RELEASE
...
Closes gh-16126
6 years ago
Andy Wilkinson
ab05a07807
Upgrade to Neo4j Ogm 3.1.8
...
Closes gh-16125
6 years ago
Andy Wilkinson
7a26a092aa
Upgrade to Hibernate Validator 6.0.15.Final
...
Closes gh-16124
6 years ago
Andy Wilkinson
31892a3488
Upgrade to Elasticsearch 5.6.15
...
Closes gh-16123
6 years ago
Andy Wilkinson
5f35a1d089
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
acdbd18a7b
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
31ed042190
Return 503 when component or instance is down with WebFlux
...
Closes gh-16109
6 years ago
Andy Wilkinson
0959698c32
Upgrade to Jersey 2.28
...
Closes gh-16114
6 years ago
Andy Wilkinson
d6a869fa98
Switch to Jakarta EE API dependencies where possible
...
Closes gh-16113
Closes gh-16112
Closes gh-16111
Closes gh-15916
Closes gh-15689
6 years ago
Brian Clozel
ce9626d00f
Disable JMX by default
...
This commit switches the default value for the `spring.jmx.enabled`
configuration property.
JMX is now disabled by default and can be enabled with
`spring.jmx.enabled=true`.
Closes gh-16090
6 years ago
Stephane Nicoll
4f029d6df9
Polish "Add loadOnStartup property to EndpointServlet"
...
Closes gh-16053
6 years ago
Gómez Díaz, Julio José
b99c05329f
Add loadOnStartup property to EndpointServlet
...
loadOnStartup property was missing from EndpointServlet and cannot be set
inside ServletEndpointRegistrar. Now it can be set and register a Servlet
with that integer property ready to act upon registration.
See gh-16053
6 years ago
Johnny Lim
4a738e3c49
Polish
...
Closes gh-16094
6 years ago
Stephane Nicoll
d83a614bd9
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
8d033e73d1
Polish
...
See gh-16094
6 years ago
Andy Wilkinson
19851c98c9
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
bdab9c4e31
Upgrade to Couchbase Client 2.7.4
...
Closes gh-15914
6 years ago
Stephane Nicoll
6b273279fb
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
4eb73e0050
Recommend that DevTools is excluded with custom packaging arrangement
...
Closes gh-15382
6 years ago
Stephane Nicoll
4f2e788835
Fix import in docs
...
Closes gh-16017
6 years ago
Johnny Lim
f4786d7d2e
Polish
...
Closes gh-16083
6 years ago
Stephane Nicoll
1b55f0ccf9
Merge branch '2.1.x'
6 years ago
Johnny Lim
3242e89271
Polish
...
See gh-16083
6 years ago
Stephane Nicoll
3febf56e93
Merge branch '2.1.x'
6 years ago
Johnny Lim
907058d845
Rename Maven version property for PooledJMS
...
Closes gh-16086
6 years ago
Stephane Nicoll
f90bfff132
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
2099093978
Merge branch '2.0.x' into 2.1.x
6 years ago
Stephane Nicoll
b8cbd0c17f
Merge branch '1.5.x' into 2.0.x
6 years ago
Stephane Nicoll
75c248dcba
Move setter attribute in PropertyDescriptor proper
6 years ago
Stephane Nicoll
a90c8d01a9
Polish
6 years ago
Stephane Nicoll
7b8563a877
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
235fbfb4b6
Polish "Use AssertJ facilities for expected exceptions"
...
Closes gh-16066
6 years ago
dreis2211
be445f6346
Use AssertJ facilities for expected exceptions
...
See gh-16066
6 years ago
Madhura Bhave
64b7466d51
Remove secure flag from AutoConfigureMockMvc
...
Closes gh-13822
6 years ago
Stephane Nicoll
baa5a00d26
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
c224eebef3
Polish "Fix NullPointerException with empty X-Forwarded-For header"
...
Closes gh-16046
6 years ago
Dmytro Nosan
64a74c3bbb
Fix NullPointerException with empty X-Forwarded-For header
...
See gh-16046
6 years ago
Stephane Nicoll
3bcd93bd35
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
2a6791aa20
Polish "Add `jaxb-runtime` to TldSkipPatterns"
...
Closes gh-16027
6 years ago
Rupert Madden-Abbott
946ada62fb
Add `jaxb-runtime` to TldSkipPatterns
...
See gh-16027
6 years ago
Dmytro Nosan
c0a458e9d0
Remove unused constructor argument
...
Closes gh-16059
6 years ago
Stephane Nicoll
d5448eb124
Polish "Add failure analyzer for Flyway's bootstrap failure"
...
Closes gh-16015
6 years ago
anand
96315372ef
Add failure analyzer for Flyway's bootstrap failure
...
See gh-16015
6 years ago
Stephane Nicoll
2ad234b605
Adapt to breaking change in Spring Hateoas
6 years ago
Stephane Nicoll
ad6e58e489
Merge branch '2.1.x'
6 years ago
XYUU
7aedb0a33d
Fix a colon format
...
Closes gh-16054
6 years ago
Stephane Nicoll
c8e46f66e2
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
ce17a923dd
Polish contribution
...
Closes gh-15978
6 years ago
Dmytro Nosan
cf89ebcf92
Add an example showing how to use Spring REST Docs with WebTestClient
...
See gh-15978
6 years ago
Stephane Nicoll
554bff6145
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
eebd906c8a
Polish contribution
...
Closes gh-16047
6 years ago
Dan Zheng
2c4afb3bd8
Fix NamedParameterJdbcTemplate precedence with database migration tools
...
See gh-16047
6 years ago
Stephane Nicoll
7beb64043d
Fix build failure
6 years ago
Stephane Nicoll
7f817e339b
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
978f80122b
Polish "Debug mode is not logging web and sql related loggers"
...
Closes gh-16018
6 years ago
Dmytro Nosan
c3430d5883
Debug mode is not logging web and sql related loggers
...
See gh-16018
6 years ago
Stephane Nicoll
715db153e3
Polish "Remove code deprecated in 2.1"
...
Closes gh-16013
6 years ago
Mehmed Baždar
246111cd84
Remove code deprecated in 2.1
...
See gh-16013
6 years ago
Stephane Nicoll
5e4418973e
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
c47edd15af
Polish "Update instructions on how to use JAXB as XML renderer"
...
Closes gh-16005
6 years ago
Lars Grefer
221ff8d69f
Update instructions on how to use JAXB as XML renderer
...
See gh-16005
6 years ago
dreis2211
2ab4ce03db
Fix deprecations
...
Closes gh-16037
6 years ago
Stephane Nicoll
00a18c32ab
Restructure metadata generation
...
This commit restructures the annotation processor to off-load most of
its logic in a PropertyDescriptor abstraction that is consumed to
generate the relevant metadata.
This has the benefit to isolate the various way properties can be
identified (java bean and lombok for now).
Closes gh-16036
6 years ago
Stephane Nicoll
99c0b4561d
Polish test to request the type under test
6 years ago
Stephane Nicoll
c44a1e129d
Polish
6 years ago
Stephane Nicoll
8a064b0da2
Move main test annotation processor to test package
6 years ago
Stephane Nicoll
4bee913fb2
Add shared test processor
...
This commit adds a simple annotation processor that can be used to run
more fine grained assertions.
6 years ago
Madhura Bhave
adea7014a9
Add support to detect Kubernetes platform in CloudPlatform
...
Closes gh-15537
6 years ago
Andy Wilkinson
0f0adb4cd0
Polish formatting
6 years ago
Stephane Nicoll
7b0004d6c3
Fix formatting
6 years ago
Stephane Nicoll
8773a2fed3
Polish
6 years ago
Andy Wilkinson
f2e3e274a8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
53326695ea
Polish
6 years ago
Madhura Bhave
6f045d8891
Merge branch '2.1.x'
6 years ago
Madhura Bhave
c3e47541ad
EndpointRequest should check that the request is to the mgmt context
...
Fixes gh-15702
6 years ago
Andy Wilkinson
f4bd0b8b4b
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
59430a2642
Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
...
Closes gh-16001
6 years ago
Andy Wilkinson
43c9a789ac
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
55fe26b075
Polish "Use kotlin_module not kotlin-module to identify Kotlin module metadata"
...
See gh-16004
6 years ago
Robert Thornton
cb6362df82
Use kotlin_module not kotlin-module to identify Kotlin module metadata
...
See gh-16004
6 years ago
Andy Wilkinson
de0c065625
Inject single-use configuration dependencies into bean methods
...
Closes gh-15751
6 years ago
Stephane Nicoll
34f28b4cbd
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
91a005f578
Resolve generic types in generated metadata
...
Closes gh-15850
6 years ago
Stephane Nicoll
0c45019200
Upgrade to Spring Doc Resources 0.1.0.RELEASE
...
Closes gh-15805
6 years ago
Andy Wilkinson
52aa7e1e09
Include source of NoSuchMethodError in its failure analysis
...
Closes gh-15995
6 years ago
Stephane Nicoll
4992b7fb29
Polish "Migrate Kotlin tests to Mockk"
...
Closes gh-15993
6 years ago
Sebastien Deleuze
cca79b8d4d
Migrate Kotlin tests to Mockk
...
See gh-15993
6 years ago
Andy Wilkinson
51776af45d
Include source of NoSuchMethodError in its failure analysis
...
Closes gh-15995
6 years ago
Stephane Nicoll
967eecfbf8
Remove redundant dependency management for dom4j:dom4j
...
Closes gh-15199
6 years ago
Stephane Nicoll
eee07efee1
Switch Logback's file size properties to DataSize
...
This commit changes the target type of file size-based properties to
`DataSize` and tolerates Logback's specific format.
Closes gh-15930
6 years ago
Andy Wilkinson
e6764bdc5a
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
55426208ab
Provide type information for optional thread dump endpoint response fields
...
Closes gh-15989
6 years ago
Johnny Lim
55f5f2f910
Polish
...
Closes gh-15987
6 years ago
Stephane Nicoll
ddfdc48161
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
42c246cacb
Polish contribution
...
Closes gh-15984
6 years ago
isank
e546ed4834
Order TaskExecution auto-config before TaskScheduling auto-config
...
See gh-15984
6 years ago
Stephane Nicoll
fa49dfcaaf
Add support for task scheduling shutdown related properties
...
See gh-15951
6 years ago
Stephane Nicoll
d2cbf08f09
Polish "Add support for task executor shutdown related properties"
...
Closes gh-15951
6 years ago
Filip Hrisafov
3b47ba21a8
Add support for task executor shutdown related properties
...
See gh-15951
6 years ago
Andy Wilkinson
9540905e73
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
68e3de0357
Use name from header not alias when checking entry has expected name
...
Previously, an entry’s potentially aliased name would be used when
checking that it has a particular name. The alias would always be
applied, irrespective of the name in the header. As a result, when
there was a clashing hash and an entry with a particular index did
not have the expected name, this would be concealed by the alias
being applied and the name check being done with the alias.
This commit reworks JarEntry to store the name in its header in
addition to its alias, if any. When checking that the entry has the
expected name, the unaliased name is passed in and the entry compares
it with the name from the header rather than the alias.
Closes gh-15981
6 years ago
Stephane Nicoll
ff6ef1e55d
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
20c39dc554
Document missing keys mapped on third party types
...
Closes gh-15980
6 years ago
Brian Clozel
2a2bfb9915
Auto-generate the "Common application properties"
...
Prior to this commit, the application properties listed in the reference
documentation would be manually managed and updated.
This commit adds a new `spring-boot-configuration-docs` project that
extracts that information from the available JSON metadata and writes
Asciidoctor tables ready for inclusion in the reference documentation.
The `generateConfigurationPropertyTables.groovy` is using this library
and configures the sections and how namespaces should be organized.
Fixes gh-8237
6 years ago
Andy Wilkinson
add8c6f295
Align HypermediaAutoConfigurationTests with latest HATEOAS API changes
...
See gh-15939
6 years ago
Stephane Nicoll
6e8cc49a1e
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
5916393b20
Upgrade to Spring Integration 5.1.3
...
Closes gh-15866
6 years ago
Madhura Bhave
9bc9639954
Merge branch '2.1.x'
6 years ago
Madhura Bhave
012a956454
Fix typo in doc
6 years ago
Andy Wilkinson
bd504e68fc
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
33b9321071
Track condition evaluation per-context when determining delta
...
Closes gh-15766
6 years ago
Stephane Nicoll
71df2f311b
Polish "Expose Tomcat AccessLog Max days property"
...
Closes gh-15954
6 years ago
Dmytro Nosan
596f0c28c0
Expose Tomcat AccessLog Max days property
...
See gh-15954
6 years ago
Andy Wilkinson
be40d000ba
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
1be794fe65
Retry upload for any SocketException not just a ConnectException
...
Previously, DevTools would retry the upload of the changes to an
application in the event of a ConnectException. If a different
network-level failure occurred, it would not be retried and would
cause the file watching thread to die.
This commit attempts to make things more robust by retrying all
SocketExceptions and not just ConnectExceptions. A warning is
logged when a failure occurs. A separate debug message that
includes the exception is also logged.
Closes gh-10317
6 years ago
Stephane Nicoll
8939a7eec3
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
f3e142cb7c
Polish "Stop using imports from shaded dependencies"
...
Closes gh-15950
6 years ago
Michael Simons
de7812aa3a
Stop using imports from shaded dependencies
...
See gh-15950
6 years ago
Andy Wilkinson
8bcc0caa06
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
90f059cf3a
Upgrade to Spring Session Bean-SR3
...
Closes gh-15868
6 years ago
Stephane Nicoll
c1cccc886a
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
cd322d7b9c
Polish "Add a link to SpringMockK in the Kotlin documentation"
...
Closes gh-15943
6 years ago
Sebastien Deleuze
da6de215a6
Add a link to SpringMockK in the Kotlin documentation
...
See gh-15943
6 years ago
Andy Wilkinson
3a4a431eaa
Provide a configuration option to enable lazy initialization
...
Closes gh-15870
6 years ago
Andy Wilkinson
6519e85b5a
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
027f9182a8
Generate Javadoc with same source level as used for compilation
...
This works around a change in javadoc generation in JDK 11.0.2. See
https://bugs.openjdk.java.net/browse/JDK-8212233 for details.
6 years ago
Madhura Bhave
862ffcbbf4
Merge branch '2.1.x'
6 years ago
Madhura Bhave
bbe555a4f5
Split Jersey management context configuration
...
This commit splits the management context configuration for jersey
into two separate configurations depending on if the type is SAME or
CHILD. The configuration for the SAME context should only kick in if
there is no existing ResourceConfig bean.
Fixes gh-15891
6 years ago
Andy Wilkinson
44046b767f
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
b645e0a581
Upgrade to Spring Kafka 2.2.4.RELEASE
...
Closes gh-15867
6 years ago
Andy Wilkinson
2460454eb4
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
a69eb3729c
Upgrade to Spring Security 5.1.4.RELEASE
...
Closes gh-15863
6 years ago
Andy Wilkinson
b27242f27b
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
e3806dca42
Upgrade to Micrometer 1.1.3
...
Closes gh-15869
6 years ago
Andy Wilkinson
fbf67c4dec
Upgrade to Spring AMQP 2.1.4.RELEASE
...
Closes gh-15865
6 years ago
Andy Wilkinson
5c1fc52252
Upgrade to Spring Data Lovelace-SR5
...
Closes gh-15864
6 years ago
Andy Wilkinson
08b0560a86
Upgrade to Lettuce 5.1.4.RELEASE
...
Closes gh-15945
6 years ago
Andy Wilkinson
dd1686bea8
Upgrade to Commons Pool2 2.6.1
...
Closes gh-15946
6 years ago
Andy Wilkinson
cc87bb28aa
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
5dc285f2cf
Upgrade to Spring Hateoas 0.25.1.RELEASE
...
Closes gh-15944
6 years ago
Andy Wilkinson
747e419db1
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
9fb0b97f96
Decorate test containers so tests are skipped without Docker
...
Closes gh-15901
Closes gh-15638
6 years ago
Stephane Nicoll
3d6def9f81
Handle BatchMessagingMessageConverter with Kafka batch listeners
...
Closes gh-15942
6 years ago
Andy Wilkinson
18174a8e9e
Polish "Add opt-in support for Neo4j-OGM native types"
...
See gh-15637
6 years ago
Michael Simons
af21b847a0
Add opt-in support for Neo4j-OGM native types
...
This includes tests for the autoconfiguration using that new property.
The test require the native types for Bolt and embedded in the test
scope, so the Neo4j-OGM native types have been added to managed
dependencies.
The enhanced autoconfiguration throws an
InvalidConfigurationPropertyValueException when native types cannot be
used due to missing dependencies or wrong transport mode.
See gh-15637
6 years ago
Stephane Nicoll
7413584b00
Polish "Support expressing application `args` in `@SpringBootTest`"
...
Closes gh-14823
6 years ago
Justin Griffin
422e6b7d41
Support expressing application `args` in `@SpringBootTest`
...
Add `args` property to the `@SpringBootTest` annotation so tests
can easily supply application arguments to pass to their app under test.
See gh-14823
6 years ago
Andy Wilkinson
b3312d7de4
Upgrade to Jedis 3.0.1
...
Closes gh-15941
6 years ago
Andy Wilkinson
a0b826ce4d
Start building against Spring Plugin 2.0.0.M1 snapshots
...
See gh-15940
6 years ago
Andy Wilkinson
bb4cdd3ba1
Start building against Spring HATEOAS 1.0.0.M1 snapshots
...
See gh-15939
6 years ago
Michael Simons
330f5b70f2
Upgrade to Neo4j-OGM 3.2.0-alpha04
...
Closes gh-15937
6 years ago
Andy Wilkinson
7a8104ac0e
Upgrade to Elasticsearch 6.5.4
...
Closes gh-15938
6 years ago
Andy Wilkinson
e924745bf8
Start building against Spring Data Moore M2 snapshots
...
See gh-15197
6 years ago
Stephane Nicoll
c3c22c0a8a
Polish "Fix broken links to appendix"
...
Closes gh-15933
6 years ago
Govinda
3428c0efa2
Fix broken links to appendix
...
See gh-15933
6 years ago
Stephane Nicoll
2241837d75
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
46bf82ca82
Upgrade to Spring Framework 5.1.5
...
Closes gh-15862
6 years ago
Stephane Nicoll
3b3d9f8e90
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
e38bd28271
Upgrade to Reactor Bom Californium-SR5
...
Closes gh-15878
6 years ago
Andy Wilkinson
b339c92871
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
a0cf4ec017
Add dependency now needed for javadoc generation on Java 11
...
See gh-15775
6 years ago
Andy Wilkinson
0adea5a905
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
948bafa4d8
Repackage kotlin-module metadata beneath BOOT-INF/classes
...
Closes gh-15890
6 years ago
Andy Wilkinson
5045c3b8b8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
3a6d15acf6
Caution against using component scanning in an auto-configuration
...
Closes gh-15348
6 years ago
Andy Wilkinson
1aa7b30b70
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
8e6b4629d4
Tolerate AuthenticationSwitchUserEvent with null target user
...
When Spring Security is misconfigured it's possible to switch from an anonymous user
to a normal user. When switching back again, the corresponding
AuthenticationSwitchUserEvent will have a null target user. Previously, Actuator's
AuthenticationAuditListener would throw a NullPointerException when it received such an
event.
This commit updates the audit listener to defensively handled events with a null target
user.
Closes gh-15767
6 years ago
Stephane Nicoll
738da8ffca
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
a1fbfbe6be
Polish contribution
...
Closes gh-15859
6 years ago
Matthias Stock
3c761cfc96
Polish 'Database Initialization' section
...
See gh-15859
6 years ago
Stephane Nicoll
f6f6d97269
Update copyright year
6 years ago
Stephane Nicoll
b91f613ca0
Polish "Change "Colophon" to "Legal""
...
Closes gh-15580
6 years ago
Chintan Pandya
781e055256
Change "Colophon" to "Legal"
...
See gh-15580
6 years ago
Andy Wilkinson
c41924f7d4
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
ab8fcf0d71
Polish "Use class for @ConditionalOnClass"
...
See gh-15775
6 years ago
Johnny Lim
b423962c89
Use class for @ConditionalOnClass
...
See gh-15775
6 years ago
Stephane Nicoll
f42cec9eac
Polish "Support for capping archived log files"
...
Closes gh-15325
6 years ago
Robert Thornton
999780f342
Support for capping archived log files
...
See gh-15325
6 years ago
Andy Wilkinson
c04eba7ebc
Polish "Add TestNG support in TestTypeExcludeFilter"
...
See gh-7630
6 years ago
Eddú Meléndez
b005008cac
Add TestNG support in TestTypeExcludeFilter
...
See gh-7630
6 years ago
Andy Wilkinson
4d9513404a
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
5ae7aeff21
Revert "Upgrade to Saaj Impl 1.5.1"
...
This reverts commit 1f47bd9717
.
See gh-15915
6 years ago
Andy Wilkinson
22192c2b5c
Polish "Make auto-config of RestTemplate metrics back off with no builder bean"
...
Closes gh-15842
6 years ago
Raheela
8f3c4dbc64
Make auto-config of RestTemplate metrics back off with no builder bean
...
See gh-15842
6 years ago
Andy Wilkinson
48e781181e
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
799ac24da1
Reinstate auto-config of RequestContextFilter with Jersey
...
Previously, the auto-configuration for both Jersey and WebMvc would auto-configure
a RequestContextFilter bean. In 2.1.0, this led to a startup failure due to the latter
attempting to override the bean defined by the former. In addition to the override there
were also problems with the order of the filter as Jersey uses -1 and MVC uses -105.
To avoid the above-described problems, the auto-configuration of the RequestContextFilter
was removed from JerseyAutoConfiguration in 2.1.1. Unfortunately, the broke
request-scoped beans for those using only Jersey.
This commit attempts to strike a better balance by reintroducing the auto-configuration
of RequestContextFilter in JerseyAutoConfiguration. It will back off if the user defines
their own filter or filter registration. WebMvcAutoConfiguration has been updated to
back off in the same manner. This leaves the potential for ordering problems, but they
are no worse than they were before. Furthermore, the user has the means to correct any
problems by using the various filter ordering properties that are provided for Jersey,
Spring Session, Spring Security, etc.
Closes gh-15376
6 years ago
Andy Wilkinson
2e66fc1d76
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
cc64398800
Revert "Upgrade to Couchbase Client 2.7.3"
...
This reverts commit 06feb728b8
.
See gh-15914
6 years ago
Stephane Nicoll
6905edc649
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
4469c46b0a
Polish "Document internationalization support"
...
Closes gh-15881
6 years ago
Kedar Joshi
989ac08f34
Document internationalization support
...
See gh-15881
6 years ago
Andy Wilkinson
5967a3b81d
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
ef10eed83f
Upgrade to Lombok 1.18.6
...
Closes gh-15928
6 years ago
Andy Wilkinson
3ec19362d6
Upgrade to Pooled Jms Version 1.0.4
...
Closes gh-15927
6 years ago
Andy Wilkinson
2ea9037aef
Upgrade to Liquibase 3.6.3
...
Closes gh-15926
6 years ago
Andy Wilkinson
4cd1e68660
Upgrade to Mimepull 1.9.11
...
Closes gh-15925
6 years ago
Andy Wilkinson
ba786048e0
Upgrade to Infinispan 9.4.6.Final
...
Closes gh-15924
6 years ago
Andy Wilkinson
8076dbc277
Upgrade to Groovy 2.5.6
...
Closes gh-15923
6 years ago
Andy Wilkinson
8b9b162675
Upgrade to Tomcat 9.0.16
...
Closes gh-15922
6 years ago
Andy Wilkinson
6dcf0ebb9b
Upgrade to Log4j2 2.11.2
...
Closes gh-15921
6 years ago
Andy Wilkinson
f8548d10b4
Upgrade to Artemis 2.6.4
...
Closes gh-15920
6 years ago
Andy Wilkinson
14212e9e22
Upgrade to Byte Buddy 1.9.10
...
Closes gh-15919
6 years ago
Andy Wilkinson
ec9fe4bed5
Upgrade to Mysql 8.0.15
...
Closes gh-15918
6 years ago
Andy Wilkinson
59e9396c7d
Upgrade to Undertow 2.0.17.Final
...
Closes gh-15917
6 years ago
Andy Wilkinson
c2b5d9655d
Upgrade to Rxjava2 2.2.6
...
Closes gh-15916
6 years ago
Andy Wilkinson
1f47bd9717
Upgrade to Saaj Impl 1.5.1
...
Closes gh-15915
6 years ago
Andy Wilkinson
06feb728b8
Upgrade to Couchbase Client 2.7.3
...
Closes gh-15914
6 years ago
Andy Wilkinson
0f2e13e707
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
103e072836
Upgrade to Thymeleaf Extras Java8time 3.0.3.RELEASE
...
Closes gh-15913
6 years ago
Andy Wilkinson
776e6bd47b
Upgrade to Neo4j Ogm 3.1.7
...
Closes gh-15912
6 years ago
Andy Wilkinson
4bc40f9c47
Upgrade to Hibernate 5.2.18.Final
...
Closes gh-15911
6 years ago
Andy Wilkinson
bb0d948f66
Upgrade to Janino 3.0.12
...
Closes gh-15910
6 years ago
Andy Wilkinson
33c32e8cb4
Upgrade to Reactor Bom Bismuth-SR16
...
Closes gh-15909
6 years ago
Andy Wilkinson
8ddf4a5a52
Upgrade to Netty 4.1.33.Final
...
Closes gh-15908
6 years ago
Andy Wilkinson
b16aa6b21c
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
db31e42751
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
a975c0ad16
Use Testcontainers’ CassandraContainer rather than our own
...
Closes gh-15901
6 years ago
Andy Wilkinson
1c90a89acd
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
8426d8854f
Import Testcontainers' bom rather than managing modules individually
...
Closes gh-15900
6 years ago
Andy Wilkinson
2884d99a5d
Complete move to Testcontainers' Neo4j container
...
Closes gh-15638
6 years ago
Stephane Nicoll
82f33adba5
Polish "Add support for jdbc:firebird: url prefix"
...
Closes gh-15841
6 years ago
Mark Rotteveel
2ab7ece36d
Add support for jdbc:firebird: url prefix
...
See gh-15841
6 years ago
Andy Wilkinson
7e51e1a076
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
01b8e2c834
Polish “Replace custom Neo4j container with Testcontainers version”
...
See gh-15638
6 years ago
Michael Simons
316126e8f0
Replace custom Neo4j container with Testcontainers version
...
See gh-15638
6 years ago
Andy Wilkinson
8e0cc278b2
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
a5aceb35d7
Upgrade to Testcontainers 1.10.6
...
Closes gh-15893
6 years ago
Andy Wilkinson
6fe226d781
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
20f26c4d30
Polish "Fix stopping of Embedded Mongo before context is closed"
...
See gh-15692
6 years ago
Eugene
750246f021
Fix stopping of Embedded Mongo before context is closed
...
See gh-15692
6 years ago
Johnny Lim
9f6c5e4e39
Polish
6 years ago
Andy Wilkinson
b5c9afc055
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
295a660e35
Polish "Set NO_REQUEST_TIMEOUT as a server option not a socket option"
...
See gh-15822
6 years ago
ayudovin
dbce3731a4
Set NO_REQUEST_TIMEOUT as a server option not a socket option
...
See gh-15822
6 years ago
dreis2211
3fb87a4506
Clean up SpringPropertyAction.getValue()
...
See gh-15885
6 years ago
Andy Wilkinson
648cbaaceb
Merge pull request #15854 from Camille Vienot
...
* gh-15854:
Polish "Remove dependency management for xml-apis"
Remove dependency management for xml-apis
Closes gh-15854
6 years ago
Andy Wilkinson
c2c971e755
Polish "Remove dependency management for xml-apis"
...
See gh-15854
6 years ago
Camille Vienot
c7dba26812
Remove dependency management for xml-apis
...
See gh-15854
6 years ago
Andy Wilkinson
c6a1df6cd4
Merge branch '2.1.x'
6 years ago
Jeffrey van der Laan
4f86233ca7
Do not auto-configure OEMIV filter when user defines registration bean
...
See gh-15889
6 years ago
Andy Wilkinson
d9ec48ef12
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
3f32fbd0de
Polish "Remove unwanted @Nullable annotations"
...
See gh-15876
6 years ago
wonwoo
2855321074
Remove unwanted @Nullable annotations
...
See gh-15876
6 years ago
Andy Wilkinson
2cda30988e
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
6fe9e3a0e1
Test the Gradle plugin against Gradle 5.2.1
...
Closes gh-15892
6 years ago
Andy Wilkinson
4faa0f51b7
Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
...
Closes gh-15791
6 years ago
dreis2211
1de372d896
Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
...
See gh-15791
6 years ago
dreis2211
1c50e7cf87
Polish
...
Closes gh-15823
6 years ago
Kedar Joshi
4a253ff87c
Polish
...
1. Removed unnecessary null checks
2. Combined collection initialization and modification
3. Minor collections related optimizations
Closes gh-15837
6 years ago
tim-toady
4acebf45be
Fix broken link to Appendix
...
Closes gh-15883
6 years ago
Madhura Bhave
4d69e127c8
Merge branch '2.1.x'
6 years ago
Madhura Bhave
26da45aa9a
Configure a JerseyApplicationPath bean for the actuators
...
This commit also ensures that Jersey-based actuator endpoints are
available before the user has configured a `ResourceConfig` bean
Fixes gh-15625
Fixes gh-15877
6 years ago
Brian Clozel
8bcbcf6c27
Merge branch '2.1.x'
6 years ago
Brian Clozel
c24f02696f
Upgrade to Californium-BUILD-SNAPSHOT
...
See gh-15878
6 years ago
Madhura Bhave
8528f7c140
Make spring.profiles.include behave consistently
...
Previously, if profiles were included via a property source with higher
precedence than config files, profiles activated via config files would
not be taken into account. This commit makes spring.profiles.include
behave consistently where it adds to active profiles rather than replacing
them, regardless of property source.
Fixes gh-15344
6 years ago
Brian Clozel
99656b9dd8
Merge branch '2.1.x'
6 years ago
Brian Clozel
72c8e5d366
Collect HTTP trace at commit time for WebFlux
...
Prior to this commit, the `HttpTraceWebFilter` would collect the
response information (status and headers) for tracing purposes, after
the handling chain is done with the exchange - inside a
`doAfterSuccessOrError`.
Once the handler has processed the exchange, there is no strong
guarantee about the HTTP resources being still present. Depending on the
web server implementation, HTTP resources (including HTTP header maps)
might be recycled, because pooled in the first place.
This commit moves the collection and processing of the HTTP trace right
before the response is committed. This removes the need to handle
special cases with exceptions, since by that time all exception handlers
have processed the response and the information that we extract is the
information that's about to be written to the network.
Fixes gh-15819
6 years ago
Brian Clozel
e8fef97335
Merge branch '2.1.x'
6 years ago
Brian Clozel
cba6079b7b
Log unhandled server exceptions in WebFlux
...
Prior to this commit, errors unhandled by custom `WebExceptionHandler`
and resulting in an HTTP 500 status would not be logged at ERROR level,
giving no information to developers about the actual exception.
This commit ensures that such exceptions are logged at the ERROR level
with their exception. By the time the exception hits the
`DefaultErrorWebExceptionHandler`, if the response is already committed
or if the exception is due to a client disconnecting, the error is
delegated to Framework support as Spring Boot won't be able to render an
error page as expected.
Fixes gh-15769
6 years ago
Stephane Nicoll
380d7ec01c
Merge branch '2.1.x'
6 years ago
Johnny Lim
885c28891b
Polish
...
Closes gh-15873
6 years ago
Stephane Nicoll
9eccf6c367
Merge branch '2.1.x'
6 years ago
dreis2211
48295e16fc
Fix assertion
...
Closes gh-15871
6 years ago
Madhura Bhave
e3fad4e973
Merge branch '2.1.x'
6 years ago
Madhura Bhave
dc31f617b3
Document limitations of YAML documents & profile-specific files
...
Fixes gh-15790
6 years ago
Andy Wilkinson
88f563ab4f
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
688eb894d0
Start building against Micrometer 1.1.3 snapshots
...
See gh-15869
6 years ago
Andy Wilkinson
4efca4a455
Start building against Spring Session Bean-SR3 snapshots
...
See gh-15868
6 years ago
Andy Wilkinson
01693bb1fd
Start building against Spring Kafka 2.2.4 snapshots
...
See gh-15867
6 years ago
Andy Wilkinson
474a706cc3
Start building against Spring Integration 5.1.3 snapshots
...
See gh-15866
6 years ago
Andy Wilkinson
245d3cf9f4
Start building against Spring AMQP 2.1.4 snapshots
...
See gh-15865
6 years ago
Andy Wilkinson
96cf7b1e64
Start building against Spring Data Lovelace-SR5 snapshots
...
See gh-15864
6 years ago
Andy Wilkinson
333fe77f58
Start building against Spring Security 5.1.4 snapshots
...
See gh-15863
6 years ago
Andy Wilkinson
1f4927b65d
Start building against Spring Framework 5.1.5 snapshots
...
See gh-15862
6 years ago
Stephane Nicoll
b169406bbe
Polish contribution
...
Closes gh-15853
6 years ago
Kedar Joshi
b43718c360
Polish
...
See gh-15853
6 years ago
Andy Wilkinson
ecb7e240eb
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
59c66eaf41
Correct documented path for locked synchronizer's identity hashcode
...
Closes gh-15847
6 years ago
Andy Wilkinson
ebcc53a9b7
Include tasks with custom triggers in scheduledtasks endpoint output
...
Closes gh-15815
6 years ago
Andy Wilkinson
89bf486d0c
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
1f67707509
Fix cast in TestRestTemplateContextCustomizer
...
Closes gh-15843
6 years ago
Andy Wilkinson
b3abd25e22
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
8a7958ef55
Do not use reflection to fall back to JDKs jar URLStreamHandler
...
Closes gh-15844
6 years ago
Andy Wilkinson
45cc649c7d
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
82bc87560c
Use AssertJ’s exception assertions rather than fail
...
Closes gh-15761
6 years ago
Stephane Nicoll
a84a6c34ba
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
9357a92503
Add reference to Codecentric's SOAP Web Services starter
6 years ago
Andy Wilkinson
342bced125
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
6 years ago
Stephane Nicoll
5269ea5536
Polish contribution
...
Closes gh-15754
6 years ago
Johnny Lim
6603033bbc
Polish SessionConfigurationImportSelector.selectImports()
...
See gh-15754
6 years ago
Stephane Nicoll
002fa405a8
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
ede23caace
Polish "Inject Map directly rather than via ObjectProvider"
...
Closes gh-15798
6 years ago
ayudovin
3a2e85ce75
Inject Map directly rather than via ObjectProvider
...
See gh-15798
6 years ago
Stephane Nicoll
c5675de666
Polish "Handle AccessControlException in JspTemplateAvailabilityProvider"
...
Closes gh-15778
6 years ago
ayudovin
81273bdf9a
Handle AccessControlException in JspTemplateAvailabilityProvider
...
See gh-15778
6 years ago
Stephane Nicoll
5e2d5959f3
Polish
6 years ago
dreis2211
5b3e1aa21a
Optimize ConfigurationPropertyName
...
This commit changes the iteration order when checking for element
equality. This is based on the educated guess that child elements
will likely differ while parents will probably be the same.
E.g. comparing "spring.banner.charset" with "spring.banner.location"
will now first check "charset" against "location" and thus saves some
cycles for elements that will be the same.
See gh-15782
6 years ago
Andy Wilkinson
0e77445a9a
Polish "Optimize BeanPropertyName.toDashedForm()"
...
See gh-15779
6 years ago
dreis2211
3c8d9d00e5
Optimize BeanPropertyName.toDashedForm()
...
See gh-15779
6 years ago
Andy Wilkinson
47b378e373
Derive StringBuilder's size from number of elements
...
Previously, when ConfigurationPropertyName was building the String
returned from toString() it would use a StringBuilder with the
default initial capacity of 16. For properties with several
elements this was likely to be too small resulting in the builder's
buffer being resized.
This commit sizes the StringBuilder as a multiple of the number of
elements in the name, attempting to strike a balance between
allocating a StringBuilder with an initial capacity that's too
large and wastes memory and an initial capacity that's too small
and requires resizing.
See gh-15760
6 years ago
Andy Wilkinson
39e2aaa41c
Size the ElementsParser based on expected number of elements
...
Previously, the ElementsParser would be created using its default
capacity of 6 even when parsing a String that is expected to
produce a single element.
This commit updates ConfigurationPropertyName to create an
ElementsParser with a capacity of 1 when parsing a String that should
contain only a single element.
See gh-15760
6 years ago
Andy Wilkinson
8ec6c372e4
Do not expand ElementsParser until size equals storage length
...
Previously, ElementsParser would expand its internal storage when the
size of the storage was <= the end index of the element being parsed,
irrespective of how many elements had been stored. This led to
expansion of the storage, even for a source that contains a single
element, if the end of the element was at an index greater than the
size of the storage.
This commit updates ElementsParser to resize its storage when the size
(the number of elements that have been stored) is equal to the size of
the storage.
See gh-15760
6 years ago
Andy Wilkinson
2956b86035
Avoid creating ConfigurationPropertyName just to get its Elements
...
See gh-15760
6 years ago
dreis2211
d4ab101223
Use Assertions.contentOf() where possible
...
Closes gh-15793
6 years ago
Stephane Nicoll
342212b8dc
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
6f86a84301
Polish "Alias auto-configured `TaskExecutor` to make async tasks use it"
...
Closes gh-15748
6 years ago
Camille Vienot
d0859f1569
Alias auto-configured `TaskExecutor` to make async tasks use it
...
See gh-15748
6 years ago
Stephane Nicoll
a6815bb2c9
Merge branch '2.1.x'
6 years ago
Vedran Pavic
d7550d73a3
Remove duplicate code from HealthWebEndpointResponseMapper
...
Closes gh-15784
6 years ago
Andy Wilkinson
babe98f064
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
a172e146de
Polish "Always fail fast when SSL is enabled without a key store"
...
Closes gh-15709
6 years ago
Raheela
62c8ac6ee8
Always fail fast when SSL is enabled without a key store
...
See gh-15709
6 years ago
Andy Wilkinson
2cb147af7c
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
e15e140f8c
Polish "Fix typos in JsonContentAssert failure messages"
...
See gh-15752
6 years ago
Johnny Lim
3744082996
Fix typos in JsonContentAssert failure messages
...
Closes gh-15752
6 years ago
Andy Wilkinson
f23a0a5969
Inject InfoContributorProperties more precisely
...
Closes gh-15750
6 years ago
Andy Wilkinson
530c7bee71
Do not auto-configure HttpMessageConverters in reactive web apps
...
Closes gh-15712
6 years ago
Andy Wilkinson
6abd18ae96
Do not auto-configure RestTemplateBuilder in reactive web apps
...
Closes gh-15718
6 years ago
Andy Wilkinson
5d60d6bd62
Use ApplicationContextRunner to test RestTemplateAutoConfiguration
6 years ago
Andy Wilkinson
7dd65074e8
Only perform background pre-init with multiple processors
...
Closes gh-15722
6 years ago
Stephane Nicoll
32b14f3098
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
f0a20b1821
Polish contribution
...
Closes gh-15733
6 years ago
NAIT BELKACEM
6a0053c8bc
Fix typo
...
See gh-15733
6 years ago
Michael McFadyen
9eeeebcd53
Update 'HTTP Client Metrics' reference documentation
...
Since gh-#5594, the 'outcome' tag has been introduced for
HTTP clients. This commit updates the reference documentation
accordingly.
Closes gh-15725
6 years ago
Stephane Nicoll
cea6a79e49
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
708ca0636f
Clarify that Spring Boot uses the platform MBeanServer by default
...
Closes gh-15728
6 years ago
Stephane Nicoll
33f2bd4d61
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
485bdc9901
Polish "Remove redundant interface modifiers"
...
Closes gh-15694
6 years ago
igor-suhorukov
2d873c78fe
Remove redundant interface modifiers
...
See gh-15694
6 years ago
Stephane Nicoll
6baa6b291e
Polish contribution
...
Closes gh-15695
6 years ago
Johnny Lim
af3ed9ff9f
Polish
...
See gh-15695
6 years ago
Phillip Webb
2f77ef7722
Merge branch '2.1.x'
6 years ago
Phillip Webb
72400d3a96
Upgrade to Spring Batch 4.1.1
...
Closes gh-15659
6 years ago
Phillip Webb
9e58942698
Update copyright year for changed files
6 years ago
Phillip Webb
6a901199f5
Polish
6 years ago
Andy Wilkinson
023c7159ac
Upgrade to Spring Batch 4.0.2.RELEASE
...
Closes gh-15658
6 years ago
Andy Wilkinson
d22e43aefb
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
f0141dadab
Revert "Upgrade to Glassfish Jaxb 2.3.2"
...
This reverts commit 6b952f5b65
.
See gh-15689
6 years ago
Andy Wilkinson
f8de67e6e9
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
6b952f5b65
Upgrade to Glassfish Jaxb 2.3.2
...
Closes gh-15689
6 years ago
Andy Wilkinson
48b485161e
Upgrade to Byte Buddy 1.9.7
...
Closes gh-15688
6 years ago
Andy Wilkinson
eb96cdffd2
Upgrade to Reactor Bom Californium-SR4
...
Closes gh-15687
6 years ago
Andy Wilkinson
c5e14afcd1
Upgrade to Micrometer 1.1.2
...
Closes gh-15686
6 years ago
Andy Wilkinson
1bd030c17a
Upgrade to Spring Kafka 2.1.12.RELEASE
...
Closes gh-15685
6 years ago
Andy Wilkinson
6c81eb0591
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
99df485268
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
2af133084a
Merge branch '1.5.x' into 2.0.x
6 years ago