Andy Wilkinson
14b21026bf
Polish "Use HTTPS for external links wherever possible"
...
See gh-16319
2019-03-28 09:17:50 +00:00
Spring Operator
1a4c6f2dac
Use HTTPS for external links wherever possible
...
See gh-16319
2019-03-27 20:06:52 +00:00
Andy Wilkinson
ba4671f0ab
Merge branch '1.5.x' into 2.0.x
2019-03-27 19:59:36 +00:00
Stephane Nicoll
f417fa5c5b
Add jaxb API to jersey starter
...
Closes gh-16268
2019-03-27 11:38:55 +01:00
Stephane Nicoll
e57c0c0657
Do not attempt to add Jaxb customization if Jaxb is not present
...
See gh-16268
2019-03-27 11:38:55 +01:00
Stephane Nicoll
c2f9e7dd43
Fix StreamsBuilderFactoryBean injection definition
...
Closes gh-16329
2019-03-27 10:17:49 +01:00
Andy Wilkinson
4900505425
Merge branch '2.0.x' into 2.1.x
2019-03-26 13:53:57 +00:00
Spring Operator
a5dba01cb9
Use HTTPS for external links from XML files where possible
...
See gh-16314
2019-03-26 13:52:17 +00:00
Andy Wilkinson
fedb40a2bf
Merge branch '1.5.x' into 2.0.x
2019-03-26 13:48:32 +00:00
Madhura Bhave
91c1fc3d97
Ignore unbound collection properties if collection bound
...
As of Spring Boot 2.0, if Collection properties are specified in
multiple property sources, only the elements from the property source
with the highest precedence are used for binding. This caused an
`UnboundConfigurationPropertiesException` if the size of the collection
from the higher order property source was smaller and `ignoreUnknownFields`
was set to true.
This commit ignores unbound collection properties if the
collection was properly bound.
Fixes gh-16290
2019-03-25 16:03:33 -07:00
Madhura Bhave
0c2e71cd08
Prevent early initialization of factory beans in text context customizers
...
Until Spring Framework 5.1.15, a FactoryBean with a non-default constructor
defined via component scanning would cause an error. This behavior has changed
as of https://github.com/spring-projects/spring-framework/issues/22409 .
Regardless of this change we want to ensure that we avoid triggering eager
initialisation. `SimpleFactoryBean` has been written this way so that the tests
fail if early initialization is triggered regardless of the Spring Framework version.
Fixes gh-15898
2019-03-25 10:55:41 -07:00
Stephane Nicoll
567a82f4ba
Update multi release test jar to include Java 12
...
See gh-16212
2019-03-25 16:13:24 +01:00
Stephane Nicoll
bd2cc6f48b
Add missing condition on LogFile endpoint
...
See gh-16298
2019-03-25 11:30:45 +01:00
dreis2211
c2335e130c
Test against Gradle 5.3
...
Closes gh-16294
2019-03-25 10:19:57 +01:00
Madhura Bhave
1ad52b651a
Document using the same port for the management server on CF
...
Closes gh-15640
2019-03-22 15:17:34 -07:00
Madhura Bhave
0a54fb73fa
Remove redundant include from WebFluxTypeExcludeFilter
...
For webflux, security configuration is configured via a bean of type
`SecurityWebFilterChain` and not `ServerHttpSecurity`. We would have changed
the include to be `SecurityWebFilterChain` but the filter only applies to
beans registered via component scanning and not those registered in
`@Configuration` classes, making the includes redundant.
See gh-16088
2019-03-20 17:54:04 -07:00
Madhura Bhave
6bd6279eff
Document slice test behavior with @Configuration classes
...
Closes gh-16274
2019-03-20 17:48:14 -07:00
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
2019-03-20 16:53:48 +00:00
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
2019-03-20 16:45:26 +00:00
Stephane Nicoll
82c434d581
Upgrade to Solr 7.7.1
...
Closes gh-16273
2019-03-20 17:23:52 +01:00
Madhura Bhave
0c52c3fc55
Clarify ambiguous documentation in default security section
...
Closes gh-16033
2019-03-19 17:25:47 -07:00
Madhura Bhave
4a230fdec9
Document AssertJ's satisfies with extractingJsonPathNumberValue
...
Closes gh-16229
2019-03-19 17:11:28 -07:00
Spring Operator
b32c0080c3
Update build and setup configuration to use HTTPS
...
See gh-16247
2019-03-19 17:06:45 +00:00
Andy Wilkinson
a36aa67b52
Merge branch '2.0.x' into 2.1.x
2019-03-19 17:04:41 +00:00
Spring Operator
3e2b6ac8ed
Update build and setup configuration to use HTTPS
...
See gh-16246
2019-03-19 16:58:31 +00:00
Andy Wilkinson
716b4e8acf
Test the Gradle plugin against Gradle 5.3-rc-3
...
Closes gh-16211
2019-03-19 12:36:14 +00:00
Madhura Bhave
7ea8770524
Polish "Fix request factory used with withBasicAuth"
...
Fixes gh-15982
2019-03-18 18:00:17 -07:00
Dmytro Nosan
756bd890eb
Fix request factory used with TestRestTemplate withBasicAuth
...
This commit updates the behavior of withBasicAuth on TestRestTemplate
by trying to use the same request factory type as the underlying restTemplate.
If creation of a new instance of the configured request factory class fails,
it falls back to the `ClientHttpRequestFactorySupplier`.
See gh-15982
2019-03-18 18:00:08 -07:00
Stephane Nicoll
372802a203
Polish "Order the search locations in javadoc by precedence order"
...
Closes gh-16099
2019-03-16 08:23:57 +01:00
Muhammad Hewedy
4bac6c6688
Order the search locations in javadoc by precedence order
...
See gh-16099
2019-03-16 08:23:01 +01:00
Johnny Lim
c5b5f752ed
Polish
...
Closes gh-16219
2019-03-15 17:54:48 -07:00
Dmytro Nosan
2f3e5d65be
Test server port shouldn't affect management port when random
...
Closes gh-16108
2019-03-15 17:21:29 -07:00
Ruslan Stelmachenko
fcde648c50
Fix typo in logging.group property description
...
Closes gh-16224
2019-03-13 17:47:51 +01:00
Brian Clozel
9906ef2400
Merge branch '2.0.x' into 2.1.x
2019-03-13 12:52:47 +01:00
Brian Clozel
8866a25ef7
Polish Undertow tests
2019-03-13 11:55:53 +01:00
Brian Clozel
6138041578
Polish
...
Fixes gh-16014
2019-03-13 11:55:41 +01:00
Johnny Lim
a6ccdbe19f
Handle missing exceptions in WebMvcMetricsFilter
...
Prior to this commit, exceptions nested in
`NestedServletExceptions` would not be recorded by the
`WebMvcMetricsFilter`. This commit ensures that exceptions
happening downstream (e.g. happening while writing the response
body itself) are properly recorded.
See https://github.com/micrometer-metrics/micrometer/issues/1190
See gh-16014
2019-03-13 11:07:32 +01:00
Stephane Nicoll
765801983b
Polish "Fix typo in spring-boot-features.adoc"
...
Closes gh-16213
2019-03-12 17:21:18 +01:00
Orangeroad0922
47169436ed
Fix typo in spring-boot-features.adoc
...
See gh-16213
2019-03-12 17:20:43 +01:00
Stephane Nicoll
f07de1bbe2
Polish "Update ambiguous documentation about ConfigurationProperties"
...
Closes gh-16166
2019-03-12 11:12:45 +01:00
Viktoriya Kutsarova
6b6ac28430
Update ambiguous documentation about ConfigurationProperties
...
See gh-16166
2019-03-12 11:12:21 +01:00
Stephane Nicoll
161c0b9fad
Polish contribution
...
Closes gh-16170
2019-03-12 11:06:19 +01:00
ayudovin
51013421f2
Add support for Mustache, FreeMarker and Thymeleaf in WebFluxTest
...
See gh-16170
2019-03-12 11:06:18 +01:00
Stephane Nicoll
078bd890a6
Merge branch '2.0.x' into 2.1.x
2019-03-12 11:05:23 +01:00
Stephane Nicoll
50d0b4df46
Polish
2019-03-12 11:04:00 +01:00
Johnny Lim
00bda4dc2a
Add dependency management for micrometer-registry-stackdriver
...
Closes gh-16178
2019-03-12 10:51:54 +01:00
Johnny Lim
bcfbabe6cd
Polish
...
Closes gh-16193
2019-03-12 10:50:32 +01:00
Phillip Webb
fc3aa43cc2
Update copyright year for changed files
2019-03-11 22:14:53 -07:00
Phillip Webb
f02887b6c6
Merge branch '2.0.x' into 2.1.x
2019-03-11 22:14:21 -07:00
Phillip Webb
9c3af103e0
Fix ScheduledTasksEndpointAutoConfigurationTests
...
Update the `CustomEndpointConfiguration` class in
`ScheduledTasksEndpointAutoConfigurationTests` to be package private
so that it can be enhanced by cglib.
Prior to merge commit 361437f4
the class was a lite configuration so
it didn't matter that it was a private class.
2019-03-11 22:12:36 -07:00
Phillip Webb
45ae97a4e9
Merge branch '2.0.x' into 2.1.x
2019-03-11 21:09:35 -07:00
Phillip Webb
03beed603c
Fix ScheduledTasksEndpointTests BaseConfiguration
...
Update the `BaseConfiguration` class in `ScheduledTasksEndpointTests`
to be package private so that it can be enhanced by cglib.
Prior to merge commit 361437f4
the class was a lite configuration so
it didn't matter that it was a private class.
2019-03-11 21:07:20 -07:00
Andy Wilkinson
f0ef693376
Merge branch '2.0.x' into 2.1.x
2019-03-11 16:28:29 +00:00
Andy Wilkinson
c2eeeb032c
Work around javac bug
2019-03-11 16:27:56 +00:00
Andy Wilkinson
8c3cec8f13
Merge branch '2.0.x' into 2.1.x
2019-03-11 16:14:19 +00:00
Andy Wilkinson
361437f4e2
Merge branch '1.5.x' into 2.0.x
2019-03-11 15:53:34 +00:00
Andy Wilkinson
f574213cc8
Mark log file endpoint as producing text/plain
...
Closes gh-16188
2019-03-11 08:30:31 +00:00
Andy Wilkinson
7153525ee2
Annotation @JsonTest with @ExtendWith(SpringExtension.class)
...
Closes gh-16183
2019-03-09 20:00:06 +00:00
Andy Wilkinson
9d06d22b99
Merge branch '2.0.x' into 2.1.x
2019-03-07 10:17:01 +00:00
Andy Wilkinson
affdbeef41
Polish
2019-03-07 10:08:39 +00:00
Andy Wilkinson
f46894dfd3
Merge branch '2.0.x' into 2.1.x
2019-03-07 09:43:02 +00:00
Andy Wilkinson
17a1b2822c
Isolate LoggerContext state to each test
...
Closes gh-16162
2019-03-07 09:37:41 +00:00
Andy Wilkinson
9963ed1249
Merge branch '2.0.x' into 2.1.x
2019-03-07 09:25:31 +00:00
Andy Wilkinson
83216c34e5
Merge branch '1.5.x' into 2.0.x
2019-03-07 09:25:17 +00:00
Andy Wilkinson
80f2e2260e
Merge branch '2.0.x' into 2.1.x
2019-03-06 15:11:09 +00:00
Andy Wilkinson
e56580ddc6
Merge branch '1.5.x' into 2.0.x
2019-03-06 15:10:25 +00:00
Andy Wilkinson
a09713ee30
Upgrade to Infinispan 9.4.8.Final
...
Closes gh-16134
2019-03-06 13:34:02 +00:00
Andy Wilkinson
de042114af
Upgrade to Jetty Reactive Httpclient 1.0.3
...
Closes gh-16133
2019-03-06 13:34:00 +00:00
Andy Wilkinson
c54ac68afa
Upgrade to Undertow 2.0.19.Final
...
Closes gh-16132
2019-03-06 13:33:59 +00:00
Andy Wilkinson
33fdc5b471
Upgrade to Rxjava2 2.2.7
...
Closes gh-16131
2019-03-06 13:33:58 +00:00
Andy Wilkinson
2568bd6a83
Upgrade to Netty Tcnative 2.0.22.Final
...
Closes gh-16130
2019-03-06 13:33:57 +00:00
Andy Wilkinson
4f5eff6fa4
Upgrade to Lettuce 5.1.5.RELEASE
...
Closes gh-16129
2019-03-06 13:33:56 +00:00
Andy Wilkinson
e01b76aa45
Upgrade to Hazelcast 3.11.2
...
Closes gh-16128
2019-03-06 13:33:56 +00:00
Andy Wilkinson
ff64e112c9
Merge branch '2.0.x' into 2.1.x
2019-03-06 13:33:00 +00:00
Andy Wilkinson
4cfc532890
Upgrade to Spring Ws 3.0.7.RELEASE
...
Closes gh-16127
2019-03-06 13:30:51 +00:00
Andy Wilkinson
51657e1ad0
Upgrade to Spring Integration 5.0.12.RELEASE
...
Closes gh-16126
2019-03-06 13:30:49 +00:00
Andy Wilkinson
ab05a07807
Upgrade to Neo4j Ogm 3.1.8
...
Closes gh-16125
2019-03-06 13:30:48 +00:00
Andy Wilkinson
7a26a092aa
Upgrade to Hibernate Validator 6.0.15.Final
...
Closes gh-16124
2019-03-06 13:30:46 +00:00
Andy Wilkinson
31892a3488
Upgrade to Elasticsearch 5.6.15
...
Closes gh-16123
2019-03-06 13:30:45 +00:00
Andy Wilkinson
5f35a1d089
Merge branch '1.5.x' into 2.0.x
2019-03-06 13:30:09 +00:00
Andy Wilkinson
31ed042190
Return 503 when component or instance is down with WebFlux
...
Closes gh-16109
2019-03-06 13:24:23 +00:00
Stephane Nicoll
8d033e73d1
Polish
...
See gh-16094
2019-03-05 08:18:14 +01:00
Andy Wilkinson
bdab9c4e31
Upgrade to Couchbase Client 2.7.4
...
Closes gh-15914
2019-03-04 15:21:09 +00:00
Stephane Nicoll
4eb73e0050
Recommend that DevTools is excluded with custom packaging arrangement
...
Closes gh-15382
2019-03-04 15:57:47 +01:00
Stephane Nicoll
4f2e788835
Fix import in docs
...
Closes gh-16017
2019-03-04 15:45:59 +01:00
Johnny Lim
3242e89271
Polish
...
See gh-16083
2019-03-04 15:18:51 +01:00
Johnny Lim
907058d845
Rename Maven version property for PooledJMS
...
Closes gh-16086
2019-03-04 15:12:28 +01:00
Stephane Nicoll
2099093978
Merge branch '2.0.x' into 2.1.x
2019-03-04 15:00:00 +01:00
Stephane Nicoll
b8cbd0c17f
Merge branch '1.5.x' into 2.0.x
2019-03-04 14:55:10 +01:00
Stephane Nicoll
235fbfb4b6
Polish "Use AssertJ facilities for expected exceptions"
...
Closes gh-16066
2019-03-04 08:58:28 +01:00
dreis2211
be445f6346
Use AssertJ facilities for expected exceptions
...
See gh-16066
2019-03-04 08:45:42 +01:00
Stephane Nicoll
c224eebef3
Polish "Fix NullPointerException with empty X-Forwarded-For header"
...
Closes gh-16046
2019-02-28 14:56:42 +01:00
Dmytro Nosan
64a74c3bbb
Fix NullPointerException with empty X-Forwarded-For header
...
See gh-16046
2019-02-28 14:51:25 +01:00
Stephane Nicoll
2a6791aa20
Polish "Add `jaxb-runtime` to TldSkipPatterns"
...
Closes gh-16027
2019-02-28 14:39:52 +01:00
Rupert Madden-Abbott
946ada62fb
Add `jaxb-runtime` to TldSkipPatterns
...
See gh-16027
2019-02-28 14:37:45 +01:00
XYUU
7aedb0a33d
Fix a colon format
...
Closes gh-16054
2019-02-28 09:36:22 +01:00
Stephane Nicoll
ce17a923dd
Polish contribution
...
Closes gh-15978
2019-02-27 16:03:28 +01:00
Dmytro Nosan
cf89ebcf92
Add an example showing how to use Spring REST Docs with WebTestClient
...
See gh-15978
2019-02-27 16:03:15 +01:00
Stephane Nicoll
eebd906c8a
Polish contribution
...
Closes gh-16047
2019-02-27 15:10:43 +01:00
Dan Zheng
2c4afb3bd8
Fix NamedParameterJdbcTemplate precedence with database migration tools
...
See gh-16047
2019-02-27 15:10:20 +01:00
Stephane Nicoll
978f80122b
Polish "Debug mode is not logging web and sql related loggers"
...
Closes gh-16018
2019-02-27 13:37:18 +01:00
Dmytro Nosan
c3430d5883
Debug mode is not logging web and sql related loggers
...
See gh-16018
2019-02-27 13:25:08 +01:00
Stephane Nicoll
c47edd15af
Polish "Update instructions on how to use JAXB as XML renderer"
...
Closes gh-16005
2019-02-26 16:57:47 +01:00
Lars Grefer
221ff8d69f
Update instructions on how to use JAXB as XML renderer
...
See gh-16005
2019-02-26 16:50:30 +01:00
Andy Wilkinson
53326695ea
Polish
2019-02-21 08:13:54 +00:00
Madhura Bhave
c3e47541ad
EndpointRequest should check that the request is to the mgmt context
...
Fixes gh-15702
2019-02-20 16:08:26 -08:00
Andy Wilkinson
59430a2642
Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
...
Closes gh-16001
2019-02-20 18:15:27 +00:00
Andy Wilkinson
55fe26b075
Polish "Use kotlin_module not kotlin-module to identify Kotlin module metadata"
...
See gh-16004
2019-02-20 17:19:03 +00:00
Robert Thornton
cb6362df82
Use kotlin_module not kotlin-module to identify Kotlin module metadata
...
See gh-16004
2019-02-20 17:19:03 +00:00
Stephane Nicoll
91a005f578
Resolve generic types in generated metadata
...
Closes gh-15850
2019-02-20 13:24:40 +01:00
Andy Wilkinson
51776af45d
Include source of NoSuchMethodError in its failure analysis
...
Closes gh-15995
2019-02-19 12:34:52 +00:00
Andy Wilkinson
55426208ab
Provide type information for optional thread dump endpoint response fields
...
Closes gh-15989
2019-02-19 09:12:54 +00:00
Stephane Nicoll
42c246cacb
Polish contribution
...
Closes gh-15984
2019-02-18 21:18:51 +01:00
isank
e546ed4834
Order TaskExecution auto-config before TaskScheduling auto-config
...
See gh-15984
2019-02-18 21:18:09 +01:00
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
2019-02-18 17:29:25 +00:00
Stephane Nicoll
20c39dc554
Document missing keys mapped on third party types
...
Closes gh-15980
2019-02-18 16:48:51 +01:00
Stephane Nicoll
5916393b20
Upgrade to Spring Integration 5.1.3
...
Closes gh-15866
2019-02-15 09:38:34 +01:00
Madhura Bhave
012a956454
Fix typo in doc
2019-02-14 19:39:01 -08:00
Andy Wilkinson
33b9321071
Track condition evaluation per-context when determining delta
...
Closes gh-15766
2019-02-14 15:11:18 +00:00
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
2019-02-14 14:46:52 +00:00
Stephane Nicoll
f3e142cb7c
Polish "Stop using imports from shaded dependencies"
...
Closes gh-15950
2019-02-14 15:34:03 +01:00
Michael Simons
de7812aa3a
Stop using imports from shaded dependencies
...
See gh-15950
2019-02-14 15:34:03 +01:00
Andy Wilkinson
90f059cf3a
Upgrade to Spring Session Bean-SR3
...
Closes gh-15868
2019-02-14 14:25:51 +00:00
Stephane Nicoll
cd322d7b9c
Polish "Add a link to SpringMockK in the Kotlin documentation"
...
Closes gh-15943
2019-02-14 15:22:02 +01:00
Sebastien Deleuze
da6de215a6
Add a link to SpringMockK in the Kotlin documentation
...
See gh-15943
2019-02-14 15:21:12 +01:00
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.
2019-02-14 08:23:20 +00:00
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
2019-02-13 13:27:54 -08:00
Andy Wilkinson
b645e0a581
Upgrade to Spring Kafka 2.2.4.RELEASE
...
Closes gh-15867
2019-02-13 21:16:32 +00:00
Andy Wilkinson
a69eb3729c
Upgrade to Spring Security 5.1.4.RELEASE
...
Closes gh-15863
2019-02-13 21:15:09 +00:00
Andy Wilkinson
e3806dca42
Upgrade to Micrometer 1.1.3
...
Closes gh-15869
2019-02-13 17:56:59 +00:00
Andy Wilkinson
fbf67c4dec
Upgrade to Spring AMQP 2.1.4.RELEASE
...
Closes gh-15865
2019-02-13 17:56:25 +00:00
Andy Wilkinson
5c1fc52252
Upgrade to Spring Data Lovelace-SR5
...
Closes gh-15864
2019-02-13 17:55:20 +00:00
Andy Wilkinson
08b0560a86
Upgrade to Lettuce 5.1.4.RELEASE
...
Closes gh-15945
2019-02-13 17:55:13 +00:00
Andy Wilkinson
dd1686bea8
Upgrade to Commons Pool2 2.6.1
...
Closes gh-15946
2019-02-13 17:54:51 +00:00
Andy Wilkinson
cc87bb28aa
Merge branch '2.0.x' into 2.1.x
2019-02-13 17:54:18 +00:00
Andy Wilkinson
5dc285f2cf
Upgrade to Spring Hateoas 0.25.1.RELEASE
...
Closes gh-15944
2019-02-13 17:49:00 +00:00
Andy Wilkinson
9fb0b97f96
Decorate test containers so tests are skipped without Docker
...
Closes gh-15901
Closes gh-15638
2019-02-13 17:44:45 +00:00
Stephane Nicoll
46bf82ca82
Upgrade to Spring Framework 5.1.5
...
Closes gh-15862
2019-02-13 09:18:46 +01:00
Stephane Nicoll
e38bd28271
Upgrade to Reactor Bom Californium-SR5
...
Closes gh-15878
2019-02-13 06:44:22 +01:00
Andy Wilkinson
a0cf4ec017
Add dependency now needed for javadoc generation on Java 11
...
See gh-15775
2019-02-12 17:33:32 +00:00
Andy Wilkinson
948bafa4d8
Repackage kotlin-module metadata beneath BOOT-INF/classes
...
Closes gh-15890
2019-02-12 16:41:15 +00:00
Andy Wilkinson
3a6d15acf6
Caution against using component scanning in an auto-configuration
...
Closes gh-15348
2019-02-12 16:34:05 +00:00
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
2019-02-12 16:26:19 +00:00
Stephane Nicoll
a1fbfbe6be
Polish contribution
...
Closes gh-15859
2019-02-12 17:17:29 +01:00
Matthias Stock
3c761cfc96
Polish 'Database Initialization' section
...
See gh-15859
2019-02-12 17:17:06 +01:00
Andy Wilkinson
ab8fcf0d71
Polish "Use class for @ConditionalOnClass"
...
See gh-15775
2019-02-12 15:45:05 +00:00
Johnny Lim
b423962c89
Use class for @ConditionalOnClass
...
See gh-15775
2019-02-12 15:45:00 +00:00
Andy Wilkinson
5ae7aeff21
Revert "Upgrade to Saaj Impl 1.5.1"
...
This reverts commit 1f47bd9717
.
See gh-15915
2019-02-12 15:26:45 +00:00
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
2019-02-12 14:05:36 +00:00
Andy Wilkinson
cc64398800
Revert "Upgrade to Couchbase Client 2.7.3"
...
This reverts commit 06feb728b8
.
See gh-15914
2019-02-12 13:53:43 +00:00
Stephane Nicoll
4469c46b0a
Polish "Document internationalization support"
...
Closes gh-15881
2019-02-12 13:34:53 +01:00
Kedar Joshi
989ac08f34
Document internationalization support
...
See gh-15881
2019-02-12 13:03:50 +01:00
Andy Wilkinson
ef10eed83f
Upgrade to Lombok 1.18.6
...
Closes gh-15928
2019-02-12 11:57:37 +00:00
Andy Wilkinson
3ec19362d6
Upgrade to Pooled Jms Version 1.0.4
...
Closes gh-15927
2019-02-12 11:57:37 +00:00
Andy Wilkinson
2ea9037aef
Upgrade to Liquibase 3.6.3
...
Closes gh-15926
2019-02-12 11:57:37 +00:00
Andy Wilkinson
4cd1e68660
Upgrade to Mimepull 1.9.11
...
Closes gh-15925
2019-02-12 11:57:37 +00:00
Andy Wilkinson
ba786048e0
Upgrade to Infinispan 9.4.6.Final
...
Closes gh-15924
2019-02-12 11:57:37 +00:00
Andy Wilkinson
8076dbc277
Upgrade to Groovy 2.5.6
...
Closes gh-15923
2019-02-12 11:57:37 +00:00
Andy Wilkinson
8b9b162675
Upgrade to Tomcat 9.0.16
...
Closes gh-15922
2019-02-12 11:57:37 +00:00
Andy Wilkinson
6dcf0ebb9b
Upgrade to Log4j2 2.11.2
...
Closes gh-15921
2019-02-12 11:30:46 +00:00
Andy Wilkinson
f8548d10b4
Upgrade to Artemis 2.6.4
...
Closes gh-15920
2019-02-12 11:30:45 +00:00
Andy Wilkinson
14212e9e22
Upgrade to Byte Buddy 1.9.10
...
Closes gh-15919
2019-02-12 11:30:44 +00:00
Andy Wilkinson
ec9fe4bed5
Upgrade to Mysql 8.0.15
...
Closes gh-15918
2019-02-12 11:30:43 +00:00
Andy Wilkinson
59e9396c7d
Upgrade to Undertow 2.0.17.Final
...
Closes gh-15917
2019-02-12 11:30:43 +00:00
Andy Wilkinson
c2b5d9655d
Upgrade to Rxjava2 2.2.6
...
Closes gh-15916
2019-02-12 11:30:42 +00:00
Andy Wilkinson
1f47bd9717
Upgrade to Saaj Impl 1.5.1
...
Closes gh-15915
2019-02-12 11:30:41 +00:00
Andy Wilkinson
06feb728b8
Upgrade to Couchbase Client 2.7.3
...
Closes gh-15914
2019-02-12 11:30:40 +00:00
Andy Wilkinson
0f2e13e707
Merge branch '2.0.x' into 2.1.x
2019-02-12 11:28:06 +00:00
Andy Wilkinson
103e072836
Upgrade to Thymeleaf Extras Java8time 3.0.3.RELEASE
...
Closes gh-15913
2019-02-12 11:17:54 +00:00
Andy Wilkinson
776e6bd47b
Upgrade to Neo4j Ogm 3.1.7
...
Closes gh-15912
2019-02-12 11:17:53 +00:00
Andy Wilkinson
4bc40f9c47
Upgrade to Hibernate 5.2.18.Final
...
Closes gh-15911
2019-02-12 11:17:52 +00:00
Andy Wilkinson
bb0d948f66
Upgrade to Janino 3.0.12
...
Closes gh-15910
2019-02-12 11:17:51 +00:00
Andy Wilkinson
33c32e8cb4
Upgrade to Reactor Bom Bismuth-SR16
...
Closes gh-15909
2019-02-12 11:17:50 +00:00
Andy Wilkinson
8ddf4a5a52
Upgrade to Netty 4.1.33.Final
...
Closes gh-15908
2019-02-12 11:17:49 +00:00
Andy Wilkinson
b16aa6b21c
Merge branch '1.5.x' into 2.0.x
2019-02-12 11:08:12 +00:00
Andy Wilkinson
a975c0ad16
Use Testcontainers’ CassandraContainer rather than our own
...
Closes gh-15901
2019-02-12 09:58:05 +00:00
Andy Wilkinson
8426d8854f
Import Testcontainers' bom rather than managing modules individually
...
Closes gh-15900
2019-02-12 09:46:20 +00:00
Andy Wilkinson
2884d99a5d
Complete move to Testcontainers' Neo4j container
...
Closes gh-15638
2019-02-12 09:46:11 +00:00
Andy Wilkinson
01b8e2c834
Polish “Replace custom Neo4j container with Testcontainers version”
...
See gh-15638
2019-02-12 09:25:07 +00:00
Michael Simons
316126e8f0
Replace custom Neo4j container with Testcontainers version
...
See gh-15638
2019-02-12 09:24:44 +00:00
Andy Wilkinson
a5aceb35d7
Upgrade to Testcontainers 1.10.6
...
Closes gh-15893
2019-02-11 19:59:32 +00:00
Andy Wilkinson
20f26c4d30
Polish "Fix stopping of Embedded Mongo before context is closed"
...
See gh-15692
2019-02-11 17:34:40 +00:00
Eugene
750246f021
Fix stopping of Embedded Mongo before context is closed
...
See gh-15692
2019-02-11 17:33:59 +00:00
Andy Wilkinson
295a660e35
Polish "Set NO_REQUEST_TIMEOUT as a server option not a socket option"
...
See gh-15822
2019-02-11 17:11:20 +00:00
ayudovin
dbce3731a4
Set NO_REQUEST_TIMEOUT as a server option not a socket option
...
See gh-15822
2019-02-11 17:08:16 +00:00
Jeffrey van der Laan
4f86233ca7
Do not auto-configure OEMIV filter when user defines registration bean
...
See gh-15889
2019-02-11 16:33:06 +00:00
Andy Wilkinson
3f32fbd0de
Polish "Remove unwanted @Nullable annotations"
...
See gh-15876
2019-02-11 16:11:40 +00:00
wonwoo
2855321074
Remove unwanted @Nullable annotations
...
See gh-15876
2019-02-11 16:07:29 +00:00
Andy Wilkinson
6fe9e3a0e1
Test the Gradle plugin against Gradle 5.2.1
...
Closes gh-15892
2019-02-11 15:51:14 +00:00
Andy Wilkinson
4faa0f51b7
Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
...
Closes gh-15791
2019-02-11 15:49:59 +00:00
dreis2211
1de372d896
Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
...
See gh-15791
2019-02-11 15:35:06 +00:00
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
2019-02-08 18:38:01 -08:00
Brian Clozel
c24f02696f
Upgrade to Californium-BUILD-SNAPSHOT
...
See gh-15878
2019-02-08 19:45:24 +01:00
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
2019-02-08 18:16:39 +01:00
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
2019-02-08 12:25:05 +01:00
Johnny Lim
885c28891b
Polish
...
Closes gh-15873
2019-02-08 09:20:15 +01:00
dreis2211
48295e16fc
Fix assertion
...
Closes gh-15871
2019-02-08 08:45:12 +01:00
Madhura Bhave
dc31f617b3
Document limitations of YAML documents & profile-specific files
...
Fixes gh-15790
2019-02-07 16:40:53 -08:00
Andy Wilkinson
688eb894d0
Start building against Micrometer 1.1.3 snapshots
...
See gh-15869
2019-02-07 12:44:10 +00:00
Andy Wilkinson
4efca4a455
Start building against Spring Session Bean-SR3 snapshots
...
See gh-15868
2019-02-07 12:43:26 +00:00