Commit Graph

4448 Commits (46e59503ec4b3d8bea4c789f763882ab629750f4)

Author SHA1 Message Date
Andy Wilkinson 70f4d5e5a8 Polish "Apply context and connector customizer beans to Tomcat factories"
Closes gh-15492
6 years ago
Raheela 90c489048f Apply context and connector customizer beans to Tomcat factories
See gh-15492
6 years ago
Andy Wilkinson de599819ae Merge branch '2.1.x' 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 903d940dd5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 007916f1ce Start building against Spring Framework 5.1.4 snapshots
See gh-15493
6 years ago
Andy Wilkinson 0ad72d5b5e Remove reliance on mavenLocal from Gradle plugin’s tests
See gh-15471
6 years ago
Andy Wilkinson 4edc32844a Remove use of execute method inherited from internal class
Closes gh-15484
6 years ago
Stephane Nicoll 317c4c2c38 Merge branch '2.1.x' 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
Andy Wilkinson c8a0c99a21 Remove D…S…Init…InvokerTests' assumptions about classpath structure
See gh-15471
6 years ago
Stephane Nicoll 6d251a83dd Merge branch '2.1.x' 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
Stephane Nicoll 6207b46bc6 Merge branch '2.1.x' 6 years ago
dreis2211 948902f090 Avoid unnecessary usage of ReflectionTestUtils
Closes gh-15482
6 years ago
Andy Wilkinson ca13385534 Remove remaining assumption about File separator from LogFileTests
See gh-15471
6 years ago
Andy Wilkinson 3d7e4e99c5 Remove assumption about File separator from LogFileTests
See gh-15471
6 years ago
Andy Wilkinson 6adccbfd30 Make LoggingApplicationListener and tests more robust on Windows
Previously, LoggingApplicationListener its tests, and LogFile made some
assumptions that do not hold true on Windows. Specifically,
LoggingApplicationListenerTests used TestPropertySourceUtils to add
properties to the environment. This uses Java's standard Properties
parsing which does a poor job of handling Windows file paths (Strings
with backslashes in them). Secondly, LogFile made assumptions about
the use of forward clashes for the file separator.

This commit replaces the use of TestPropertySourceUtils and removes
the assumption about the OS's file separator.

Closes gh-15471
6 years ago
Andy Wilkinson ddabfe3fcc Deploy spring-boot-test-support so it's available downstream
Concourse builds spring-boot-tests separately from spring-boot-project
and relies on modules from the latter being available in the
distribution repository when building the former. This commit enables the
deployment of spring-boot-test-support from spring-boot-project so that it
is added to the distribution repository and is therefore available when
building spring-boot-tests. It is then excluded when putting to the
Artifactory resource as we do not want it to be published.

