Commit Graph

2106 Commits (8858c88a4c7d44f6d9b24ba5363d79ba041f796e)

Author SHA1 Message Date
Phillip Webb 93046d058d Polish 7 years ago
Madhura Bhave 6855c5556d EndpointRequest should consider server.servlet.path
Fixes gh-12934
7 years ago
Phillip Webb 5b3cb8a698 Update copyright header year for changed files 7 years ago
Phillip Webb 57bfbfb3ad Fix checkstyle errors 7 years ago
Phillip Webb 6e09e497f2 Formatting 7 years ago
Andy Wilkinson fefe9e4e49 Upgrade to Junit Jupiter 5.1.1
Closes gh-13075
7 years ago
Andy Wilkinson c74292c222 Upgrade to Jooq 3.10.7
Closes gh-13074
7 years ago
Andy Wilkinson ee587130b2 Upgrade to Narayana 5.8.1.Final
Closes gh-13073
7 years ago
Andy Wilkinson 36880ad25b Upgrade to Hibernate 5.2.17.Final
Closes gh-13072
7 years ago
Andy Wilkinson 578dd8611c Upgrade to Elasticsearch 5.6.9
Closes gh-13071
7 years ago
Andy Wilkinson 205449cca1 Upgrade to Javax Money 1.0.3
Closes gh-13070
7 years ago
Andy Wilkinson 9ec27d1f97 Upgrade to Rxjava2 2.1.13
Closes gh-13069
7 years ago
Andy Wilkinson ff915b3450 Upgrade to Hazelcast 3.9.4
Closes gh-13068
7 years ago
Andy Wilkinson 5c2d4980de Upgrade to Couchbase Client 2.5.8
Closes gh-13067
7 years ago
Andy Wilkinson c16f99f782 Revert "Upgrade to Ehcache 2.10.5" in 2.0 as well
See gh-13056
7 years ago
Stephane Nicoll 18b1e8da60 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 959c569199 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 126f928f36 Polish "Improve Spring Session docs"
Closes gh-13061
7 years ago
Vedran Pavic 370160720d Improve Spring Session docs
See gh-13061
7 years ago
Andy Wilkinson 2bcf29913d Skip building the Gradle plugin on Java 9 as well as 10
Upgrading the JDK 9-based build to use JDK 9.0.4 has revealed that
Gradle 4.0.x doesn't work with it as it fails to parse the 9.0.4
version number.

This commit disables building the Gradle plugin on Java 9 (as we
had already done for Java 10) until we decide what to do
(see gh-12333).
7 years ago
Andy Wilkinson a1f3e7970c Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 2d70a7ae5e Polish caught exception names
Prefer `ex` over `e`.
7 years ago
Phillip Webb 41efea51a7 Polish ternary expressions
Consistently format ternary expressions and always favor `!=` as the
the check.
7 years ago
Phillip Webb bbf94c22da Polish 7 years ago
Phillip Webb e125085993 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 700ec6b840 Polish "Complete SSL configuration for Kafka"
Closes gh-13031
7 years ago
Toshiaki Maki d208641c59 Complete SSL configuration for Kafka
See gh-13031
7 years ago
Andy Wilkinson f5fabbc1b9 Remove the use of internal API from Gradle Plugin's BootJar
Closes gh-13037
7 years ago
Stephane Nicoll 69ab956e8b Stop assuming datasource creation failure originates from auto-config
There are documented way to reuse bits of the infrastructure in user
config to offer similar datasource configuration. If that fails, the
regular failure there will kick in.

This commit improves `DataSourceBeanCreationFailureAnalyzer` to not
misguide users that the auto-configuration has failed. Rather, it
describes what has failed in a more generic way.

