Commit Graph

991 Commits (88b6a3308c7b60275ced2e7e68f7d207ed959f58)

Author SHA1 Message Date
Andy Wilkinson f25c32e8b9 Merge branch '2.0.x' 6 years ago
Andy Wilkinson d104205880 Update docs to reflect that @AutoConfigureRestDocs supports WebTestClient
Closes gh-15220
6 years ago
Andy Wilkinson 56519e5cbb Merge branch '2.0.x' 6 years ago
Andy Wilkinson 8ee57ac574 Remove redundant suggestion to add a dependency on Woodstox
It's now a transitive dependency of jackson-dataformat-xml so there is no
need to depend on it explicitly.

Closes gh-15092
6 years ago
Stephane Nicoll a222952a77 Polish contribution
Closes gh-15134
6 years ago
Johnny Lim fd5aa3ebf1 Polish
See gh-15134
6 years ago
Stephane Nicoll 0bd69fded8 Fix detection of ScheduledExecutorService
`@EnableScheduling` detects primarily a suitable `TaskScheduler` in the
context and fallbacks to the presence of a `ScheduledExecutorService` if
that is not the case.

This commit improves the auto-configuration to back off when such
scheduled executor service is present, so that the framework
initialization code can pick it up as usual.

Closes gh-15032
6 years ago
Stephane Nicoll c7909318cd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 69d9b7a813 Polish contribution
Closes gh-15081
6 years ago
Nishant Raut 08ddb59f92 Update documentation to remind how JobParameters should be specified
See gh-15081
6 years ago
Stephane Nicoll 7257572dbd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 01091aab2a Polish "Update docs to Spock 1.2"
Closes gh-15060
6 years ago
Jeff Sheets 01b17af530 Update docs to Spock 1.2
See gh-15060
6 years ago
Stephane Nicoll 26dc8b9fb5 Update system requirements in the reference docs
Closes gh-15026
6 years ago
Andy Wilkinson 743782de7e Revert reloadable message source support
Closes gh-14882
See gh-14699
See gh-13377
6 years ago
Phillip Webb 807743b679 Merge branch '2.0.x' 6 years ago
Phillip Webb 43dd3cfa76 Polish "Improve Path Matching and Content Negotiation docs"
See gh-14977
6 years ago
Nishant Raut 113abbe6e6 Improve Path Matching and Content Negotiation docs
Add a note to the "Path Matching and Content Negotiation" section about
the `spring.mvc.pathmatch.use-suffix-pattern` property.

Closes gh-14977
6 years ago
Brian Clozel 755c4b8b98 Update spring.mvc.log-resolved-exception description
Closes gh-14936
6 years ago
Andy Wilkinson 1b0677bdd9 Merge branch '2.0.x' 6 years ago
Andy Wilkinson d5201070e6 Cross-link to Gradle Plugin docs rather than duplicating example
Closes gh-14878
6 years ago
Stephane Nicoll 474da80b4d Revert "Restructure of security packages"
See gh-14412
6 years ago
Stephane Nicoll 5805c0fc0a Polish "Fix a broken table in doc"
Closes gh-14859
6 years ago
Johnny Lim 9e25fa1247 Fix a broken table in doc
See gh-14859
6 years ago
Stephane Nicoll 5f2517f889 Auto-configure AppOptics metrics
Closes gh-14819
6 years ago
Stephane Nicoll 620d88e4ed Polish
See gh-14849
6 years ago
Brian Clozel 96fc92609d Polish
Closes gh-14849
6 years ago
Stephane Nicoll 9ade4898ef Polish 6 years ago
Johnny Lim 7f9671fd14 Polish
Closes gh-14843
6 years ago
Stephane Nicoll 39f8b685df Merge branch '2.0.x' 6 years ago
Johnny Lim 47daf96c48 Polish
See gh-14843
6 years ago
dreis2211 8b14754cda Remove usages of BasicAuthorizationInterceptor
See gh-14830
6 years ago
Madhura Bhave f835f82582 Preliminary restructure of security packages
Restructure the security auto-configuration packages to better reflect
the part of the system that the configuration applies to.