See gh-15471
6 years ago
Andy Wilkinson 61d04db0d7 Minimize and centralize assumptions about build output
Closes gh-15471
6 years ago
Stephane Nicoll 1f4be6ba37 Merge branch '2.1.x' 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
Andy Wilkinson db5ab1d14c Do not rely on test runner using static main method in RestarterTests
Closes gh-15461
6 years ago
Andy Wilkinson 62fbf48446 Start Elasticsearch with single-node discovery type
See gh-15441
6 years ago
Andy Wilkinson 47fc35105d Allow more time for the Elasticsearch container to start
See gh-15441
6 years ago
Andy Wilkinson ed52dab3b5 Revert upgrade to JUnit Jupiter 5.4 snapshots 6 years ago
Andy Wilkinson 064f6478df Move back to JUnit 4 until SUREFIRE-1614 has been resolved
See gh-14736
See gh-14737
See gh-14738
6 years ago
Andy Wilkinson 2b453bbb16 Minimise dependencies on Log4j2
Closes gh-15441
6 years ago
Madhura Bhave e16511279a Add junit-jupiter-engine for running Junit5 tests 6 years ago
Brian Clozel 9a6dbb5290 Merge branch '2.1.x' 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 dfd477aa74 Merge branch '2.1.x' 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 f863ce32ee Merge branch '2.1.x' 6 years ago
Madhura Bhave 3cc441c83e Do not remove trailing slash from OAuth2 Issuer URI
Fixes gh-15324
6 years ago
Andy Wilkinson 55d7c19c06 Merge branch '2.1.x' 6 years ago
Andy Wilkinson d05ae40c99 Remove redundant field type and optional configuration
See gh-15435
6 years ago
Andy Wilkinson 393decff35 Merge branch '2.1.x' 6 years ago
Andy Wilkinson ef4ea591b3 Mark nested optional fields as optional
See gh-15435
6 years ago
Andy Wilkinson c9c5cd18a2 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 6752be9333 Exclude logback-classic from liquibase-core
Closes gh-15436
6 years ago
Andy Wilkinson beffc4da9f Remove ordering dependence from tests that create embedded databases
Closes gh-15423
6 years ago
Andy Wilkinson 05cb4cb379 Merge branch '2.1.x' 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
Brian Clozel b2c5fd84b9 Use spring-doc-resources 0.1.0.BUILD-SNAPSHOT 6 years ago
igor-suhorukov 2b1653d009 Simplify code by using try-with-resources statement
Closes gh-15427
6 years ago
Stephane Nicoll ba29788482 Polish "Replace explicit generic type with diamond operator"
Closes gh-15424
6 years ago
igor-suhorukov a2ebba8db1 Replace explicit generic type with diamond operator
See gh-15424
6 years ago
Madhura Bhave f040459ae5 Merge branch '2.1.x' 6 years ago
Madhura Bhave a11dea46d7 Use the right class in @ConditionalOnClass
See gh-15372
6 years ago
Madhura Bhave e0b55d36de Merge branch '2.1.x' 6 years ago
Madhura Bhave f13697b278 Make Resource Server auto-config conditional on JwtDecoder class
Fixes gh-15372
6 years ago
Andy Wilkinson d3e5c5688f Polish 6 years ago
Madhura Bhave e367b54928 Merge branch '2.1.x' 6 years ago
Madhura Bhave 31a5e85ab6 Perform placeholder resolution in test env post processor
Fixes gh-15354
6 years ago
Andy Wilkinson bbf0932f0f Exclude jcl-over-slf4j in favour of spring-jcl
Closes gh-15392
6 years ago
Andy Wilkinson 2cd3cff608 Merge branch '2.1.x' 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 d5f90ffcfb Polish "Replace this lambda with a method reference"
Closes gh-15401
6 years ago
igor-suhorukov 5c1813aef8 Replace this lambda with a method reference
See gh-15401
6 years ago
Stephane Nicoll 71173f2db5 Merge branch '2.1.x' 6 years ago
Stephane Nicoll c84d199cb7 Upgrade to Flyway 5.2.4
Closes gh-15402
6 years ago
Andy Wilkinson 95a14e7ba5 Remove duplicate dependency management for spring-core
Closes gh-15380
6 years ago
Stephane Nicoll 6f6e712a7b Merge branch '2.1.x' 6 years ago
Stephane Nicoll bd21113e9f Fix indent of WebServiceTemplate section
Closes gh-15389
6 years ago
Madhura Bhave 5a18df2d69 Fix tests 6 years ago
Madhura Bhave 59d2b0a3fb Upgrade tests to Junit5
See gh-14737
6 years ago
Madhura Bhave 4c96c76f11 Include Junit5 dependencies in Spring Boot Starter Test
See gh-14736
6 years ago
Madhura Bhave 12e1d9a6a4 Add Junit5 OutputCapture Extension
See gh-14738
6 years ago
Stephane Nicoll fb1c7c82b4 Merge branch '2.1.x' 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
Brian Clozel ed3347f00d Configure Asciidoctor toolchain for ref docs
This commit replaces the Docbook+Asciidoctor documentation toolchain by
a single Asciidoctor generation process.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

Closes gh-12611
6 years ago
Jay Bryant a7d22aaf4b Reorganize asciidoc content
This commit adds an index page for the multi-file HTML version, and
fixed a couple of casing issues (significant words starting with lower
case in headings).

