Commit Graph

5601 Commits (7bf48ed3b7a40f2f4936d20123a4ef7684395718)

Author SHA1 Message Date
Stephane Nicoll b6001f8ec2 Upgrade to Htmlunit 2.35.0
Closes gh-16787
6 years ago
Stephane Nicoll 826610b760 Upgrade to Mysql 8.0.16
Closes gh-16786
6 years ago
Stephane Nicoll 9f769dd561 Upgrade to Jaxen 1.2.0
Closes gh-16785
6 years ago
Stephane Nicoll 636a7f64db Upgrade to Rsocket 0.12.2-RC2
Closes gh-16784
6 years ago
Stephane Nicoll 5626f57936 Upgrade to Netty Tcnative 2.0.25.Final
Closes gh-16783
6 years ago
Stephane Nicoll a2d1debbad Upgrade to Netty 4.1.36.Final
Closes gh-16782
6 years ago
Stephane Nicoll a407434e8a Upgrade to Appengine Sdk 1.9.74
Closes gh-16781
6 years ago
Stephane Nicoll 7c92af003c Upgrade to Reactor Californium-SR8
Closes gh-16723
6 years ago
Stephane Nicoll c7141fbe9e Upgrade to Maven Failsafe Plugin 2.22.2
Closes gh-16780
6 years ago
Stephane Nicoll 3f82b3327c Upgrade to Maven Compiler Plugin 3.8.1
Closes gh-16779
6 years ago
Stephane Nicoll b1f6a021ef Upgrade to Lombok 1.18.8
Closes gh-16778
6 years ago
Stephane Nicoll f2ea63d613 Upgrade to Neo4j Ogm 3.1.9
Closes gh-16777
6 years ago
Stephane Nicoll 73007757ec Upgrade to Jetty El 8.5.40
Closes gh-16776
6 years ago
Stephane Nicoll 9629671a0a Upgrade to Jooq 3.11.11
Closes gh-16775
6 years ago
Stephane Nicoll 6aeba7fcde Upgrade to Jolokia 1.6.1
Closes gh-16774
6 years ago
Stephane Nicoll 4c92d88e60 Upgrade to Infinispan 9.4.13.Final
Closes gh-16773
6 years ago
Stephane Nicoll 25cb7ce814 Upgrade to Hibernate 5.3.10.Final
Closes gh-16772
6 years ago
Stephane Nicoll a187376d54 Upgrade to Jetty 9.4.18.v20190429
Closes gh-16771
6 years ago
Stephane Nicoll 136ca881cb Upgrade to Aspectj 1.9.3
Closes gh-16770
6 years ago
Stephane Nicoll 3a5b5d13ff Upgrade to Commons Pool2 2.6.2
Closes gh-16769
6 years ago
Stephane Nicoll 81c2b1380b Upgrade to Mysql 8.0.16
Closes gh-16768
6 years ago
Stephane Nicoll 5d2e0b910b Upgrade to Undertow 2.0.20.Final
Closes gh-16767
6 years ago
Stephane Nicoll cd5ad2201c Upgrade to Netty Tcnative 2.0.25.Final
Closes gh-16766
6 years ago
Stephane Nicoll 46bdfdd325 Upgrade to Netty 4.1.36.Final
Closes gh-16765
6 years ago
Stephane Nicoll a0ca84d72c Upgrade to Hazelcast 3.11.3
Closes gh-16764
6 years ago
Stephane Nicoll 2e67b96f6e Upgrade to Appengine Sdk 1.9.74
Closes gh-16763
6 years ago
Stephane Nicoll c9d4ddd911 Upgrade to Reactor Dysprosium-M1
Closes gh-16595
6 years ago
Stephane Nicoll b6911799b8 Upgrade to Reactor Californium-SR7
Closes gh-16723
6 years ago
Stephane Nicoll 1de6f68238 Document that JUnit 5 is the default
See gh-14736
6 years ago
Madhura Bhave 684a1c7a3c Migrate tests to JUnit5 testcontainer extensions
Closes gh-15456
6 years ago
Madhura Bhave 1db1c8b03c Validate our own tests work with JUnit5 and the vintage engine
Closes gh-14737

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Madhura Bhave d9f339a1b6 Include Junit5 dependencies in Spring Boot Starter Test
Closes gh-14736

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Madhura Bhave d15347d4e5 Add Junit5 OutputCapture Extension
Closes gh-14738
6 years ago
Andy Wilkinson 95003d79d7 Merge branch '2.1.x'
Closes gh-16746
6 years ago
Andy Wilkinson 1297068528 Add dependency management for remaining non-example Kafka modules
See gh-16728
6 years ago
Gary Russell a5e26bff92 Add dependency management for kafka-streams-test-utils
See gh-16728
6 years ago
Stephane Nicoll c91578bbae Define surefire test provider to use
The `spring-boot-test` module has a dependency to TestNG to validate
some part of the test infrastructure but no tests are actually written
using TestNG. The presence of TestNG is a trigger for the maven surefire
plugin and it attempts to run tests using it.

