Commit Graph

5464 Commits (a336f29ce2fa37ba63376ef7e8ec8223c2b1c07a)

Author SHA1 Message Date
Stephane Nicoll 29b1b38cc6 Migrate Thymeleaf tests to application runner 6 years ago
Andy Wilkinson cf0811b0db Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson be32421b86 Merge branch '1.5.x' into 2.0.x 6 years ago
Krzysztof Koziol 17c0214cc6 Add missing class condition on thymeleaf-spring5
This commit adds an extra check for the presence of thymeleaf-spring5
library on the classpath. ThymeleafAutoConfiguration is now only
considered if both thymeleaf-spring5 and thymeleaf jars are present.

Closes gh-16341
6 years ago
Andy Wilkinson 5a3474c7a8 Polish "Use HTTPS for external links wherever possible"
See gh-16320
6 years ago
Spring Operator 9fc3ac7d49 Use HTTPS for external links wherever possible
See gh-16320
6 years ago
Andy Wilkinson 864942ad4f Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 14b21026bf Polish "Use HTTPS for external links wherever possible"
See gh-16319
6 years ago
Spring Operator 1a4c6f2dac Use HTTPS for external links wherever possible
See gh-16319
6 years ago
Andy Wilkinson ba4671f0ab Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll f417fa5c5b Add jaxb API to jersey starter
Closes gh-16268
6 years ago
Stephane Nicoll e57c0c0657 Do not attempt to add Jaxb customization if Jaxb is not present
See gh-16268
6 years ago
Stephane Nicoll c2f9e7dd43 Fix StreamsBuilderFactoryBean injection definition
Closes gh-16329
6 years ago
Andy Wilkinson 4900505425 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator a5dba01cb9 Use HTTPS for external links from XML files where possible
See gh-16314
6 years ago
Andy Wilkinson fedb40a2bf Merge branch '1.5.x' into 2.0.x 6 years ago
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
6 years ago
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
6 years ago
Stephane Nicoll 567a82f4ba Update multi release test jar to include Java 12
See gh-16212
6 years ago
Stephane Nicoll bd2cc6f48b Add missing condition on LogFile endpoint
See gh-16298
6 years ago
dreis2211 c2335e130c Test against Gradle 5.3
Closes gh-16294
6 years ago
Madhura Bhave 1ad52b651a Document using the same port for the management server on CF
Closes gh-15640
6 years ago
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
6 years ago
Madhura Bhave 6bd6279eff Document slice test behavior with @Configuration classes
Closes gh-16274
6 years ago
Andy Wilkinson e23f72c8b0 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 9fbd38ab3c Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 82c434d581 Upgrade to Solr 7.7.1
Closes gh-16273
6 years ago
Madhura Bhave 0c52c3fc55 Clarify ambiguous documentation in default security section
Closes gh-16033
6 years ago
Madhura Bhave 4a230fdec9 Document AssertJ's satisfies with extractingJsonPathNumberValue
Closes gh-16229
6 years ago
Spring Operator b32c0080c3 Update build and setup configuration to use HTTPS
See gh-16247
6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Andy Wilkinson 716b4e8acf Test the Gradle plugin against Gradle 5.3-rc-3
Closes gh-16211
6 years ago
Madhura Bhave 7ea8770524 Polish "Fix request factory used with withBasicAuth"
Fixes gh-15982
6 years ago
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
6 years ago
Stephane Nicoll 372802a203 Polish "Order the search locations in javadoc by precedence order"
Closes gh-16099
6 years ago
Muhammad Hewedy 4bac6c6688 Order the search locations in javadoc by precedence order
See gh-16099
6 years ago
Johnny Lim c5b5f752ed Polish
Closes gh-16219
6 years ago
Dmytro Nosan 2f3e5d65be Test server port shouldn't affect management port when random
Closes gh-16108
6 years ago
Ruslan Stelmachenko fcde648c50 Fix typo in logging.group property description
Closes gh-16224
6 years ago
Brian Clozel 9906ef2400 Merge branch '2.0.x' into 2.1.x 6 years ago
Brian Clozel 8866a25ef7 Polish Undertow tests 6 years ago
Brian Clozel 6138041578 Polish
Fixes gh-16014
6 years ago
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
6 years ago
Stephane Nicoll 765801983b Polish "Fix typo in spring-boot-features.adoc"
Closes gh-16213
6 years ago
Orangeroad0922 47169436ed Fix typo in spring-boot-features.adoc
See gh-16213
6 years ago
Stephane Nicoll f07de1bbe2 Polish "Update ambiguous documentation about ConfigurationProperties"
Closes gh-16166
6 years ago
Viktoriya Kutsarova 6b6ac28430 Update ambiguous documentation about ConfigurationProperties
See gh-16166
6 years ago
Stephane Nicoll 161c0b9fad Polish contribution
Closes gh-16170
6 years ago
ayudovin 51013421f2 Add support for Mustache, FreeMarker and Thymeleaf in WebFluxTest
See gh-16170
6 years ago
Stephane Nicoll 078bd890a6 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 50d0b4df46 Polish 6 years ago
Johnny Lim 00bda4dc2a Add dependency management for micrometer-registry-stackdriver
Closes gh-16178
6 years ago
Johnny Lim bcfbabe6cd Polish
Closes gh-16193
6 years ago
Phillip Webb fc3aa43cc2 Update copyright year for changed files 6 years ago
Phillip Webb f02887b6c6 Merge branch '2.0.x' into 2.1.x 6 years ago
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.
6 years ago
Phillip Webb 45ae97a4e9 Merge branch '2.0.x' into 2.1.x 6 years ago
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.
6 years ago
Andy Wilkinson f0ef693376 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson c2eeeb032c Work around javac bug 6 years ago
Andy Wilkinson 8c3cec8f13 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 361437f4e2 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson f574213cc8 Mark log file endpoint as producing text/plain
Closes gh-16188
6 years ago
Andy Wilkinson 7153525ee2 Annotation @JsonTest with @ExtendWith(SpringExtension.class)
Closes gh-16183
6 years ago
Andy Wilkinson 9d06d22b99 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson affdbeef41 Polish 6 years ago
Andy Wilkinson f46894dfd3 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 17a1b2822c Isolate LoggerContext state to each test
Closes gh-16162
6 years ago
Andy Wilkinson 9963ed1249 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 83216c34e5 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 80f2e2260e Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson e56580ddc6 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson a09713ee30 Upgrade to Infinispan 9.4.8.Final
Closes gh-16134
6 years ago
Andy Wilkinson de042114af Upgrade to Jetty Reactive Httpclient 1.0.3
Closes gh-16133
6 years ago
Andy Wilkinson c54ac68afa Upgrade to Undertow 2.0.19.Final
Closes gh-16132
6 years ago
Andy Wilkinson 33fdc5b471 Upgrade to Rxjava2 2.2.7
Closes gh-16131
6 years ago
Andy Wilkinson 2568bd6a83 Upgrade to Netty Tcnative 2.0.22.Final
Closes gh-16130
6 years ago
Andy Wilkinson 4f5eff6fa4 Upgrade to Lettuce 5.1.5.RELEASE
Closes gh-16129
6 years ago
Andy Wilkinson e01b76aa45 Upgrade to Hazelcast 3.11.2
Closes gh-16128
6 years ago
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 31ed042190 Return 503 when component or instance is down with WebFlux
Closes gh-16109
6 years ago
Stephane Nicoll 8d033e73d1 Polish
See gh-16094
6 years ago
Andy Wilkinson bdab9c4e31 Upgrade to Couchbase Client 2.7.4
Closes gh-15914
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 3242e89271 Polish
See gh-16083
6 years ago
Johnny Lim 907058d845 Rename Maven version property for PooledJMS
Closes gh-16086
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 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
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 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
XYUU 7aedb0a33d Fix a colon format
Closes gh-16054
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 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 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 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
Andy Wilkinson 53326695ea Polish 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 59430a2642 Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
Closes gh-16001
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
Stephane Nicoll 91a005f578 Resolve generic types in generated metadata
Closes gh-15850
6 years ago
Andy Wilkinson 51776af45d Include source of NoSuchMethodError in its failure analysis
Closes gh-15995
6 years ago
Andy Wilkinson 55426208ab Provide type information for optional thread dump endpoint response fields
Closes gh-15989
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
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 20c39dc554 Document missing keys mapped on third party types
Closes gh-15980
6 years ago
Stephane Nicoll 5916393b20 Upgrade to Spring Integration 5.1.3
Closes gh-15866
6 years ago
Madhura Bhave 012a956454 Fix typo in doc 6 years ago
Andy Wilkinson 33b9321071 Track condition evaluation per-context when determining delta
Closes gh-15766
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 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 90f059cf3a Upgrade to Spring Session Bean-SR3
Closes gh-15868
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 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 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 b645e0a581 Upgrade to Spring Kafka 2.2.4.RELEASE
Closes gh-15867
6 years ago
Andy Wilkinson a69eb3729c Upgrade to Spring Security 5.1.4.RELEASE
Closes gh-15863
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 9fb0b97f96 Decorate test containers so tests are skipped without Docker
Closes gh-15901
Closes gh-15638
6 years ago
Stephane Nicoll 46bf82ca82 Upgrade to Spring Framework 5.1.5
Closes gh-15862
6 years ago
Stephane Nicoll e38bd28271 Upgrade to Reactor Bom Californium-SR5
Closes gh-15878
6 years ago
Andy Wilkinson a0cf4ec017 Add dependency now needed for javadoc generation on Java 11
See gh-15775
6 years ago
Andy Wilkinson 948bafa4d8 Repackage kotlin-module metadata beneath BOOT-INF/classes
Closes gh-15890
6 years ago
Andy Wilkinson 3a6d15acf6 Caution against using component scanning in an auto-configuration
Closes gh-15348
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 a1fbfbe6be Polish contribution
Closes gh-15859
6 years ago
Matthias Stock 3c761cfc96 Polish 'Database Initialization' section
See gh-15859
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
Andy Wilkinson 5ae7aeff21 Revert "Upgrade to Saaj Impl 1.5.1"
This reverts commit 1f47bd9717.

See gh-15915
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 cc64398800 Revert "Upgrade to Couchbase Client 2.7.3"
This reverts commit 06feb728b8.

See gh-15914
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 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 a975c0ad16 Use Testcontainers’ CassandraContainer rather than our own
Closes gh-15901
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
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 a5aceb35d7 Upgrade to Testcontainers 1.10.6
Closes gh-15893
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
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
Jeffrey van der Laan 4f86233ca7 Do not auto-configure OEMIV filter when user defines registration bean
See gh-15889
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 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
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 c24f02696f Upgrade to Californium-BUILD-SNAPSHOT
See gh-15878
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 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
Johnny Lim 885c28891b Polish
Closes gh-15873
6 years ago
dreis2211 48295e16fc Fix assertion
Closes gh-15871
6 years ago
Madhura Bhave dc31f617b3 Document limitations of YAML documents & profile-specific files
Fixes gh-15790
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
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 1f67707509 Fix cast in TestRestTemplateContextCustomizer
Closes gh-15843
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 82bc87560c Use AssertJ’s exception assertions rather than fail
Closes gh-15761
6 years ago
Stephane Nicoll 9357a92503 Add reference to Codecentric's SOAP Web Services starter 6 years ago
Andy Wilkinson 2650a07dc9 Leave module-info.class in root of archive when repackaging
Closes gh-15810
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 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
Vedran Pavic d7550d73a3 Remove duplicate code from HealthWebEndpointResponseMapper
Closes gh-15784
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 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
Stephane Nicoll f0a20b1821 Polish contribution
Closes gh-15733
6 years ago
NAIT BELKACEM 6a0053c8bc Fix typo
See gh-15733
6 years ago
Stephane Nicoll 708ca0636f Clarify that Spring Boot uses the platform MBeanServer by default
Closes gh-15728
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
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 f0141dadab Revert "Upgrade to Glassfish Jaxb 2.3.2"
This reverts commit 6b952f5b65.

