Commit Graph

5479 Commits (9f769dd5619521c5bec9b8c7be0504b9d50e3556)

Author SHA1 Message Date
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
Andy Wilkinson 853b4952a0 Upgrade to Tomcat 9.0.19
Closes gh-16591
6 years ago
Johnny Lim 2b2afd785b Polish
Closes gh-16575
6 years ago
Stephane Nicoll a79e49f1dd Merge branch '2.1.x' 6 years ago
Johnny Lim 363994515b Polish
See gh-16575
6 years ago
Stephane Nicoll b710dc71fe Polish "Use BatchErrorHandler when Kafka listener type is batch"
Closes gh-16499
6 years ago
Andy Wilkinson 7d2a99943f Merge branch '2.1.x' 6 years ago
Andy Wilkinson dfbc787737 Test the Gradle plugin against Gradle 5.4
Closes gh-16576
6 years ago
Madhura Bhave bb7940f8e4 Use BatchErrorHandler when Kafka listener type is batch
Closes gh-16499
6 years ago
Madhura Bhave ac2b0093c7 Disable DevTools' post-processors and auto-config when running tests
Closes gh-5307
6 years ago
Andy Wilkinson dacbb65fd7 Merge branch '2.0.x' into 2.1.x
Closes gh-16579
6 years ago
Andy Wilkinson 7260c0f2c4 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 4941217323 Update docs to reflect rename of @ConfigurationPropertiesDefaultValue
See gh-8762
6 years ago
Andy Wilkinson e7455b454b Merge branch '2.1.x'
Closes gh-16564
6 years ago
Andy Wilkinson 043f0ffbeb Restore indentation in published spring-boot-starter-parent pom
Closes gh-16466
6 years ago
Andy Wilkinson 4e97f7998c Add missing RSocket dependency management
Closes gh-16568
6 years ago
Andy Wilkinson c722cc96fc Merge branch '2.1.x'
Closes gh-16572
6 years ago
Andy Wilkinson 4e4d5f0539 Remove dependency management for solr-uima following upgrade to 7.7.1
Closes gh-16490
6 years ago
Phillip Webb 5f1bbf8c72 Update copyright header of changed files 6 years ago
Phillip Webb 7d4118a0fe Align withBean methods with ApplicationContext
Rework `AbstractApplicationContextRunner.withBean` methods to
align signatures as much as possible with those provided by
the `ApplicationContext`.

Also update the implementation to use a dedicate member
variable rather than adding initializers.

Closes gh-16011
6 years ago
Phillip Webb 2dfd916c96 Polish 6 years ago
Madhura Bhave dabe75a281 Merge branch '2.1.x' 6 years ago
Madhura Bhave f0544fb86f Polish 6 years ago