See gh-14412
6 years ago
Phillip Webb 765b54830b Merge branch '2.0.x' 6 years ago
Stephane Nicoll 45121f225e Fix default property value 6 years ago
Stephane Nicoll e901a0bd0e Merge branch '2.0.x' 6 years ago
Stephane Nicoll 935d621a42 Fix mapping of Wavefront base properties
Closes gh-14839
6 years ago
Andy Wilkinson 1e2d5a1382 Auto-configure Micrometer's HumioMeterRegistry
Closes gh-14804
6 years ago
Stephane Nicoll ffe5e88d8e Merge branch '2.0.x' 6 years ago
Stephane Nicoll 99a45bdef8 Fix datasource prefix in multiple-datasource configuration doc
Closes gh-13195
6 years ago
Stephane Nicoll d4ec45e192 Fix javadoc generation 6 years ago
Andy Wilkinson a4eb636913 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 6d98851fb5 Use Couchbase's DiagnosticsReport to determine its health
Previously, Couchbase's health was determined by retrieving the bucket info
from the cluster info. This retrieval could take over one minute in some
cases even when Couchbase is health. This latency is too large for a health
check.

The Couchbase team have recommended the of a Cluster#diagnostics instead.
This provides a much lower latency view of the cluster's health. This
commit updates CouchbaseHealthIndicator to use Cluster#diagnostics while
retaining support, in a deprecated form, for the old info-based mechanism
should anyone want to opt back into that in 2.0.x.

Closes gh-14685
6 years ago
Stephane Nicoll 89349c6eb9 Auto-configure KairosDB metrics
Closes gh-14821
6 years ago
Stephane Nicoll f86ed38abf Upgrade to Groovy 2.5.3
Closes gh-14825
6 years ago
Andy Wilkinson e151dbf003 Document Jersey metrics' new outcome tag and polish formatting
See gh-12482
6 years ago
Andy Wilkinson 6e5310900b Switch from thymeleaf-extras-springsecurity4 to extras-springsecurity5
Closes gh-14806
6 years ago
Stephane Nicoll 6199af6c0f Polish 6 years ago
Stephane Nicoll 0ff1b25f52 Polish "Improve Micrometer histogram properties support"
Closes gh-14139
6 years ago
Alexander Abramov c1c79ab1c2 Improve Micrometer histogram properties support
This commit adds configuration properties for Micrometer histogram
settings: "minimumExpectedValue" and "maximumExpectedValue".

See gh-14139
6 years ago
Brian Clozel 2588a71ac4 Auto-Configure HTTP ResourceFactories on servers
This commit auto-configures HTTP resource factories on both Reactor
Netty and Jetty server instances. This creates `ReactorResourceFactory`
and `JettyResourceFactory` beans when necessary - those beans can be
reused and applied by the client auto-configuration in order to share
resources between client and server for optimal performance.

The server auto-configuration has the highest precedence, so from now
on, the auto-configured ResourceFactory bean on the client side will be
skipped if a reactive server is configured.

Closes gh-14495
6 years ago
Stephane Nicoll 11efe92ce7 Polish "Configure Cassandra JMX Reporting"
Closes gh-14778
6 years ago
Phillip Webb d102e0d7f7 Introduce Ordered Filter and WebFilter interfaces
Add `Ordered` variants of `javax.servlet.Filter` and
`org.springframework.web.server.WebFilter` mainly so that we can
deprecate `FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER`.

Closes gh-14793
6 years ago
Phillip Webb 01f7805c19 Merge branch '2.0.x' 6 years ago
Phillip Webb b1399db994 Add a warning about `webDriver` scope to the docs
Update the reference documentation with a warning about the `webDriver`
scope that we create.

Closes gh-13093
6 years ago
Phillip Webb 0d35af1813 Add "Encrypting Properties" documentation
Update the reference documentation with a section about encrypting
properties and a link to Spring Cloud Vault.

Closes gh-13618
6 years ago
Phillip Webb 1c3987d55a Fix documentation of devtools Gradle scope
Update the reference documentation to suggest that devtools uses a
custom `developmentOnly` scope, rather than `compileOnly`.