Closes gh-12947
7 years ago
Stephane Nicoll b3ad902902 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim e7d2f22911 Polish IgnoreTopLevelConverterNotFoundBindHandlerTests
Closes gh-13022
7 years ago
Johnny Lim 12cdc8b0e0 Fix @since for IgnoreTopLevelConverterNotFoundBindHandler
Closes gh-13019
7 years ago
Stephane Nicoll 7cca56e15b Upgrade to HikariCP 2.7.9
Closes gh-12783
7 years ago
Stephane Nicoll d6244889f5 Add default value for "spring.flyway.locations"
See gh-12193
7 years ago
Stephane Nicoll 79c222da78 Allow to provide manual metadata for keys that are not unique
Closes gh-12193
7 years ago
Stephane Nicoll 782d8c63da Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson f019d5c85b Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 0a9d950a44 Start building against Spring Kafka 2.1.6 snapshots
See gh-13018
7 years ago
Andy Wilkinson 2a8eb2c113 Start building against Spring Integration 5.0.5 snapshots
See gh-13016
7 years ago
Andy Wilkinson c50687758e Start building against Spring Data Kay SR7 snapshots
See gh-13017
7 years ago
Andy Wilkinson 0d67ca1e81 Starting building against Spring Framework 5.0.6 snapshots
See gh-13021
7 years ago
Andy Wilkinson 49089546f8 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll fbf8f57773 Merge branch '1.5.x' into 2.0.x 7 years ago
Madhura Bhave aad279208e Throw exception if RandomAccessData tries to read beyond EOF
Fixes gh-12986
7 years ago
Madhura Bhave d268b2102f Fix typo 7 years ago
Stephane Nicoll 9f7be62687 Backport polish commit "22b99a90" 7 years ago
Andy Wilkinson d5841982d9 Upgrade to Testcontainers 1.7.2
See gh-12821
7 years ago
Johnny Lim d8700522d3 Rename nested *AutoConfiguration classes to *Configuration
Closes gh-12989
7 years ago
Johnny Lim a723ac95a9 Polish
Closes gh-12999
7 years ago
Yaman Jain 50ca33ecd2 Fix typo
Closes gh-12996
7 years ago
Sebastien Deleuze 933f0bbca8 Upgrade to Kotlin 1.2.41
Includes KT-23973 critical regression fix.
7 years ago
Madhura Bhave 0385bd4131 Use spring.session.timeout for Spring Session timeout
Fallback to server.servlet.session.timeout for backwards compatibility.

Fixes gh-12906
7 years ago
Stephane Nicoll 36fb078935 Merge branch '1.5.x' into 2.0.x 7 years ago
Johnny Lim b941c5f1a6 Polish
Closes gh-12981
7 years ago
Madhura Bhave f2d8ca8b3a Fix failing NettyReactiveWebServerFactoryTests
NettyReactiveWebServerFactoryTests.portInUseExceptionIsThrownWhenPortIsAlreadyInUse
started failing on CI following this change in reactor netty:
e6634c27f6
Instead of a `BindException`, a `NativeIoException` is thrown. Since that Exception
is for internal use only, we throw a generic `WebServerException`
instead of the `PortInUseException`.
7 years ago
Madhura Bhave 24ce3ecb43 Fix typo in docs 7 years ago
Madhura Bhave 228c85fe67 Improve List and Map binding documentation
Closes gh-12444
7 years ago
Stephane Nicoll fbe88c483e Prevent rabbitmq starter to bring webflux on the classpath
This commit excludes `com.rabbitmq:http-client` from `spring-rabbit` as
the former brings spring webflux for an optional feature. This also
prevents Spring Boot to consider that a web server should be started as
all the necessary pieces are unexpectedly present.

Closes gh-12853
7 years ago
Stephane Nicoll 9cf8080a17 Polish "Document Kotlin custom metadata generation"
Closes gh-12960
7 years ago
sdeleuze c24e7a5930 Document Kotlin custom metadata generation
See gh-12960
7 years ago
Andy Wilkinson a358f3f0e8 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 11ad9bfebf Upgrade version of gradle-git-properties in doc
Closes gh-12955
7 years ago
Stephane Nicoll 55ef9e6dc9 Deprecate excludeArtifactIds
While being able to exclude all artifacts of a given group is a handy
feature, excluding all artifacts with a given artifactId does not make
much sense as it should refer to a single artifact anyway. Also the
general "exclude" mechanism is meant to do the exact same thing.

Closes gh-12885
7 years ago
Andy Wilkinson c9f04c3977 Avoid race between container starting and getting mapped port 7 years ago
Andy Wilkinson f6cc1cbd76 Make Testcontainer wait strategies final 7 years ago
Andy Wilkinson f39cea0428 Try to stabilize build by giving Cassandra longer to start 7 years ago
Andy Wilkinson 6c504a5098 Fix deprecation warnings in Testcontainers wait strategies
See gh-12821
7 years ago
Johnny Lim a15319ee30 Remove ManagementServerProperties.addApplicationContextHeader
Closes gh-12926
7 years ago
Madhura Bhave 877c4f702e Use empty key-store-password if storeprovider present
For tomcat, if an SslStoreProvider is configured,
`SslStoreProviderUrlStreamHandlerFactory` stores the keyStore with an
empty password. Previously, if a password was supplied using the
ssl.key-store-password property, that would be the password used to
load the keystore and the connector would fail with a
"Password verification failed" exception.