See gh-15689
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 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
Andy Wilkinson 6307cb5943 Disable Tomcat’s reference clearing
Closes gh-15101
6 years ago
Stephane Nicoll e95a6e8c5c Upgrade to Spring Kafka 2.2.3
Closes gh-15414
6 years ago
Stephane Nicoll c18a0756ac Upgrade to Spring Session Bean-SR2
Closes gh-15531
6 years ago
Stephane Nicoll def5c15a14 Upgrade to Spring Security 5.1.3
Closes gh-15417
6 years ago
Stephane Nicoll 211d7aee5d Upgrade to Spring Integration 5.1.2
Closes gh-15413
6 years ago
Stephane Nicoll 3fe3ff7be6 Upgrade to Spring AMQP 2.1.3
Closes gh-15407
6 years ago
Stephane Nicoll 89fcb8b381 Upgrade to Spring Session Apple-SR8
Closes gh-15530
6 years ago
Stephane Nicoll aaadc620da Upgrade to Spring Security 5.0.11
Closes gh-15416
6 years ago
Stephane Nicoll 3c917bc80f Upgrade to Spring Integration 5.0.11
Closes gh-15412
6 years ago
Stephane Nicoll e1c2eb04e0 Upgrade to Spring AMQP 2.0.11
Closes gh-15406
6 years ago
Madhura Bhave b345fc8574 Fix validation when key matching the prefix is set
Fixes gh-15597
6 years ago
Andy Wilkinson b9d2fab70c Upgrade to Reactor Bom Bismuth-SR15
Closes gh-15676
6 years ago
Stephane Nicoll 7529179d39 Upgrade to Spring Data Lovelace SR4
Closes gh-15410
6 years ago
Stephane Nicoll 8722d02c1e Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll c8c047d3d8 Upgrade to Spring Data Kay SR13
Closes gh-15409
6 years ago
Stephane Nicoll a697d641e7 Upgrade to Neo4j Ogm 3.1.6
Closes gh-15671
6 years ago
Stephane Nicoll cdf76e34a9 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 44dc29901b Upgrade to Micrometer 1.0.9
Closes gh-15669
6 years ago
Stephane Nicoll 9a35a037a9 Upgrade to Spring Web Services 3.0.6.RELEASE
Closes gh-15667
6 years ago
Stephane Nicoll 5a5367591a Upgrade to Spring Framework 5.1.4.RELEASE
Closes gh-15493
6 years ago
Stephane Nicoll e28b802775 Upgrade to Spring Framework 5.0.12.RELEASE
Closes gh-15528
6 years ago
Brian Clozel 958e08c413 Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 95e26ffcb9 Avoid uri tag explosion when use of path variable is undetected
This commit aligns the Spring WebFlux instrumentation on Spring MVC
since gh-12447.
From now on, if the best matching path pattern is not found,
the recorded uri tag will be "UNKNOWN".

Note that for WebFlux.fn, the pattern information is properly
recorded as of SPR-17395.

Closes gh-15609
6 years ago
Brian Clozel 6200a319f2 Polish
Closes gh-15385
6 years ago
ayudovin e9588ca04b Support server.connection-timeout for Netty server 6 years ago
Brian Clozel c40e61c117 Merge branch '2.0.x' into 2.1.x 6 years ago
Brian Clozel 0e13fd039d Configure HTTP compression for HTTP/2 with Tomcat
This commit ensures that the compression options are also applied on the
`Http2Protocol` when http/2 is enabled with Tomcat.

Closes gh-15591
6 years ago
Stephane Nicoll ca7f338a39 Polish "Remove redundant throws Exception"
Closes gh-15647
6 years ago
Stephane Nicoll 02581c005a Polish "Fix typo"
Closes gh-15642
6 years ago
Michael Simons 7a2313892c Fix typo
See gh-15642
6 years ago
小呆 e5b2aeb5da Remove redundant throws Exception
Closes gh-15645
6 years ago
Stephane Nicoll 4670770da9 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 7330b8b16f Upgrade to Hibernate Validator 6.0.14.Final
Closes gh-15639
6 years ago
Stephane Nicoll 830da28b8c Fix JPA bootstrap executor detection with multiple candidates
Spring Boot provides two separate auto-configurations that can
potentially expose an `AsyncTaskExecutor` implementation so relying on
the presence of a single instance is too weak.

This commit fixes the detection of the AsyncTaskExecutor that can be
used to bootstrap JPA so that a single instance is used and, in the case
more than one exists, the one named `applicationTaskExecutor`.

Closes gh-15447
6 years ago
Stephane Nicoll d4992777b9 Improve TaskExecution documentation with custom Executor and Spring MVC
Closes gh-15447
6 years ago
Stephane Nicoll 6ad01a6dfc Optimize ConditionalOnEnabledEndpoint usage
Closes gh-15451
6 years ago
Stephane Nicoll 2d2aa96c05 Allow ConditionalOnEnabledEndpoint to be set at class level
See gh-15451
6 years ago
Stephane Nicoll 580c73a026 Upgrade to Jooq 3.11.9
Closes gh-15617
6 years ago
Stephane Nicoll b0dbe09b8c Upgrade to Ehcache3 3.6.3
Closes gh-15616
6 years ago
Stephane Nicoll 232f0fe894 Upgrade to Groovy 2.5.5
Closes gh-15615
6 years ago
Stephane Nicoll 383da2183e Upgrade to Rxjava2 2.2.5
Closes gh-15614
6 years ago
Stephane Nicoll a713e598e7 Upgrade to Dropwizard Metrics 4.0.5
Closes gh-15613
6 years ago
Stephane Nicoll 8024c2c543 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll d909b722f6 Upgrade to Maven Assembly Plugin 3.1.1
Closes gh-15612
6 years ago
Stephane Nicoll 1132ad411d Upgrade to Johnzon Jsonb 1.1.11
Closes gh-15611
6 years ago
Johnny Lim c41dc4e0cb Fix the anchor for the Micrometer Elasticsearch section
Closes gh-15610
6 years ago
Stephane Nicoll 4729d170a8 Polish "Ensure checking customizer ordering"
Closes gh-15603
6 years ago
Tadaya Tsuyukubo b34e752db6 Ensure checking customizer ordering
See gh-15603
6 years ago
Madhura Bhave 5b990605dc Polish "Order actuator security config after resource-server config"
Closes gh-15472
6 years ago
Stephen Doxsee 4597e7cc82 Order actuator security config after resource-server config
See gh-15472
6 years ago
Madhura Bhave d1e1a82b32 Support binding to collection with EnumSet values
Fixes gh-15539
6 years ago
Oleksii Bondar b52dddf784 Refactor OAuth2ClientPropertiesRegistrationAdapterTests
Closes gh-15586
6 years ago
Stephane Nicoll c6202b57e0 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll be161b23cb Polish class conditions documentation
Closes gh-15578
6 years ago
Stephane Nicoll a8efcadc90 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 4509164789 Polish "Add unit test for cassandra health checker"
Closes gh-15583
6 years ago
Oleksii Bondar db22a81742 Add unit test for cassandra health checker
See gh-15583
6 years ago
Stephane Nicoll 8e8910b2ff Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 4cae2c9c94 Polish "Avoid NPE when replacement property does not exist"
Closes gh-15394
6 years ago
hdeadman a1b71ef910 Avoid NPE when replacement property does not exist
See gh-15394
6 years ago
Stephane Nicoll 27a611f635 Restore reference to nutz third party starter
Closes gh-15564
6 years ago
Erik Mulder 00763af335 Fix system properties override example
Closes gh-15562
6 years ago
Andy Wilkinson 83ce5dcee8 Add missing task output annotations to BootJar and BootWar
Closes gh-15488
6 years ago
Andy Wilkinson bfd63ab085 Polish "Stop JtaAutoConfiguration from enabling JtaProperties when not used"
Closes gh-15550
6 years ago
Nishant Raut 0b29da14b3 Stop JtaAutoConfiguration from enabling JtaProperties when not used
See gh-15550
6 years ago
dreis2211 9ffb4f69cd Polish javadoc of ConfigurableUndertowWebServerFactory method
Closes gh-15536
6 years ago
Stephane Nicoll 51d3626c3b Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 27e89bbb8a Optimize StringSequence
Closes gh-15473
6 years ago
Stephane Nicoll 06989d884b Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15438
6 years ago
igor-suhorukov e578d30722 Replace anonymous inner class with lambda
See gh-15438
6 years ago
Andy Wilkinson 3a7406fe3a Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 0741c90489 Avoid blocking on a Mono indefinitely
Closes gh-15535
6 years ago
Andy Wilkinson 84a064a7dc Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 6403ec6e1b Revert "Upgrade to Netty 4.1.32.Final"
This reverts commit f9ce6c9dc2.

See gh-15505
6 years ago
Andy Wilkinson f89682eae7 Add dependency management for xmlunit-assertj and xmlunit-placeholders
Closes gh-15532
6 years ago
Andy Wilkinson 974c4bfdb3 Polish 6 years ago
Andy Wilkinson cedcf157ab Start building against Spring Session Bean-SR2 snapshots
See gh-15531
6 years ago
Andy Wilkinson 0a1add7116 Start building against Spring Session Apple-SR8 snapshots
See gh-15530
6 years ago
Andy Wilkinson ad489baaa3 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 658930acea Start building against Spring Framework 5.0.12 snapshots
See gh-15528
6 years ago
Andy Wilkinson d5c8caab59 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 7b58f9a79e Upgrade to Maven Jar Plugin 3.1.1
Closes gh-15518
6 years ago
Andy Wilkinson 7f80bae0d9 Upgrade to Maven Help Plugin 3.1.1
Closes gh-15517
6 years ago
Andy Wilkinson 525c6970eb Upgrade to Jedis 2.9.1
Closes gh-15516
6 years ago
Andy Wilkinson 6d0e357613 Upgrade to Infinispan 9.4.5.Final
Closes gh-15515
6 years ago
Andy Wilkinson f364439825 Upgrade to Flyway 5.2.4
Closes gh-15514
6 years ago
Andy Wilkinson 4d6e8ca205 Upgrade to Tomcat 9.0.14
Closes gh-15513
6 years ago
Andy Wilkinson 8abcf22f6a Upgrade to Byte Buddy 1.9.6
Closes gh-15512
6 years ago
Andy Wilkinson 2c0eddd28a Upgrade to Embedded Mongo 2.1.2
Closes gh-15511
6 years ago
Andy Wilkinson 2b0976a45f Upgrade to Hazelcast 3.11.1
Closes gh-15510
6 years ago
Andy Wilkinson bec7257508 Upgrade to Couchbase Client 2.7.2
Closes gh-15509
6 years ago
Andy Wilkinson a6a7c95d65 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 86280f1db2 Upgrade to Jedis 2.9.1
Closes gh-15508
6 years ago
Andy Wilkinson 172a930e31 Upgrade to Jetty El 8.5.35.1
Closes gh-15507
6 years ago
Andy Wilkinson 5ede23226b Upgrade to Elasticsearch 5.6.14
Closes gh-15506
6 years ago
Andy Wilkinson f9ce6c9dc2 Upgrade to Netty 4.1.32.Final
Closes gh-15505
6 years ago
Andy Wilkinson e2433280c2 Upgrade to Jackson 2.9.8
Closes gh-15504
6 years ago
Andy Wilkinson 0a23f3b286 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 43d64ba580 Add dependency management for groovy-jaxb introduced in 2.5.1
Closes gh-15468
6 years ago
Andy Wilkinson 4101e15421 Add dependency management for missing Groovy 2.5 modules
Closes gh-15468
6 years ago
Andy Wilkinson 33fb1fa9a3 Avoid creating meter binders before registry has been customized
Previously, MeterRegistryPostProcessor would trigger the creation of all
meter binders and meter registry customizers before applying the
customizers and calling the binders. In some situations with complex
dependency graphs where the creation of a binder and the injection of
its dependencies inadvertently triggered some meter binding, this
could result in meters being bound before the registry had been
customized.

This commit reworks MeterRegistryPostProcessor and MeterRegistryConfigurer
to defer the retrieval of registry customizers and meter binders until
just before they are needed. As a result, customizers are now retrieved
and applied before the binders are retrieved.