Closes gh-14451
6 years ago
Brian Clozel 43966c7f93 Configure WebFlux HiddenHttpMethodFilter with property
This commit adds a new configuration property
`"spring.webflux.hiddenmethod.filter.enable"` that enables/disables the
`HttpHiddenMethodFilter` in Spring WebFlux.

Closes gh-14520
6 years ago
Stephane Nicoll d37df3d718 Add support for customizing Flyway's configuration
Closes gh-14786
6 years ago
Stephane Nicoll e789bc0bb7 Use FluentConfiguration to configure Flyway
This commit stops binding the Flyway object directly to the environment
as mutating it will no longer be supported in Flyway 6.

This commit mirrors Flyway's configuration in FlywayProperties for the
most part.

Closes gh-14776
6 years ago
Stephane Nicoll 1a140a80d8 Improve logger-name value hint definition
This commit improve the logger-name value hint by adding a group
attribute that can be defined to specify whether logging groups should
be considered.

Closes gh-14748
6 years ago
Stephane Nicoll c91d9bfda8 Polish "Add encoding support for git and build properties"
Closes gh-10771
6 years ago
Stephane Nicoll 5a2a2e1ebe Complete documentation of logger-name with out-of-box logging groups
Closes gh-14456
6 years ago
Andy Wilkinson 37c60b6603 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 51a1309ab7 Document need to use spring.data.rest rather than spring.data.web
Closes gh-14413
6 years ago
Andy Wilkinson fa47073d11 Merge branch '2.0.x' 6 years ago
Andy Wilkinson c6fdb4f0f2 Improve documentation of Quartz DataSource customization
Closes gh-12780
6 years ago
Andy Wilkinson 602f23c3eb Merge branch '2.0.x' 6 years ago
Hanope 8b08f04e39 Correct TIP typo in the documentation
Closes gh-14735
6 years ago
Andy Wilkinson 83e1a61510 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 73122fa8f3 Improve documentation of supported JSON mapping libraries
Closes gh-14703
6 years ago
Stephane Nicoll 3b0f00dc20 Document how to enable Hibernate 2nd level cache with JCache
Closes gh-14734
6 years ago
Stephane Nicoll a22d089cdc Use a dedicated hook point to customize InfluxDB's HTTP client
This commit introduces a dedicated hook point for InfluxDB's http client
builder and retains backward compatibility, in a deprecated fashion, for
looking up a OkHttpClient.Builder bean.

Closes gh-14709
6 years ago
dreis2211 6a66a333ae Fix actuator endpoint tables in docs
Closes gh-14712
6 years ago
Andy Wilkinson 04d69f10e0 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 07dd689c9c Polish 6 years ago
dreis2211 e6313fd96f Fix @Cacheable typo
Closes gh-14720
6 years ago
Andy Wilkinson b413333abb Merge branch '2.0.x' 6 years ago
Andy Wilkinson 9afd6f53e5 Document need for -parameters compilation with @SpyBean and @Cacheable
Closes gh-13945
6 years ago
Andy Wilkinson c4ba05f092 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 4f51a83ab3 Add a note recommending the use of containers' multipart upload
Closes gh-2958
6 years ago
Andy Wilkinson 43c0d42dc2 Merge branch '2.0.x' 6 years ago
Andy Wilkinson bbdd6cc9cb Merge branch '1.5.x' 6 years ago
Madhura Bhave 670aaf7875 Make prometheus push gateway available to javadoc generation
See gh-14353
6 years ago
Phillip Webb 20ecf73cd1 Polish "Add Prometheus push gateway support"
Rework Prometheus push gateway support so that the central class can
be used outside of auto-configuration. The shutdown flags have also
been replaced with a single "shutdown-operation" property since it's
unlikely that both "push" and "delete" will be required.

It's also possible now to supply a `TaskScheduler` to the manager.

See gh-14353
6 years ago
Stephane Nicoll 35752a54d2 Adapt to latest change in Micrometer 1.1 6 years ago
Andy Wilkinson 80d27f7129 Make micrometer-jersey2's classes available to javadoc generation
See gh-12482
6 years ago
Andy Wilkinson 72e2313fe8 Polish "Auto-configure Micrometer's Jersey 2 server instrumentation"
Closes gh-12482
6 years ago
Michael Weirauch dd126faf5a Auto-configure Micrometer's Jersey 2 server instrumentation
See gh-12482