Fixes gh-11391
7 years ago
Andy Wilkinson a5f3f36b58 Test the Gradle plugin against Gradle 4.7
Closes gh-12952
7 years ago
Andy Wilkinson 72ec2c8644 Polish “Only analyze configurations that we've registered to check”
Closes gh-12784
7 years ago
danhyun 1e447ebfbf Only analyze configurations that we've registered to check
See gh-12784
7 years ago
Andy Wilkinson 806978b8f1 Test unresolved dependency analysis in the Gradle plugin
See gh-12784
7 years ago
Brian Clozel e3e404f9f9 Fix optional ContentNegotiationStrategy for Actuator
Since https://jira.spring.io/browse/SPR-16624, the contract for
`ContentNegotiationStrategy` has been refined and should never return an
empty list if it's got no preference for a media type, but it should
rather respond with a `"*/*"` instead.

This commit fixes the `OptionalPathExtensionContentNegotiationStrategy`
defined in the Spring MVC auto-configuration to have that behavior.

Fixes gh-12900
7 years ago
Stephane Nicoll f58f23c5b8 Document that binder doesn't handle static properties
Closes gh-12912
7 years ago
Stephane Nicoll 469ce57016 Remove outdated note
As we've updated the complete ref doc to use a canonical format for
configuration keys, this not is outdated and this commit removes it.
7 years ago
Stephane Nicoll 6df1ea3544 Fix use of deprecated property in docs
Closes gh-12940
7 years ago
Brian Clozel f1b3188c3c Upgrade to Netty 4.1.24.Final 7 years ago
Madhura Bhave 5afa7d1965 Reset URLStreamHandlerFactory instance between tests 7 years ago
dreis2211 a930835b92 Replace <code> tags where possible
Closes gh-12922
7 years ago
Madhura Bhave 5792042d5d Fix verify statements in tests 7 years ago
Madhura Bhave c93f7ddff6 Make truststore & keystore optional on SslStoreProvider
Fixes gh-11395
7 years ago
evernat 91fa76a9a2 Add reference to javamelody starter
Closes gh-12877
7 years ago
Madhura Bhave 35af166750 Fix tests
See gh-11380
7 years ago
Madhura Bhave cab9bff4f4 Log included profiles according to the processing order
This commit includes some refactoring of active profiles
processing. Previously, there was a LIFO Queue for adding active
profiles. Profiles that were added last, were processed first.
Because of this reverse ordering, profiles were prepended to the
environment to preserve the order in which they were logged.
This however didn't work for "included" profiles as they were
prepended to the environment even though they were processed after
the active profile. In this commit, profiles are processed in a FIFO manner
and processed as they're found.

Fixes gh-11380
7 years ago
Stephane Nicoll 026d8bed5f Fix additional missing semicolon on sample code
Closes gh-12895
7 years ago
Jienan Duan 90ae14ec21 Add missing semicolon on sample code
See gh-12895
7 years ago
Stephane Nicoll 2b98b11c12 Polish "Less object instantiation in WebMvcTags"
Closes gh-12894
7 years ago
Jon Schneider d676147680 Less object instantiation in WebMvcTags
See gh-12894
7 years ago
Stephane Nicoll 0bc7bef5e5 Properly handle InvalidEndpointRequestException
This commit makes sure that `InvalidEndpointRequestException` is wrapped
in a `ReflectionException` when invoked via JMX.

Closes gh-12857
7 years ago
Stephane Nicoll 2002115637 Add doc ref for hierarchical name mapping 7 years ago
Stephane Nicoll 1c0f589c01 Simplify Joinfaces community starter entry
See gh-12867
7 years ago
dreis2211 2bbf438c36 Fix duplicate words in comments
Closes gh-12866
7 years ago
Stephane Nicoll bfe31e6688 Fix broken build 7 years ago
Stephane Nicoll fa542bacc0 Translate user-defined exception when invoking JMX operation
This commit makes sure to respect the MBeanServer#invoke contract by
wrapping any user-defined exception in an MBeanException. Also, any
exception not from the JDK is translated, as it may lead to unexpected
issue on the client if that class isn't present. This is consistent
with our operation result mapping strategy.