Closes gh-15483
6 years ago
Andy Wilkinson 007916f1ce Start building against Spring Framework 5.1.4 snapshots
See gh-15493
6 years ago
Stephane Nicoll 7dbe70dc61 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll c0b07a9429 Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15465
6 years ago
dreis2211 2a0680c2ba Fix StringSequence.equals() for different lengths
See gh-15465
6 years ago
Stephane Nicoll af3fada396 Polish "Add missing dependency management entry for hibernate-vibur"
Closes gh-15467
6 years ago
vasili pispanen c955906c3e Add missing dependency management entry for hibernate-vibur
See gh-15467
6 years ago
dreis2211 948902f090 Avoid unnecessary usage of ReflectionTestUtils
Closes gh-15482
6 years ago
Stephane Nicoll 80cfff753a Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll a6ff7c786a Remove test starter from core module
Closes gh-15463
6 years ago
Brian Clozel 036aace2cc Add details in Jest ElasticSearch HealthIndicator
This commit polishes the previous one and aligns the Jest
HealthIndicator with the changes made for the REST variant.

Closes gh-15366
6 years ago
Filip Hrisafov 1ec2bbf54f Include details in ElasticsearchRestHealthIndicator
This commit adds more information to the ElasticSearch REST
health indicator.

When the ES instance responds with an error HTTP status,
the health details now include the actual status code and reason phrase.
When the ES instance returns a HTTP 200 response, the entire response
map is used as health details.

See gh-15366
6 years ago
Andy Wilkinson 71b29684b3 Remove redundant field type configuration
See gh-15435
6 years ago
Stephane Nicoll 38e4d330b0 Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 0f92b139f3 Remove Mockito 1 leftover
Closes gh-15422
6 years ago
Madhura Bhave 3cc441c83e Do not remove trailing slash from OAuth2 Issuer URI
Fixes gh-15324
6 years ago
Andy Wilkinson d05ae40c99 Remove redundant field type and optional configuration
See gh-15435
6 years ago
Andy Wilkinson ef4ea591b3 Mark nested optional fields as optional
See gh-15435
6 years ago
Andy Wilkinson 6752be9333 Exclude logback-classic from liquibase-core
Closes gh-15436
6 years ago
Andy Wilkinson 9dc2116351 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 554e7061ce Upgrade to Spring Restdocs 2.0.3.RELEASE
Closes gh-15435
6 years ago
Madhura Bhave a11dea46d7 Use the right class in @ConditionalOnClass
See gh-15372
6 years ago
Madhura Bhave f13697b278 Make Resource Server auto-config conditional on JwtDecoder class
Fixes gh-15372
6 years ago
Madhura Bhave 31a5e85ab6 Perform placeholder resolution in test env post processor
Fixes gh-15354
6 years ago
Andy Wilkinson 4c6c07ddbb Start building against Spring AMQP 2.1.3 snapshots
See gh-15407
6 years ago
Andy Wilkinson f04f74870a Start building against Spring Data Lovelace SR4 snapshots
See gh-15410
6 years ago
Andy Wilkinson 96f1a394b8 Start building against Spring Integration 5.1.2 snapshots
See gh-15413
6 years ago
Andy Wilkinson e27d3d0d5e Start building against Spring Kafka 2.2.3
See gh-15414
6 years ago
Andy Wilkinson b01d5f62a4 Start building against Spring Security 5.1.3 snapshots
See gh-15417
6 years ago
Andy Wilkinson a5f5ead520 Start building against Spring AMQP 2.0.11 snapshots
See gh-15406
6 years ago
Andy Wilkinson 5e640877c9 Start building against Spring Data Kay SR13 snapshots
See gh-15409
6 years ago
Andy Wilkinson 12a844d7da Start building against Spring Integration 5.0.11 snapshots
See gh-15412
6 years ago
Andy Wilkinson 5336c8ccde Start building against Spring Security 5.0.11 snapshots
See gh-15416
6 years ago
Stephane Nicoll c84d199cb7 Upgrade to Flyway 5.2.4
Closes gh-15402
6 years ago
Stephane Nicoll bd21113e9f Fix indent of WebServiceTemplate section
Closes gh-15389
6 years ago
Stephane Nicoll ef40241bf6 Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 d864b427eb Remove unused ByteArrayStartsWith matcher
Closes gh-15386
6 years ago
Stephane Nicoll 185a49fb3b Add reference to JaVers starter 6 years ago
Stephane Nicoll c56c0ff433 Rename OAuth2ResourceServerJwkConfiguration
Closes gh-15375
6 years ago
Andy Wilkinson 42b58f6d27 Add JAXB API dependency that is no longer transitive via testcontainers
See gh-15371
6 years ago
Andy Wilkinson 917108cce7 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 425a3aacf5 Add JAXB API dependency that is no longer transitive via testcontainers
See gh-15371
6 years ago
Andy Wilkinson 07065532fe Replace accidental use of code shaded by Testcontainers
See gh-15371
6 years ago
Andy Wilkinson 910a0e57b8 Drop dependency management for DropWizard Metrics modules removed in v4
Closes gh-15370
6 years ago
Andy Wilkinson 72ad0cc6be Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 3fd0380359 Correct optional dependency declarations in spring-boot-test-support
Closes gh-15371
6 years ago
Phillip Webb 9c426c63bf Polish 6 years ago
Phillip Webb ed9468a31a Update copyright year for changed files 6 years ago
Phillip Webb 81896e0222 Upgrade to Micrometer 1.1.1
Closes gh-15328
6 years ago
Phillip Webb 73d87ac112 Upgrade to Micrometer 1.0.8
Closes gh-15327
6 years ago
Phillip Webb ba1ef52e39 Merge branch '2.0.x' 6 years ago
Phillip Webb 893d5666be Update copyright year for changed files 6 years ago
Phillip Webb 74376aa023 Polish 6 years ago
Andy Wilkinson ac322a8e30 Polish 6 years ago
Andy Wilkinson 789f18259f Upgrade to Infinispan 9.4.3.Final
Closes gh-15338
6 years ago
Andy Wilkinson d6adda1ec9 Upgrade to Flyway 5.2.3
Closes gh-15337
6 years ago
Andy Wilkinson ebd6f4d0e5 Upgrade to Jetty Reactive Httpclient 1.0.2
Closes gh-15336
6 years ago
Andy Wilkinson a02c0c9881 Upgrade to Byte Buddy 1.9.5
Closes gh-15335
6 years ago
Andy Wilkinson 1ea3444e76 Upgrade to Undertow 2.0.16.Final
Closes gh-15334
6 years ago
Andy Wilkinson 9f4d55766b Upgrade to Rxjava2 2.2.4
Closes gh-15333
6 years ago
Andy Wilkinson 4feda19072 Upgrade to Netty Tcnative 2.0.20.Final
Closes gh-15332
6 years ago
Andy Wilkinson f29f73c295 Upgrade to Lettuce 5.1.3.RELEASE
Closes gh-15331
6 years ago
Andy Wilkinson d0fcbd106b Merge branch '2.0.x' 6 years ago
Andy Wilkinson 28cd017347 Upgrade to Thymeleaf Extras Java8time 3.0.2.RELEASE
Closes gh-15330
6 years ago
Andy Wilkinson b709f7afaa Upgrade to Netty 4.1.31.Final
Closes gh-15329
6 years ago
Andy Wilkinson 9a25c2ce7e Start building against Micrometer 1.1.1 snapshots
See gh-15328
6 years ago
Andy Wilkinson ca11e83857 Start building against Micrometer 1.0.8 snapshots
See gh-15327
6 years ago
Andy Wilkinson 321da6c578 Upgrade to Spring Session Apple SR-7
Closes gh-15254
6 years ago
Andy Wilkinson cdecd053c3 Upgrade to Spring Session Bean-SR1
Closes gh-15275
6 years ago
Andy Wilkinson 79102454b2 Upgrade to Spring Integration 5.1.1.RELEASE
Closes gh-15272
6 years ago
Andy Wilkinson 452028e347 Upgrade to Spring Integration 5.0.10.RELEASE
Closes gh-15251
6 years ago
Madhura Bhave 427d494d57 Merge branch '2.0.x' 6 years ago
Madhura Bhave 02a1c43587 Fix tests 6 years ago
Madhura Bhave fc6c07ad3c Merge branch '2.0.x' 6 years ago
Madhura Bhave decaacddce Account for application path for Jersey servlet endpoints
Closes gh-14895
6 years ago
Andy Wilkinson 8560010bd4 Upgrade to Spring Kafka 2.1.11.RELEASE
Closes gh-15315
6 years ago
Andy Wilkinson 5fab0aee43 Upgrade to Spring AMQP 2.0.10.RELEASE
Closes gh-15256
6 years ago
Andy Wilkinson edbca5f4c0 Upgrade to Spring Security 5.0.10.RELEASE
Closes gh-15253
6 years ago
Andy Wilkinson 33e67f5847 Upgrade to Spring Kafka 2.2.2.RELEASE
Closes gh-15273
6 years ago
Andy Wilkinson 524a68209a Upgrade to Spring AMQP 2.1.2.RELEASE
Closes gh-15271
6 years ago
Andy Wilkinson 3178e3f34b Upgrade to Spring Security 5.1.2.RELEASE
Closes gh-15274
6 years ago
Brian Clozel d12e42e8d5 Polish
Closes gh-15211
6 years ago
artsiom 0a4ba499df Add Actuator health checks for Elasticsearch REST clients
This commit adds `ElasticsearchRestHealthIndicator`, a new
`HealthIndicator` for Elasticsearch, using the Elasticsearch "low level
rest client" provided by the
`"org.elasticsearch.client:elasticsearch-rest-client"` dependency.

Note that Spring Boot will auto-configure both low and high level REST
clients, but since the high level one is using the former, a single
health indicator will cover both cases.

See gh-15211
6 years ago
Andy Wilkinson 6a766cf919 Start building against Spring Kafka 2.2.2 snapshots
See gh-15273
6 years ago
Stephane Nicoll 114347107e Polish key description 6 years ago
Stephane Nicoll 33000b6e8e Polish contribution
Closes gh-14985
6 years ago
Alon Bar-Lev 108f28417e Allow to disable SSL client authentication on the management port
When server and management are at different ports, and when server
requires TLS client authentication, then there is no simple method to
disable TLS client authentication for management port.

This commit adds an additional "none" option to ssl.client-auth.

Example:

    server.port=8080
    server.ssl.enabled=true
    server.ssl.client-auth=need
    management.server.port=8081
    management.server.ssl.enabled=true
    management.server.ssl.client-auth=none

See gh-14985
6 years ago
Stephane Nicoll 476fe6ed17 Stop configuring metrics if hibernate is not available
Closes gh-15317
6 years ago
Stephane Nicoll 5f145ac482 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b103e0c869 Polish "Unwrap DataSource target rather than plain instanceof calls"
Closes gh-15227
6 years ago
Stephane Nicoll 98378e210d Start building against Spring Kafka 2.1.11 snapshots
See gh-15315
6 years ago
dreis2211 17f04b8b75 Replace DirectFieldAccessor usages by hasFieldOrPropertyWithValue
Closes gh-15312
6 years ago
Andy Wilkinson 2dc8f49f8a Polish 6 years ago
Andy Wilkinson dad6d4beca Merge branch '2.0.x' 6 years ago
Andy Wilkinson 2b22b23aad Polish 6 years ago
Andy Wilkinson cf7664c01a Cope with version not found in Embedded Mongo's Version enum
Closes gh-15311
6 years ago
Andy Wilkinson dee8085f20 Merge branch '2.0.x' 6 years ago
Johannes Zick 83cf348ec8 Warn about Quartz dropping tables on restart
Closes gh-15295
6 years ago
Andy Wilkinson 760003b9d7 Polish "Document that test slices should not be combined"
Closes gh-15310
6 years ago
dreis2211 29cd1cc762 Document that test slices should not be combined
See gh-15310
6 years ago
Andy Wilkinson b094e28081 Remove auto-configuration of RequestContextFilter when using Jersey
Closes gh-15048
6 years ago
Andy Wilkinson 643b0f84da Merge branch '2.0.x' 6 years ago
Andy Wilkinson ab39e50ece List Gradle's Shadow Plugin as an alternative to Boot's loader
Closes gh-1828
6 years ago
Andy Wilkinson e1ad5641d5 Polish "Trim whitespace when coercing to a LogLevel"
Closes gh-15143
6 years ago
Dileep Bapat dfe94a0abb Trim whitespace when coercing to a LogLevel
See gh-15143
6 years ago
Stephane Nicoll d6571c0157 Upgrade to Reactor Californium-SR3
Closes gh-15192
6 years ago
Stephane Nicoll bf88a7e466 Be more lenient when repackage is invoked several times
This commit makes the repackager more lenient when it is invoked several
times in the same lifecycle.