Co-authored-by: Michael J. Simons <michael@simons.ac>
6 years ago
Stephane Nicoll 40de371a52 Fix build failure 6 years ago
Stephane Nicoll 91b4dc2f69 Polish "Add reactive health indicator for Couchbase"
Closes gh-13926
6 years ago
Stephane Nicoll 36e2c8bcb5 Add missing entry for Couchbase health indicator 6 years ago
artsiom ccb964e886 Drop support for "all" from management.metrics.distribution.sla
See gh-14684
6 years ago
Rui Figueira 22abe35f95 Add ReloadableResourceBundleMessageSource support
Add a `spring.messages.reloadable` configuration property which can be
used to auto-configure a `ReloadableResourceBundleMessageSource` rather
than a `ResourceBundleMessageSource`.

Closes gh-13377
6 years ago
Madhura Bhave daa3d457b7 Revert OAuth2 Client Registration Grant Type Hierarchy
Closes gh-14554
6 years ago
Stephane Nicoll 5d0e812afe Merge branch '2.0.x' 6 years ago
Stephane Nicoll 1b10d3fcbf Fix missing metadata for nested POJO
This commit fixes missing descriptions and default values when
applicable for `management.server.ssl`, `server.compression`,
`server.http2`, `server.servlet.jsp`, `server.servlet.session` and
`server.ssl`.

Those nested namespace are managed by a POJO that is declared outside
of the module of the target @ConfigurationProperties type using it. As
a result, the annotation processor has no access to the source model and
can't extract the description and the default value, if any.

This commit migrates the misleading field-level Javadoc to manual meta
data for the time being.

Closes gh-14669
6 years ago
Stephane Nicoll b4a8ad06de Merge branch '2.0.x' 6 years ago
Janne Valkealahti 26345d3900 Polish docs
This commit replaces tabs to spaces in a yaml example for configuring
endpoint web exposure include.

Closes gh-14670
6 years ago
Stephane Nicoll 84c8f38368 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b248afc808 Clarify conversion system in Appendix
Closes gh-14645
6 years ago
Stephane Nicoll aaecdfb527 Deprecate Cassandra properties that require a default constructor
Closes gh-14473
6 years ago
Stephane Nicoll 068040e227 Register SpringBeanContainer with default Hibernate setup
Closes gh-13717
6 years ago
Stephane Nicoll 7bf32290c6 Update description of the `logger-name` hint
Closes gh-14456
6 years ago
Stephane Nicoll 2d36a6f952 Merge branch '2.0.x' 6 years ago
Johnny Lim 1eca492c5e Polish
See gh-14621
6 years ago
Andy Wilkinson d145fab7e5 Merge branch '2.0.x' 6 years ago
Andy Wilkinson fd10226c54 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 9735774b4a Merge branch '2.0.x' 6 years ago
Andy Wilkinson 62b481c7db Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 698bbd6a9e Polish
Closes gh-14597
6 years ago
Phillip Webb 64627fa9d6 Restore Maven 3.3 compatibility
Downgrade the `spring-boot-maven-plugin` maven version to 3.3.

Closes gh-14464
6 years ago
Stephane Nicoll 5765ed00e8 Polish 6 years ago
Andy Wilkinson 6e00d13d68 Polish 6 years ago
Andy Wilkinson 4c3e2d10d1 Auto-configure Micrometer's Elastic registry
Closes gh-14523
6 years ago
Stephane Nicoll 6145b3d278 Polish 6 years ago
Stephane Nicoll 831b0d7bdd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 885948ce3b Polish 6 years ago
Stephane Nicoll da59d5c6d9 Polish 6 years ago
Stephane Nicoll 47f9379305 Adapt to changes in latest Micrometer snapshot
See gh-14522
6 years ago
Andy Wilkinson 977f8b4479 Auto-configure Micrometer's Kafka consumer metrics
Closes gh-14525
6 years ago
Andy Wilkinson ce75a585b1 Make spring-data-jdbc available to javadoc generation
See gh-14489
6 years ago
Andy Wilkinson ade79f7ded Fix duplicate section ID in the docs 6 years ago
Stephane Nicoll 9d46fee6db Merge branch '2.0.x' 6 years ago
Gary Russell 26c1e389df Polish RabbitMQ properties doc
Fix description for `prefetch`; remove reference to transactions since
the direct container does not support transactionSize.