Closes gh-10448
7 years ago
Stephane Nicoll 2204d5f750 Polish 7 years ago
Stephane Nicoll 31441a7590 Add a note to explain how to disable the web server
See gh-12853
7 years ago
Stephane Nicoll 7550f92ea5 Clarify DataSource metrics section for custom DataSources
Closes gh-12851
7 years ago
Brian Clozel 29a719dfb3 Upgrade to Undertow 1.4.24.Final
This commit also updates tests since UNDERTOW-1260 has been fixed in
this release.

Closes gh-12852
7 years ago
Brian Clozel b2e7be17ab Polish gh-11514
As pointed out by Rossen in gh-11514 comments, a handler might commit
the response and then send an error signal in the pipeline. In this
case, adding a callback to `beforeCommit` is useless because it won't be
triggered. In those cases, we need to collect metrics right away.
7 years ago
Madhura Bhave 9c7612e681 Fix NPE in WaitStrategy used for test containers 7 years ago
Brian Clozel b7695fabab Switch to Reactor Bismuth SNAPSHOTs 7 years ago
Stephane Nicoll 38bd4bd58c Stop associating an Executor bean to Quartz
This commits make sure that the Quartz auto-configuration no longer
associates an `Executor` bean if present in the context as Quartz offers
properties to tune it, which would mutate and lead to unexpected
results.

Closes gh-12823
7 years ago
Stephane Nicoll e4e56bbcc3 Migrate to ApplicationContextRunner 7 years ago
Brian Clozel 3fa8fe85af Deprecate RouterFunctionMetrics
Spring Boot now deploys both annotation-based and functional endpoints
under the same `HttpHandler`; this means the currently auto-configured
`MetricsWebFilter` is instrumenting all endpoints to produce metrics.

There is no need for a WebFlux functional specific support.
This commit removes mentions of `RouterFunctionMetrics` in the docs and
deprecates that class.

Closes gh-12833
7 years ago
Brian Clozel 77be10e7bc Fix "status" metrics tag for error responses
Prior to this commit, the metrics `WebFilter` would handle exceptions
flowing through the pipeline and extract tag information right away.
Since error handling turns the exception information into error HTTP
responses later in the chain, the information extracted from the
response earlier is invalid.
In this case, the "status" information could be "200" whereas error
handlers would later set that status to "500".

This commit delays the tags extraction later in the process, right
before the response is comitted. The happy path is not changed, as
handlers signal that the response is fully taken care of at that point.

Fixes gh-11514
7 years ago
DK Lee 1f91ae541f Fix WebClient example constructor name
Closes gh-12842
7 years ago
Madhura Bhave 4fab679829 Upgrade testcontainers to 1.7.0
Closes gh-12821
7 years ago
Stephane Nicoll f55753c1dc Add reference to Axon Framework 7 years ago
Stephane Nicoll 5cba7400e1 Add reference to Flowable 7 years ago
Stephane Nicoll 3c169b4e0a Fix bean name of EnvironmentEndpointWebExtension
Closes gh-12827
7 years ago
Ken Kwon 16ad34aa19 Fix typo
Closes gh-12825
7 years ago
Stephane Nicoll e8fac7d9c4 Properly discover endpoints that are proxied
Previously to this commit, if a `@ControllerEndpoint`,
`@RestControllerEndpoint` or `@ServletEndpoint` annotated bean was
proxied, the endpoint wasn't properly detected.

This commit makes sure that annotation retrieval works on the user class
while preserving the get (vs. find) retrieval semantic

Closes gh-12441
7 years ago
Stephane Nicoll 86b96254a1 Migrate to ApplicationContextRunner 7 years ago
Stephane Nicoll f83934e192 Polish contribution
Closes gh-12812
7 years ago
Johnny Lim f03849d502 Polish
See gh-12812
7 years ago
Andy Wilkinson 4fbe0b1283 Add dependency management for Kafka
Closes gh-12815
7 years ago
Phillip Webb ba85cefce3 Polish 7 years ago
Andy Wilkinson 8d5b9f37d5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 8b1a101cb6 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 6692301d51 Polish "Replace Couchbase's deprecated methods"
Closes gh-12655
7 years ago
Yulin Qin 3236306e53 Replace Couchbase's deprecated methods
See gh-12655
7 years ago
Stephane Nicoll 92d9479765 Gracefully handle exclusion of DataSourceAutoConfiguration
This commit makes sure that an auto-configuration that requires
`DataSourceProperties` will not break if `DataSourceAutoConfiguration`
has been explicitly excluded.