Closes gh-15034
6 years ago
Stephane Nicoll d7fe3c73a3 Provide better logging for RepackageMojo
Closes gh-15294
6 years ago
Andy Wilkinson 9331390079 Upgrade to Spring Data Lovelace-SR3
Closes gh-15191
6 years ago
Andy Wilkinson fb3deab89d Merge branch '2.0.x' 6 years ago
Andy Wilkinson e81abc3f11 Order jacksonCodecCustomizer so user-provided customizer can go after it
Closes gh-15167
6 years ago
Andy Wilkinson 971adfcd5b Merge branch '2.0.x' 6 years ago
Andy Wilkinson e6dd11254c Polish 6 years ago
Andy Wilkinson 51a5b841dd Merge branch '2.0.x' 6 years ago
Andy Wilkinson 4a385e89bd Mention fully executable jars in Jersey’s scanning limitations
Closes gh-3413
6 years ago
Andy Wilkinson 669eeef29b Merge branch '2.0.x' 6 years ago
Andy Wilkinson 1f994b70b5 Correct description of file generated by heapdump endpoint
Closes gh-15016
6 years ago
Andy Wilkinson 1d029a09e2 Start building against Spring Data Lovelace-$R3 snapshots
See gh-15191
6 years ago
Andy Wilkinson f9a3b79e97 Merge branch '2.0.x' 6 years ago
Andy Wilkinson ae5d5235f6 Upgrade to Spring Data Kay-SR12
Closes gh-14893
6 years ago
Andy Wilkinson 376e7fdfa1 Document profile activation limitation of .spring-boot-devtools.properties
Closes gh-15151
6 years ago
Andy Wilkinson 6729e56f6b Merge branch '2.0.x' 6 years ago
Andy Wilkinson e74b084c67 Auto-configure codec customizations and JSON when using @WebFluxTest
Closes gh-15070
6 years ago
Andy Wilkinson f6a22a05b8 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9553d4f64b Polish "Auto-configure Spring Session's cookie serializer"
Closes gh-15163
6 years ago
Vedran Pavic 0daf83efab Auto-configure Spring Session's cookie serializer
See gh-15163
6 years ago
Stephane Nicoll dfab0b4231 Upgrade to Spring Framework 5.1.3
Closes gh-15186
6 years ago
Stephane Nicoll e89d1a8ebe Upgrade to Spring Framework 5.0.11
Closes gh-15189
6 years ago
Stephane Nicoll 8928cd1982 Deprecate spring.rabbitmq.template.queue
Closes gh-15301
6 years ago
Stephane Nicoll a240e22593 Adapt to Rabbit internal change
See gh-15271
6 years ago
Andy Wilkinson cf525dabd2 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 69edf8960f Correct stale reference to embeddedLaunchScriptProperties with Gradle
Closes gh-15094
6 years ago
Andy Wilkinson de8c353cec Merge branch '2.0.x' 6 years ago
Andy Wilkinson 898d9f80f3 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson fa7be63fbb Merge branch '2.0.x' 6 years ago
Andy Wilkinson 7ddbb37bd5 Polish 6 years ago
Andy Wilkinson 073ac7bc99 Fix Thymeleaf security dialect tests on Windows 6 years ago
Andy Wilkinson a0d0ecf9d4 Test the Gradle plugin against Gradle 5.0
Closes gh-15171
6 years ago
Andy Wilkinson 5a9ff6a3cb Merge branch '2.0.x' 6 years ago
Andy Wilkinson 5201584c60 Upgrade to Neo4j Ogm 3.1.5
Closes gh-15293
6 years ago
Andy Wilkinson 55721f06df Upgrade to Kotlin 1.2.71
Closes gh-15292
6 years ago
Andy Wilkinson c73fdc4ce4 Merge branch '2.0.x' 6 years ago
Andy Wilkinson d2756319cb Polish 6 years ago
Andy Wilkinson 1c4a26557c Polish 6 years ago
Andy Wilkinson c1bbcb6908 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 4bc32e6358 Use a HandlerInterceptor for timing long tasks
Closes gh-15204
6 years ago
Stephane Nicoll f43a83fa4f Upgrade to Junit Jupiter 5.3.2
Closes gh-15286
6 years ago
Stephane Nicoll ae1979f1ff Merge branch '2.0.x' 6 years ago
Stephane Nicoll 5f0ac46d78 Unwrap DataSource target rather than plain instanceof calls
Closes gh-15227
6 years ago
Stephane Nicoll e424dfbe15 Polish "Perform best effort to retrieve DataSourceProxy"
Closes gh-15206
6 years ago
Tadaya Tsuyukubo 26f9a92837 Perform best effort to retrieve DataSourceProxy
Prior to this commit, `DataSourceJmxConfiguration` with tomcat
`DataSource`, it can only find `DataSourceProxy` if the given
`DataSource` is a direct child of it.  Since it uses `instanceof`, it
could not find `DataSourceProxy` if the `DataSource` is
wrapped(delegated) or proxied.

This is because `DataSourceProxy#unwrap()` always returns null; thus
cannot use this method to directly obtain `DataSourceProxy`.

In this commit, updated the check logic to perform the best effort to
retrieve `DataSourceProxy`. If given `DataSource` is wrapped or proxied
by spring, tries to unwrap or get target datasource recursively to find
`DataSourceProxy`.

See gh-15206
6 years ago
Andy Wilkinson ee2107c91b Merge branch '2.0.x' 6 years ago
Andy Wilkinson 44632ea55c Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 548cc05bb6 Polish 6 years ago
Andy Wilkinson 5a246ce24d Merge branch '2.0.x' 6 years ago
Andy Wilkinson 8772f90e2f Polish 6 years ago
Andy Wilkinson 35cce76ae8 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 3331fa2d02 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 1797040e1a Merge branch '2.0.x' 6 years ago
Andy Wilkinson a54de61e61 Polish
Revert change inadvertently committed as part of gh-15017
6 years ago
Andy Wilkinson 4f405ed97d Merge branch '2.0.x' 6 years ago
Andy Wilkinson 058428a14c Clarify how multiple attributes are treated by ConditionalOn(Missing)Bean
Closes gh-15177
6 years ago
Andy Wilkinson f25c32e8b9 Merge branch '2.0.x' 6 years ago
Andy Wilkinson d104205880 Update docs to reflect that @AutoConfigureRestDocs supports WebTestClient
Closes gh-15220
6 years ago
Andy Wilkinson deeb961c6e Merge branch '2.0.x' 6 years ago
Andy Wilkinson 1f39b5dd7a Align MeterRegistryConfigurer's javadoc with its implementation
Closes gh-15017
6 years ago
Andy Wilkinson 56519e5cbb Merge branch '2.0.x' 6 years ago
Andy Wilkinson 8ee57ac574 Remove redundant suggestion to add a dependency on Woodstox
It's now a transitive dependency of jackson-dataformat-xml so there is no
need to depend on it explicitly.

Closes gh-15092
6 years ago
Andy Wilkinson 7790876575 Merge branch '2.0.x' 6 years ago
Andy Wilkinson c0e286b96b Test the Gradle Plugin against Gradle 5.0-rc-3
Closes gh-15171
6 years ago
Andy Wilkinson ce0a3d0311 Add missing classpath setters to BootJar and BootWar
Closes gh-15087
6 years ago
Andy Wilkinson 3bda78a3d3 Fix tests after HandlerExceptionResolver logging changes
See gh-14936 and gh-15189
6 years ago
Andy Wilkinson b5433cd862 Revert "Upgrade to Selenium Htmlunit 2.33.3"
This reverts commit 3048b7a218.

See gh-15269
6 years ago
Andy Wilkinson 27ef03a2c1 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 97f7984812 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson ee8aca77eb Start building against Spring Session Bean-SR1 snapshots
See gh-15275
6 years ago
Andy Wilkinson fc6df83f56 Start building against Spring Security 5.1.2 snapshots
See gh-15274
6 years ago
Andy Wilkinson 449b40f6fc Start building against Spring Kafka 2.2.1 snapshots
See gh-15273
6 years ago
Andy Wilkinson 848121288c Start building against Spring Integration 5.1.1 snapshots
See gh-15272
6 years ago
Andy Wilkinson 3d4838c055 Start building against Spring AMQP 2.1.2 snapshots
See gh-15271
6 years ago
Andy Wilkinson df918bae5d Upgrade to Maven Shade Plugin 3.2.1
Closes gh-15270
6 years ago
Andy Wilkinson 3048b7a218 Upgrade to Selenium Htmlunit 2.33.3
Closes gh-15269
6 years ago
Andy Wilkinson a2ff9b7d35 Upgrade to Lombok 1.18.4
Closes gh-15268
6 years ago
Andy Wilkinson b73cf9f738 Upgrade to Mockito 2.23.4
Closes gh-15267
6 years ago
Andy Wilkinson 1a8ac57a2f Upgrade to Jooq 3.11.7
Closes gh-15266
6 years ago
Andy Wilkinson 88bec38961 Upgrade to Infinispan 9.4.2.Final
Closes gh-15265
6 years ago
Andy Wilkinson 58750624bc Upgrade to Elasticsearch 6.4.3
Closes gh-15264
6 years ago
Andy Wilkinson fa4de5eb78 Upgrade to Ehcache3 3.6.2
Closes gh-15263
6 years ago
Andy Wilkinson e0761b814d Upgrade to Groovy 2.5.4
Closes gh-15262
6 years ago
Andy Wilkinson 19a8fb56c7 Upgrade to Tomcat 9.0.13
Closes gh-15261
6 years ago
Andy Wilkinson 6753b247e1 Upgrade to Kafka 2.0.1
Closes gh-15260
6 years ago
Andy Wilkinson b028ac75a6 Upgrade to Byte Buddy 1.9.4
Closes gh-15259
6 years ago
Andy Wilkinson c4a0364a55 Upgrade to Undertow 2.0.15.Final
Closes gh-15258
6 years ago
Andy Wilkinson 2ea4852575 Upgrade to Couchbase Client 2.7.1
Closes gh-15257
6 years ago
Andy Wilkinson 0b5f52ef0b Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9ca96cb751 Start building against Spring Framework 5.1.1 snapshots
See gh-15189
6 years ago
Andy Wilkinson 39bec2c50f Start building against Spring Integration 5.0.10 snapshots
See gh-15251
6 years ago
Andy Wilkinson 00f1e92350 Start building against Spring Session Apple-SR7 snapshots
See gh-15254
6 years ago
Andy Wilkinson 739de913d5 Start building against Spring AMQP 2.0.10 snapshots
See gh-15256
6 years ago
Andy Wilkinson de84a51f26 Upgrade to Spring Cloud Connectors 2.0.4.RELEASE
Closes gh-15250
6 years ago
Andy Wilkinson ff22df0475 Upgrade to Jetty El 8.5.33.1
Closes gh-15249
6 years ago
Andy Wilkinson d08edf7e14 Upgrade to Elasticsearch 5.6.13
Closes gh-15248
6 years ago
Andy Wilkinson 350e397d53 Upgrade to Janino 3.0.11
Closes gh-15247
6 years ago
Andy Wilkinson ec219b30d2 Upgrade to Activemq 5.15.8
Closes gh-15246
6 years ago
Andy Wilkinson 941d8744cb Upgrade to Javax Json 1.1.4
Closes gh-15245
6 years ago
Andy Wilkinson 6761747e39 Upgrade to Reactor Bom Bismuth-SR14
Closes gh-15244
6 years ago
Andy Wilkinson 40005c0e59 Upgrade to Unboundid Ldapsdk 4.0.9
Closes gh-15243
6 years ago
Andy Wilkinson fa26227ae8 Merge branch '2.0.x' 6 years ago
Andy Wilkinson ba4461a7a2 Merge branch '1.5.x' into 2.0.x 6 years ago
Brian Clozel 5bb7b24d7c Fix class cast in ServletContextInitializerBeans
See gh-15166
6 years ago
Brian Clozel d52b599eee Improve Servlet and Filter registration logging
Prior to this commit, the information logged at DEBUG level for the web
infrastructure was not consistent with the experience in Spring
Framework.