Also fix `transactionSize` to just reference acks; autoConfiguration
doesn't support enabling transactions.

Closes gh-14569
6 years ago
Stephane Nicoll cbae22f0c9 Polish "Migrate size properties to DataSize"
Closes gh-14549
6 years ago
qct eb9f635004 Migrate size properties to DataSize
See gh-14549
6 years ago
Andy Wilkinson def02deaf0 Make micrometer-registry-dynatrace available to javadoc generation
See gh-14522
6 years ago
Andy Wilkinson 258c4838b1 Auto-configure Micrometer's Log4j2 metrics
Closes gh-14524
6 years ago
Andy Wilkinson 4b00dc8a5c Add support for Spring Data JDBC (auto-config, starter, and test slice)
Closes gh-14489
6 years ago
Andy Wilkinson fe75f966ff Auto-configure Micrometer's Dynatrace meter registry
Closes gh-14522
6 years ago
Stephane Nicoll 61858767ed Merge branch '2.0.x' 6 years ago
Stephane Nicoll 5506d972c6 Polish "Fix and improve Neo4j related documentation"
Closes gh-14548
6 years ago
Michael J. Simons 8a53adf3d2 Fix and improve Neo4j related documentation
See gh-14548
6 years ago
Johnny Lim 521f746151 Polish
Closes gh-14517
6 years ago
Stephane Nicoll 36d22c8541 Merge branch '2.0.x' 6 years ago
DK Lee 01cf52447c Fix typo in WebClient example
Closes gh-14499
6 years ago
Stephane Nicoll f42891489d Polish key description
Closes gh-14450
6 years ago
Johnny Lim d0a252181b Polish
Closes gh-14449
6 years ago
Andy Wilkinson c974192497 Polish "Add outcome tag to MVC and WebFlux HTTP request metrics"
Closes gh-14486
6 years ago
Madhura Bhave b2dd162572 Merge branch '2.0.x' 6 years ago
Madhura Bhave d7d5cbf959 Simplify printing ConditionEvaluationReport when using context runner
Closes gh-13119
6 years ago
Andy Wilkinson e1328f05e7 Merge branch '2.0.x' 6 years ago
Andy Wilkinson fc60d9f6d4 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson a1d1a7392f Polish "Use ExecutorProvider bean if available when auto-configuring jOOQ"
Closes gh-14471
6 years ago
Madhura Bhave d5a197fe66 Support random actuator port in SpringBootTest
This commit changes @SpringBootTest(randomPort = true) to
generate a random port for the actuator endpoints if the
management server runs on a different port from the main
server.

Closes gh-4424
6 years ago
Phillip Webb cef635d86c Reinstate devtools debug logging with opt-out
Reinstate `web` logging when devtools is in use, making use of the new
logging groups support. Devtools now also logs an `INFO` message
informing that properties defaults are offers an easy way to disable
them.

Closes gh-14450
6 years ago
Phillip Webb b32887b8eb Add support for logging groups
Provide a way for users to quickly group related loggers together for
easier configuration. The `loggers.group` property can be used to define
a group that can then be configured in the usual `loggers.level.<group>`
way.

Additionally, provide pre-defined groups for `web` and `sql.

Closes gh-14421
6 years ago
Andy Wilkinson a2cf2cd87f Raise the minimum supported version of Gradle to 4.4
Closes gh-14418
6 years ago
Phillip Webb aa2da0bb0d Remove logging level changes from devtools
Update `DevToolsPropertyDefaultsPostProcessor` to remove custom logging
level configuration. Unfortunately it's not easy to back-off logging
overrides when the user has a custom logback/log4j configuration.

Closes gh-14310
6 years ago