Closes gh-12512
7 years ago
Madhura Bhave 2f5ab50367 Add @QuartzDataSource for quartz auto-configuration
Closes gh-12755
7 years ago
Andy Wilkinson c3bf8541d7 Do not rely on findAvailableTcpPort finding an available port
Closes gh-12779
7 years ago
Jichun Liu 34986ed12f Add docker-api starter to 3rd party list
See https://github.com/jliu666/docker-api-spring-boot

Closes gh-12605
7 years ago
Andy Wilkinson f335ec00bf Polish 7 years ago
Andy Wilkinson 71df9c8618 Upgrade to Spring Kafka 2.1.5.RELEASE
Closes gh-12775
7 years ago
Andy Wilkinson b42325f388 Upgrade to Spring Amqp 2.0.3.RELEASE
Closes gh-12774
7 years ago
Andy Wilkinson 0c6a09201d Upgrade to Couchbase Client 2.5.7
Closes gh-12773
7 years ago
Andy Wilkinson 87aef1c379 Merge branch '1.5.x' 7 years ago
Andy Wilkinson a8bbf7120e Merge branch '1.5.x' 7 years ago
Phillip Webb 0c98d0e7d3 Polish "Allow validation api without implementation"
Closes gh-12669
7 years ago
geo_m a74dc74ec3 Allow validation api without implementation
Allow validation api in the classpath without
a validator, as long as no bean is annotated `@Validated`

See gh-12669
7 years ago
Phillip Webb 41dc70146a Polish "Prevent warnings when running embedded Artemis"
Closes gh-12680
7 years ago
Benjamin Graf 19818b752c Prevent warnings when running embedded Artemis
Configure AddressSettings for DLQ and ExpiryQueue for the embedded
Artemis broker to prevent warnings from being logged.

Closes gh-12680
7 years ago
Phillip Webb 68dc9fed3b Upgrade to Spring Integration 5.0.4
Closes gh-12693
7 years ago
Phillip Webb ec419fca8b Upgrade to Spring Security 5.0.4
Closes gh-12694
7 years ago
Phillip Webb 0c0b60bfa4 Upgrade to Spring Data Kay SR6
Closes gh-12696
7 years ago
Jon Schneider 03158e2fd5 Upgrade to Micrometer 1.0.3
Closes gh-12767
7 years ago
Phillip Webb 685babc829 Polish "Use lambdas for map entry iteration where possible"
Closes gh-12626
7 years ago
igor-suhorukov 69bc19e0ca Use lambdas for map entry iteration where possible
See gh-12626
7 years ago
Clement Stoquart 276037cd56 Add missing managed JUnit Jupiter dependencies
Add managed dependencies for `junit-jupiter-params` and
`junit-vintage-engine`.

Closes gh-12635
7 years ago
dreis2211 cc66de28d0 Populate cache in ConfigFileApplicationListener
Fix `ConfigFileApplicationListener` so that the loadDocumentsCache is
populated when documents are loaded.

Closes gh-12732
7 years ago
dreis2211 35b4cd01ab Polish 7 years ago
Phillip Webb bc15f9ee9b Upgrade Maven failsafe plugin to 2.21.0
See gh-12721
7 years ago
Stephan Köninger 373f5e7682 Upgrade Maven surefire plugin to 2.21.0
Closes gh-12721
7 years ago
Phillip Webb 598e9bb842 Polish 7 years ago
Phillip Webb ce9ca6ae70 Polish "Apply MeterRegistryCustomizer to composites"
Closes gh-12762
7 years ago
Jon Schneider 1fce462944 Apply MeterRegistryCustomizer to composites
Update `MeterRegistryConfigurer` to also apply customizers to
composite meter registries. Prior to this commit composites were
skipped due to the incorrect assumption that did not contain
their own state.

Closes gh-12762
7 years ago
Phillip Webb d49a1024bd Merge branch '1.5.x' 7 years ago
Phillip Webb 696aedaef8 Merge branch '1.5.x' 7 years ago
Brian Clozel 799e1ba077 Upgrade to Netty 4.1.23.Final
Closes gh-12764
7 years ago
Phillip Webb 6fb4fba43a Merge branch '1.5.x' 7 years ago
Andy Wilkinson aa27334671 Run deployment tests on JDK 9 and 10 where possible
Closes gh-10414
7 years ago
Andy Wilkinson e44bfbea4a Merge branch '1.5.x' 7 years ago
Andy Wilkinson 7b39cdd5c4 Merge branch '1.5.x' 7 years ago
Andy Wilkinson b951397a7c Upgrade to Spring REST Docs 2.0.1.RELEASE
Closes gh-12681
7 years ago
Brian Clozel f6d16c8b99 Align WebFluxTags uri support on WebMvcTags
This commit ensures that `WebFluxTags` not only relies on
`BEST_MATCHING_PATTERN_ATTRIBUTE` or request URI to provide the "uri"
tag information.

