Andy Wilkinson
8bf2ffd93c
Drop support for Jersey until jersey-spring6 is available
...
Closes gh-28808
2021-11-30 15:39:39 +00:00
Scott Frederick
29a21d4621
Remove support for Spring Data Couchbase and Couchbase caching
...
Fixes gh-28613
2021-11-30 15:39:28 +00:00
Stephane Nicoll
afa006986b
Merge branch '2.5.x'
...
Closes gh-28713
2021-11-17 09:01:53 +01:00
Vedran Pavic
c8dd0a584b
Fix "Configure Two DataSources" example
...
With the present example, the `secondDataSource` bean factory method
will use `firstDataSourceProperties` due to it being annotated with
`@Primary`.
This commit adds the `@Qualifier` needed to ensure `secondDataSource`
bean factory method uses `secondDataSourceProperties`.
See gh-28712
2021-11-17 09:00:14 +01:00
Phillip Webb
cf9156e497
Add SameSite cookie support for servlet web servers
...
Update Tomcat, Jetty and Undertow `ServletWebServerFactory`
implementations so that they can write SameSite cookie attributes.
The session cookie will be customized whenever the
`server.servlet.session.cookie.same-site` property is set.
Other cookies can be customized with the new `CookieSameSiteSupplier`
interface which can be registered using `@Bean` methods.
Closes gh-20971
Co-authored-by Andy Wilkinson <wilkinsona@vmware.com>
2021-10-20 22:58:31 -07:00
Phillip Webb
3729c4909a
Polish package name for web sample code
...
See gh-27132
2021-10-20 21:31:41 -07:00
Vincent Ricard
52176b8ed6
Remove english contractions from the documentation
...
See gh-28064
2021-09-21 08:00:48 +02:00
Madhura Bhave
7e257dc24c
Rename packages for code samples to match sections
...
See gh-27132
2021-09-20 16:15:08 -07:00
Andy Wilkinson
32cfde074f
Merge branch '2.5.x'
2021-09-16 12:11:42 +01:00
Andy Wilkinson
9df099e343
Polish
2021-09-16 12:11:34 +01:00
Andy Wilkinson
07d9a614e0
Merge branch '2.5.x'
...
Closes gh-27804
2021-08-23 15:45:51 +01:00
Andy Wilkinson
b508d77a4e
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27803
2021-08-23 15:45:33 +01:00
Andy Wilkinson
990b766847
Polish "Document how to parameterize REST Docs' output dir with WebTestClient"
...
See gh-27755
2021-08-23 15:36:16 +01:00
Berchris Requiao
c83f6ebaa2
Document how to parameterize REST Docs' output dir with WebTestClient
...
See gh-27755
2021-08-23 15:30:21 +01:00
Brian Clozel
8b3bea173c
Configure WebTestClient for @AutoConfigureMockMvc tests
...
As of Spring Framework 5.3, `WebTestClient` can now be configured on top
of `MockMvc` for testing Spring MVC applications in a mock environment.
Prior to this commit, `WebTestClient` would be already configured for
WebFlux mock setups with `@AutoConfigureWebTestClient` or live servers
(for both MVC and WebFlux apps).
This commit enhances the `@AutoConfigureWebMvc` support so that a
`WebTestClient` instance is auto-configured if the spring-webflux
dependency is present on the classpath.
Closes gh-23067
2021-08-03 09:43:44 +02:00
Andy Wilkinson
4d30eb453f
Adopt Hiberate's CamelCaseToUnderscoresNamingStrategy
...
Closes gh-27352
2021-07-19 13:19:49 +01:00
Andy Wilkinson
43f1b98864
Polish "Add @WebServiceServerTest slice test support"
...
See gh-27091
2021-07-16 11:28:39 +01:00
Phillip Webb
e85b0c7012
Merge branch '2.5.x'
2021-06-23 17:29:41 -07:00
Phillip Webb
fd83158fa5
Merge branch '2.4.x' into 2.5.x
2021-06-23 17:28:31 -07:00
Phillip Webb
5fc0e1ca81
Merge branch '2.5.x'
...
Closes gh-27057
2021-06-23 17:23:25 -07:00
Phillip Webb
af37f59136
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27056
2021-06-23 17:13:13 -07:00
Andy Wilkinson
4290193a65
Merge branch '2.5.x'
...
Closes gh-27025
2021-06-22 13:20:11 +01:00
Andy Wilkinson
051638631b
Merge branch '2.4.x' into 2.5.x
...
Closes gh-27024
2021-06-22 13:02:06 +01:00
Stephane Nicoll
6505e03cb2
Polish "Add auto-configuration for Spring Data Envers"
...
See gh-22610
2021-06-14 08:28:17 +02:00
Phillip Webb
f798f26596
Merge branch '2.4.x'
2021-06-08 18:05:50 -07:00
Phillip Webb
499a29c415
Move "Testcontainers" How-to
...
See gh-26262
2021-05-18 11:49:03 -07:00
Phillip Webb
72d50ed2f8
Move "Testing With Spring Security" How-to
...
See gh-26262
2021-05-18 11:49:02 -07:00
Phillip Webb
d3207b107c
Polish docs
2021-05-05 23:42:22 -07:00
Phillip Webb
57e54af6f5
Delete R2dbcDatabaseInitializationConfiguration
...
The `R2dbcDatabaseInitializationConfiguration` docs class is not needed
in 2.5.x.
Closes gh-26225
2021-05-04 08:15:14 -07:00
Phillip Webb
b5583a4620
Polish doc code samples
...
See gh-6313
2021-05-03 22:39:44 -07:00
Phillip Webb
9aad29da0c
Extract code samples from docs
...
See gh-6313
2021-05-03 17:46:37 -07:00
Phillip Webb
b314d848dc
Polish docs code
...
See gh-6313
2021-04-30 18:19:52 -07:00
Phillip Webb
09e85806d6
Align docs package structure with heading IDs
...
See gh-6313
2021-04-30 16:34:35 -07:00
Phillip Webb
5e8f383947
Extract code samples from docs
...
See gh-6313
2021-04-26 14:01:37 -07:00
Phillip Webb
32a87fcbda
Extract code samples from docs
...
See gh-6313
2021-04-25 16:07:26 -07:00
Phillip Webb
f30d48e3b3
Extract code samples from docs
...
See gh-6313
2021-04-23 23:41:06 -07:00
Phillip Webb
02cc778911
Extract code samples from docs
...
See gh-6313
2021-04-23 19:10:09 -07:00
Stephane Nicoll
57d35aba12
Merge branch '2.4.x'
...
Closes gh-26160
2021-04-19 17:09:45 +02:00
Stephane Nicoll
6bbd36c77a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-26159
2021-04-19 17:01:28 +02:00
Stephane Nicoll
03b65f3260
Polish "Enhance multiple entity manager factories how-to"
...
See gh-14928
2021-04-19 16:59:31 +02:00
Stephane Nicoll
d50e581403
Start building against Micrometer 1.7.0-RC1 snapshots
...
See gh-25934
2021-04-09 13:44:32 +02:00
Phillip Webb
4b05dbf4a2
Polish
2021-04-06 14:59:13 -07:00
Andy Wilkinson
73e1dd8728
Polish "Auto-configure Mongo metrics"
...
See gh-23990
2021-04-06 18:15:09 +01:00
Brian Clozel
72a1eb6384
Allow to manually tag request metrics with exceptions
...
Prior to this commit, some exceptions handled at the controller or
handler function level would:
* not bubble up to the Spring Boot error handling support
* not be tagged as part of the request metrics
This situation is inconsistent because in general, exceptions handled at
the controller level can be considered as expected behavior.
Also, depending on how the exception is handled, the request metrics
might not be tagged with the exception.
This will be reconsidered in gh-23795.
This commit prepares a transition to the new situation. Developers can
now opt-in and set the handled exception as a request attribute. This
well-known attribute will be later read by the metrics support and used
for tagging the request metrics with the exception provided.
This mechanism is automatically used by the error handling support in
Spring Boot.
Closes gh-24028
2021-04-01 21:09:46 +02:00
Phillip Webb
bea307b115
Extract code samples from docs
...
See gh-6313
2021-03-12 17:49:17 -08:00
Phillip Webb
05cf7fbb04
Use new backend features for extracted samples
...
Update extracted samples to make use of code folding and chomping.
See gh-6313
2021-03-09 11:55:23 -08:00
Phillip Webb
a1dc107144
Update copyright year of changed files
2021-02-18 16:23:56 -08:00
Phillip Webb
23ebf017c0
Extract code samples from docs
...
See gh-6313
2021-02-04 15:55:35 -08:00
Phillip Webb
0e326d6b0f
Extract some code samples from docs
...
See gh-6313
2021-02-03 18:10:44 -08:00
Phillip Webb
073f8c4b23
Polish spring-boot-docs
...
See gh-25089
2021-02-03 16:25:11 -08:00
Phillip Webb
2a85427324
Refine spring-boot-docs package restructure
...
Refine the package restructure started in 91ccc23462
to help provide
a solid foundation for code snippets. This commit renames many of the
classes so that they no longer end in `Example`. It also removes some
of the inner types that were previously used. Many tag comments have
also been moved to ensure that `import` statements are available in
the docs.
Closes gh-25089
2021-02-03 15:47:05 -08:00
Phillip Webb
91ccc23462
Restructure spring-boot-docs packages
...
Restructure the packages in `spring-boot-docs` so that they mirror
the documentation sections. There are now three main packages:
`springbootfeatures`, `productionreadyfeatures` and `howto`. Each
of the main packages has a subpackage named after the section headings.
Example code now uses consistent `// tag::` names and imports are
applied using `[tag=*]` whenever possible.
Test snippets have been moved to `src/main/java` so that only a single
import attribute needs to be defined.
Closes gh-25089
2021-02-02 17:09:45 -08:00
Stephane Nicoll
1d30a4716e
Merge branch '2.4.x'
...
Closes gh-24708
2021-01-08 15:54:36 +01:00
Stephane Nicoll
b8a1869569
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24707
2021-01-08 15:53:53 +01:00
Stephane Nicoll
826d79be3e
Clarify behaviour of WebServerFactory in reference guide
...
Closes gh-24705
2021-01-08 15:50:16 +01:00
Andy Wilkinson
fb0f27ce2d
Move EMFDependsOnPostProcessor into autoconfigure.orm.jpa
...
Closes gh-24452
2020-12-15 14:20:50 +00:00
Andy Wilkinson
6a2332d477
Merge branch '2.3.x'
...
Closes gh-24062
2020-11-05 15:55:09 +00:00
Andy Wilkinson
44d0ce5ff1
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24060
2020-11-05 15:53:53 +00:00
Andy Wilkinson
9c5d1646bd
Show how to configure a case-sensitive physical naming strategy
...
Closes gh-24045
2020-11-05 15:53:32 +00:00
Andy Wilkinson
d5980be623
Clarify documentation for relaxed binding of environment variables
...
Closes gh-22974
2020-11-04 17:40:27 +00:00
Andy Wilkinson
c289ba0c2c
Recommend disabling context root redirects with proxied Tomcat
...
Closes gh-22908
2020-11-04 10:13:55 +00:00
Pascal Schumacher
5472fcf433
Fix typo in Spring Session documentation
...
See gh-24020
2020-11-03 20:31:42 +00:00
Andy Wilkinson
2f280b01e1
Improve Spring Session back-off documentation
...
Closes gh-23151
2020-11-03 19:42:57 +00:00
Andy Wilkinson
35bff55097
Ensure that Quartz can be auto-configured with a Quartz-specific TM
...
Previously, Quartz could be configured with a specific DataSource
using `@QuartzDataSource` but it was not possible to configure a
Quartz-specific transaction manager. This could result in the
different DataSources being used by Quartz itself and Quart'z
DataSourceTransactionManager.
This commit introduces a new qualifier, `@QuartzTransactionManager`,
that can be used to avoid the above-described problem. Any
`@QuartzTransactionManager`-annotated bean will be used by the
Quartz auto-configure configuration instead of the application's main
`TransactionManager`. If no such qualified bean is present, the
application's main TransactionManager, if any, will be used as before.
Fixes gh-20184
2020-11-03 15:56:44 +00:00
Andy Wilkinson
d32d65b02c
Add tip about providing as much typo info as possible in @Bean methods
...
Closes gh-22925
2020-11-03 10:16:20 +00:00
Stephane Nicoll
93e36a97ab
Remove version elements from Maven plugin documentation
...
This commit removes `<version>` from the Maven Plugin documentation
where it makes sense so that versions aren't hardcoded unnecessarily.
Rather, a plugin or dependency management should be in place so those
are not needed.
Closes gh-23909
2020-10-28 13:39:03 +01:00
Brian Clozel
9478cd2dfb
Document how to configure h2c protocol
...
Prior to this commit, the how-to documentation would say that Spring
Boot does not support the h2c protocol. While it's not supported
out-of-the-box with a configuration property, this protocol can still be
configured using server customizers.
This commit documents, with code snippets, the server customizers one
should use to configure the h2c protocol in an application - for each
supported server.
Closes gh-21997
2020-10-22 20:04:35 +02:00
Stephane Nicoll
4f4cc8b182
Polish contribution
...
See gh-23755
2020-10-20 16:56:30 +02:00
cdalexndr
2f2b1b9656
Note that using LiveReload requires Devtools restart to be enabled
...
See gh-23755
2020-10-20 16:53:49 +02:00
Stephane Nicoll
27af908b99
Note that a Neo4j reactive transaction manager is not auto-configured
...
Closes gh-23629
2020-10-14 13:39:38 +02:00
Phillip Webb
c523295694
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23610
2020-10-07 11:04:39 -07:00
Phillip Webb
206356728c
Add upgrading section to reference docs
...
Add a section to the reference documentation with links to the release
notes on the wiki.
Closes gh-23529
2020-10-07 11:04:20 -07:00
ketaki-t
66aa24b5f0
Remove documentation for unsupported gradle versions
...
See gh-23562
2020-10-01 17:13:26 -07:00
Pavel Gordon
62eb835a4e
Fix link to Log4j's JDK Logging Adapter in reference documentation
...
See gh-23459
2020-09-23 14:36:00 +02:00
Stephane Nicoll
2999f09a40
Rework tip on templates location in the IDE
...
This commit rework the tip on locating templates when running the app
in the IDE. Using classpath* should not change anything as this won't
make a difference without a pattern in the path.
Closes gh-23068
2020-09-22 16:44:16 +02:00
Stephane Nicoll
7f84a92ef1
Document that Java 15 is supported
...
Closes gh-23447
2020-09-22 15:19:47 +02:00
Stephane Nicoll
1631ae23f5
Allow RestTemplateBuilder to be further customized
...
Closes gh-23389
2020-09-22 14:07:43 +02:00
David Good
775f0fa861
Improve sanitization for list of URI types
...
Prior to this commit, Actuator would sanitize properties values when
serializing them on the dedicated endpoint. Keys like "password" or
"secret" are entirely sanitized, but other keys like "uri" or "address"
are considered as URI types and only the password part of the user info
is sanitized.
This commit fixes the sanitization process where lists of such URI types
would not match the first entries of the list since they're starting
with `'['`. This commit improves the regexp matching process to sanitize
all URIs within a collection.
The documentation is also updated to better underline the processing
difference between complete sanitization and selective sanitization for
URIs.
Fixes gh-23037
2020-09-11 11:34:38 +02:00
Andy Wilkinson
e4691a4c61
Document that sliced tests don't scan @ConfigurationProperties beans
...
Closes gh-23210
2020-09-10 11:14:28 +01:00
Stephane Nicoll
65a5994354
Merge branch '2.3.x'
...
Closes gh-23061
2020-08-24 11:57:42 +02:00
Stephane Nicoll
39dc2e7de4
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23060
2020-08-24 11:57:22 +02:00
Stephane Nicoll
f1455b156a
Polish "Add example of custom Actuator operations"
...
See gh-23028
2020-08-24 11:56:31 +02:00
Ivo Smid
e8de069e00
Add example of custom Actuator operations
...
See gh-23028
2020-08-24 11:37:00 +02:00
dreis2211
06eb7e9777
Mention correct JUnit 5 annotations in Kotlin testing section
...
See gh-23002
2020-08-19 10:07:40 +02:00
Maciej Walkowiak
15de956566
Fix typo `Assert4J` -> `AssertJ`
...
See gh-22948
2020-08-14 15:09:56 -07:00
Stephane Nicoll
f61a632a37
Polish "Fix conditions that lead to auto-configure PushGateway"
...
See gh-22919
2020-08-13 11:47:43 +02:00
smlc
c355b95f6c
Fix conditions that lead to auto-configure PushGateway
...
See gh-22919
2020-08-13 11:41:49 +02:00
Stephane Nicoll
ee2363fca7
Polish "Harmonize Discover the HTTP Port at Runtime How-To"
...
See gh-22898
2020-08-12 09:50:44 +02:00
John Franco
303768b2b5
Harmonize Discover the HTTP Port at Runtime How-To
...
See gh-22898
2020-08-12 09:48:57 +02:00
Madhura Bhave
cdbb7f441a
Do not ignore null/empty values from SPRING_APPLICATION_JSON
...
Fixes gh-21542
2020-08-11 12:22:08 -07:00
Stephane Nicoll
ccffd50285
Document the limitation of default value detection
...
Closes gh-22685
2020-08-11 16:51:00 +02:00
Stephane Nicoll
64a5aa9340
Polish
2020-08-11 16:41:47 +02:00
Stephane Nicoll
5bd69fcd61
Merge branch '2.3.x'
...
Closes gh-22874
2020-08-11 13:40:21 +02:00
Stephane Nicoll
dc4de06b35
Restore customization of the Couchbase cache manager
...
With the upgrade to the new Couchbase SDK and the related changes in
Spring Data Couchbase, CacheManagerCustomizer can no longer be used to
customize the Couchbase cache manager as it is an immutable class.
This commit introduces a dedicated callback for the
CouchbaseCacheManagerBuilder that is used by the auto-configuration and
update the documentation to refer to it with a sample usage.
Closes gh-22573
2020-08-11 13:32:17 +02:00
Stephane Nicoll
8962d6ca21
Polish
2020-08-10 14:31:16 +02:00
Andy Wilkinson
63f7c75b61
Polish
2020-08-06 13:34:01 +01:00
Andy Wilkinson
b53f54f2cf
Add tip about using AopTestUtils.getTargetProxy with proxied spy beans
...
Closes gh-22281
2020-08-06 09:21:11 +01:00
Andy Wilkinson
bfe250e5d3
Clarify docs on schema and data SQL scripts with Flyway and Liquibase
...
Closes gh-20920
2020-08-05 18:14:39 +01:00
Stephane Nicoll
36fb86a110
Update to core r2dbc support
...
This commit adapts the auto-configuration for the new core r2dbc support
in Spring Framework and provides auto-configuration for
R2dbcEntityOperations.
Closes gh-22708
2020-08-04 16:00:29 +02:00
Stephane Nicoll
4082cddce2
Merge branch '2.1.x' into 2.2.x
...
Closes gh-22705
2020-08-03 15:00:41 +02:00
Johnny Lim
bd2874de49
Fix broken links to Micrometer registry docs
...
See gh-22704
2020-08-03 14:58:22 +02:00
Andy Wilkinson
22dc4e7608
Clarify documentation on @AutoConfigureRestDocs with WebTestClient
...
Closes gh-15977
2020-07-30 12:12:10 +01:00
Andy Wilkinson
1871cffc7d
Document that constructor binding does not support @…Unit annotations
...
Closes gh-22565
2020-07-30 09:04:30 +01:00
Andy Wilkinson
ddb4de2db1
Merge branch '2.3.x'
...
Closes gh-22630
2020-07-28 18:27:13 +01:00
Andy Wilkinson
77287f8632
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22629
2020-07-28 18:27:01 +01:00
Andy Wilkinson
5ea8bb0676
Recommend the use of a MeterBinder when a metric depends on a bean
...
Closes gh-19557
2020-07-28 18:26:38 +01:00
Andy Wilkinson
856c55b188
List DevTools in section overview of multi-page documentation
...
Closes gh-22591
2020-07-28 14:36:23 +01:00
dreis2211
c405b8b9c9
Fix link to Elasticsearch health indicator
...
See gh-22598
2020-07-28 13:21:09 +01:00
Andy Wilkinson
d9b61c4aaa
Update link to App Engine's Spring Boot sample
...
Closes gh-22607
2020-07-28 08:42:40 +01:00
Andy Wilkinson
0a01875d41
Improve documentation about swapping one technical starter for another
...
Closes gh-20408
2020-07-27 15:50:07 +01:00
Andy Wilkinson
812a0ed0c6
Define the reference doc authors in a single place
...
Closes gh-20896
2020-07-27 15:20:59 +01:00
Andy Wilkinson
b631fa1405
Describe MongoClientSettingsBuilderCustomizer in the documentation
...
Closes gh-21696
2020-07-27 14:46:30 +01:00
Andy Wilkinson
be428ef0f2
Document the need for configuration files to have a file extension
...
Closes gh-22278
2020-07-27 14:09:54 +01:00
Andy Wilkinson
7b3c0a9e09
Advise against java.util.Optional configuration properties
...
Closes gh-21868
2020-07-27 09:58:24 +01:00
Andy Wilkinson
21f733b89b
Merge branch '2.1.x' into 2.2.x
...
Closes gh-22409
2020-07-20 13:49:53 +01:00
Andy Wilkinson
179d2c79d6
Avoid trivialising what the reader's learning about
...
Closes gh-22408
2020-07-20 13:45:41 +01:00
Andy Wilkinson
d9882f2c88
Clarify the effects of ordering auto-configuration classes
...
Closes gh-22337
2020-07-15 10:48:01 +01:00
Stephane Nicoll
429a504bbe
Polish "Allow data unit to be specified on the constructor parameter"
...
See gh-21746
2020-07-09 11:51:32 +02:00
Andy Wilkinson
66987533d1
Link to application properties section from externalized config list
...
Closes gh-22262
2020-07-08 17:58:35 +01:00
Andy Wilkinson
a0946c8923
Start building against Reactor 2020.0.0 snapshots
...
See gh-21927
2020-06-22 17:34:56 +01:00
Stephane Nicoll
9b803af3c3
Polish "Document how to exclude an annotation processor with Maven"
...
See gh-22000
2020-06-19 11:36:25 +02:00
Marco Pens
627c0b1031
Document how to exclude an annotation processor with Maven
...
See gh-22000
2020-06-19 11:35:48 +02:00
Andy Wilkinson
67604a5416
Only process main metadata as it already includes additional metadata
...
Previously, the configuration property table generation was reading
both the main metadata and the additional metadata from each project.
This was unnecessary as the annotation processor will have already
merged the additional metadata into the main metadata before writing
it to disk. Processing both the main and additional metadata led to
a clash as the metadata overlapped. When the entry in the additional
metadata won the clash, the resulting entry in the configuration
property table would lose any details that aren't contained in the
additional metadata.
This commit updates the property table generation code to only use
the main metadata files.
Fixes gh-21131
2020-06-18 15:49:34 +01:00
Andy Wilkinson
2de906caf7
Polish "Clarify loss of defaults when adding custom mapping"
...
See gh-20716
2020-06-08 17:34:11 +01:00
Norio
9f009e4445
Clarify loss of defaults when adding custom mapping
...
See gh-20716
2020-06-08 17:31:26 +01:00
Andy Wilkinson
4a0e8217f0
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21759
2020-06-08 17:07:51 +01:00
Andy Wilkinson
5dce945e29
Document dispatcher-types configuration for secured error pages
...
Closes gh-19293
2020-06-08 17:06:42 +01:00
Andy Wilkinson
020a47ba3e
Document support for Gradle 5
...
Closes gh-15358
2020-06-08 14:29:07 +01:00
Phillip Webb
bfe1c281f0
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21743
2020-06-07 10:25:33 -07:00
Phillip Webb
70e0a27949
Drop the use of the term "white list"
...
Closes gh-21737
2020-06-07 10:22:35 -07:00
Stephane Nicoll
eb38eeaf30
Polish
2020-06-05 16:25:12 +02:00
Moritz do Rio Schulze
1e168a2145
Fix typo in section 4.30.6
...
See gh-21485
2020-05-20 17:41:50 -07:00
Andy Wilkinson
4a896f2272
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21471
2020-05-15 16:20:23 +01:00
Andy Wilkinson
fdc63d71fe
Use HTTPS when linking to groovy-lang.org
...
Closes gh-21466
2020-05-15 16:18:23 +01:00
Madhura Bhave
27ada029b5
Revert "Expose property to configure OAuth2 provider configurationMetadata"
...
This reverts commit 7b79029949
.
See gh-21375
2020-05-13 13:53:46 -07:00
Madhura Bhave
7b79029949
Expose property to configure OAuth2 provider configurationMetadata
...
Closes gh-21375
2020-05-12 13:42:03 -07:00
Stephane Nicoll
c3eaa6dc54
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21366
2020-05-08 16:57:41 +02:00
Stephane Nicoll
efc9978362
Document use case of splitting auto-configuration and starter
...
Closes gh-20686
2020-05-08 16:55:47 +02:00
Stephane Nicoll
80410997ec
Polish "Enhance Database initialization how to guide"
...
See gh-21077
2020-04-25 09:30:58 +02:00
nikmanzotti
f2b10be01e
Enhance Database initialization how to guide
...
See gh-21077
2020-04-25 09:30:43 +02:00
Phillip Webb
581ce09f88
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21106
2020-04-23 16:39:38 -07:00
Phillip Webb
416cfc2c86
Improve @Value documentation
...
Improve "@ConfigurationProperties vs. @Value" documentation with the
recommendation that kebab-case is used with the `@Value` annotation.
Closes gh-20507
2020-04-23 16:39:22 -07:00
Phillip Webb
48821bccb7
Merge branch '2.2.x'
...
Closes gh-21092
2020-04-22 16:50:41 -07:00
Phillip Webb
d1649fbb9a
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21091
2020-04-22 16:49:33 -07:00
Phillip Webb
e0f94f54ac
Add "Health as Gauge" how-to documentation
...
Add how-to documentation describing how health information can be
exported to a Micrometer Gauge.
Closes gh-18329
2020-04-22 16:45:46 -07:00
Phillip Webb
3e3587e0fb
Polish
2020-04-22 12:57:08 -07:00
Madhura Bhave
16ac968f69
Relocate section on configuring DevTools' file system watcher
...
Closes gh-20895
2020-04-21 17:09:40 -07:00
Madhura Bhave
af6d538781
Add support for initializing nested object when nothing bound
...
When using constructor binding, if no properties are bound to
a nested property, the top-level instance will be created with a
null value for the nested property.
This commit introduces support for an empty `@DefaultValue` which
indicates that an instance of the nested property must be created
even if nothing is bound to it. It honors any `@DefaultValue`
annotations that the nested property might have in its constructor.
Closes gh-18917
2020-04-20 15:39:55 -07:00
Phillip Webb
d27e437ddc
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21027
2020-04-19 18:55:15 -07:00
Phillip Webb
f0ec571b2e
Document relaxed binding from the environment
...
Update the reference documentation with more details about how relaxed
binding works against environment variables.
Closes gh-18215
2020-04-19 18:51:07 -07:00
Phillip Webb
55f0af7f0f
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21025
2020-04-19 17:48:32 -07:00
Phillip Webb
359b508077
Document devtool property file profile restrictions
...
Closes gh-19972
2020-04-19 17:46:24 -07:00
Madhura Bhave
947594addd
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20963
2020-04-14 16:54:54 -07:00
Madhura Bhave
c98fe51914
Make it more obvious that Jolokia does not work with a WebFlux app
...
Closes gh-20623
2020-04-14 16:45:31 -07:00
A Vaz
267f6481f8
Fix typo
...
See gh-20907
2020-04-10 11:36:46 +02:00
Andy Wilkinson
7e1807c01b
Polish "Update endpoint enablement description to describe availability"
...
See gh-20799
2020-04-09 12:41:16 +01:00
Eric Opoku
399c85a5ef
Update endpoint enablement description to describe availability
...
See gh-20799
2020-04-09 12:41:05 +01:00
Andy Wilkinson
6d7c3da1cf
Polish "Make it clear to which type the DataSource properties are bound"
...
See gh-20727
2020-03-31 12:56:34 +01:00
Param
004ea51b05
Make it clear to which type the DataSource properties are bound
...
See gh-20727
2020-03-31 12:56:13 +01:00
Stephane Nicoll
960ab159e4
Document how to initialize a database with R2DBC
...
This commit adds a section to the reference guide on how to initialize
a database using R2DBC. 2 smoke tests are also added to validate this
behaviour with Flyway and Liquibase.
Closes gh-20742
2020-03-31 13:15:06 +02:00
Stephane Nicoll
5d56e24da2
Document that Java 14 is a supported version
...
Closes gh-20689
2020-03-27 11:00:42 +01:00
Stephane Nicoll
a234dff573
Remove check for deprecated configuration properties
...
See gh-20528
2020-03-26 11:06:47 +01:00
Stephane Nicoll
ab01c55d8e
Deprecate use of path extensions for request mapping and content negotiation
...
Closes gh-20528
2020-03-26 10:41:08 +01:00
Stephane Nicoll
bf15276af1
Fix import in constructor binding example
...
Closes gh-20378
2020-03-23 15:27:08 +01:00
Stephane Nicoll
7be3db2d4d
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20618
2020-03-23 14:22:30 +01:00
Stephane Nicoll
bcce6f9f07
Document that Jackson is a required dependency of the Actuator
...
Closes gh-19564
2020-03-23 14:16:55 +01:00
Lars Grefer
c748f36856
Fix recommended task dependency configuration
...
`compileJava.dependsOn(processResources)` is not enough to ensure the
correct behavior. Using `dependsOn` only affects the execution order
(`processResources` before `compileJava`) but not the up-to-date check
of `compileJava`. After modifying
`META-INF/additional-spring-configuration-metadata.json`, the
`processResouces` task will considered out-of-date and will be
re-executed, but after that `compileJava` will still be considered
up-to-date which causes the changes not to be merged into
`META-INF/spring-configuration-metadata.json`
With this change the up-do-date check of `compileJava` is affected,
too. Therefore, it will correctly re-execute the
configuration-processor when
`META-INF/additional-spring-configuration-metadata.json` was changed.
See gh-20323
2020-03-18 10:55:32 +00:00
Florian Dreier
76451d47b7
Update versiion of git-properties plugin shown in the docs
...
See gh-20436
2020-03-10 21:26:48 +00:00
Yoo In Keun
ec20246415
Fix typos in documentation
...
See gh-20313
2020-02-25 08:59:12 -05:00
hbellahc
d890f1f6d8
Document missing reference to DataSourceHealthIndicator
...
See gh-20216
2020-02-18 17:29:16 +01:00
Stephane Nicoll
40d1727cc5
Polish "Document sanitized keys and uri sanitization behavior"
...
See gh-20169
2020-02-14 15:29:47 +01:00
Juzer Ali
30f7f9c9c4
Document sanitized keys and uri sanitization behavior
...
See gh-20169
2020-02-14 15:28:36 +01:00
dreis2211
92b4ba6367
Fix structuring your code link in multi-page HTML documentation
...
Closes gh-19953
2020-02-12 17:43:08 +00:00
Stephane Nicoll
d1f4a1821c
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20123
2020-02-11 14:26:57 +01:00
Stephane Nicoll
b0aba9ed67
Document how to register a blocking health contributor with reactive
...
Closes gh-19707
2020-02-11 14:22:16 +01:00
Johnny Lim
6ef288f45b
Polish samples in doc
...
See gh-20004
2020-02-03 09:37:06 +01:00
Stephane Nicoll
9d0918bb2e
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19957
2020-01-28 11:13:06 +01:00
Pascal Verdage
930ec51968
Fix typo
...
See gh-19956
2020-01-28 11:12:21 +01:00
Stephane Nicoll
9ca15ee00d
Fix broken documentation links
...
See gh-19936
2020-01-27 14:13:25 +01:00
dreis2211
42e34673a6
Remove obsolete files
...
See gh-19896
2020-01-24 14:20:21 +01:00
Stephane Nicoll
c77d4c07d7
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19872
2020-01-23 09:53:11 +01:00
Stephane Nicoll
650e55c242
Polish "Encourage use of SpringBootApplication"
...
See gh-19855
2020-01-23 09:51:03 +01:00
protyay
3131616c5a
Encourage use of SpringBootApplication
...
See gh-19855
2020-01-23 09:40:30 +01:00
Stephane Nicoll
67bba7c64a
Merge branch '2.2.x'
...
Closes gh-19820
2020-01-20 16:13:03 +01:00
Stephane Nicoll
3dba4c8f4e
Polish "Document RedisCacheManagerBuilderCustomizer"
...
See gh-19819
2020-01-20 16:02:38 +01:00
Dmytro Nosan
61d8bacd23
Document RedisCacheManagerBuilderCustomizer
...
See gh-19819
2020-01-20 16:02:20 +01:00
Brian Clozel
711391cf2f
Move spring.http.* config properties namespace
...
Closes gh-18827
2020-01-14 10:45:31 +01:00
Scott Frederick
c789592e26
Remove support for deprecated Elasticsearch Jest client
...
Closes #19676
2020-01-13 21:03:12 +01:00
Stephane Nicoll
0c7dae0d51
Remove duplicate note in Hazelcast section of reference guide
...
Closes gh-19678
2020-01-13 17:00:28 +01:00
dreis2211
9fe114ebad
Update copyright in legal doc section
...
See gh-19621
2020-01-11 10:25:17 +01:00
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
Stephane Nicoll
462442e7d2
Polish "Add Stackdriver metrics export support"
...
See gh-19528
2020-01-08 13:35:44 +01:00
Stephane Nicoll
47481464ff
Merge branch '2.2.x'
...
Closes gh-19535
2020-01-04 11:42:43 +01:00
Rossen Stoyanchev
f6947648c9
Improve Spring MVC auto-configuration section
...
See gh-19521
2020-01-04 11:37:01 +01:00
Stephane Nicoll
76a48885f8
Merge branch '2.2.x'
...
Closes gh-19516
2020-01-03 09:40:11 +01:00
Stephane Nicoll
fd4829c2ea
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19515
2020-01-03 09:39:42 +01:00
dreis2211
9cbf5902dc
Update some copyrights to 2020
...
See gh-19510
2020-01-03 09:37:22 +01:00
Stephane Nicoll
5d1c844f21
Merge branch '2.2.x'
...
Closes gh-19499
2019-12-31 10:07:50 +01:00
Stephane Nicoll
a684ab8726
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19498
2019-12-31 10:07:32 +01:00
Johnny Lim
27d7727d9f
Polish doc
...
See gh-19491
2019-12-31 10:06:58 +01:00
Stephane Nicoll
bb5e09882a
Extract RabbitTemplate auto-configuration in a configurer
...
This commit movers the auto-configuration of RabbitTemplate to a
dedicated class that can be reused to create additional template with
similar settings.
CLoses gh-19440
2019-12-28 10:56:04 +01:00
Stephane Nicoll
1e38dd5531
Merge branch '2.2.x'
...
Closes gh-19461
2019-12-25 08:32:38 +01:00
Stephane Nicoll
4969ecc59a
Polish contribution
...
See gh-19458
2019-12-25 08:31:50 +01:00
Girish Kulkarni
582a3b472d
Fix file rotation documentation according to maxHistory new default
...
See gh-19458
2019-12-25 08:27:56 +01:00
Stephane Nicoll
ada2d3904f
Merge branch '2.2.x'
...
Closes gh-19452
2019-12-24 10:47:14 +01:00
Stephane Nicoll
1a8a76082b
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19451
2019-12-24 10:46:46 +01:00
Stephane Nicoll
2db2daeddf
Clarify which part of @ConfigurationProperties is internal API
...
Closes gh-19199
2019-12-24 10:46:01 +01:00
Stephane Nicoll
2ee6621123
Merge branch '2.2.x'
...
Closes gh-19449
2019-12-24 09:41:25 +01:00
Stephane Nicoll
aa54a47671
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19448
2019-12-24 09:41:01 +01:00
Stephane Nicoll
8f9d9fa20e
Clarify which caches are automatically bound to the metrics registry
...
See gh-19412
2019-12-24 09:40:05 +01:00
Stephane Nicoll
f44fca95b0
Merge branch '2.2.x'
...
Closes gh-19447
2019-12-24 09:28:13 +01:00
Johnny Lim
e0840b690c
Add JMX note for Kafka consumer metrics
...
See gh-19446
2019-12-24 09:25:20 +01:00
Stephane Nicoll
68dc850a82
Execute batch jobs with ApplicationRunner
...
This commit migrates JobLauncherCommandLineRunner to an
ApplicationRunner implementation. The latter allows to parse option
arguments (i.e. `--spring.something=value`) and makes it easy to ignore
arguments that are not meant to be passed to batch jobs.
Closes gh-19442
2019-12-23 16:19:28 +01:00
Stephane Nicoll
22fcb954d4
Merge branch '2.2.x'
2019-12-23 15:36:15 +01:00
Stephane Nicoll
930a0ef748
Polish Spring Batch how-to guides
...
See gh-19211
2019-12-23 15:35:59 +01:00
Stephane Nicoll
326ad5e8e4
Merge branch '2.2.x'
...
Closes gh-19439
2019-12-23 10:04:51 +01:00
Stephane Nicoll
5f987a67f8
Polish "Improve Spring Batch coverage in reference documentation"
...
See gh-19211
2019-12-23 10:03:34 +01:00
Jay Bryant
6bd9b2ebc6
Improve Spring Batch coverage in reference documentation
...
See gh-19211
2019-12-23 09:27:22 +01:00
Stephane Nicoll
e38ef6ef1f
Merge branch '2.2.x'
...
Closes gh-19429
2019-12-21 16:37:32 +01:00
Johnny Lim
0bf359f4a2
Polish
...
See gh-19409
2019-12-21 16:36:06 +01:00
Brian Clozel
813c901905
Merge branch '2.2.x'
...
Closes gh-19425
2019-12-20 22:12:20 +01:00
Brian Clozel
82391a406a
Polish
...
See gh-19424
2019-12-20 21:55:59 +01:00
Ferdinand Jacobs
4555123b7d
Fix typo in RSocket docs
...
See gh-19424
2019-12-20 21:50:14 +01:00
Brian Clozel
1e117c704b
Merge branch '2.2.x'
...
Closes gh-19404
2019-12-19 15:24:41 +01:00
Brian Clozel
979437398c
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19403
2019-12-19 15:23:19 +01:00
Brian Clozel
3e48e36e47
Improve docs on running apps behind proxies
...
Fixes gh-15046
2019-12-19 15:16:13 +01:00
Johnny Lim
8bbc7f7b67
Remove duplicate entry for Neo4jHealthIndicator
...
See gh-19377
2019-12-17 09:43:09 +09:00
Stephane Nicoll
58022d72f5
Merge branch '2.2.x'
...
Closes gh-19363
2019-12-12 16:59:46 +01:00
Stephane Nicoll
c3ae8bcfdc
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19362
2019-12-12 16:59:21 +01:00
dreis2211
207a5c5022
Link consistently to Tomcat 9.0 docs
...
See gh-19340
2019-12-12 16:58:37 +01:00
Stephane Nicoll
aa821151bb
Polish "Detect DirContextAuthenticationStrategy bean"
...
See gh-19328
2019-12-09 15:58:44 +01:00
Andy Wilkinson
6a8d7218b6
Merge branch '2.2.x'
...
Closes gh-19310
2019-12-05 16:15:38 +00:00
Andy Wilkinson
9b0569cf81
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19309
2019-12-05 16:15:15 +00:00
Andy Wilkinson
bc53fe0344
Recommend mockito-inline for mocking and spying of CGLib proxies
...
This reverts commit 52050c173c
.
See gh-17817
Closes gh-19020
2019-12-05 16:13:02 +00:00
Andy Wilkinson
9f1e760054
Merge branch '2.2.x'
...
Closes gh-19298
2019-12-05 11:46:02 +00:00
tongluyang
95aad5b556
Add missing closing parenthesis to the document
...
See gh-19218
2019-12-05 11:45:22 +00:00
Andy Wilkinson
10d593eeee
Merge branch '2.2.x'
2019-12-05 11:34:44 +00:00
Andy Wilkinson
264d4f54ec
Merge branch '2.1.x' into 2.2.x
2019-12-05 11:34:36 +00:00
Andy Wilkinson
38340522de
Fix Asciidoc syntax
2019-12-05 11:33:58 +00:00
Andy Wilkinson
9b88edbcf9
Merge branch '2.2.x'
...
Closes gh-19153
2019-12-05 10:07:00 +00:00
Andy Wilkinson
a2451a4f29
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19152
2019-12-05 10:06:32 +00:00
Andy Wilkinson
b46bb726ca
Clarify limitations of @PropertySource
...
Closes gh-18900
2019-12-05 10:05:50 +00:00
Madhura Bhave
8488dcb754
Merge branch '2.2.x'
...
Closes gh-19210
2019-12-02 10:37:03 -08:00
Madhura Bhave
5b461843db
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19209
2019-12-02 10:36:22 -08:00
Madhura Bhave
fcc790aa15
Document how properties are applied in JPA auto-config
...
Closes gh-15361
2019-12-02 10:34:54 -08:00
Stephane Nicoll
4efd6a4021
Merge branch '2.2.x'
...
Closes gh-19178
2019-11-28 10:59:19 +01:00
Stephane Nicoll
e02ccd16bb
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19177
2019-11-28 10:58:55 +01:00
Johnny Lim
3df9fa6228
Add missing indentations for pom.xml in doc
...
See gh-19170
2019-11-28 10:57:20 +01:00
Stephane Nicoll
8888f75a41
Polish "Add dedicated namespace for RemoteIpValve properties"
...
See gh-18489
2019-11-27 14:43:10 +01:00
Stephane Nicoll
329352b865
Merge branch '2.2.x'
...
Closes gh-19155
2019-11-27 09:54:00 +01:00