Stephane Nicoll
dee3fad8d0
Merge branch '2.3.x'
...
Closes gh-23144
2020-08-31 11:19:55 +02:00
Stephane Nicoll
e74e53fdaf
Clarify how to take full control of ElasticSearch's rest client
...
Closes gh-23074
2020-08-31 11:19:36 +02:00
Stephane Nicoll
1fea6914bc
Merge branch '2.3.x'
...
Closes gh-23142
2020-08-31 09:59:40 +02:00
Stephane Nicoll
62dbd90d46
Document how to add auto-configurations to a test slice
...
Closes gh-22531
2020-08-31 09:58:56 +02:00
Stephane Nicoll
8bcae12ffc
Merge branch '2.3.x'
...
Closes gh-23140
2020-08-31 09:40:42 +02:00
Stephane Nicoll
008eee42a1
Add a note about using graceful shutdown from an IDE
...
Closes gh-22959
2020-08-31 09:38:21 +02:00
Phillip Webb
0ddd1b6ce8
Refine global optional config data opt-out
...
Rename the opt-out property and use an enum in case we want to provide
additional options in the future.
Closes gh-23097
2020-08-28 16:30:39 -07:00
Phillip Webb
aa0f204732
Add global optional config data opt-out
...
Support a `spring.config.all-locations-optional` property which can be
set to `true` if all config data locations should be considered
optional.
Closes gh-23097
2020-08-26 20:11:40 -07:00
Phillip Webb
d0fce0553f
Support extensionless file imports
...
Update `ResourceConfigDataLocationResolver` so that it can import files
that have no file extension.
Closes gh-22280
2020-08-25 13:57:10 -07:00
Phillip Webb
081a7ee28c
Throw exception if import locations are not found
...
Update config data processing code so that import locations are
mandatory by default. Any import request will now throw a
`ConfigDataLocationNotFoundException` if the specified import
location cannot be found. For optional imports, the user can
use the `optional:` prefix to indicate that the application should
continue to start, even if the location does not exist.
Closes gh-23032
2020-08-25 12:56:55 -07: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
Stephane Nicoll
d04f2583f1
Merge branch '2.3.x'
...
Closes gh-23005
2020-08-19 10:09:43 +02:00
Stephane Nicoll
9a374f7d67
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23004
2020-08-19 10:09:22 +02:00
dreis2211
06eb7e9777
Mention correct JUnit 5 annotations in Kotlin testing section
...
See gh-23002
2020-08-19 10:07:40 +02:00
Scott Frederick
341615d7d0
Merge branch '2.3.x'
...
Closes gh-23000
2020-08-18 17:07:25 -05:00
Scott Frederick
3f80638a36
Fail on layertools extract with launch script
...
This commit adds a check to the `layertools extract` command to
ensure that the jar file being processed is readable and has a
valid directory.
Fixes gh-22993
2020-08-18 17:06:31 -05:00
Scott Frederick
b7fdf8fe87
Preserve user-provided values in MongoClientSettings
...
Prior to this commit, values from MongoProperties would always
overwrite matching fields in MongoClientSettings. This commit
preserves all values in MongoClientSettings if the client app
provides the MongoClientSettings bean, and only overwrites from
MongoProperties if no MongoClientSettings bean is provided.
Fixes gh-22321
2020-08-17 16:07:40 -05:00
Stephane Nicoll
8c0318edc7
Polish "Consider RecordFilterStrategy in Kafka auto-configuration"
...
See gh-22973
2020-08-17 13:54:20 +02:00
dreis2211
61838eede1
Fix typos in docs
...
See gh-22945
2020-08-17 13:27:46 +02:00
Stephane Nicoll
80e9bfb9a6
Merge branch '2.3.x'
2020-08-17 13:26:58 +02:00
Stephane Nicoll
6b679b7d64
Polish
...
See gh-22945
2020-08-17 13:24:51 +02:00
Phillip Webb
5591a6ab77
Merge branch '2.3.x'
...
Closes gh-22961
2020-08-14 15:11:47 -07:00
Phillip Webb
03d4b89c06
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22960
2020-08-14 15:11:23 -07:00
Maciej Walkowiak
15de956566
Fix typo `Assert4J` -> `AssertJ`
...
See gh-22948
2020-08-14 15:09:56 -07:00
Madhura Bhave
bbbbe8e4d2
Make security auto-configs back off when SecurityFilterChain present
...
Closes gh-22739
2020-08-14 12:24:25 -07:00
Phillip Webb
310ef6e999
Rename volumemount -> configtree
...
Closes gh-22941
2020-08-13 13:28:25 -07:00
Stephane Nicoll
045d2f678d
Document Spring Data Neo4j 6 support
...
Closes gh-22652
2020-08-13 17:51:39 +02:00
Stephane Nicoll
42ca62b2e7
Merge branch '2.3.x'
...
Closes gh-22931
2020-08-13 11:49:03 +02:00
Stephane Nicoll
df78105a3c
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22930
2020-08-13 11:48:43 +02: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
2c120eb161
Merge branch '2.3.x'
...
Closes gh-22900
2020-08-12 09:51:44 +02:00
Stephane Nicoll
38baaf31d3
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22899
2020-08-12 09:51:25 +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
4799b26d2c
Merge branch '2.3.x'
...
Closes gh-22897
2020-08-11 12:25:48 -07:00
Madhura Bhave
eeca767c49
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22895
2020-08-11 12:22:43 -07: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
8bcf5186dc
Merge branch '2.3.x'
...
Closes gh-22891
2020-08-11 16:51:58 +02:00
Stephane Nicoll
92445fcc54
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22890
2020-08-11 16:51:34 +02: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
44e807738b
Merge branch '2.3.x'
...
Closes gh-22889
2020-08-11 15:54:03 +02:00
Stephane Nicoll
ac7320d7fe
Document that Cassandra's application.conf is not considered
...
Closes gh-21787
2020-08-11 15:53:06 +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
dreis2211
11df8216ad
Fix some doc anchors
...
See gh-22839
2020-08-10 14:34:22 +02:00
Stephane Nicoll
fcab5d6ce1
Merge branch '2.3.x'
2020-08-10 14:33:50 +02:00
Stephane Nicoll
2b578296f9
Merge branch '2.2.x' into 2.3.x
2020-08-10 14:33:37 +02:00
Stephane Nicoll
8962d6ca21
Polish
2020-08-10 14:31:16 +02:00
Brian Clozel
6336007038
Merge branch '2.3.x'
...
Closes gh-22826
2020-08-07 16:01:25 +02:00
Brian Clozel
fea535d176
Update HTTP/2 auto-configuration for Jetty
...
Prior to this commit, the HTTP/2 server auto-configuration for Jetty
would require Conscrypt as a hard dependency.
This commit updates the auto-configuration for more flexibility and now
allows the following deployments:
* JDK9+ with the JDK ALPN implementation
* JDK8u252+ with the backported ALPN implementation
* Conscrypt with no JDK requirement
The auto-configuration now improves detection and guides developers in
case there is a missing `jetty-alpn-*-server` dependency.
The reference docs in the HOWTO section has been updated accordingly.
Closes gh-22188
2020-08-07 15:42:23 +02:00
Andy Wilkinson
4b17bfd889
Merge branch '2.3.x'
2020-08-06 13:34:31 +01:00
Andy Wilkinson
327138c227
Merge branch '2.2.x' into 2.3.x
2020-08-06 13:34:12 +01:00
Andy Wilkinson
63f7c75b61
Polish
2020-08-06 13:34:01 +01:00
Andy Wilkinson
792c4f46ef
Merge branch '2.3.x'
...
Closes gh-22759
2020-08-06 09:22:11 +01:00
Andy Wilkinson
c121f9f61f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22758
2020-08-06 09:21:29 +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
Madhura Bhave
b9abcf1615
Fail hard if spring.profiles.include is used with new config processing
...
Closes gh-22693
2020-08-05 14:41:32 -07:00
Andy Wilkinson
9c417d280c
Merge branch '2.3.x'
...
Closes gh-22749
2020-08-05 18:15:59 +01:00
Andy Wilkinson
a160755da5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22748
2020-08-05 18:15:45 +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
516582f6d3
Merge branch '2.3.x'
...
Closes gh-22744
2020-08-05 18:05:07 +02:00
Johnny Lim
1017774ed5
Polish
...
See gh-22740
2020-08-05 17:59:03 +02:00
Stephane Nicoll
313b2bef6f
Polish "Add test slice for Spring Data Cassandra"
...
See gh-17490
2020-08-05 16:46:52 +02: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
Brian Clozel
fb1234a22c
Upgrade to Reactor 2020.0.0 SNAPSHOTs
...
See gh-22667
2020-08-04 13:26:47 +02:00
Stephane Nicoll
bb3066f61a
Merge branch '2.3.x'
...
Closes gh-22707
2020-08-03 15:02:05 +02:00
Stephane Nicoll
13f1d00048
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22706
2020-08-03 15:01:07 +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
Brian Clozel
e6957ec8c4
Merge branch '2.3.x'
...
Closes gh-22697
2020-08-01 20:03:00 +02:00
Brian Clozel
35093aacf4
Polish "Document properties to enable probe health indicators"
...
See gh-22631
2020-08-01 19:59:25 +02:00
Tadaya Tsuyukubo
630cbae7d7
Document properties to enable probe health indicators
...
Document property names to enable probe(readiness/liveness)
health indicators.
See gh-22631
2020-08-01 19:59:03 +02:00
Andy Wilkinson
95f76d68af
Merge branch '2.3.x'
...
Closes gh-22677
2020-07-30 18:07:14 +01:00
Andy Wilkinson
f81e8909fa
Document how to re-enable DataSource auto-config when using R2DBC
...
Closes gh-22094
2020-07-30 18:06:13 +01:00
Andy Wilkinson
5f1198c917
Merge branch '2.3.x'
...
Closes gh-22670
2020-07-30 12:13:04 +01:00
Andy Wilkinson
45346b63ba
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22669
2020-07-30 12:12:45 +01:00
Andy Wilkinson
22dc4e7608
Clarify documentation on @AutoConfigureRestDocs with WebTestClient
...
Closes gh-15977
2020-07-30 12:12:10 +01:00
Andy Wilkinson
7e547b60cf
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22665
2020-07-30 09:06:28 +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
Stephane Nicoll
9bc71fe44f
Polish "Upgrade to Spring Data Neo4j 6"
...
See gh-22299
2020-07-29 19:36:42 +02:00
Madhura Bhave
4b2c94cb2b
Allow exclude only health groups
...
Closes gh-22053
2020-07-28 12:36:24 -07: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
Stephane Nicoll
c6fde1e4d5
Polish "Update Neo4j health check to use the Neo4j Driver"
...
See gh-22302
2020-07-28 16:36:58 +02:00
Andy Wilkinson
1130f1dded
Merge branch '2.3.x'
...
Closes gh-22623
2020-07-28 14:37:16 +01:00
Andy Wilkinson
d6490da88b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22622
2020-07-28 14:37:07 +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
Andy Wilkinson
65d45c4e25
Merge branch '2.3.x'
...
Closes gh-22619
2020-07-28 13:26:35 +01:00
dreis2211
be8a70936d
Add ElasticsearchReactiveHealthIndicator to docs
...
See gh-22616
2020-07-28 13:25:04 +01:00
Andy Wilkinson
8be8cc5452
Merge branch '2.3.x'
...
Closes gh-22618
2020-07-28 13:22:46 +01:00
Andy Wilkinson
a2ce39d7eb
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22617
2020-07-28 13:22:32 +01:00
dreis2211
c405b8b9c9
Fix link to Elasticsearch health indicator
...
See gh-22598
2020-07-28 13:21:09 +01:00
Andy Wilkinson
a822c6fb97
Merge branch '2.3.x'
...
Closes gh-22609
2020-07-28 08:43:38 +01:00
Andy Wilkinson
5471e16fce
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22608
2020-07-28 08:43:19 +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
1c22ec9373
Merge branch '2.3.x'
2020-07-27 16:00:54 +01:00
Andy Wilkinson
280ecfcd47
Polish
2020-07-27 16:00:47 +01:00
Andy Wilkinson
4c45c265ef
Merge branch '2.3.x'
...
Closes gh-22597
2020-07-27 15:53:21 +01:00
Andy Wilkinson
189fa12c9d
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22596
2020-07-27 15:53:03 +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
Stephane Nicoll
8c418adb9b
Polish "Add auto-configuration for Neo4j driver"
...
See gh-22301
2020-07-27 16:26:32 +02:00
Andy Wilkinson
a46572a884
Merge branch '2.3.x'
...
Closes gh-22593
2020-07-27 15:24:14 +01:00
Andy Wilkinson
4a3683f7dd
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22592
2020-07-27 15:23:55 +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
543384bfe6
Merge branch '2.3.x'
...
Closes gh-22590
2020-07-27 14:48:43 +01:00
Andy Wilkinson
810fdf4450
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22589
2020-07-27 14:48:33 +01:00
Andy Wilkinson
b631fa1405
Describe MongoClientSettingsBuilderCustomizer in the documentation
...
Closes gh-21696
2020-07-27 14:46:30 +01:00
Andy Wilkinson
b8b53a0e3b
Merge branch '2.3.x'
...
Closes gh-22588
2020-07-27 14:12:09 +01:00
Andy Wilkinson
c2aa6cbc60
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22587
2020-07-27 14:10:22 +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
6b4114e4cf
Merge branch '2.3.x'
...
Closes gh-22575
2020-07-27 09:59:22 +01:00
Andy Wilkinson
979aef1f68
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22574
2020-07-27 09:59:07 +01:00
Andy Wilkinson
7b3c0a9e09
Advise against java.util.Optional configuration properties
...
Closes gh-21868
2020-07-27 09:58:24 +01:00
izeye
6eba7c5f10
Polish
...
See gh-22549
2020-07-25 07:26:49 +02:00
Stephane Nicoll
3530ac9b0c
Polish "Disable metrics export in integration tests"
...
See gh-21658
2020-07-24 15:43:17 +02:00
dreis2211
b01fb63de6
Polish
...
See gh-22524
2020-07-23 18:16:34 +02:00
Madhura Bhave
3f76eb2097
Add volume mount property source support
...
Add support for volume mounted directories where the filename becomes
the property key and the file contents becomes the value.
Support is provided via a dedicated `VolumeMountDirectoryPropertySource`
class which can either be used directly, or via a "volumemount:/..."
`spring.config.import` location.
Closes gh-19990
Co-authored-by: Phillip Webb <pwebb@vmware.com>
2020-07-22 21:03:37 -07:00
Madhura Bhave
eee260fc03
Add support for profile groups
...
Add support for profile groups so that users can combine a number of
fine-grained profiles into a single logical group.
Closes gh-22522
2020-07-22 21:03:37 -07:00
Phillip Webb
8c6c4fa9fa
Overhaul "externalized configuration" docs
...
Update the "externalized configuration" reference documentation
following the recent updates.
Closes gh-22521
2020-07-22 21:03:37 -07:00
Phillip Webb
da69286838
Merge branch '2.3.x'
2020-07-22 17:39:27 -07:00
Phillip Webb
d2a7808098
Polish
2020-07-22 17:25:04 -07:00
Brian Clozel
c6df64aeb6
Merge branch '2.3.x'
2020-07-21 16:50:57 +02:00
Brian Clozel
03739e3097
Polish "Improve liveness/readiness health config"
...
See gh-22107
2020-07-21 16:50:03 +02:00
Brian Clozel
1d95e2f504
Merge branch '2.3.x'
...
Closes gh-22483
2020-07-21 16:24:37 +02:00
Brian Clozel
fe807d6c0b
Improve liveness/readiness health config
...
Prior to this commit, the application availability infrastructure
would mix the `AvailabilityState`, the `HealthIndicator` and the
`HealthGroup` concepts and would not align with the rest.
This commit auto-configures the livenessState and readinessState
health indicators with the relevant configuration properties.
Unlike other indicators, they are not enabled by default but might
be in future versions.
This also moves the `management.health.probes.enabled` property
to `management.endpoint.health.probes.enabled` since "probes" here
is not a health indicator but rather a configuration flag for the
health endpoint.
Finally, the probes auto-configuration is refined to automatically
add liveness and readiness indicators for the probes group if
they're not already present.
Closes gh-22107
2020-07-21 16:03:06 +02:00
Andy Wilkinson
19ad163486
Merge branch '2.3.x'
...
Closes gh-22411
2020-07-20 13:58:40 +01:00
Andy Wilkinson
accc1f1ca8
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22410
2020-07-20 13:58:19 +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
Stephane Nicoll
e03ac4bed6
Merge branch '2.3.x'
...
Closes gh-22360
2020-07-16 16:19:00 +02:00
Stephane Nicoll
30b5168fed
Polish "Restructure "Building Container Images" section"
...
See gh-22296
2020-07-16 16:15:50 +02:00
Sebastiaan Fernandez
c50a5b395b
Restructure "Building Container Images" section
...
See gh-22296
2020-07-16 16:07:32 +02:00
Andy Wilkinson
177b3918ee
Merge branch '2.3.x'
...
Closes gh-22340
2020-07-15 10:49:27 +01:00
Andy Wilkinson
259ea65388
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22339
2020-07-15 10:49:01 +01:00
Andy Wilkinson
d9882f2c88
Clarify the effects of ordering auto-configuration classes
...
Closes gh-22337
2020-07-15 10:48:01 +01:00
Andy Wilkinson
2643c60c5a
Merge branch '2.3.x'
...
Closes gh-22316
2020-07-13 14:16:45 +01:00
Andy Wilkinson
f52cdf10b3
Update WebServerInitEvent docs to reflect ordering w.r.t. refresh
...
Closes gh-22277
2020-07-13 12:51:07 +01:00
Brian Clozel
0f264b68e8
Add option to configure PathPatternParser
...
As of Spring Framework 5.3, it is now possible to use `PathPatternParser`
to parse and match request mapping path patterns, as an alternative to
the current default `AntPathMatcher`.
This new implementation has been used for a while in Spring WebFlux and
it’s been designed for consistency and performance.
This commit introduces a new configuration property for opting-in this
new variant:
`spring.mvc.pathmatch.matching-strategy=path_pattern_parser`
The default option is still `ant_path_matcher` for now, but we might
change the default in future versions since Spring Framework considers
it the best choice for modern applications.
There are several behavior differences with this new variant:
* double wildcards `"**"` are rejected when used in the middle patterns,
this is only allowed as the last matching segment in a pattern.
* it is incompatible with some path matching options, like
suffix-pattern, registered-suffix-pattern or configuring a Servlet
prefix on the `DispatcherServlet` (`spring.mvc.servlet.path=/test`)
This commit introduces two `FailureAnalyzer` implementations to guide
developers when facing those issues.
Closes gh-21694
2020-07-09 21:34:00 +02:00
Andy Wilkinson
c258cec814
Merge branch '2.3.x'
...
Closes gh-22285
2020-07-09 12:13:58 +01:00
Andy Wilkinson
b24f17b35c
Rework spring-boot-docs to be a full-blown java project
...
Previously, spring-boot-docs used the java-base-plugin and then added
configuration on top. This has proven to be error prone, with the most
recent problem being that the tests were not being compiled and run.
This commit changes approach and applies the java plugin to the project
instead of the java-base plugin. Now, rather than adding the necessary
configuration to the base, the unwanted pieces of the java plugin's
configuration – specifically the jar and javadoc tasks – are disabled
instead. The DeployedPlugin has also been updated so that it does not
create a publication from the java component for projects that have a
disabled jar task.
Closes gh-22284
2020-07-09 11:21:03 +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
1f1c6fd3ea
Merge branch '2.3.x'
...
Closes gh-22265
2020-07-08 18:00:26 +01:00
Andy Wilkinson
d84aeef529
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22264
2020-07-08 18:00:07 +01:00
Andy Wilkinson
66987533d1
Link to application properties section from externalized config list
...
Closes gh-22262
2020-07-08 17:58:35 +01:00