To avoid cardinality explosion, HTTP not found and redirects are
assigned fixed uri tags.

Closes gh-12685
7 years ago
Stephane Nicoll ad6a888e47 Polish 7 years ago
Stephane Nicoll f99752283f Fix relaxed binding examples
Closes gh-12750
7 years ago
Stephane Nicoll bf06854218 Merge branch '1.5.x' 7 years ago
Madhura Bhave 30e3cf4c01 Make sure property mapping exception are swallowed 7 years ago
Madhura Bhave e5f8078749 Support dots in System environment properties
Fixes gh-12728
7 years ago
Stephane Nicoll d14cd2cbae Upgrade to Spring Framework 5.0.5.RELEASE
Closes gh-12340
7 years ago
Stephane Nicoll f424297fef Upgrade to Reactor Bismuth SR8
Closes gh-12698
7 years ago
Andy Wilkinson 195a66f009 Upgrade to Hibernate Validator 6.0.9.Final
Closes gh-12746
7 years ago
Andy Wilkinson d5caddf4ca Upgrade to Rxjava 1.3.8
Closes gh-12745
7 years ago
Andy Wilkinson 16f5f8d53c Upgrade to Lettuce 5.0.3.RELEASE
Closes gh-12744
7 years ago
Andy Wilkinson e20fcf0e17 Merge branch '1.5.x' 7 years ago
Rui Figueira 958aa5db55 Remove outdated reference to `EnvironmentTestUtils`
Documentation still refers to the now deprecated `EnvironmentTestUtils`
class instead of `TestPropertyValues` for setting environment values in
tests.

This commit replaces it with `TestPropertyValues` and provides an
equivalent code example.

Closes gh-12711
7 years ago
Andy Wilkinson 72cf471e83 Merge branch '1.5.x' 7 years ago
Stephane Nicoll b6f9b46be8 Only create a WebTestClient with WebFlux
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.

Closes gh-12318
7 years ago
Stephane Nicoll 7dbeaaa932 Polish "Remove HierarchicalNameMapper as a configured @Bean"
Closes gh-12683
7 years ago
Jon Schneider 8572a091b8 Remove HierarchicalNameMapper as a configured @Bean
HierarchicalNameMapper is not a component that can be shared amongst
multiple monitoring systems.

See gh-12683
7 years ago
Stephane Nicoll 7c36c00331 Fix default HierarchicalNameMapper implementation for Graphite
Closes gh-12557
7 years ago
Johnny Lim 4ab439856c Remove destroyMethod attribute in @Bean for MeterRegistry
Closes gh-12725
7 years ago
Andy Wilkinson 3568019118 Merge branch '1.5.x' 7 years ago
Attila Pápai 95385cecba Add space between right parentheses and next word
Closes gh-12722
7 years ago
Benjamin Graf 101a42c572 Fix outdated import statements
Closes gh-12697
7 years ago
Madhura Bhave 8e81f0c23d Fix conditions report message for same short name
If two auto-configuration classes with the same name are present,
the conditions report message now uses the fully qualified name for
both instead of the short name.

Fixes gh-11710
7 years ago
Madhura Bhave 270ee6dd2c Configure RequestContextFilter in mgmt context
Closes gh-12546
7 years ago
Phillip Webb a657a28f58 Fix properties unicode value decoding
Fix a range error when checking for unicode hex chars.

Fixes gh-12716
7 years ago
Phillip Webb 47a56616ae Merge branch '1.5.x' 7 years ago
Stephane Nicoll c90806477c Fix outdated reference to DurationUnit
Closes gh-12708
7 years ago
Madhura Bhave 821af30277 Add missing javadoc for Bindable
Closes gh-12643
7 years ago
Andy Wilkinson f108224b22 Start building against Spring Data Kay SR6 snapshots
See gh-12696
7 years ago
Andy Wilkinson 24da1dc97e Start building against Spring Security 5.0.4 snapshots
See gh-12694
7 years ago
Andy Wilkinson 29c03da7df Start building against Spring Integration 5.0.4 snapshots
See gh-12693
7 years ago
Phillip Webb 7649eb6230 Allow auto-configure sort with incomplete chain
Update `AutoConfigurationSorter` so that all `@AutoConfigureBefore` and
`@AutoConfigureAfter` classes are considered even if they are ultimately
not part of the requested set.