This commit defines the explicit provider to use (JUnit 4)

Closes gh-16735
6 years ago
Stephane Nicoll 71b2ab0f0f Merge branch '2.1.x' 6 years ago
Stefan Dellmuth ecdcec2b5d Polish indentation
Closes gh-16731
6 years ago
Stephane Nicoll ff803a86a0 Merge branch '2.1.x'
Closes gh-16726
6 years ago
Stephane Nicoll 52c8bbaddf Upgrade to Maven Surefire Plugin 2.22.2
Closes gh-16725
6 years ago
Stephane Nicoll f0a9e0f616 Switch to Reactor snapshots
See gh-16723
6 years ago
Stephane Nicoll 9d72b74252 Merge branch '2.1.x' 6 years ago
Stephane Nicoll d8f1bd351f Polish "Add link to Heroku article"
Closes gh-16719
6 years ago
Tetsuya Hasegawa 2655122466 Add link to Heroku article
See gh-16719
6 years ago
Stephane Nicoll 5aeb31700d Merge branch '2.1.x' 6 years ago
Stephane Nicoll 680ac85a2a Polish
See gh-16714
6 years ago
Madhura Bhave 07d6eb6397 Disable auditing infrastructure by default
Prior to this commit, the audit auto-configuration provided
an `InMemoryAuditEventRepository` bean. This commit changes the auto-config
so that an `AuditEventRepository` is not provided and instead the auto-config
is conditional on the presence of a `AuditEventRepository` bean. This is done
to encourage the use of a custom implementation of `AuditEventRepository`
since the in-memory one is quite limited and not suitable for production.
A flag is available if the auto-configuration needs to be turned off even
in the presence of a bean.

Closes gh-16110
6 years ago
Madhura Bhave e2b15c3f2a Fix tests
See gh-15039
6 years ago
Madhura Bhave de128fed20 Disable HttpTrace infrastructure by default
Prior to this commit, the http trace auto-configuration provided
an `InMemoryHttpTraceRepository` bean. This commit changes the auto-config
so that an `HttpTraceRepository` is not provided and instead the auto-config
is conditional on the presence of a `HttpTraceRepository` bean. This is done
to encourage the use of a custom implementation of `HttpTraceRepository`
since the in-memory one is quite limited and not suitable for production.
A flag is available if the auto-configuration needs to be turned off even
in the presence of a bean.

Closes gh-15039
6 years ago
Stephane Nicoll fc9cd86718 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 51c0fdcab1 Polish "Document that JUnit 4 is the default"
Closes gh-16707
6 years ago
Tetsuya Hasegawa e36ca923b9 Document that JUnit 4 is the default
See gh-16707
6 years ago
Andy Wilkinson f35b91a172 Raise minimum supported version of Gradle to 4.10 and encourage use of 5.x
Closes gh-16681
6 years ago
Brian Clozel 1f897ad923 Fix DefaultErrorWebExceptionHandler test 6 years ago
Johnny Lim 21b05bbafc Polish RSocketServerBootstrap bean name
Closes gh-16700
6 years ago
Stephane Nicoll f056b952d9 Merge branch '2.1.x' 6 years ago
Johnny Lim 1b9a4d5e45 Polish CompressionConnectorCustomizerTests
Closes gh-16699
6 years ago
Madhura Bhave cc99b13ecb Merge branch '2.1.x' 6 years ago
Madhura Bhave c9752f165f Fix javadoc 6 years ago
Andy Wilkinson 538030b57e Merge branch '2.1.x'
Closes gh-16693
6 years ago
Andy Wilkinson 881fbeff43 Test the Gradle Plugin against Gradle 5.4.1
Closes gh-16576
6 years ago
Johnny Lim cb0e3c793b Polish
Closes gh-16688
6 years ago
Stephane Nicoll ed538a2e31 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 19413c0c71 Polish
See gh-16688
6 years ago
Stephane Nicoll 8045bf1f50 Polish "Allow configuration of auto-timed metrics"
Closes gh-15988
6 years ago
Tadaya Tsuyukubo 4df6f5dee0 Allow configuration of auto-timed metrics
When `management.metrics.web.server.auto-time-requests` is enabled
(default=true), Spring Boot collects metrics on controller methods even
when they are not annotated with `@Timed`.