This commit moves some logging information about
`ServletContextInitializer` registrations from DEBUG to TRACE level and
gathers the Servlets and Filters registration logs into one-liners at
the DEBUG level.

Closes gh-15166
6 years ago
Andy Wilkinson 3fac0f0360 Polish multi-release jar support to avoid possible StackOverflowError
See gh-12523
6 years ago
Andy Wilkinson 56eebc9385 Update fat jar loader to support multi-release jar files
Closes gh-12523
6 years ago
Eddú Meléndez 5e09a2ee55 Add reference to sentry-spring-boot-starter
Closes gh-15205
6 years ago
Dave Syer b6aff10244 Temporarily make @Bean methods in Spring Data JDBC public
Closes gh-15097
6 years ago
Brian Clozel f4db1d3c9a Upgrade to Reactor Californium-BUILD-SNAPSHOT
See gh-15192
6 years ago
Brian Clozel 5aabcedb24 Upgrade to Spring Framework 5.1.3.BUILD-SNAPSHOT
See gh-15186
6 years ago
Phillip Webb bab111b37e Fix ConfigurationPropertyName.equals for uppercase
Commit 7f35f8a9 for gh-14665 was unfortunately incomplete as it didn't
account for uppercase values. The run-off while loop should have used
`Character.toLowerCase` in the same way as the main while loop.

Fixes gh-15152
6 years ago
Phillip Webb dbf09de203 Merge branch '2.0.x' 6 years ago
Phillip Webb e87664f295 Add JettyAccessLogCustomizer
Add a `JettyAccessLogCustomizer` to customize management access logs
when the management server is running on a different port.

Closes gh-15041
6 years ago
Phillip Webb c64a007e12 Format POM file 6 years ago
Phillip Webb 12a16dcfcf Merge branch '2.0.x' 6 years ago
Phillip Webb e4d5714d50 Polish "Skip scoped targets when determining endpoints"
See gh-15182
6 years ago
Rahul Ahuja 4853e6a7af Skip scoped targets when determining endpoints
Update `EndpointDiscoverer` to filter out scoped target beans when
finding endpoints.

Closes gh-15182
6 years ago
Andy Wilkinson fe9d9ec4e2 Test the Gradle plugin against Gradle 5.0-rc-3
Closes gh-15171
6 years ago
Stephane Nicoll c1b1f14f5a Fix default unit for multipart properties
This commit fixes a regression that wrongly changed the default unit of
multipart properties from bytes to megabytes.

Closes gh-15162
6 years ago
Stephane Nicoll 2f4325d00f Polish 6 years ago
Phillip Webb cccf5e6d2b Merge branch '2.0.x' 6 years ago
Phillip Webb 3baf782822 Merge branch '1.5.x' into 2.0.x 6 years ago
Brian Clozel d84421b7e1 Improve HttpMessageConverters javadoc
Closes gh-15027
6 years ago
Brian Clozel 8e86bcafc1 Improve actuator endpoint mapping debug logging
Closes gh-14292
6 years ago
Mark Vollmary 634b92001b Add reference to ArangoDB starter
Closes gh-15144
6 years ago
dreis2211 3b4b0641d9 Polish some Map operations
Closes gh-15153
6 years ago
Stephane Nicoll a222952a77 Polish contribution
Closes gh-15134
6 years ago
Johnny Lim fd5aa3ebf1 Polish
See gh-15134
6 years ago
Stephane Nicoll 2c3b455b8b Merge branch '2.0.x' 6 years ago
Johnny Lim 8470d649bc Polish
See gh-15134
6 years ago
Stephane Nicoll 089ef9085a Polish "Add HANA to the lookup of well-known databases"
Closes gh-15125
6 years ago
Jonathan Bregler 85754eaddd Add HANA to the lookup of well-known databases
See gh-15125
6 years ago
Jonathan Bregler e74348ee30 Fix HANA validation query
This commit updates the validation query for HANA. It should use the
fully qualified dummy table name (SYS.DUMMY) to avoid unexpected results
if there is a local table named DUMMY.

Closes gh-15124
6 years ago
sreeise 6454a8f4ca Remove redundant json starter from spring-boot-starter-data-rest
Closes gh-15137
6 years ago
Andy Wilkinson e7d921c216 Align test expectations with styling of stack trace div
Closes gh-15075
6 years ago
Andy Wilkinson bfb0886495 Tolerate Hibernate 5.2
Closes gh-15100
6 years ago
Brian Clozel 159f947870 Polish
Closes gh-15075
6 years ago
up-to-you ae4bc48481 Fix stack-trace line breaks in whitelabel error views
Since gh-12838, the WebFlux whitelabel error view also shows the
stacktrace information if it is available in the model.

This commit adds a CSS directive that preserves white spaces and breaks
lines at newline characters.
6 years ago
dreis2211 6ac788df2f Add missing @Deprecated annotation
Closes gh-15113
6 years ago
Stephane Nicoll 3628c5b2dc Remove redundant declaration on spring-context
Closes gh-15107
6 years ago
dreis2211 3e95af2c85 Polish some Map operations
Closes gh-15103
6 years ago
dreis2211 5e35ac6ce5 Remove unused static methods in tests
Closes gh-15084
6 years ago
Stephane Nicoll 0bd69fded8 Fix detection of ScheduledExecutorService
`@EnableScheduling` detects primarily a suitable `TaskScheduler` in the
context and fallbacks to the presence of a `ScheduledExecutorService` if
that is not the case.

This commit improves the auto-configuration to back off when such
scheduled executor service is present, so that the framework
initialization code can pick it up as usual.

Closes gh-15032
6 years ago
Stephane Nicoll c7909318cd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 69d9b7a813 Polish contribution
Closes gh-15081
6 years ago
Nishant Raut 08ddb59f92 Update documentation to remind how JobParameters should be specified
See gh-15081
6 years ago
Dmitry Zhikharev 226ccc2e84 Add reference to Hiatus starter
Closes gh-15082
6 years ago
Brian Clozel da53a0b8d5 Fix HTTP status error template rendering in WebFlux
Prior to this commit, a change in `HttpStatus.toString` since SPR-16898
prevented the default WebFlux `ErrorWebExceptionHandler` to render
template views for exact HTTP status (e.g. "404.html").
This issue does not affect the resolution of series, like "4xx.html".

This commit fixes `DefaultErrorWebExceptionHandler` to use
`HttpStatus.value()` when attempting to resolve error views.

Closes gh-15083
6 years ago
Stephane Nicoll f42a653604 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f5ba9952db Make UndertowAccessLogCustomizer conditional on class
Closes gh-15065
6 years ago
Stephane Nicoll 7257572dbd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 01091aab2a Polish "Update docs to Spock 1.2"
Closes gh-15060
6 years ago
Jeff Sheets 01b17af530 Update docs to Spock 1.2
See gh-15060
6 years ago
Stephane Nicoll 980d8ea0ad Merge branch '2.0.x' 6 years ago
Stephane Nicoll 2927195b02 Fix StaticResourceRequest javadoc examples
Closes gh-15050
6 years ago
Stephane Nicoll 26dc8b9fb5 Update system requirements in the reference docs
Closes gh-15026
6 years ago
Stephane Nicoll dc02616b78 Merge branch '2.0.x' 6 years ago
Nooheat 8380031039 Simplify ArrayList calling addAll() immediately
Closes gh-15033
6 years ago
Stephane Nicoll 8d6d1f4a57 Merge branch '2.0.x' 6 years ago
Misagh Moayyed e820f04926 Polish EnableConfigurationPropertiesImportSelector javadoc
Closes gh-15049
6 years ago
Andy Wilkinson 228e05487a Test Gradle Plugin against Gradle 5.0-rc-1
Closes gh-15028
6 years ago
Phillip Webb 5e50f762a3 Revert DevTools polish
It seems like we can't use constructor injection at the
moment.
6 years ago
Phillip Webb 8ded42ceb1 Use US spelling for "favor" 6 years ago
Madhura Bhave e41329b238 Upgrade to Spring Batch 4.1.0.RELEASE
Closes gh-14891
6 years ago
Phillip Webb 33d385cf7a Use US spelling for "favor" 6 years ago
Phillip Webb f3fa20b2d1 Polish 6 years ago
Andy Wilkinson 290e8886c9 Polish "Handle StepRegistry connect/read timeout deprecation"
Closes gh-14886
6 years ago
artsiom fe63342f52 Handle StepRegistry connect/read timeout deprecation
See gh-14886
6 years ago
Andy Wilkinson a984453363 Upgrade to Spring Session Bean-RELEASE
Closes gh-14733
6 years ago
Andy Wilkinson 53d0a63e8e Upgrade to Spring Kafka 2.2.0.RELEASE
Closes gh-14892
6 years ago
Andy Wilkinson 0c3d899d5d Upgrade to Spring Integration 5.1.0.RELEASE
Closes gh-14889
6 years ago
Brian Clozel 2232f7d82f Polish
Closes gh-14914
6 years ago
Julian Devia 3e6a4eb6e3 Use cluster endpoint in Jest HealthIndicator
This commit changes the requested endpoint for the Jest
HealthIndicator. The `"/_all/_stats"` was previously used, but
the response size can be quite large and costly.

This is now using the `"/_cluster/health"` endpoint.
6 years ago
Andy Wilkinson 1341789819 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9ea5c58e38 Remove stale mention of module layout from Maven plugin's docs
Closes gh-14854
6 years ago
Andy Wilkinson 743782de7e Revert reloadable message source support
Closes gh-14882
See gh-14699
See gh-13377
6 years ago
Andy Wilkinson 5ac9b972fe Test the Gradle Plugin against Gradle 5.0-milestone-1
Closes gh-15005
6 years ago
Andy Wilkinson b2d51db76a Upgrade to Spring Data Lovelace-SR2
Closes gh-14888
6 years ago
Andy Wilkinson 77f571aa45 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 7eb1df1650 Test the Gradle Plugin against Gradle 4.10.2
Closes gh-15004
6 years ago
Andy Wilkinson 8ec9f23719 Polish "Add Log Output when DevTools restart is disabled"
Closes gh-14807
6 years ago
Marcus Eisele e76605ff75 Add Log Output when DevTools restart is disabled
This covers the cases when:
  * An Java agent based reloader (e.g. JRebel) is being used
  * The reloader was disabled by using a system property

See gh-14807
6 years ago
Andy Wilkinson f492285999 Polish "Make auto-configured applicationTaskExecutor bean lazy"
Closes gh-14934
6 years ago
artsiom 4f92e857e9 Make auto-configured applicationTaskExecutor bean lazy
See gh-14934
6 years ago
Andy Wilkinson de674db454 Merge branch '2.0.x' 6 years ago
dreis2211 62ca9e47b8 Use MeterRegistry.isClosed() for tests
Closes gh-14975
6 years ago
Andy Wilkinson 76757339ae Upgrade to Spring Framework 5.1.2.RELEASE
Closes gh-14887
6 years ago
Andy Wilkinson 0e08d379ae Polish "Add CachingMetadataReaderFactoryPostProcessor earlier in context lifecyle"
See gh-14907
6 years ago
Dave Syer c1022e74cd Add CachingMetadataReaderFactoryPostProcessor earlier in context lifecyle
An initializer that adds a BeanDefinitionRegistryPostProcessor which
in turn adds bean definitions has to be very careful to run early.
Otherwise, other initializers that want to influence the bean
definitions added never get a chance.

Closes gh-14907
6 years ago
Andy Wilkinson b2e1d14427 Upgrade to Thymeleaf Extras Springsecurity 3.0.4.RELEASE
Closes gh-15001
6 years ago
Andy Wilkinson 58b495800a Upgrade to Joda Time 2.10.1
Closes gh-15000
6 years ago
Andy Wilkinson afad5e3733 Upgrade to Lettuce 5.1.2.RELEASE
Closes gh-14999
6 years ago
Andy Wilkinson 4fc2e344b6 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 0cd2b9262b Upgrade to Thymeleaf Extras Springsecurity4 3.0.4.RELEASE
Closes gh-14997
6 years ago
Andy Wilkinson a1b51f7647 Upgrade to Activemq 5.15.7
Closes gh-14996
6 years ago
Andy Wilkinson 30a9c0ee07 Upgrade to Reactor Bom Bismuth-SR13
Closes gh-14995
6 years ago
Andy Wilkinson 4a0552e945 Upgrade to Thymeleaf 3.0.11.RELEASE
Closes gh-14920
6 years ago
Brian Clozel 8f462d69df Upgrade to Reactor Californium-SR2
Closes gh-14992
6 years ago
Andy Wilkinson f20b22ce6c Upgrade to Micrometer 1.1.0
Closes gh-14890
6 years ago
Andy Wilkinson c82a13d18e Upgrade to Byte Buddy 1.9.3
Closes gh-14866
6 years ago
Phillip Webb 22c7546607 Polish 6 years ago
Phillip Webb 1451c0c069 Polish "Restore max-http-header-size default value support"
Fix Jetty and Undertow customizers to restore Spring Boot 2.0
behavior where a negative or zero `max-http-header-size` indicates
that the server default should be used.