While researching how to get the content from index-docinfo.xml into
the output, I came across the notion of a colophon, which is a good name
for the information in that file. I have consequently changed "Legal"
(which I never liked but couldn't think of a better term for at the
time) to "Colophon".

See gh-12611
6 years ago
Jay Bryant a60c575836 Cleanup asciidoctor build
Remove Guardfile for now; we might reintroduce it later, but it is
currently out of sync with the documentation changes.

Do not ignore html files in the asciidoc directory as those are needed
for docinfo parts.

See gh-12611
6 years ago
Jay Bryant 11f6a5ab70 Remove docbook toolchain
See gh-12611
6 years ago
Stephane Nicoll 096640de84 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 185a49fb3b Add reference to JaVers starter 6 years ago
Stephane Nicoll 95b94c0158 Merge branch '2.1.x' 6 years ago
Stephane Nicoll c56c0ff433 Rename OAuth2ResourceServerJwkConfiguration
Closes gh-15375
6 years ago
Andy Wilkinson 5c986b5030 Merge branch '2.1.x' 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 8b21044902 Merge branch '2.1.x' 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
Stephane Nicoll a85e27c7cd Further replace magic number by HttpStatus
See gh-15130
6 years ago
Stephane Nicoll f2ca2533d5 Polish "Replace magic number by HttpStatus"
Closes gh-15130
6 years ago
holy12345 ffdc9f0ff3 Replace magic number by HttpStatus
See gh-15130
6 years ago
Stephane Nicoll 9483c91d58 Make sure to include validation query in case of failure
See gh-15055
6 years ago
Stephane Nicoll 9e84abc46b Polish "Add validation query to DataSourceHealthIndicator details"
Closes gh-15055
6 years ago
Erlend Haugsnes fc85c34dd8 Add validation query to DataSourceHealthIndicator details
See gh-15055
6 years ago
Stephane Nicoll bbad720e23 Polish contribution
Closes gh-15086
6 years ago
Razib Shahriar 9e571a2827 Fail fast if nested condition uses a phase inappropriate for its members
See gh-15086
6 years ago
Andy Wilkinson 0f474ec08f Merge branch '2.1.x' 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 b05abe8ca0 Merge branch '2.1.x' 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
Stephane Nicoll 0df13baa0f Polish "Add configurable property for JWK encryption algorithm"
Closes gh-15145
6 years ago
artsiom 460fdaf52f Add configurable property for JWK encryption algorithm
See gh-15145
6 years ago
Stephane Nicoll ec678eaa3b Polish "Configure MessageSource if no "messageSource" bean defined"
Closes gh-15212
6 years ago
cac03 82d99da32a Configure MessageSource if no "messageSource" bean defined
Enable MessageSourceAutoConfiguration OnMissingBeanCondition by name
rather than class since AbstractApplicationContext expects MessageSource
to be defined only with "messageSource" name.

See gh-15212
6 years ago
Stephane Nicoll 1b40b0edf1 Polish contribution
Closes gh-15054
6 years ago
artsiom 3059f0e2e2 Add configuration property for configuring Tomcat's processor cache
See gh-15054
6 years ago
dreis2211 b528eb8a7e Remove unnecessary cast in LoggingSystemProperties
Closes gh-15297
6 years ago
dreis2211 f57f16c190 Avoid premature declaration of variables
Closes gh-15215
6 years ago
dreis2211 a1a8a8cef0 Avoid instantiation of BeanPropertyBinder in Binder
Closes gh-15181
6 years ago
artsiom e2d5dfad3a Use varargs for DefaultApplicationArguments
Closes gh-15142
6 years ago
Stephane Nicoll 7939b8b4da Polish "Rename logging.file to logging.file.name"
Closes gh-15089
6 years ago
TwinProduction 21da4a5d12 Rename logging.file to logging.file.name
See gh-15089
6 years ago
Andre Restolho d9586d94f6 Change DataSourceHealthIndicator details from "hello" to "result"
Closes gh-15136
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