When this happens, created metrics are based on the default
`@Timed` configuration and there is no way to customize the
configuration of those auto-timed controller metrics.

This commit adds default configurations to auto-timed requests on both
client and server sides.

See gh-15988
6 years ago
Madhura Bhave 3d814a5288 Move to Reactor Dysprosium snapshots
This should fix the NoClassDefFound errors after moving to Framework
snapshots
6 years ago
Madhura Bhave ffd979c2bb Document missing SpringApplication events
This commit also documents `ContextRefreshedEvent` and
`WebServerInitializedEvent`.

Closes gh-7382
6 years ago
Madhura Bhave fd97066604 Use MergedAnnotation.getRoot() method
Closes gh-16661
6 years ago
Madhura Bhave 8b30ad21bb Merge pull request #16622 from Kedar Joshi
* pr/16622:
  Polish "Document use of @Profile with @ConfigurationProperties scanning"
  Document use of @Profile with @ConfigurationProperties scanning
6 years ago
Madhura Bhave d4435e015c Polish "Document use of @Profile with @ConfigurationProperties scanning"
Closes gh-16622
6 years ago
Kedar Joshi 13b155eb2a Document use of @Profile with @ConfigurationProperties scanning
See gh-16612
6 years ago
Brian Clozel c4938055b4 Polish "Separate compound properties in appendices"
Closes gh-16480
6 years ago
dreis2211 5b63b807ad Separate compound properties in appendices 6 years ago
Stephane Nicoll 922ceed63a Polish "Auto-configure ReactiveStringRedisTemplate if necessary"
Closes gh-16604
6 years ago
Qiang Lee 866233bd2f Auto-configure ReactiveStringRedisTemplate if necessary
See gh-16604
6 years ago
Stephane Nicoll 81543873d4 Merge branch '2.1.x' 6 years ago
ielatif 3ffbe256f1 Exclude HikariCP specific dependency from Quartz
Closes gh-16628
6 years ago
Tetsuya Hasegawa 56c769f05c Remove redundant info
Closes gh-16668
6 years ago
Stephane Nicoll 05957689f4 Polish "Add jOOQ to SQL logging group"
Closes gh-16678
6 years ago
Maciej Walkowiak d7722e328a Add jOOQ to SQL logging group
See gh-16678
6 years ago
Toshiaki Maki e203f6a5f5 Fix typo
Closes gh-16684
6 years ago
Johnny Lim e22c2e5687 Polish
Closes gh-16685
6 years ago
Madhura Bhave a0d425332d Use ImportBeanDefintionRegistrar directly instead of import selector
Closes gh-16679
6 years ago
Andy Wilkinson 5639685770 Polish "Prefer file: to jar:file: URLs in launcher"
See gh-16248
6 years ago
hengyunabc c1b34d0307 Prefer file: to jar:file: URLs in launcher
See gh-16248
6 years ago
Stephane Nicoll 704da1750b Polish "Add support for Hazelcast YAML configuration"
Closes gh-16632
6 years ago
Rafal Leszko 82e18ae88f Add support for Hazelcast YAML configuration
Since Hazlecast 3.12, YAML configuration format is supported in
addition to XML. Therefore, this change makes Spring Boot automatically
discover not only `hazelcast.xml` (and `hazelcast-client.xml`), but also
`hazelcast.yaml` (and `hazelcast-client.yaml`).

See gh-16632
6 years ago
Brian Clozel b527d364dc Reinstate single page reference documentation
This commit reinstates the single-page variant for the Spring Boot
reference documentation.

Now the single and multi-page variants are hosted under the same
`"html"` folder, as `"index.html"` and `"single-index.html"`.
Note that files ending in `"index.html`" are treated as index files by
the spring-doc-resources project and their table of contents do not
display a "Back to index" link.

Fixes gh-16295
6 years ago
Stephane Nicoll 9cde736b59 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 3c5ec8a04c Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll ac9ee952c7 Properly merge fix
See gh-16666
6 years ago
dreis2211 cf05959375 Optimize ConfigurationPropertyName.buildToString()
See gh-16658
6 years ago
Phillip Webb 32040e355b Merge branch '2.1.x'
Closes gh-16649
6 years ago
Phillip Webb d4151e0b51 Polish "Use Jackson configuration with JsonPath"
Polish contribution to use a factory method in `AbstractJsonMarshalTester`
rather than additional constructor arguments.

