dreis2211
07b857e57a
Use disabledWithoutDocker option for @Testcontainers
...
See gh-18095
5 years ago
dreis2211
594e2084c7
Upgrade to Testcontainers 1.12.0
...
See gh-18095
5 years ago
Stephane Nicoll
5dc133ae9e
Merge branch '2.1.x'
...
Closes gh-18098
5 years ago
dreis2211
087795fb67
Remove duplicated dependency in spring-boot-docs
...
See gh-18092
5 years ago
dreis2211
b4350a9d96
Remove unnecessary blank lines
...
See gh-18089
5 years ago
Andy Wilkinson
a4b8d2401f
Merge branch '2.1.x'
...
Closes gh-18094
5 years ago
Andy Wilkinson
abba4fa9c9
Include exception's message in message printed by AP
...
Fixes gh-17974
5 years ago
Andy Wilkinson
b463acb10f
Merge branch '2.1.x'
...
Closes gh-18093
5 years ago
Andy Wilkinson
edcaee375f
Consider @Deprecated on field when determining property's deprecation
...
Fixes gh-17550
5 years ago
Andy Wilkinson
20b6656ba7
Protect autoconfigure module against slow starting test containers
5 years ago
Andy Wilkinson
3a417eec52
Merge branch '2.1.x'
5 years ago
Andy Wilkinson
4fd7b68f71
Polish
5 years ago
Phillip Webb
a86258e62c
Revert "Reduce bean method visibility"
...
Reverts commit 2be3027dcf
on 2.1.x
5 years ago
Phillip Webb
b3835a8149
Merge branch '2.1.x'
5 years ago
Phillip Webb
2be3027dcf
Reduce bean method visibility
...
See gh-17539
5 years ago
Phillip Webb
3746631081
Merge branch '2.1.x'
...
Closes gh-18085
5 years ago
Phillip Webb
75a1a24914
Polish "Ensure Flyway/Liquibase runs before Quartz"
...
See gh-17539
5 years ago
Dmytro Nosan
7e5bd1f281
Ensure Flyway/Liquibase runs before Quartz
...
Add post processors to ensure that SchedulerFactoryBean and Scheduler
beans depend on the Flyway and Liquibase beans.
See gh-17539
5 years ago
Andy Wilkinson
caa4c165b5
Merge branch '2.1.x'
...
Closes gh-18084
5 years ago
Andy Wilkinson
7150f121a3
Redirect stdout from cd to /dev/null in CLI's bash script
...
Fixes gh-17579
5 years ago
Andy Wilkinson
6017f2f529
Merge branch '2.1.x'
...
Closes gh-18083
5 years ago
Andy Wilkinson
ee89e0effd
Fix client auth with Jetty
...
Fixes gh-17541
5 years ago
dreis2211
3e35a6616c
Fix duplicated words
...
See gh-18004
5 years ago
freekry
e1611287c8
Simplify some code
...
See gh-18077
5 years ago
Phillip Webb
58734873dd
Merge branch '2.1.x'
...
Closes gh-18081
5 years ago
Phillip Webb
e07889b092
Document that Filter beans are eagerly initialized
...
Closes gh-17814
5 years ago
Phillip Webb
117a2ecda9
Merge branch '2.1.x'
...
Closes gh-18080
5 years ago
Phillip Webb
7e60f4b32a
Clarify "YAML Shortcomings" documentation
...
Closes gh-17933
5 years ago
Phillip Webb
d655684135
Merge branch '2.1.x'
...
Closes gh-18079
5 years ago
Phillip Webb
ffbd11caba
Document logger environment variable restrictions
...
Update the reference guide with a note about using environment variables
to configure logging.
Closes gh-17958
5 years ago
Andy Wilkinson
37d3ce03f8
Revert "Upgrade to Jetty 9.4.20.v20190813"
...
This reverts commit f6f99d7855
as 9.4.20
includes an incompatible class change where an abstract class in
Jetty's public API was changed to an interface, making it incompatible
with Framework 5.1.9.
See gh-18035
5 years ago
Andy Wilkinson
225ed4b7d6
Upgrade to Maven Site Plugin 3.8.2
...
Closes gh-18075
5 years ago
Andy Wilkinson
d14352fad9
Upgrade to Snakeyaml 1.25
...
Closes gh-18074
5 years ago
Andy Wilkinson
7e9a974cc0
Upgrade to Webjars Locator Core 0.40
...
Closes gh-18073
5 years ago
Andy Wilkinson
9dd8c689e6
Upgrade to Slf4j 1.7.28
...
Closes gh-18072
5 years ago
Andy Wilkinson
bf37aa622a
Upgrade to Selenium Htmlunit 2.36.0
...
Closes gh-18071
5 years ago
Andy Wilkinson
0d4ad44446
Upgrade to Reactive Streams 1.0.3
...
Closes gh-18070
5 years ago
Andy Wilkinson
281a85791f
Upgrade to Mongo Driver Reactivestreams 1.12.0
...
Closes gh-18069
5 years ago
Andy Wilkinson
7aa2cead1b
Upgrade to Mongodb 3.11.0
...
Closes gh-18068
5 years ago
Andy Wilkinson
66b099cefb
Upgrade to Liquibase 3.8.0
...
Closes gh-18067
5 years ago
Andy Wilkinson
64adcaa285
Upgrade to Jboss Logging 3.4.1.Final
...
Closes gh-18066
5 years ago
Andy Wilkinson
d11d46834b
Upgrade to Infinispan 9.4.16.Final
...
Closes gh-18065
5 years ago
Andy Wilkinson
503d04a679
Upgrade to Freemarker 2.3.29
...
Closes gh-18064
5 years ago
Andy Wilkinson
6d606a9618
Upgrade to Jetty 9.4.20.v20190813
...
Closes gh-18063
5 years ago
Andy Wilkinson
2d392ba8bc
Upgrade to Janino 3.1.0
...
Closes gh-18062
5 years ago
Andy Wilkinson
b62708e151
Upgrade to Groovy 2.5.8
...
Closes gh-18061
5 years ago
Andy Wilkinson
e876a25d0b
Upgrade to Tomcat 9.0.24
...
Closes gh-18060
5 years ago
Andy Wilkinson
2f62fe07ce
Upgrade to Log4j2 2.12.1
...
Closes gh-18059
5 years ago
Andy Wilkinson
8cdb7a3947
Upgrade to Commons Dbcp2 2.7.0
...
Closes gh-18058
5 years ago
Andy Wilkinson
509588fd11
Upgrade to Artemis 2.10.0
...
Closes gh-18057
5 years ago
Andy Wilkinson
d3554624d9
Upgrade to Htmlunit 2.36.0
...
Closes gh-18056
5 years ago
Andy Wilkinson
d5532f85c1
Upgrade to Byte Buddy 1.10.1
...
Closes gh-18055
5 years ago
Andy Wilkinson
dc0a4cc869
Upgrade to Jakarta Transaction 1.3.3
...
Closes gh-18054
5 years ago
Andy Wilkinson
ee903b39aa
Upgrade to Jakarta Persistence 2.2.3
...
Closes gh-18053
5 years ago
Andy Wilkinson
db56840880
Upgrade to Jakarta Json Bind 1.0.2
...
Closes gh-18052
5 years ago
Andy Wilkinson
96fa1df805
Upgrade to Jakarta Json 1.1.6
...
Closes gh-18051
5 years ago
Andy Wilkinson
b3cf5665d1
Upgrade to Jakarta Annotation 1.3.5
...
Closes gh-18050
5 years ago
Andy Wilkinson
b74e5d2f01
Upgrade to Undertow 2.0.25.Final
...
Closes gh-18049
5 years ago
Andy Wilkinson
d776ad6e2e
Upgrade to Rsocket 1.0.0-RC3
...
Closes gh-18048
5 years ago
Andy Wilkinson
c3c7c07d7e
Upgrade to Rxjava2 2.2.12
...
Closes gh-18047
5 years ago
Andy Wilkinson
57e5f1d93d
Upgrade to Netty 4.1.39.Final
...
Closes gh-18046
5 years ago
Andy Wilkinson
ad223f7327
Upgrade to Jakarta Mail 1.6.4
...
Closes gh-18045
5 years ago
Andy Wilkinson
d84a736cee
Upgrade to Caffeine 2.8.0
...
Closes gh-18044
5 years ago
Andy Wilkinson
3fc4df9f66
Upgrade to Slf4j 1.7.28
...
Closes gh-18043
5 years ago
Andy Wilkinson
e12aa4fe51
Upgrade to Reactive Streams 1.0.3
...
Closes gh-18042
5 years ago
Andy Wilkinson
df186945b6
Upgrade to Neo4j Ogm 3.1.13
...
Closes gh-18041
5 years ago
Andy Wilkinson
1cf615059e
Upgrade to Jooq 3.11.12
...
Closes gh-18040
5 years ago
Andy Wilkinson
9c8b8ef6cf
Upgrade to Jboss Logging 3.3.3.Final
...
Closes gh-18039
5 years ago
Andy Wilkinson
f2ca07001d
Upgrade to Infinispan 9.4.16.Final
...
Closes gh-18038
5 years ago
Andy Wilkinson
07f3ba7c33
Upgrade to Hibernate 5.3.11.Final
...
Closes gh-18037
5 years ago
Andy Wilkinson
7948c0e399
Upgrade to Freemarker 2.3.29
...
Closes gh-18036
5 years ago
Andy Wilkinson
f6f99d7855
Upgrade to Jetty 9.4.20.v20190813
...
Closes gh-18035
5 years ago
Andy Wilkinson
5e2f18f48b
Upgrade to Groovy 2.5.8
...
Closes gh-18034
5 years ago
Andy Wilkinson
a2d452f160
Upgrade to Tomcat 9.0.24
...
Closes gh-18033
5 years ago
Andy Wilkinson
b33d376fbe
Upgrade to Undertow 2.0.25.Final
...
Closes gh-18032
5 years ago
Andy Wilkinson
bf27f23144
Upgrade to Rxjava2 2.2.12
...
Closes gh-18031
5 years ago
Andy Wilkinson
494eaf0df8
Upgrade to Netty 4.1.39.Final
...
Closes gh-18030
5 years ago
Andy Wilkinson
e9a2de0556
Upgrade to Dropwizard Metrics 4.0.6
...
Closes gh-18029
5 years ago
Andy Wilkinson
8956e3d216
Upgrade to Couchbase Client 2.7.9
...
Closes gh-18028
5 years ago
Andy Wilkinson
d03ac6457e
Merge branch '2.1.x'
...
Closes gh-18027
5 years ago
Andy Wilkinson
3d23277b8f
Tolerate invalid mimetype in Reactory Netty compression predicate
...
Fixes gh-18018
5 years ago
Phillip Webb
dc0a642fc0
Fix chackstyle violations in test
...
See gh-18012
5 years ago
Phillip Webb
71b99e5c83
Merge branch '2.1.x'
...
Closes gh-18026
5 years ago
Phillip Webb
6ca92418b5
Document need to exactly JPA property names
...
Closes gh-17975
5 years ago
Phillip Webb
230506b30c
Merge branch '2.1.x'
5 years ago
Phillip Webb
e4dfb74629
Polish
5 years ago
Phillip Webb
85784ba6ea
Merge branch '2.1.x'
...
Closes gh-18025
5 years ago
Phillip Webb
1ff784ff54
Remove MBean shutdown warning from documentation
...
Closes gh-17988
5 years ago
Phillip Webb
51e71f7ff1
Merge branch '2.1.x'
...
Closes gh-18024
5 years ago
Phillip Webb
368eb566fb
Use versioned links in documentation
...
Update the reference documentation to use versioned links rather then
`/current/` whenever possible.
Closes gh-18000
5 years ago
Phillip Webb
f69b2669b3
Merge branch '2.1.x'
5 years ago
Phillip Webb
348d65b4fe
Polish documentation
5 years ago
Phillip Webb
dc870044c6
Merge branch '2.1.x'
5 years ago
Phillip Webb
7f9d143e01
Polish documentation
...
Update reference documentation source to use consistent attribute names
and fix a few formatting issues.
5 years ago
Phillip Webb
cbcfd9de6f
Merge branch '2.1.x'
5 years ago
Phillip Webb
db26d9dc91
Fix EndpointRequest ignore logic
...
Fixup ignore logic in `EndpointRequest`.
See gh-18012
5 years ago
Phillip Webb
ee130cfb3f
Merge branch '2.1.x'
...
Closes gh-18023
5 years ago
Phillip Webb
572e491465
Remove Gemfire starter details from documentation
...
Closes gh-18002
5 years ago
Phillip Webb
ddbc1e5b0a
Merge branch '2.1.x'
...
Closes gh-18022
5 years ago
Phillip Webb
dbccb705a8
Clarify "Web Application Conditions" documentation
...
Update the reference documentation so that "Web Application Conditions"
also covers reactive contexts.
Closes gh-18005
5 years ago
Phillip Webb
1283bc05d7
Merge branch '2.1.x'
...
Closes gh-18021
5 years ago
Phillip Webb
5938ca78b6
Fix request matcher management context support
...
Fix caching issues in `ApplicationContextRequestMatcher` and allow
subclasses to ignore an application context entirely. Update existing
matcher implementations so that they deal with the management context
correctly.
Prior to this commit, the `ApplicationContextRequestMatcher` would
return a context cached from the first request. It also didn't
provide any way to ignore a context. This meant that if the user was
running the management server on a different port the matching results
could be inconsistent depending on if the first request arrived on
the regular context or the management context. It also meant that we
could not distinguish between the regular context and the management
context when matching.
Closes gh-18012
5 years ago
davinkevin
84c81462b4
Upgrade to jOOQ 3.12.0
...
See gh-18014
5 years ago
Andy Wilkinson
50eb6d3fd1
Merge branch '2.1.x'
...
Closes gh-18016
5 years ago
dreis2211
b6fff67f6e
Remove reference to non-existent --edit option in CLI docs
...
See gh-18015
5 years ago
Andy Wilkinson
e2edb6a539
Polish "Auto-configure Flyway with JavaMigration beans"
...
See gh-17993
5 years ago
Semyon Danilov
ff68295928
Auto-configure Flyway with JavaMigration beans
...
See gh-17993
5 years ago
Andy Wilkinson
82ea3b51b3
Polish
5 years ago
Andy Wilkinson
0e2a131e5d
Polish "Upgrade to Flyway 6.0.1"
...
See gh-17997
5 years ago
Semyon Danilov
278b20d9c9
Upgrade to Flyway 6.0.1
...
See gh-17997
5 years ago
Phillip Webb
1e2f8959d9
Fix broken asciidoc rendering
...
Restore the blank line at the end of `executable-jar-format.adoc`
which appears to be required.
See gh-18007
5 years ago
Phillip Webb
b6e3f48a89
Delete old appendix file
...
Delete file accidentally added during merge.
See gh-18007
5 years ago
Phillip Webb
d70519038b
Fix broken asciidoc syntax
...
See gh-18007
5 years ago
Phillip Webb
ca53780c43
Merge branch '2.1.x'
...
Closes gh-18007
5 years ago
Phillip Webb
64d4bf823a
Reformat documentation to one sentence per line
...
Update reference documentation to use one sentence per line formatting
as recommended by the Asciidoctor team.
Closes gh-12445
5 years ago
Andy Wilkinson
9a7b2ce007
Upgrade to Mssql Jdbc 7.4.1.jre8
...
Closes gh-17965
5 years ago
Andy Wilkinson
a04a6c3e92
Merge branch '2.1.x'
...
Closes gh-17996
5 years ago
Ben Hale
2a04d94cf1
Use exec when launching the JVM in CLI's shell script
...
Previously, when the Spring Boot CLI ran the Java command line for an
application it did a straight invocation which suppressed propagation of
signals to the JVM in certain circumstances (e.g within Docker containers).
This change prepends the command with exec which causes the Java process to
replace the script process in a shell ensuring that signals are propagated to
the Java process without suppression.
See gh-17976
Signed-off-by: Ben Hale <bhale@pivotal.io>
5 years ago
Andy Wilkinson
0217de4349
Polish "Improve handling of non-standard status codes in RestTemplate metrics"
...
See gh-17991
5 years ago
Johnny Lim
1acff410a2
Improve handling of non-standard status codes in RestTemplate metrics
...
See gh-17991
5 years ago
Andy Wilkinson
7f8b3a7b86
Test the Gradle Plugin against Gradle 5.6.1
...
Closes gh-17995
5 years ago
dreis2211
26a22fa523
Test the Gradle Plugin against Gradle 5.6.1
...
See gh-17984
Closes gh-17984
5 years ago
Andy Wilkinson
bbec7b0f37
Merge branch '2.1.x'
...
Closes gh-17994
5 years ago
Andy Wilkinson
9961647c7f
Improve handling of reserved characters in MetaInfResourceManager
...
Previously, MetaInfResourceManager that we use with Undertow to serve
static resources from jar's META-INF/resources did not correctly
handle characters in the path that should be percent-encoded when
used in a URL.
This commit updates MetaInfResourceManager to encode the path before
it is used to create a URL. Prior to this encoding, encoded slashes
(%2F) are decoded as, unlike other encoded characters in the request's
URL, encoded slashes are not decoded prior to calling the
ResourceManager.
Fixes gh-17853
5 years ago
Stephane Nicoll
b57db504df
Fix broken build due to Kotlin upgrade
5 years ago
Stephane Nicoll
078d53a5f2
Upgrade to Kotlin 1.3.50
...
Closes gh-17982
5 years ago
Andy Wilkinson
11f67b8536
Upgrade to Kotlin Coroutines 1.3.0
...
Closes gh-17907
5 years ago
leoli
fac4b9c830
Upgrade to Git commit ID plugin 3.0.1
...
See gh-17981
5 years ago
Stephane Nicoll
96596f8ecc
Polish contribution
...
See gh-17962
5 years ago
Kant
7ee3656188
Polish
...
See gh-17962
5 years ago
Madhura Bhave
2726540e76
Merge branch '2.1.x'
...
Closes gh-17980
5 years ago
Madhura Bhave
674f2f5a6c
EndpointRequest should match @ServletEndpoint
...
This commit also changes the request matcher for MVC
endpoints to use an AntPathRequestMatcher instead of an
MvcRequestMatcher. The endpoint is always available
under the mapped endpoint path and this way the same matcher
can be used for both MVC and Jersey.
Fixes gh-17912
Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
dreis2211
ec57f0c31f
Fix upstream RSocket method renames
...
See gh-17973
5 years ago
Vedran Pavic
cb3efc1ef6
Add dependency management for IBM DB2 JDBC driver
...
See gh-17782
5 years ago
Stephane Nicoll
cda310ba0a
Polish "Fix a broken Asciidoctor syntax"
...
See gh-17970
5 years ago
Johnny Lim
78a467f9d3
Fix a broken Asciidoctor syntax
...
See gh-17970
5 years ago
Stephane Nicoll
e92a530640
Merge branch '2.1.x'
...
Closes gh-17972
5 years ago
leoli
34d28f48ca
Fix Undertow access log dir property name in doc
...
See gh-17968
5 years ago
Madhura Bhave
46ea4a2501
isPublisherConfirms in RabbitProperties should not throw NPE
...
Fixes gh-17967
5 years ago
Phillip Webb
fb846f434f
Merge branch '2.1.x'
...
Fixes gh-17959
5 years ago
Phillip Webb
4c446c38a6
Only add management error page for Spring MVC
...
Move management `ErrorPage` registration from the
`WebMvcEndpointChildContextConfiguration` to
`WebMvcEndpointChildContextConfiguration` and only add it when the
error controller is registered.
Fixes gh-17938
5 years ago
Stephane Nicoll
7d994e607d
Restructure tests to exercise deprecated property in a dedicated test
...
See gh-17848
5 years ago
Madhura Bhave
21783faede
Merge branch '2.1.x'
...
Closes gh-17953
5 years ago
Madhura Bhave
28d374d84d
Polish "Configure Issuer Validator for Resource Server"
...
See gh-17952
5 years ago
HaiTao Zhang
b3d189cf87
Configure Issuer Validator for Resource Server
...
See gh-17952
5 years ago
Madhura Bhave
8954fe13e5
Polish "Support additional publisher confirm types"
...
See gh-17848
5 years ago
HaiTao Zhang
8c1c8a27d9
Support additional publisher confirm types
...
See gh-17848
5 years ago
Madhura Bhave
7829593746
Polish "Sanitize password in URI properties"
...
See gh-17939
5 years ago
HaiTao Zhang
d49a2ec98e
Sanitize password in URI properties
...
See gh-17939
5 years ago
Madhura Bhave
0fee0ca71c
Merge pull request #17915 from htztomic
...
* pr/17915:
Polish "Added support for devtools YAML configuration"
Added support for devtools YAML configuration
Closes gh-17915
5 years ago
Madhura Bhave
48b5b6a24c
Polish "Added support for devtools YAML configuration"
...
See gh-17915
5 years ago
HaiTao Zhang
00a3ad0fd1
Added support for devtools YAML configuration
...
See gh-17915
5 years ago
Andy Wilkinson
b54ff7c45f
Merge branch '2.1.x'
...
Closes gh-17950
5 years ago
Andy Wilkinson
608228d617
Improve handling of non-standard status codes in WebClient metrics
...
Fixes gh-17695
5 years ago
Andy Wilkinson
ba6fe60134
Merge branch '2.1.x'
...
Closes gh-17948
5 years ago
Andy Wilkinson
52050c173c
Fix spying on scoped beans with @SpyBean
...
Previously, when spying on a scoped bean the creation of the spy
would be performed using the scoped proxy. This would result in
the spy being unable to spy on any of the target bean's methods as
the scoped proxy's implementations of those methods would be final.
This commit updates MockitoPostProcessor so that the creation of the
spy and injection of the @SpyBean-annotated field is performed using
the scoped target. The scoped target has not be proxied so this
allows Mockito to spy on all of its methods.
Closes gh-17817
5 years ago
Andy Wilkinson
2d2e3b3d8b
Support parallel test execution with @AutoConfigureMockMvc
...
Previously, the deferred line writing that is used, to print MockMvc
results to the console assumed that each DeferredLinesWriter would
only be used by a single thread at a time. This assumption does not
hold true when using JUnit 5's parallel test exection if the tests
running in parallel share an application context. This resulted in
a concurrent modification exception if one thread was adding lines
to the output while another was iterating over them.
This commit updates DeferredLinesWriter so that it uses thread local
storage for the deferred lines. This ensures that each List of lines
is only ever accessed by a single thread.
Closes gh-16179
5 years ago
Stephane Nicoll
52bcdac7b0
Polish
5 years ago
LiangYong
12bfca56d6
Remove unnecessary null check
...
See gh-17916
5 years ago
Gang Zhang
2b29bea55c
Use putIfAbsent() instead of containsKey
...
See gh-17913
5 years ago
Andy Wilkinson
bac63cf79e
Merge branch '2.1.x'
...
Closes gh-17943
5 years ago
Andy Wilkinson
0fb0eb6e5b
Deprecate jackson.version in favour of new jackson-bom.version
...
The versions of Jackon's bom and the versions of Jackson are often
not the same. For example, at the time of writing, the latest bom
version is 2.9.9.20190807 but the latest version of Jackson's core
is 2.9.9 and the latest version of Jackson's databind is 2.9.9.3.
spring-boot-dependencies using a property, jackson.version, to control
the version of jackson-bom that is imported. To make it clear that the
version property controls the version of Jackson's bom and not of
Jackson itself, this commit deprecates jackson.version in favour of
a new jackson-bom.version property.
An additional benefit of this change is that it addresses a problem
when using Gradle and the dependency management plugin. Jackson's bom
uses a jackson.version property to control the version
of core Jackson modules. This names clashes with the name of the
property used by spring-boot-dependencies. Specifying a custom
jackson.version to control the version of the bom that is imported
would also have the unwanted side-effect of customizing the version of
the core Jackson modules declared in Jackson's bom.
Fixes gh-17808
5 years ago
Andy Wilkinson
c48228f645
Merge branch '2.1.x'
...
Closes gh-17942
5 years ago
Andy Wilkinson
ac0a22d603
Tolerate LCEMFB with null JpaVendorAdapter in JPA auto-config
...
Closes gh-17935
5 years ago
Phillip Webb
cb5ca7997b
Polish
5 years ago
Phillip Webb
6270f5008d
Polish lenient enum converter
...
See gh-17798
5 years ago
Andy Wilkinson
b43827d626
Configure ping (formerly application) health indicator by default
...
This commit renames ApplicationHealthIndicator to PingHealthIndicator
and changes the auto-configuration so that it is now always configured
by default.
Closes gh-17926
5 years ago
Andy Wilkinson
05e089601e
Remove default favicon and support for serving from classpath root
...
Closes gh-17925
5 years ago
Phillip Webb
e03f822c6d
Add support for health indicator groups
...
Update the `HealthEndpoint` to support health groups. The
`HealthEndpointSettings` interface has been replaced with
`HealthEndpointGroups` which provides access to the primary group
as well as an optional set of additional groups.
Groups can be configured via properties and may have custom
`StatusAggregator` and `HttpCodeStatusMapper` settings.
Closes gh-14022
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
5 years ago
Phillip Webb
f09e0264d9
Migrate HealthIndicator auto-configurations
...
Migrate all `HealthIndicator` configuration to `HealthContributor`
configurations instead.
See gh-14022
5 years ago
Phillip Webb
3c535e0de3
Add HealthContributor and refactor HealthEndpoint
...
Overhaul `HealthEndpoint` support to make it easier to support health
groups. Prior to this commit the `HealthIndicator` interface was used
for both regular indicators and composite indicators. In addition the
`Health` result was used to both represent individual, system and
composite health. This design unfortunately means that all health
contributors need to be aware of the `HealthAggregator` and could not
easily support heath groups if per-group aggregation is required.
This commit reworks many aspects of the health support in order to
provide a cleaner separation between a `HealthIndicator`and a
composite. The following changes have been made:
- A `HealthContributor` interface has been introduced to represent
the general concept of something that contributes health information.
A contributor can either be a `HealthIndicator` or a
`CompositeHealthContributor`.
- A `HealthComponent` class has been introduced to mirror the
contributor arrangement. The component can be either
`CompositeHealth` or `Health`.
- The `HealthAggregator` interface has been replaced with a more
focused `StatusAggregator` interface which only deals with `Status`
results.
- `CompositeHealthIndicator` has been replaced with
`CompositeHealthContributor` which only provides access to other
contributors. A composite can no longer directly return `Health`.
- `HealthIndicatorRegistry` has been replaced with
`HealthContributorRegistry` and the default implementation now
uses a copy-on-write strategy.
- `HealthEndpoint`, `HealthEndpointWebExtension` and
`ReactiveHealthEndpointWebExtension` now extend a common
`HealthEndpointSupport` class. They are now driven by a
health contributor registry and `HealthEndpointSettings`.
- The `HealthStatusHttpMapper` class has been replaced by a
`HttpCodeStatusMapper` interface.
- The `HealthWebEndpointResponseMapper` class has been replaced
by a `HealthEndpointSettings` strategy. This allows us to move
role related logic and `ShowDetails` to the auto-configure module.
- `SimpleHttpCodeStatusMapper` and `SimpleStatusAggregator`
implementations have been added which are configured via constructor
arguments rather than setters.
- Endpoint auto-configuration has been reworked and the
`CompositeHealthIndicatorConfiguration` class has been replaced
by `CompositeHealthContributorConfiguration`.
- The endpoint JSON has been changed make `details` distinct from
`components`.
See gh-17926
5 years ago
Andy Wilkinson
24b5b0d93e
Polish
5 years ago
Andy Wilkinson
87339405f3
Merge branch '2.1.x'
...
Closes gh-17928
5 years ago
Andy Wilkinson
abe3d38527
Fix OoM error when starting Tomcat with max int load on startup
...
Fixes gh-17927
5 years ago
dreis2211
6ef6875a60
Correct WebFlux response body method
...
See gh-17919
5 years ago
Andy Wilkinson
9ac6485768
Prioritise static resource locations over classpath for favicon.ico
...
Closes gh-17922
5 years ago
Madhura Bhave
55c6ee71c1
Include logger group with configuredLevel in docs
...
Closes gh-17772
5 years ago
Phillip Webb
5f88c592b3
Polish
5 years ago
Brian Clozel
e7c3ab3e27
Rename WebFlux response body methods
...
This commit adapts to recent changes in Spring Framework.
See spring-projects/spring-framework#23212
5 years ago
Stephane Nicoll
752bb0f5ab
Start building against Spring Kafka 2.3.0 snapshots
...
See gh-17902
5 years ago
Stephane Nicoll
9dd6edbe56
Start building against Spring Integration 5.2.0 snapshots
...
See gh-17901
5 years ago
Stephane Nicoll
b2e024f22e
Start building against Spring HATEOAS 1.0.0 snapshots
...
See gh-17904
5 years ago
Stephane Nicoll
e984874e96
Start building against Spring Data Moore snapshots
...
See gh-17900
5 years ago
Stephane Nicoll
3c0a41646b
Start building against Spring Batch 4.2.0 snapshots
...
See gh-17899
5 years ago
Stephane Nicoll
4b6e3b2a59
Start building against Reactor Dysprosium snapshots
...
See gh-17895
5 years ago
Andy Wilkinson
e805b6ea6e
Upgrade to Mockito 3.0.0
...
Closes gh-17803
5 years ago
Andy Wilkinson
7f8944d00f
Polish
5 years ago
Andy Wilkinson
cc3df98135
Merge branch '2.1.x'
5 years ago
Andy Wilkinson
ab87b2a39b
Polish
5 years ago
Andy Wilkinson
f916e1a1ce
Document response structure for retrieving a logger group
...
Closes gh-17909
5 years ago
Stephane Nicoll
3bc65f4fec
Upgrade to Kotlin coroutines 1.3.0-RC2
...
See gh-17907
5 years ago
Stephane Nicoll
a43e4c7a21
Start building against Spring Framework 5.2.0 snapshots
...
See gh-17896
5 years ago
Stephane Nicoll
7f06504006
Detect ConfigurationProperties using autowiring constructor
...
This commit improves InvalidConfigurationPropertiesException failure
analysis by adding a dedicated description when a single autowiring
constructor is found. When @Component is removed, such constructor is
used for properties binding and will not apply the same semantics as
before.
Closes gh-17750
5 years ago
LiangYong
a5746d0a03
Simplify some code
...
See gh-17893
5 years ago
thelproad
9c1f503e46
Simplify if statements
...
See gh-17884
5 years ago
Stephane Nicoll
fc0cee5ea7
Merge branch '2.1.x'
5 years ago
lijuny
d33ed84f1f
Remove redundant code
...
See gh-17875
5 years ago
dreis2211
d4affd7f85
Use hasSize() assertion in favor of length checks
...
See gh-17874
5 years ago
Stephane Nicoll
04b63cda8f
Merge branch '2.1.x'
...
Closes gh-17889
5 years ago
Filip Hrisafov
1ebbe9fc55
Map non-null LDAP properties
...
The userDn and password in LdapContextSource are not nullable. The
default values for userDn and password in LdapProperties are null. When
the values are set to null there will eventually be a
NullPointerException during
AbstractContextSource#setupAuthenticatedEnvironment since HashTable
doesn't allow null for values.
See gh-17861
5 years ago
Madhura Bhave
76dfe1aae4
Merge branch '2.1.x'
...
Closes gh-17887
5 years ago
Madhura Bhave
0187e5106d
Polish "Set up SpringLiquibase beans' dependencies by type rather than name"
...
See gh-17805
5 years ago
Andrii Hrytsiuk
b69f9e9fdf
Add missing javadoc
...
See gh-17805
5 years ago
Andrii Hrytsiuk
eaad22dd89
Set up SpringLiquibase beans' dependencies by type rather than name
...
See gh-17805
5 years ago
Madhura Bhave
dab815af40
Simplify mockmvc security in tests following upstream changes
...
SecurityMockMvcConfigurer now honors filter order so we can use that instead
of manually adding the filter.
5 years ago
Andy Wilkinson
a785a5b58a
Test the Gradle Plugin against Gradle 5.6
...
Closes gh-17883
5 years ago
dreis2211
56940fca97
Test the Gradle Plugin against Gradle 5.6
...
See gh-17876
5 years ago
Madhura Bhave
64e8b1d47c
Polish "Add properties for Jetty threadpool"
...
See gh-17871
5 years ago
HaiTao Zhang
1024d74742
Add properties for Jetty threadpool
...
See gh-17871
5 years ago
Madhura Bhave
09b690b3c9
Fix tests
5 years ago
Madhura Bhave
7494a2baad
Merge branch '2.1.x'
...
Closes gh-17880
5 years ago
Madhura Bhave
8d7deb7b67
Polish "Expand documentation on remote devtools"
...
See gh-17780
5 years ago
Sergei Petunin
ab33bc7deb
Expand documentation on remote devtools
...
See gh-17780
5 years ago
Madhura Bhave
eea83e935e
Resolve httpstatus error series using raw int code
...
See gh-16691
5 years ago
Madhura Bhave
186530478c
Bypass Spring security authentication for remote devtools endpoint
...
Closes gh-17878
5 years ago
Madhura Bhave
4b4dc28a86
Support non-standard error codes with AbstractErrorWebExceptionHandler
...
Fixes gh-16691
5 years ago
lijuny
64344214e1
Delete redundant variables
...
See gh-17864
5 years ago
Andy Wilkinson
ba4c5be2fd
Remove unused field
...
See gh-17562
5 years ago
Stephane Nicoll
6f28f41774
Polish "Simplify some code"
...
See gh-17860
5 years ago
jason
4bb842343a
Simplify some code
...
See gh-17860
5 years ago
lijuny
b26f887a2e
Simplify some code
...
See gh-17852
5 years ago
lijuny
200de49c11
Replace Collection#addAll to call constructor
...
See gh-17847
5 years ago
周武栋
6fab5b591b
Simplify some code
...
See gh-17837
5 years ago
Madhura Bhave
468b2e6d57
Merge branch '2.1.x'
...
Closes gh-17857
5 years ago
Madhura Bhave
3515ec1f29
Support relaxed binding for properties before environment is prepared
...
Fixes gh-17843
5 years ago
Stephane Nicoll
704992e657
Merge branch '2.1.x'
...
Closes gh-17855
5 years ago
Stephane Nicoll
fcf4680626
Polish "Document how to add metadata for collection and enum default values"
...
Closes gh-12874
5 years ago
Stephane Nicoll
ccf9b1b934
Merge branch '2.1.x'
...
Closes gh-17854
5 years ago
Stephane Nicoll
7aea432e3e
Promote dependency management plugin version to the bom
...
Closes gh-17842
5 years ago
Stephane Nicoll
463f94930c
Merge branch '2.1.x'
...
Closes gh-17850
5 years ago
Stephane Nicoll
25aecfeb35
Upgrade to Jackson 2.9.9.20190807
...
Closes gh-17698
5 years ago
Madhura Bhave
178746d678
Update Opaque Token Client Name following upstream changes
...
Closes gh-17846
5 years ago
Madhura Bhave
c178c9dd47
Merge branch '2.1.x'
5 years ago
Madhura Bhave
38d36ab18d
Document how to add metadata for collection and enum default values
...
Closes gh-12874
5 years ago
Brian Clozel
16f798dc11
Apply RSocket transport configuration on server
...
Fixes gh-17845
5 years ago
Stephane Nicoll
2059147421
Merge branch '2.1.x'
...
Closes gh-17840
5 years ago
Stephane Nicoll
56c2a52ea4
Polish "Fix syntax errors in docs"
...
Closes gh-17835
5 years ago
Stephane Nicoll
d02000ecc0
Merge branch '2.1.x'
...
Closes gh-17840
5 years ago
dreis2211
2e32af4737
Fix syntax errors in docs
...
See gh-17835
5 years ago
lijuny
d8baefc38a
Simplify some code
...
See gh-17834
5 years ago
dreis2211
b605cddb10
Polish some Collections API calls
...
See gh-17825
5 years ago
zhuzhuman
84eacc49ed
Simplify for statement with Collection copy
...
See gh-17827
5 years ago
lijuny
844a8d8027
Simplify some code
...
See gh-17832
5 years ago
Madhura Bhave
835108e522
Support binding of YAML style true/false values to 'ON'/'OFF'.
...
Fixes gh-17798
5 years ago
Stephane Nicoll
4928e958ce
Add reference to Pebble Templates to 3rd party starter list
...
Closes gh-17822
5 years ago
Stephane Nicoll
bf88149fb9
Upgrade to Couchbase Client 2.7.9
...
Closes gh-17795
5 years ago
Madhura Bhave
4208be0154
Merge branch '2.1.x'
...
Closes gh-17818
5 years ago
Madhura Bhave
47a9bb1c0e
Document that auto-configuration classes are not public API
...
Closes gh-16704
5 years ago
Madhura Bhave
7997971b0e
Merge branch '2.1.x'
...
Closes gh-17815
5 years ago
Madhura Bhave
1b62a05c40
Document Prometheus Pushgateway support
...
Closes gh-16853
5 years ago
Madhura Bhave
8a9c60a29a
Merge branch '2.1.x'
5 years ago
Madhura Bhave
541d3c4853
Fix typo
5 years ago
Stephane Nicoll
07cd67a3fe
Tolerate null startTime
...
This commit prevents a potential NPE if the startTime of the
MavenSession is not available and fallbacks to the current time. This
can happen when invoking the plugin with Maven embedded in an IDE.
Closes gh-17810
5 years ago
Stephane Nicoll
b8a1043e98
Merge branch '2.1.x'
...
Closes gh-17813
5 years ago
Stephane Nicoll
1b3a6d1616
Polish "Configure a temporary directory with Undertow"
...
See gh-17778
5 years ago
Andy Chen
0388f954af
Configure a temporary directory with Undertow
...
See gh-17778
5 years ago
Stephane Nicoll
1c8f727864
Polish "Simplify if statements"
...
See gh-17785
5 years ago
SaberXu
c6c3a91f8d
Simplify if statements
...
See gh-17785
5 years ago
Vedran Pavic
85a289f71a
Harmonize Spring Session flush mode properties javadoc
...
See gh-17797
5 years ago
Vedran Pavic
84dd1f2d29
Add support for configuring Spring Session JDBC flush mode
...
See gh-17797
5 years ago
Stephane Nicoll
71cf0a3ec8
Merge branch '2.1.x'
...
Closes gh-17812
5 years ago
Stephane Nicoll
994f08d234
Polish "Fix annotation lookup on proxied EndpointExtension"
...
See gh-17807
5 years ago
Jacques-Etienne Beaudet
9083da2876
Fix annotation lookup on proxied EndpointExtension
...
See gh-17807
5 years ago
Stephane Nicoll
845f2d0607
Upgrade to Rsocket 1.0.0-RC2
...
Closes gh-17800
5 years ago
Stephane Nicoll
b8a8df4118
Revert "Upgrade to Jackson 2.9.9.20190806"
...
This reverts commit 81239611a0
.
See gh-17698
5 years ago
Stephane Nicoll
81239611a0
Upgrade to Jackson 2.9.9.20190806
...
Closes gh-17698
5 years ago
Stephane Nicoll
94184ae38b
Upgrade to Spring Security 5.1.6
...
Closes gh-17794
5 years ago
Madhura Bhave
3c9774d73c
Upgrade to Spring Integration 5.2.0.M4
...
Closes gh-17584
5 years ago
Madhura Bhave
c5d1781ae1
Merge branch '2.1.x'
...
Closes gh-17793
5 years ago
陈其苗
77931a0981
Fix typo in assertion
...
See gh-17774
5 years ago
Bo Zhang
c19057e117
Simplify conditional statements
...
See gh-17779
5 years ago
Madhura Bhave
4002a66c8b
Upgrade to Spring Session Corn-M3
...
Closes gh-17348
5 years ago
Stephane Nicoll
602bf730f2
Upgrade to Webjars Locator Core 0.38
...
Closes gh-17792
5 years ago
Stephane Nicoll
60bb9e695b
Upgrade to Mariadb 2.4.3
...
Closes gh-17791
5 years ago
Stephane Nicoll
9226edf19b
Upgrade to Elasticsearch 6.8.2
...
Closes gh-17790
5 years ago
Stephane Nicoll
5ace0e5e0c
Upgrade to Johnzon Jsonb 1.1.13
...
Closes gh-17789
5 years ago
Stephane Nicoll
6a4fb6fcde
Upgrade to Rxjava2 2.2.11
...
Closes gh-17788
5 years ago
Stephane Nicoll
7874de4062
Restore tests that were failing with Java 13
...
Closes gh-17607
5 years ago
Stephane Nicoll
9a16a505ec
Upgrade to Hazelcast 3.12.2
...
Closes gh-17787
5 years ago
Madhura Bhave
e6dd6a3df8
Upgrade to Spring Security 5.2.0.M4
...
Closes gh-17349
5 years ago
Stephane Nicoll
7a3a66e43d
Upgrade to Spring Kafka 2.3.0.M4
...
Closes gh-17319
5 years ago
Stephane Nicoll
41e19a8298
Upgrade to Spring AMQP 2.2.0 M4
...
Closes gh-17583
5 years ago
Stephane Nicoll
766b6c394f
Upgrade to Rxjava2 2.2.11
...
Closes gh-17675
5 years ago
Stephane Nicoll
b1d298fdef
Upgrade to Johnzon Jsonb 1.1.13
...
Closes gh-17786
5 years ago
Madhura Bhave
5e52fedbac
Upgrade to Spring Session Bean-SR7
...
Closes gh-17581
5 years ago
Stephane Nicoll
134c534cc1
Upgrade to Spring Kafka 2.2.8
...
Closes gh-17645
5 years ago
Stephane Nicoll
1e74e294ae
Upgrade to Spring AMQP 2.1.8
...
Closes gh-17641
5 years ago
Stephane Nicoll
236efd2cf4
Upgrade to Spring Integration 5.1.7
...
Closes gh-17643
5 years ago
Stephane Nicoll
501d9ad628
Upgrade to Spring Data Moore-RC2
...
Closes gh-17350
5 years ago
Stephane Nicoll
aaf953338b
Upgrade to Spring HATEOAS 1.0.0.RC1
...
Closes gh-17755
5 years ago
Stephane Nicoll
854d6081c6
Upgrade to Byte Buddy 1.10.0
...
Closes gh-17716
5 years ago
Stephane Nicoll
9938c18968
Upgrade to Spring Data Lovelace-SR10
...
Closes gh-17353
5 years ago
Stephane Nicoll
5529596e17
Upgrade to Spring Framework 5.2.0 RC1
...
Closes gh-17280
5 years ago
Stephane Nicoll
3e8b599d95
Upgrade to AssertJ 3.13.2
...
Closes gh-17690
5 years ago
freekry
a9e7c4ec95
Fix typo in JsonComponent javadoc
...
See gh-17776
5 years ago
Stephane Nicoll
b15674d71e
Upgrade to Spring HATEOAS 0.25.2
...
Closes gh-17777
5 years ago
Phillip Webb
105df823ee
Polish
5 years ago
Phillip Webb
2cdceb92bf
Polish
5 years ago
Phillip Webb
b29e81fcd9
Allow defaultBindHandler to be specified on Binder
...
Allow a `defaultBindHandler` to be specified on the `Binder` instance
to save needing to pass it to each `bind` method call.
Closes gh-17773
5 years ago
Phillip Webb
fb6568be73
Improve PropertySourceLoader file extension error
...
Refine the `IllegalStateException` thrown from `PropertySourceLoader`
for unknown extensions to also indicated that folder references must end
in '/'.
Closes gh-17241
5 years ago