Closes gh-14986
6 years ago
Bryan Turner 8b40ce14cb Restore max-http-header-size default value support
Fix `TomcatWebServerFactoryCustomizer` to restore Spring Boot 2.0
behavior where a negative or zero `max-http-header-size` indicates
that the server default should be used.

See gh-14986
6 years ago
Phillip Webb 807743b679 Merge branch '2.0.x' 6 years ago
Phillip Webb 43dd3cfa76 Polish "Improve Path Matching and Content Negotiation docs"
See gh-14977
6 years ago
Nishant Raut 113abbe6e6 Improve Path Matching and Content Negotiation docs
Add a note to the "Path Matching and Content Negotiation" section about
the `spring.mvc.pathmatch.use-suffix-pattern` property.

Closes gh-14977
6 years ago
Phillip Webb 1c18fd8bae Add managed mimepull dependency
Add a managed dependency for `org.jvnet.mimepull:mimepull` so that
`spring-boot-starter-web-services` works with Java 11.

Although we don't directly depend on mimepull ourselves, there is an
transitive dependency from `com.sun.xml.messaging.saaj:saaj-impl:1.5.0`
which unfortunately references a version that was never published to
Maven Central.

Closes gh-14924
6 years ago
dreis2211 fb03139c59 Fix MetricsAutoConfigurationTests
Closes gh-14972
6 years ago
dreis2211 3d2fbdf3bd Polish mocks with default answer
Closes gh-14971
6 years ago
Phillip Webb c393f6262e Merge branch '2.0.x' 6 years ago
Phillip Webb 33c7a74bee Update copyright year for changed files 6 years ago
Phillip Webb 997de53f20 Remove uncessary call in PropertiesMigrationReport
Closes gh-14974
6 years ago
Phillip Webb 5603d61909 Polish "Consider aliases when checking descendants"
See gh-14967
6 years ago
chang-chao 256ca681fd Consider aliases when checking descendants
Update `AliasedConfigurationPropertySource` to consider aliases in
`containsDescendantOf`.

Prior to this commit, given a source containing `example.name` with
a defined alias of `other.name -> example.name` calling
`containsDescendantOf("other")` would incorrectly return
`ConfigurationPropertyState.ABSENT`.

Closes gh-14967
6 years ago
Phillip Webb 1a0a8470e5 Merge branch '2.0.x' 6 years ago
Phillip Webb 62b9268cec Polish "Fix Spring Batch job restart parameters handling"
See gh-14933
6 years ago
Mahmoud Ben Hassine ad3c3ad361 Fix Spring Batch job restart parameters handling
Fix the `JobLauncherCommandLineRunner` to correctly deal with job
parameters when restarting a job.

Prior to this commit, we were was calling the `getNextJobParameters`
method of the `JobParametersBuilder` from batch. This method was getting
the previous parameters of the wrong job instance in a restart scenario.

This commit fixes the issue by first getting the right job instance with
the provided parameters, then restarting it.

Closes gh-14933
6 years ago
Phillip Webb 1a85e629d7 Stop using streams when working with sources
Replace `streamSources()` calls with `getSources()` in an attempt to
reduce the amount of garbage created.

Closes gh-13565
6 years ago
Vedran Pavic 6e967fe860 Upgrade to Hazelcast 3.11
Closes gh-14949
6 years ago
Phillip Webb acb5a90273 Log warning when using deprecated EndpointId chars
Update `EndpointId` to log a warning when `-` or `.` are used.

Closes gh-14840
6 years ago
Stephane Nicoll d1ce315602 Merge branch '1.5.x' into 2.0.x 6 years ago
Hanope 65e3b9ff5b Fix typos
Closes gh-14954
6 years ago
dreis2211 5b6e94d78a Polish javadoc of CachesEndpoint
Closes gh-14969
6 years ago
Brian Clozel b424fa6039 Upgrade to Maven Failsafe Plugin 2.22.1
Closes gh-14965
6 years ago
Brian Clozel b5ea9c1eb2 Upgrade to Flyway 5.2.1
Closes gh-14964
6 years ago
Brian Clozel 3c367d8a46 Upgrade to Aspectj 1.9.2
Closes gh-14963
6 years ago
Brian Clozel 0c00d1d482 Upgrade to Ehcache 2.10.6
Closes gh-14962
6 years ago
Brian Clozel 8c400c8522 Upgrade to Mysql 8.0.13
Closes gh-14960
6 years ago
Brian Clozel ecd2efd4e4 Upgrade to Undertow 2.0.14.Final
Closes gh-14959
6 years ago
Brian Clozel 2f244057e2 Upgrade to Rxjava2 2.2.3
Closes gh-14958
6 years ago
Brian Clozel a046aa0138 Upgrade to Appengine Sdk 1.9.67
Closes gh-14955
6 years ago
Brian Clozel cf882c9b40 Fix import error in 8376bc369 6 years ago
Brian Clozel 8376bc3697 Fix build after checkstyle imports updates
See gh-14911
6 years ago
Brian Clozel 755c4b8b98 Update spring.mvc.log-resolved-exception description
Closes gh-14936
6 years ago
Phillip Webb 6aa2862f85 Merge branch '2.0.x' 6 years ago
Phillip Webb 7bcc793faf Fix WebMvcMetricsFilter logger imports
Don't use SLF4J loggers in `WebMvcMetricsFilter`.

Fixes gh-14953
6 years ago
Vedran Pavic 81c7ce1d15 Add starter for OAuth2 resource server
Closes gh-14950
6 years ago
Phillip Webb 683484e4a8 Fix primary beans with ApplicationContextAssert
Update `ApplicationContextAssert.getBean` so that multiple beans are
supported as long as one of them is primary. This aligns better with
the way that the standard `ApplicationContext.getBean` method works.

Closes gh-14874
6 years ago
Phillip Webb 62cb0f9593 Rename oauth2-oidc-client starter in dependencies
Fixup dependencies POM following rename of the oauth2-oidc-client
starter.

See gh-14951
6 years ago
Phillip Webb 69b0d37fe0 Rename oauth2-oidc-client starter
Rename `spring-boot-starter-oauth2-oidc-client` to
`spring-boot-starter-oauth2-client`.

Closes gh-14951
6 years ago
Phillip Webb 99e166516d Restore conversion service binary compatibility
Change `ApplicationConversionService.getSharedInstance()` to again
return a `ConversionService` rather than `ApplicationConversionService`.

This restore binary compatibly with Spring Boot 2.0

Closes gh-14938
6 years ago
Phillip Webb 2097b6a4c1 Improve ResourceUrlEncodingFilter conditions
Update Thymeleaf and FreeMarker configurations to make use of the new
`@ConditionalOnMissingFilterBean` annotation.

Closes gh-14926
6 years ago
Phillip Webb 44a46f1514 Add @ConditionalOnMissingFilterBean
Add a new condition that can be used to check for servlet `Filter`
beans that are either registered directly, or via a
`FilterRegistrationBean`.

Closes gh-14940
6 years ago
Phillip Webb 9f858e759c Support parameterizedContainer in bean conditions
Add a `parameterizedContainer` attribute to `ConditionalOnBean` and
`ConditionalOnMissingBean` which can be used to support generic types
when checking for the presence of beans.

Closes gh-14940
6 years ago
Phillip Webb 4d3d711e0e Migrate ConditionalOnMissingBeanTests to context runner 6 years ago
Phillip Webb 1bd1ffdb60 Polish 6 years ago
Madhura Bhave 34156b2137 Rename DatabaseDriver#SAP to DatabaseDriver#HANA
Closes gh-14918
6 years ago
dreis2211 4857b45ea5 Replace lambdas with method reference or call
Closes gh-14937
6 years ago
Madhura Bhave eb61b2bbde Merge branch '2.0.x' 6 years ago
Madhura Bhave 4322b9781b Polish 6 years ago
Madhura Bhave 5f24af6c3c Polish
Closes gh-14915
6 years ago
michal 7181e76135 Skip restarter for JUnit5
See gh-14915
6 years ago
Madhura Bhave 80bb7ea9d6 Merge branch '2.0.x' 6 years ago
Madhura Bhave bc58d4456f Rationalize DefaultRestartInitializerTests
Closes gh-14927
6 years ago
Brian Clozel 1651690d57 Fix tests after HandlerExceptionResolver logging changes
See gh-14936
6 years ago
Johnny Lim c3ac423fdd Use Commons Logging for PrometheusPushGatewayManager
Closes gh-14910
6 years ago
Madhura Bhave fd20618f4b Merge branch '2.0.x' 6 years ago
dreis2211 3fea487c7b Use Errors.hasErrors() in DefaultErrorAttributes
Closes gh-14912
6 years ago
Madhura Bhave 0dc4afdefd Merge branch '2.0.x' 6 years ago
Madhura Bhave d6991e6d91 Fix formatting violation 6 years ago
Madhura Bhave f0004c4ade Merge branch '2.0.x' 6 years ago
dreis2211 5c0d7f4ac0 Avoid creation of unnecessary collections
Closes gh-14916
6 years ago
Phillip Webb 31335bb50f Merge branch '2.0.x' 6 years ago
Phillip Webb 35221c1142 Polish 6 years ago
Phillip Webb de7eeb5014 Fix ResourceUrlEncodingFilter conditions
Fix `ResourceUrlEncodingFilter` conditions which were inadvertently
changed in commits 64f04fce and 6cc272ec and would back off if any
`FilterRegistrationBean` was found.