Also change the `JsonContent` tests so that the `Configuration` constructor
is package private. This keeps JsonPath classes out of our public API, at
the expense of limiting custom JsonPath configurations to just our code.

See gh-16629
6 years ago
Phillip Webb 17aaf26590 Use consistent javadoc style for annotation links
Closes gh-13920
6 years ago
Phillip Webb 1e44aba772 Fix compiler warnings and polish
Fix various compiler warnings and apply a little polish.
6 years ago
Diego Berrueta 756a7f12a3 Use Jackson configuration with JsonPath
Update `JacksonTester` so that the JsonPath instance is explicitly configured
with both a `JacksonJsonProvider` and a `JacksonMappingProvider`.

Prior to this commit, the handling of special characters was not symmetrical
between the serialization (handled via the JacksonTester) and the parsing (handled
via JsonPath) due to the fact that JsonPath used `SimpleJson` as its parser.

See gh-16629
6 years ago
Andy Wilkinson 4754386361 Merge branch '2.1.x'
Closes gh-16644
6 years ago
Andy Wilkinson 6b20d13b3d Polish "Prevent double update of metrics when CompositeMeterRegistry exists"
See gh-16221
6 years ago
Johnny Lim cc285d92dd Prevent double update of metrics when CompositeMeterRegistry exists
See gh-16221
6 years ago
Andy Wilkinson b39fdea508 Merge pull request #16474 from Christoph Dreis
* gh-16474:
  Speed up element equality checks in ConfigurationPropertyName

Closes gh-16474
6 years ago
dreis2211 3786dbc869 Speed up element equality checks in ConfigurationPropertyName
See gh-16474
6 years ago
Andy Wilkinson a0999dadb7 Merge branch '2.1.x'
Closes gh-16642
6 years ago
Andy Wilkinson ba0279be14 Remove race condition in TaskSchedulingAutoConfigurationTests
Closes gh-16640
6 years ago
Andy Wilkinson eb0b852e99 Merge branch '2.1.x'
Closes gh-16639
6 years ago
Andy Wilkinson 5d77b48aed Polish "Polish Maven Plugin's tests"
See gh-16618
6 years ago
daonan.zhan 52c2c534db Polish Maven Plugin's tests
See gh-16618
6 years ago
Andy Wilkinson d0b4dab1c8 Merge pull request #16620 from Christoph Dreis
* gh-16620:
  Optimize JarEntry construction

Closes gh-16620
6 years ago
dreis2211 f40b086ef5 Optimize JarEntry construction
This commit avoids calling the underlying ZipEntry.setExtra() method
that is not very inline friendly in cases where there is no extra
information to be set.

See gh-16620
6 years ago
Andy Wilkinson 915bde0e62 Use MIME decoder to read OAuth2 resource server public key
Fixes gh-16624
6 years ago
Andy Wilkinson dc39540def Merge branch '2.1.x'
Closes gh-16623
6 years ago
Andy Wilkinson e8955852a3 Add missing GlassFish JAXB dependency management
Closes gh-16619
6 years ago
Madhura Bhave 5c2a7e61d0 Fix tests 6 years ago
Madhura Bhave 9fb65e57c0 ConfigurationPropertiesScan should account for conditions
Fixes gh-16612
6 years ago
Madhura Bhave 23cf8565b1 Polish "Apply server customizer beans automatically"
Closes gh-16584
6 years ago
Sergey Serdyuk 8ff78ed4c3 Apply server customizer beans automatically
See gh-16584
6 years ago
Stephane Nicoll fd14cd0bd0 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 1f656e75fc Polish "Fix UndertowWebServer's logger name"
Closes gh-16613
6 years ago
liaozan 360da66333 Fix UndertowWebServer's logger name
See gh-16613
6 years ago
ForeverHex 124d969b2d Fix checkstyle violation
Closes gh-16616
6 years ago
Phillip Webb 1f893d9376 Log warning on slow host resolution
Update `StartupInfoLogger` so that if the `InetAddress` call takes
more than 200ms a warning is logged.