Prior to this commit, given classes ordered with annotations such that
A -> B -> C a call to sort only [A, B] could return the incorrect order.

Fixes gh-12660
7 years ago
Stephane Nicoll 4b4a8acb9d Group auto-configuration import selectors together
This commit updates Spring Boot's DeferredImportSelector implementations
to group imports in a consistent set. This makes sure ordering is
applied consistently.

Closes gh-12366
7 years ago
Phillip Webb 9a64d3bf3f Fix AsciiBytes unicode decoding
Fix the decoding logic in the AsciiBytes `hashCode` and `matches` to
correctly deal with multi-byte encodings.

Fixes gh-12504
7 years ago
Phillip Webb 98a2a91d16 Polish 7 years ago
Brian Clozel ebb2f70e0b Make WebMvgTags use matched patterns for HTTP 404
Prior to this commit, `WebMvcTags' would always mark as "NOT_FOUND" or
"REDIRECTION" *any* exchange with responses of 404 and 3xx status, even
if those responses are actually returned by Controller handlers.

This commit checks inverts those checks and first considers if the
"BEST_MATCHING_PATTERN_ATTRIBUTE" request attribute is present and uses
it - then falls back to "NOT_FOUND" and "REDIRECTION" to avoid
cardinality explosion.

Fixes gh-12577
7 years ago
Andy Wilkinson cca5c0d2ee Start building against Spring REST Docs 2.0.1 snapshots
See gh-12681
7 years ago
Andy Wilkinson 14b8e759c9 Upgrade to Jackson 2.9.5
Closes gh-12639
7 years ago
Andy Wilkinson 247910a28d Merge branch '1.5.x' 7 years ago
Stephane Nicoll 703f33f175 Add reference to Sprout Platform starter
Closes gh-12599
7 years ago
Kazuki YAMAMOTO aac716cb8c Fix typo
Closes gh-12666
7 years ago
Stephane Nicoll d456e1de49 Polish contribution
Closes gh-12590
7 years ago
Johnny Lim 74f9a84ea9 Make intermediate classes in type hierarchy of public class public
See gh-12590
7 years ago
Stephane Nicoll da77cbaf7e Complete dependency management for Quartz
Closes gh-12663
7 years ago
Stephane Nicoll 1e2eec5bcd Close context if an ApplicationReadyEvent listener fails
This commit makes sure that the `ApplicationContext` is closed properly
if an `ApplicationReadyListener` throws an exception.

Closes gh-12549
7 years ago
Madhura Bhave 8b29823885 Prevent StackOverFlowException in metadata processor
Fixes gh-11037
7 years ago
Stephane Nicoll 13f45e6434 Remove misleading Jersey configuration property
This commit removes an override of a `ResourceConfig` property that was
set as an init parameter property (and therefore ignored).

Closes gh-3557
7 years ago
Stephane Nicoll ccbfcbedf0 Add support for org.jooq.RecordUnmapperProvider
Closes gh-12560
7 years ago
Andy Wilkinson 1f35abacd6 Polish “Configure Kotlin compiler to use -java-parameters by default”
Closes gh-12641
7 years ago
Rui Figueira 5e2726f896 Configure Kotlin compiler to use -java-parameters by default
See gh-12641
7 years ago
Stephane Nicoll 404f22e5f9 Polish "Document @WebFluxTest limitation with RouterFunction"
See gh-10683
7 years ago
Madhura Bhave db7d47704a Document @WebFluxTest limitation with RouterFunction
Fixes gh-10683
7 years ago
Madhura Bhave a6a523bc51 Fix typos 7 years ago
Stephane Nicoll 42e81e987b Fix @EnableIntegrationManagement
Restore proper use of `defaultCountsEnabled` that was inadvertently
changed to `countsEnabled`

Closes gh-12594
7 years ago
Stephane Nicoll d9beafa45f Merge branch '1.5.x' 7 years ago
Stephane Nicoll 006decea2a Merge branch '1.5.x' 7 years ago
Madhura Bhave 88faabaa63 Fix space 7 years ago
Madhura Bhave fa6ee8e34d Clarify h2-console requires a servlet-based web app
Fixes gh-12603
7 years ago
Stephane Nicoll 553b184248 Polish "Use Supplier variants of Assert methods"
Closes gh-12630
7 years ago
dreis2211 3b0f6e7168 Use Supplier variants of Assert methods
See gh-12630
7 years ago
Stephane Nicoll 62cc4e9552 Polish "Remove value in @ConditionalOnMissingBean if possible"
Closes gh-12604
7 years ago
Johnny Lim c100510222 Remove value in @ConditionalOnMissingBean if possible
See gh-12604
7 years ago
Stephane Nicoll 47307dbc7e Polish contribution
Closes gh-12584
7 years ago
Johnny Lim 625bf93598 Polish
See gh-12584
7 years ago
Stephane Nicoll 64a4f70564 Avoid use of `foo` and `bar` in doc 7 years ago
sdeleuze 561c24b328 Fix Kotlin @ConfigurationProperties example
Closes gh-12633
7 years ago
Stephane Nicoll 9cac45d514 Polish "Add Redis Sentinel database support"
Closes gh-12556
7 years ago
Alen Turkovic 1f80079c49 Add Redis Sentinel database support
See gh-12556
7 years ago
Stephane Nicoll ed7618b097 Polish "Avoid string copies in SpringBootBanner"
Closes gh-12591
7 years ago
dreis2211 97c95d749e Avoid string copies in SpringBootBanner
See gh-12591
7 years ago
Andy Wilkinson 9fccb0ae55 Upgrade to Spring Ws 3.0.1.RELEASE
Closes gh-12625
7 years ago
Andy Wilkinson dcb1535eb1 Upgrade to Selenium Htmlunit 2.29.3
Closes gh-12624
7 years ago
Andy Wilkinson 49ee528d09 Upgrade to Postgresql 42.2.2
Closes gh-12623
7 years ago
Andy Wilkinson de87e63503 Upgrade to Jooq 3.10.6
Closes gh-12622
7 years ago
Andy Wilkinson 1543d98cc5 Upgrade to Kotlin 1.2.31
Closes gh-12621
7 years ago
Andy Wilkinson 5453e77062 Upgrade to Infinispan 9.1.7.Final
Closes gh-12620
7 years ago
Andy Wilkinson 77c2232a63 Upgrade to Hibernate 5.2.16.Final
Closes gh-12619
7 years ago
Andy Wilkinson 4ebb5a942c Upgrade to Ehcache3 3.5.2
Closes gh-12618
7 years ago
Andy Wilkinson 43e0c66783 Upgrade to Rxjava2 2.1.12
Closes gh-12617
7 years ago
Andy Wilkinson 5defc2ab57 Upgrade to Rxjava 1.3.7
Closes gh-12616
7 years ago
Andy Wilkinson 83d4b2e92e Upgrade to Unboundid Ldapsdk 4.0.5
Closes gh-12615
7 years ago
Brian Clozel 728251c3bb Upgrade to Reactor Bismuth SNAPSHOTs 7 years ago
Andy Wilkinson 95b0e874f9 Merge branch '1.5.x' 7 years ago
Andy Wilkinson c12851a5b0 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 1de77cde75 Unignore JUL logging test
Closes gh-1778
7 years ago
Johnny Lim 1e2e8b1d66 Rename expose to include
Closes gh-12555
7 years ago
igor-suhorukov 21628a9a59 Polish
Closes gh-12553
7 years ago
Denis Washington a09ee17cbf Add OAuth2 server implementation section to docs
As auto-configuration for Spring Security OAuth has been removed
from Spring Boot 2.0 and Spring Security 5 doesn't have OAuth
2.0 Authorization / Resource Server support yet, it has not
been obvious at all how to implement an OAUth 2.0 server with
Spring Boot 2.0.

For that reason, this new section briefly explains the current
temporary situation and points to the spring-security-oauth2-autoconfigure
module that restores the auto-configuration support for OAuth
2.0 Authorization and Resource Servers.

Closes gh-12491
7 years ago
Phillip Webb 78534a753d Polish "Iterate map by using lambda function"
See gh-12528
7 years ago
igor-suhorukov ffc883b005 Iterate map by using lambda function
Closes gh-12528
7 years ago
Phillip Webb a520056838 Make containsDescendantOf a default method
Change `ConfigurationPropertySource.containsDescendantOf` to have a
default implementation that return `UNKNOWN`.

Fixes gh-12539
7 years ago
Phillip Webb 63b8ccc7c3 Fix IterableConfigurationPropertySource javadoc
Fixes gh-12540
7 years ago