The updated conditions restores the behavior of Spring Boot 2.0.5 and
allows users to directly register their own `ResourceUrlEncodingFilter`
beans (as long as they don't use a `FilterRegistrationBean`).

Fixes gh-14897
6 years ago
Andy Wilkinson 660b912100 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 2110215559 Provide more detailed uri tag for calls to Data REST repositories
Closes gh-14872
6 years ago
Andy Wilkinson d838787e70 Start building against Spring Data snapshots for Kay-SR12
See gh-14893
6 years ago
Andy Wilkinson 4e27d17b7e Starting building against Spring Session snapshots for Bean-RELEASE
See gh-14733
6 years ago
Andy Wilkinson 6b84fac8f6 Start building against Spring Kafka snapshots for 2.2.0.RELEASE
See gh-14892
6 years ago
Andy Wilkinson 21100d83ae Start building against Spring Integration snapshots for 5.1.0.RELEASE
See gh-14889
6 years ago
Andy Wilkinson e504c6b193 Start building against Spring Data snapshots for Lovelace-SR2
See gh-14888
6 years ago
Andy Wilkinson ad5f308f32 Start building against Spring Batch snapshots for 4.1.0.RELEASE
See gh-14891
6 years ago
Andy Wilkinson 4d9714a0cb Start building against Micrometer snapshots for 1.1.0
See gh-14890
6 years ago
Andy Wilkinson efbc0fc2ca Merge branch '2.0.x' 6 years ago
Andy Wilkinson 76ad197584 Deallocate servlet after forcing initialization in mappings endpoint
Previously, when using Tomcat, a call to mappings endpoint would force
the initialization of any DispatcherServlets in the context. This was
done by calling allocate on Tomcat's StandardWrapper. This left the
wrapper in a state that would cause it to block for two seconds during
shutdown as the wrapper has an outstanding allocation.

This commit immediately deallocates the servlet after it has been
allocated. This ensures that the DispatcherServlet has been initialized
while also leaving the wrapper in a state that it can shut down
immediately when asked to do so.

Closes gh-14898
6 years ago
Andy Wilkinson 22e722d9f9 Polish 6 years ago
Andy Wilkinson cefc7842d6 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9b8ead825c Polish 6 years ago
Brian Clozel 5bf51f52b9 Fix WebFlux instrumentation after SPR-17395
SPR-17395 ensures that WebFlux.fn is adding a request attribute of type
`PathPattern` on the `HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE`.

A specific tag provider for WebFlux.fn is no longer necessary.

See gh-14876
6 years ago
Brian Clozel 64c9dfe7d6 Upgrade to Spring Framework 5.1.2.BUILD-SNAPSHOT
See gh-14887
6 years ago
Andy Wilkinson 1b0677bdd9 Merge branch '2.0.x' 6 years ago
Andy Wilkinson d5201070e6 Cross-link to Gradle Plugin docs rather than duplicating example
Closes gh-14878
6 years ago
Andy Wilkinson 3995c66b37 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 993c75ea38 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 3177584588 Back off auto-config of Log4J2Metrics when context is backed by SLF4J
Closes gh-14883
6 years ago
Johnny Lim c8c3f59e93 Polish
Closes gh-14884
6 years ago
Stephane Nicoll 2a0451c461 Merge branch '2.0.x' 6 years ago
Jack Gough 94770cc0fd Force JMX hostname to 127.0.0.1
Closes gh-14836
6 years ago
Stephane Nicoll 6b3a2ac469 Upgrade to Maven Surefire Plugin 2.22.1
Closes gh-14870
6 years ago
Stephane Nicoll 40b56040d2 Upgrade to Spring Amqp 2.1.0.RELEASE
Closes gh-14869
6 years ago
Stephane Nicoll e6f5e8933a Upgrade to Influxdb Java 2.14
Closes gh-14868
6 years ago
Stephane Nicoll c5c646f841 Upgrade to Hibernate 5.3.7.Final
Closes gh-14867
6 years ago
Stephane Nicoll 57c2507db9 Upgrade to Lettuce 5.1.1.RELEASE
Closes gh-14865
6 years ago
Stephane Nicoll bc1c0dc93c Upgrade to Sendgrid 4.3.0
Closes gh-14864
6 years ago
Stephane Nicoll 5e96daab58 Upgrade to Hazelcast 3.10.6
Closes gh-14863
6 years ago
Stephane Nicoll 2c383859f0 Upgrade to Couchbase Client 2.7.0
Closes gh-14862
6 years ago
Stephane Nicoll 474da80b4d Revert "Restructure of security packages"
See gh-14412
6 years ago
Stephane Nicoll 5805c0fc0a Polish "Fix a broken table in doc"
Closes gh-14859
6 years ago
Johnny Lim 9e25fa1247 Fix a broken table in doc
See gh-14859
6 years ago
Stephane Nicoll fd0e8815b1 Polish 6 years ago
Stephane Nicoll 5f2517f889 Auto-configure AppOptics metrics
Closes gh-14819
6 years ago
Stephane Nicoll 3dc74fea4b Polish 6 years ago
Stephane Nicoll 134682a7de Add error metadata for properties removed recently 6 years ago
Andy Wilkinson bd0a41d82d Merge branch '2.0.x' 6 years ago
Andy Wilkinson d4cad5e916 Polish "Servlet path not explicitly required for EndpointRequest"
Closes gh-14503
6 years ago
Stephane Nicoll 620d88e4ed Polish
See gh-14849
6 years ago
Madhura Bhave 0fd873f0f9 Servlet path not explicitly required for EndpointRequest 6 years ago
Brian Clozel 96fc92609d Polish
Closes gh-14849
6 years ago
Daniel Fernández 56c1247bbb Add new config keys for Thymeleaf 3.0.10 features
This commit adds the following configuration properties:

* `spring.thymeleaf.render-hidden-markers-before-checkboxes`
* `spring.thymeleaf.servlet.produce-partial-output-while-processing`
6 years ago
Andy Wilkinson 98d95268e1 Align with changes to CouchbaseReactiveHealthIndicator
Closes gh-14799
6 years ago
Stephane Nicoll 9ade4898ef Polish 6 years ago
Johnny Lim 7f9671fd14 Polish
Closes gh-14843
6 years ago
Stephane Nicoll 39f8b685df Merge branch '2.0.x' 6 years ago
Johnny Lim 47daf96c48 Polish
See gh-14843
6 years ago
Andy Wilkinson c2588f4e33 Upgrade to Spring AMQP 2.0.8.RELEASE
Closes gh-14833
6 years ago
Andy Wilkinson 11afc75b83 Upgrade to Spring Security 5.0.9.RELEASE
Closes gh-14850
6 years ago
Brian Clozel 8397878857 Polish
See gh-12838
6 years ago
Andy Wilkinson d49cc20e79 Rework CouchbaseReactiveHealthIndicator to use DiagnosticsReport
Closes gh-14799
6 years ago
Stephane Nicoll 1e6851cf81 Polish "Remove usages of BasicAuthorizationInterceptor"
Closes gh-14830
6 years ago
dreis2211 8b14754cda Remove usages of BasicAuthorizationInterceptor
See gh-14830
6 years ago
Andy Wilkinson 1163d86f26 Upgrade to Spring Session Apple-SR6
Closes gh-14732
6 years ago
Hanope c3f3240e2c Fix typos
closes gh-14844
6 years ago
Phillip Webb 29707bf75a Complete restructure of security packages
Complete the restructuring of the security auto-configuration
packages by removing the direct import of web configuration from
the main security auto-configuration.

Closes gh-14412
6 years ago
Madhura Bhave f835f82582 Preliminary restructure of security packages
Restructure the security auto-configuration packages to better reflect
the part of the system that the configuration applies to.

See gh-14412
6 years ago
Rahul Narula c078d0cb8a Polish SpringBootJoranConfigurator
Closes gh-14845
6 years ago
Phillip Webb f986a30d2c Rollback to Spring Session Bean-RC1
Rollback to RC1 of Spring Session "Bean" since the GA release has been
pushed back.

See gh-14733
6 years ago
Phillip Webb b8bc4c6f3c Delete deprecated SecurityPrerequisite
Remove `SecurityPrerequisite` which was deprecated in 2.0.6.

See gh-14846
6 years ago
Phillip Webb d558a1a762 Merge branch '2.0.x' 6 years ago
Phillip Webb a12a6f2ade Polish 6 years ago
Phillip Webb 8ecb659a35 Deprecate SecurityPrerequisite
Deprecate `SecurityPrerequisite` interface since we don't support it
in Spring Boot 2.

Closes gh-14846
6 years ago
Phillip Webb 6b37d87497 Allow multiple endpoint PathMapper beans
Update `WebEndpointDiscoverer` and related classes to that multiple
`PathMapper` beans can be registered. Mappers are now tried in order
until one returns a non-null value.

Closes gh-14841
6 years ago
Phillip Webb a5dc004e0b Merge branch '2.0.x' 6 years ago
Phillip Webb cd1c2638e5 Polish 6 years ago
Andy Wilkinson 6765afa19b Upgrade to Spring Security 5.1.1.RELEASE
Closes gh-14730
6 years ago
Andy Wilkinson 9d5d81d36a Upgrade to Micrometer 1.1.0-rc1
Closes gh-14809
6 years ago
Phillip Webb f0f999a27d Merge branch '2.0.x' 6 years ago
Phillip Webb 5d219bcd19 Polish 6 years ago
Stephane Nicoll 31b0fc2368 Upgrade to Spring Integration 5.1.0.RC2
Closes gh-14731
6 years ago
Phillip Webb 765b54830b Merge branch '2.0.x' 6 years ago
Phillip Webb 734e9e4b74 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 45121f225e Fix default property value 6 years ago
Phillip Webb 192340c5ee Upgrade to Spring AMQP 2.0.8.RELEASE
Closes gh-14833
6 years ago
Phillip Webb b25e222136 Retain original case when mapping endpoint paths
Update `MappingWebEndpointPathMapper` to keep the original case rather
than using a lower-case version.

Closes gh-14773
6 years ago
Stephane Nicoll e901a0bd0e Merge branch '2.0.x' 6 years ago
Stephane Nicoll 935d621a42 Fix mapping of Wavefront base properties
Closes gh-14839
6 years ago
Stephane Nicoll 94b2092218 Add base test for StepRegistryPropertiesConfigAdapter 6 years ago
Stephane Nicoll 7c6d61ee10 Update documentation to mention execution id of repackage goal
This commit updates the documentation to reference the default execution
id of the `repackage` goal when a project uses
`spring-boot-starter-parent`.

Closes gh-14835
6 years ago
Brian Clozel 2c3e8de959 Include "trace" info in whitelabel error views
This commit shows the stacktrace information in default WhiteLabel error
views for Spring MVC and Spring WebFlux.

This information is only shown if it is present in the model map, which
depends on the `server.error.include-stacktrace` configuration property.

Closes gh-12838
6 years ago
Andy Wilkinson a70aafd35a Upgrade to Reactor Bismuth-SR12
Closes gh-14838
6 years ago
Andy Wilkinson a9524d32ac Upgrade to Spring Integration 5.0.9.RELEASE
Closes gh-14834
6 years ago
Phillip Webb 3665917d44 Merge branch '2.0.x' 6 years ago
Phillip Webb c306e03112 Support '-' in endpoint names
Update the `EndpointId` constraints to allow '-' in names.

Closes gh-14773
6 years ago
Andy Wilkinson 1e2d5a1382 Auto-configure Micrometer's HumioMeterRegistry
Closes gh-14804
6 years ago
Phillip Webb 9a80e88a73 Merge branch '2.0.x' 6 years ago
Phillip Webb d8b9685635 Support '.' in endpoint names
Update the `EndpointId` constraints to allow '.' in names.

Closes gh-14773
6 years ago
Stephane Nicoll edf4045c3b Add missing tests for Kairos config adapter
Closes gh-14821
6 years ago
Stephane Nicoll ffe5e88d8e Merge branch '2.0.x' 6 years ago
Stephane Nicoll 99a45bdef8 Fix datasource prefix in multiple-datasource configuration doc
Closes gh-13195
6 years ago
Andy Wilkinson e53e8bf79f Merge branch '2.0.x' 6 years ago
Andy Wilkinson 0fedf8d2af Keep Liquibase-specific DataSource open for use by LiquibaseEndpoint
Closes gh-13832
6 years ago
Stephane Nicoll d4ec45e192 Fix javadoc generation 6 years ago
Andy Wilkinson a4eb636913 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 6d98851fb5 Use Couchbase's DiagnosticsReport to determine its health
Previously, Couchbase's health was determined by retrieving the bucket info
from the cluster info. This retrieval could take over one minute in some
cases even when Couchbase is health. This latency is too large for a health
check.

The Couchbase team have recommended the of a Cluster#diagnostics instead.
This provides a much lower latency view of the cluster's health. This
commit updates CouchbaseHealthIndicator to use Cluster#diagnostics while
retaining support, in a deprecated form, for the old info-based mechanism
should anyone want to opt back into that in 2.0.x.

Closes gh-14685
6 years ago
Stephane Nicoll b7b9bf209e Upgrade to Spring Data Kay SR11
Closes gh-14728
6 years ago
Stephane Nicoll 89349c6eb9 Auto-configure KairosDB metrics
Closes gh-14821
6 years ago
Andy Wilkinson 267eff15f1 Merge branch '2.0.x' 6 years ago
Andy Wilkinson ab7c1af3ec Auto-configure SpringSecurityDialect for v5 and deprecate v4
Closes gh-14828
6 years ago
Andy Wilkinson a25e4a860c Upgrade to Thymeleaf Extras Spring Security 3.0.3.RELEASE
Closes gh-14829
6 years ago
Andy Wilkinson eaf38e9355 Upgrade to Spring Data Lovelace-SR1
Closes gh-14729
6 years ago
Stephane Nicoll 0fdf96da3b Upgrade to Spring Framework 5.0.10.RELEASE
Closes gh-14722
6 years ago
Brian Clozel d5236b91ce Polish 6 years ago
artsiom 9e5f171510 Support cachecontrol config property in WebFlux
Closes gh-14724
6 years ago
Stephane Nicoll 66af20f940 Upgrade to Spring Framework 5.0.10.RELEASE
Closes gh-14722
6 years ago
Stephane Nicoll 1103e93b2d Merge branch '2.0.x' 6 years ago
Stephane Nicoll eeb7cab661 Upgrade to Neo4j Ogm 3.1.4
Closes gh-14826
6 years ago
Stephane Nicoll f86ed38abf Upgrade to Groovy 2.5.3
Closes gh-14825
6 years ago
Stephane Nicoll 1a0d53dec0 Replace ReflectionTestUtils usage by hasFieldOrPropertyWithValue
Closes gh-14696
6 years ago
Phillip Webb cfa130b2ef Merge branch '2.0.x' 6 years ago
Hanope 535dd7470f Fix typo in EndpointIdTests
Closes gh-14822
6 years ago
Phillip Webb 3eb877425e Upgrade to Micrometer 1.0.7
Closes gh-14808
6 years ago
Phillip Webb 18319ac276 Remove deprecated Endpoint ID methods
See gh-14773
6 years ago
Phillip Webb 1bf97e9b5e Merge branch '2.0.x' 6 years ago
Phillip Webb a00ee15e16 Use lowercase default endpoint paths
Update `MappingWebEndpointPathMapper` to use the lowercase version of
the endpoint ID when no explicit path mapping has been set. An endpoint
with the ID 'myEndpoint' will now be mapped to the path 'myendpoint'.

See gh-14773
6 years ago
Phillip Webb df5dfbf4be Support mixed case endpoint includes/excludes
Update `ExposeExcludePropertyEndpointFilter` so that mixed case
endpoint IDs are supported. Prior to this commit it was not easy for
an endpoint to be missed by the filter due to the formatting of the
property value.

See gh-14773
6 years ago
Phillip Webb 674a909bab Support mixed case endpoint IDs with enabled
Update `OnEnabledEndpointCondition` so that mixed case endpoint IDs
are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when trying
to enabled or disable an endpoint with a camel case ID.

See gh-14773
6 years ago
Phillip Webb 138d85477d Support mixed case endpoint IDs with time-to-live
Update the endpoint time-to-live binding logic so that mixed case
endpoint IDs are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when using
a camel case endpoint ID.

See gh-14773
6 years ago
Phillip Webb 3105a38884 Introduce EndpointID to enforce naming rules
Add an `EndpointID` class to enforce the naming rules that we support
for actuator endpoints. We now ensure that all endpoint names contain
only letters and numbers and must begin with a lower-case letter.

Existing public classes and interfaces have been changes so that String
based `endpointId` methods are deprecated and strongly typed versions
are preferred instead. A few public classes that we're not expecting
to be used directly have been changed without deprecated methods being
introduced.

See gh-14773
6 years ago
Phillip Webb 88ac7f1d65 Polish 6 years ago
Phillip Webb c5786c218d Polish 6 years ago
Andy Wilkinson e151dbf003 Document Jersey metrics' new outcome tag and polish formatting
See gh-12482
6 years ago
Johnny Lim c1ad1f7638 Fix copyright end years
Closes gh-14816
6 years ago
Andy Wilkinson 83692a22da Polish "Use non-reflective APIs to retrieve config prop binding converters"
Closes gh-14657
6 years ago
Dave Syer 2094e54ef2 Use non-reflective APIs to retrieve config prop binding converters
See gh-14657
6 years ago
Stephane Nicoll f96d73f3cc Start building against Micrometer 1.0.7 snapshots
See gh-14808
6 years ago
Andy Wilkinson 6e5310900b Switch from thymeleaf-extras-springsecurity4 to extras-springsecurity5
Closes gh-14806
6 years ago
Andy Wilkinson 1ac48ee876 Merge branch '2.0.x' 6 years ago
Andy Wilkinson b78c7aca3e Allow ALPNServerConnectionFactory to negotiate use of HTTP/1.1
Closes gh-14444
6 years ago
Andy Wilkinson 7ad94299d6 Stop relying on server customizer ordering for Tomcat metrics binding
Closes gh-14784
6 years ago
Andy Wilkinson 2b11ee4389 Auto-configure binding of Micrometer's JettyServerThreadPoolMetrics
Closes gh-14591
6 years ago
Stephane Nicoll 6199af6c0f Polish 6 years ago
Madhura Bhave 6df9555d6a Update micrometer tests following upstream changes 6 years ago
Madhura Bhave ec6e9d205a Merge branch '2.0.x' 6 years ago
Madhura Bhave a86ba6495c Polish 6 years ago
Madhura Bhave 8f91bbeffa Polish 6 years ago
Madhura Bhave 24a8461749 Merge branch '2.0.x' 6 years ago
Madhura Bhave d2ceb8f7da Polish 6 years ago
Stephane Nicoll 8f1729e322 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 798b37805d Polish "Add support for @ResponseStatus in DefaultErrorAttributes"
Closes gh-14744
6 years ago
Michele Mancioppi 17919749db Add support for @ResponseStatus in DefaultErrorAttributes
This commit adds support for @ResponseStatus in DefaultErrorAttributes
mimicking the semantics of @ResponseStatus in SpringMVC.

Throwables annotated with @ResponseStatus handled by
DefaultErrorAttributes will result in the following error attributes:
* 'status' set as the return value of the HttpStatus#value()
  defined as @ResponseStatus#value()
* 'error' set to the default reason phrase of the HttpStatus
  defined as @ResponseStatus#value()
* 'message' defined as the value of @ResponseStatus#reason(),
  or the default HttpStatus's reason phrase if left unspecified

See gh-14744
6 years ago
Stephane Nicoll baf83aec0d Polish "Allow ClassPathResources to be filtered by FilteredClassLoader"
Closes gh-14774
6 years ago
Roy Jacobs d3ca1a7b0e Allow ClassPathResources to be filtered by FilteredClassLoader
See gh-14774
6 years ago
Stephane Nicoll 29c0aa4445 Merge branch '2.0.x' 6 years ago
Stephane Nicoll c0a5e985c2 Upgrade to Thymeleaf 3.0.10.RELEASE
Closes gh-14797
6 years ago
Stephane Nicoll 0ff1b25f52 Polish "Improve Micrometer histogram properties support"
Closes gh-14139
6 years ago
Alexander Abramov c1c79ab1c2 Improve Micrometer histogram properties support
This commit adds configuration properties for Micrometer histogram
settings: "minimumExpectedValue" and "maximumExpectedValue".

See gh-14139
6 years ago
Brian Clozel 5607fcae85 Record URI pattern tag for WebFlux Fn metrics
This commit records URI tags for Spring WebFlux Fn applications for
`http.server.requests` metrics. This is possible since SPR-17098.

Closes gh-12757
6 years ago
Andy Wilkinson 19232ad87a Merge branch '2.0.x' 6 years ago
Andy Wilkinson 861587ec78 Allow @ConditionalOnEnabledEndpoint to be used on any component
Closes gh-14787
6 years ago
Brian Clozel 2588a71ac4 Auto-Configure HTTP ResourceFactories on servers
This commit auto-configures HTTP resource factories on both Reactor
Netty and Jetty server instances. This creates `ReactorResourceFactory`
and `JettyResourceFactory` beans when necessary - those beans can be
reused and applied by the client auto-configuration in order to share
resources between client and server for optimal performance.

The server auto-configuration has the highest precedence, so from now
on, the auto-configured ResourceFactory bean on the client side will be
skipped if a reactive server is configured.

Closes gh-14495
6 years ago
Stephane Nicoll 11efe92ce7 Polish "Configure Cassandra JMX Reporting"
Closes gh-14778
6 years ago
Phillip Webb d102e0d7f7 Introduce Ordered Filter and WebFilter interfaces
Add `Ordered` variants of `javax.servlet.Filter` and
`org.springframework.web.server.WebFilter` mainly so that we can
deprecate `FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER`.

Closes gh-14793
6 years ago
Phillip Webb d6df7cf324 Update copyright year for changed files 6 years ago
Phillip Webb 683e9532d6 Handle servlet startup failures consistently
Ensure that all servlet containers handle servlet startup failures
consistently and throw a `WebServerException` that wraps the original
cause.

Both Undertow and Jetty already dealt with startup failures in this
way, but Tomcat did not. The `TomcatEmbeddedContext` has now been
changed to no longer call `super.loadOnStartup` but instead re-implement
a version of that method that wraps and rethrows the original exception
(as long as `failCtxIfServletStartFails` is `true`, which it now is by
default).

Closes gh-14790
6 years ago
Phillip Webb 4823114e1c Polish 6 years ago
Phillip Webb 3da25c6d36 Remove TomcatEmbeddedContext.overrideLoadOnStart
Remove the reflection tests used to support the older variant of
`overrideLoadOnStart` that returned a void. Since we no longer support
that older version we can simply the code.

Closes gh-14789
6 years ago
Phillip Webb 74d48fb7a7 Merge branch '2.0.x' 6 years ago
Phillip Webb 21ebb94d49 Respect Tomcat's failCtxIfServletStartFails flag
Ensure that if the user has set `failCtxIfServletStartFails` to `true`
using a `ContextCustomizers` any Servlet init exceptions stop the
application from running.

Closes gh-14448
6 years ago
Phillip Webb b09057a73c Fix checkstyle violation
Fix unused import violation introduced during merge.
6 years ago
Phillip Webb 01f7805c19 Merge branch '2.0.x' 6 years ago
Phillip Webb b1399db994 Add a warning about `webDriver` scope to the docs
Update the reference documentation with a warning about the `webDriver`
scope that we create.

Closes gh-13093
6 years ago
Phillip Webb 0d35af1813 Add "Encrypting Properties" documentation
Update the reference documentation with a section about encrypting
properties and a link to Spring Cloud Vault.

Closes gh-13618
6 years ago
Phillip Webb 1c3987d55a Fix documentation of devtools Gradle scope
Update the reference documentation to suggest that devtools uses a
custom `developmentOnly` scope, rather than `compileOnly`.

Closes gh-14451
6 years ago
Phillip Webb 30ab4f9691 Polish "Stop MetricsEndpoint from summing up same metrics"
See gh-14497
6 years ago
pmehra 950480dc1c Stop MetricsEndpoint from summing up same metrics
Update `MetricsEndpoint` so that only the first matching meter is used
when calculating the sum of of statistics.

Prior this this commit the endpoint would consider all Meters. This
caused incorrect statistics when multiple back-end systems were being
used since the registries contained in the `CompositeMeterRegistry`
would be  iterated, and the same effective metric would be counted more
than once.

Closes gh-14497
6 years ago
Madhura Bhave ff35d14170 Change order of loggingCodecCustomizer
It is set to 0 so that users' customizers can be positioned before and
after it.

Fixes gh-14723
6 years ago
Stephane Nicoll 237ea1d6ee Upgrade to Reactor Californium-SR1
Closes gh-14788
6 years ago
Andy Wilkinson 5e3b5ae14f Polish
See gh-14780 and gh-14467
6 years ago
Andy Wilkinson 5f0d7dd6c7 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 2a2908e74e Order MeterFilters and MeterRegistryCustomizers
Closes gh-14780
6 years ago
Brian Clozel 43966c7f93 Configure WebFlux HiddenHttpMethodFilter with property
This commit adds a new configuration property
`"spring.webflux.hiddenmethod.filter.enable"` that enables/disables the
`HttpHiddenMethodFilter` in Spring WebFlux.

Closes gh-14520
6 years ago
artsiom 8f3b58fa98 Replace ReflectionTestUtils usage by hasFieldOrPropertyWithValue
Closes gh-14783
6 years ago
Stephane Nicoll d37df3d718 Add support for customizing Flyway's configuration
Closes gh-14786
6 years ago
Stephane Nicoll e789bc0bb7 Use FluentConfiguration to configure Flyway
This commit stops binding the Flyway object directly to the environment
as mutating it will no longer be supported in Flyway 6.

This commit mirrors Flyway's configuration in FlywayProperties for the
most part.

Closes gh-14776
6 years ago
Andy Wilkinson 1d2f069580 Allow HttpTrace instances to be created
Previously, the API required to create HttpTrace instances was
package-private. This made it difficult to implement an
HttpTraceRepository that persists the HttpTrace instances
rather than holding them in memory as it inhibited recreation of the
instances when they read from the persistent store.

This commit adds public constructors to HttpTrace and related classes
to enable recreation of an HttpTrace. The package-private methods for
mutating properties have not been made public to ensure that the
public API remains immutable.

Closes gh-14726
6 years ago