Closes gh-7087
6 years ago
Phillip Webb 405135d5a8 Polish StartupInfoLogger message creation
Rework some of the internals of `StartupInfoLogger` so that fewer
strings are created.
6 years ago
Madhura Bhave ba196b47ac Fix failure analyzer message
See gh-16581
6 years ago
Stephane Nicoll e9447b0dbf Merge branch '2.1.x' 6 years ago
Stephane Nicoll 2448efc028 Polish "Cache MimeTypes to improve performance"
Closes gh-16507
6 years ago
wenqi.huang b3f94c47d9 Cache MimeTypes to improve performance
See gh-16507
6 years ago
Stephane Nicoll d55d6b35d9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 7b9471836b Polish "Improve DefaultCookieSerializer auto-configuration"
Closes gh-16513
6 years ago
Vedran Pavic 5e02541195 Improve DefaultCookieSerializer auto-configuration
Spring Session's own configuration support (i.e.
SpringHttpSessionConfiguration) will configure the default
DefaultCookieSerializer with rememberMeRequestAttribute if
SpringSessionRememberMeServices bean has been detected in the
application context.

In contrast, Spring Boot's auto-configured DefaultCookieSerializer does
not do this which results in a different out-of-the-box experience for
users that rely on Spring Session's remember-me integration.

This commit improves Spring Session DefaultCookieSerializer
auto-configuration to match Spring Session's behavior and make the
auto-configured DefaultCookieSerializer aware of
SpringSessionRememberMeServices bean.

See gh-16513
6 years ago
Johnny Lim 62549ffb49 Polish
Closes gh-16597
6 years ago
Phillip Webb b879972d0d Migrate to MergedAnnotations API
Migrate away from `AnnotationUtils` and `AnnotatedElementUtils`
when possible to the new `MergedAnnotations` API.

Closes gh-16551
6 years ago
Madhura Bhave 3ecefdbcdc Add dependency management for okhttp3
Closes gh-6385
6 years ago
Madhura Bhave eda14fb0f6 Analyze failure if configprop scanning results in two beans
Closes gh-16581
6 years ago
Andy Wilkinson 15f28dcc68 Polish "Determine Spring Boot version correctly when using module path"
See gh-16182
6 years ago
Hendrig Sellik ec8fb614f7 Determine Spring Boot version correctly when using module path
In Java 9, a package may return null for its implementation version
even when the manifest attribute specifying the version is present
in the jar from which the package was loaded.

This commit updates SpringBootVersion to fall back to
accessing the jar and its manifest attributes directly when the
implementation version of its package is null.

See gh-16182
6 years ago
Andy Wilkinson ca1a666f58 Polish "Add support for configuring remaining Undertow server options"
See gh-16278
6 years ago
Rafiullah Hamedy 186b1fae6d Add support for configuring remaining Undertow server options
This commit adds support for configuring Undertow's server options that were previously
not configurable via application properties. The additions are the following:

- allow-encoded-slash
- always-set-keep-alive
- decode-url
- max-cookies
- max-headers
- max-parameters,
- url-charset

See gh-16278
6 years ago
Patryk Kostrzewa ff7cf2dc96 Update WebFlux starter to depend on validation starter
Previously, the WebFlux starter declared direct dependencies on Hibernate Validator
and the Jakarta EE validation API. This meant that it required two exclusions to
exclude validation from a reactive web application that did not need it.

This commit updates the WebFlux starter to get its validation dependencies via a
dependency on the validation starter. This allows validation to be excluded
using a single exclusion. The EL dependency from the validation starter has
been excluded to allow the EL implementation from the underlying container
starter to continue to be used instead.

See gh-16593
6 years ago
Stephane Nicoll 2cfcd2690e Polish "Allow to configure the Elasticsearch rest client timeouts"
Closes gh-15965
6 years ago
Dmytro Nosan 5bacb32557 Allow to configure the Elasticsearch rest client timeouts
See gh-15965
6 years ago
Andy Wilkinson af4ce2d537 Merge branch '2.1.x'
Closes gh-16600
6 years ago
Andy Wilkinson 50bcfd25fd Make EL available to reactive web apps as it already is to servlet web apps
Closes gh-16596
6 years ago
Stephane Nicoll e24c17d524 Polish "Add auto-configuration support for ReactiveGridFsTemplate"
Closes gh-16467
6 years ago
ayudovin d9c9ed1d52 Add auto-configuration support for ReactiveGridFsTemplate
See gh-16467
6 years ago
Stephane Nicoll 0f60555031 Polish "Complete Jetty Access Log configuration properties support"
Closes gh-16080
6 years ago
nicolas 55a5a26b95 Complete Jetty Access Log configuration properties support
See gh-16080
6 years ago
Andy Wilkinson 1eac4d6046 Support configuration of Flyway's Pro properties
Closes gh-14989
6 years ago
Andy Wilkinson d3541fa672 Upgrade to Tomcat 9.0.19
Closes gh-16591
6 years ago