11076 Commits

Author SHA1 Message Date
Andy Wilkinson
d005a64c9f Revert "Rename CompositeMeterRegistryAutoConfiguration"
This reverts commit 9460d74e8ad8c247c3ad9a627ab35aa08df21152.

Fixes gh-23724
2020-10-16 17:47:48 +01:00
Andy Wilkinson
f0b0a073c3 Remove unwanted titles from config blocks
Closes gh-23722
2020-10-16 17:43:57 +01:00
Stephane Nicoll
0007961805 Add reference to JobRunr Spring Boot starter
Closes gh-23725
2020-10-16 18:09:34 +02:00
Stephane Nicoll
c0b267feb4 Polish "Fix detection logic for embedded databases"
See gh-23693
2020-10-16 16:32:29 +02:00
Asha Somayajula
ab02084e7b Fix detection logic for embedded databases
See gh-23693
2020-10-16 15:54:54 +02:00
Stephane Nicoll
2916bb4c10 Merge branch '2.3.x'
Closes gh-23718
2020-10-16 11:00:31 +02:00
Stephane Nicoll
6beb0c939f Document how to override plugin configuration on the command line
Closes gh-21536
2020-10-16 10:57:30 +02:00
Stephane Nicoll
b210d0680a Polish 2020-10-16 10:34:58 +02:00
Phillip Webb
bc7b6bdd88 Polish 2020-10-15 15:29:54 -07:00
Phillip Webb
e360e4a75e Polish 'Add a FailureAnalyzer for ConfigDataNotFound'
See gh-23633
2020-10-15 12:11:29 -07:00
Michal Mlak
be7d697121 Add a FailureAnalyzer for ConfigDataNotFound
Add a `FailureAnalyzer` to deal with `ConfigDataNotFoundException`.

See gh-23633
2020-10-15 12:05:21 -07:00
Phillip Webb
1cf9fc107e Improve ConfigData processing code
Refactor `ConfigData` processing code to make it less awkward to
follow.

Prior to this commit the `ConfigDataLocationResolver` would take a
String location and return a `ConfigDataLocation` instance. This was
a little confusing since sometimes we would refer to `location` as the
String value, and sometimes it would be the typed instance. We also
had nowhere sensible to put the `optional:` prefix logic and we needed
to pass a `boolean` parameter to a number of methods. The recently
introduced `Orgin` support also didn't have a good home.

To solve this, `ConfigDataLocation` has been renamed to
`ConfigDataResource`. This frees up `ConfigDataLocation` to be used
as a richer `location` type that holds the String value, the `Orgin`
and provides a home for the `optional:` logic.

This commit also cleans up a few other areas of the code, including
renaming `ResourceConfigData...` to `StandardConfigData...`. It also
introduces a new exception hierarchy for `ConfigDataNotFoundExceptions`.

Closes gh-23711
2020-10-15 11:33:57 -07:00
Phillip Webb
f89b99bdbc Allow FailureAnalizers without ApplicationContext
Update `SpringApplication` so that `FailureAnalyzers` apply even if
the `ApplicationContext` was not created. If no `ApplicationContext`
is available, only `FailureAnalyzer` instances that do not implement
any `Aware` interfaces are considered.

Closes gh-23710
2020-10-15 11:18:26 -07:00
Andy Wilkinson
84f96033c5 Put project deps in app layer and make customization easier
Previously, when building a layered jar with Gradle, project
dependencies were treated the same as any other dependency, being
included in the dependencies or snapshot dependencies layer based
on their version.

This commit updates the default layering when using Gradle to include
project dependencies in the application layer by default. The DSL has
also been updated to allow their layer to be customized using new
includeProjectDependencies() and excludeProjectDependencies() methods
rather than relying on including and excluding them via a
group:artifact:version pattern.

Closes gh-23431
2020-10-15 16:04:02 +01:00
Stephane Nicoll
89b11b0078 Upgrade to Liquibase 3.10.3
This commit upgrades to Liquibase 3.10.3 and adds an explicit exclude
check as this version started to include a "banner.txt" at the root of
the classpath. Given it may override a banner configured by the user it
is ignored so that the default banner is displayed.

Users impacted by this change can rename their banner and configure the
"spring.banner.location" property to point to it.

Closes gh-23658
2020-10-15 10:20:28 +02:00
Johnny Lim
915e470510 Upgrade to spring-asciidoctor-extensions 0.5.0
See gh-23694
2020-10-15 09:08:15 +02:00
Stephane Nicoll
2f48ab119b Upgrade to Spring AMQP 2.3.0-RC1
Closes gh-23680
2020-10-15 09:06:26 +02:00
Stephane Nicoll
0c48370112 Upgrade to Spring Kafka 2.6.2
Closes gh-23679
2020-10-15 09:06:01 +02:00
Stephane Nicoll
f79cee92a9 Upgrade to Spring Integration 5.4.0-RC1
Closes gh-23695
2020-10-15 09:05:22 +02:00
Scott Frederick
de991616b0 Use config map name for configtree property sources
When Kubernetes mounts config maps onto volumes in a pod, it creates
hidden files on the pod filesystem with symbolic links to the
hidden files. The symlinks are named for the user-provided config
map that was mounted, while the hidden files have system-generated
names.

Prior to this commit, the property sources created by the
configtree property source were added to the environment using the
system-generated hidden file name instead of the user-provided
symlink name. This commit corrects that behavior so the property
sources are named as a user would expect.

Fixes gh-23232
2020-10-14 21:02:55 -05:00
Andy Wilkinson
d0c6dbc2c7 Rename eagerInitFilters to align with Undertow's naming
Closes gh-23674
2020-10-14 18:03:06 +01:00
Scott Frederick
5b1b03c56c Set platform API version when invoking image builder
The CNB specifications allow builders to support multiple platform
API versions. The supported versions are published in the builder
image metadata as an array of version numbers, while a single
supported version number was published in earlier builder metadata.

These changes read the supported versions from the builder metadata
and fall back to the single version if the array is not present.
A CNB_PLATFORM_API environment variable is set on each lifecycle
phase invocation to request a specific version as recommended in
the CNB platform spec.

Fixes gh-23682
2020-10-14 11:49:34 -05:00
Stephane Nicoll
3d2a97f102 Upgrade to Spring Data 2020.0.0-RC2
Closes gh-23594
2020-10-14 15:21:44 +02:00
Stephane Nicoll
83788920ce Remove NIO Multipart Parser in favour of WebFlux's own parser
Closes gh-23601
2020-10-14 15:13:16 +02:00
Stephane Nicoll
b960fa3237 Polish "Add configuration options for Kafka Stream's CleanupConfig"
See gh-23636
2020-10-14 14:30:10 +02:00
Adrien Bennadji
f4799c7484 Add configuration options for Kafka Stream's CleanupConfig
See gh-23636
2020-10-14 14:26:37 +02:00
Stephane Nicoll
a5b27789c0 Document how to use DataNeo4jTest with reactive access
Closes gh-23630
2020-10-14 14:04:58 +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
Johnny Lim
4a26e11268 Polish
See gh-23634

Closes gh-23634
2020-10-13 12:44:00 -07:00
Andy Wilkinson
a64f2699cc Configure Undertow not to presever path on forward by default
Closes gh-23619
2020-10-13 19:03:36 +01:00
Stephane Nicoll
809e2c023f Start building against Spring AMQP 2.3.0-RC1 snapshots
See gh-23680
2020-10-13 17:59:59 +02:00
Stephane Nicoll
d7c97ed6e4 Start building against Spring Kafka 2.6.2 snapshots
See gh-23679
2020-10-13 17:59:59 +02:00
Stephane Nicoll
f5f30d3d4b Upgrade to Spring Framework 5.3.0-RC2
Closes gh-23534
2020-10-13 17:52:42 +02:00
Stephane Nicoll
8857db81e4 Upgrade to Kotlin Coroutines 1.4.0-M1
Closes gh-23678
2020-10-13 15:34:05 +02:00
Andy Wilkinson
5d5afbc70d Merge branch '2.3.x'
Closes gh-23677
2020-10-13 13:38:28 +01:00
Andy Wilkinson
0abe38d478 Merge branch '2.2.x' into 2.3.x
Closes gh-23676
2020-10-13 13:18:53 +01:00
Andy Wilkinson
7fc345f587 Apply server.undertow.eager-filter-init to factory
Fixes gh-23675
2020-10-13 13:02:36 +01:00
Stephane Nicoll
b99dd0003b Upgrade to OAuth2 OIDC SDK 8.22
Closes gh-23673
2020-10-13 13:25:29 +02:00
Stephane Nicoll
2577c67185 Fix mapping of outputQueryResults property
Closes gh-23645
2020-10-13 13:20:51 +02:00
Andy Wilkinson
98914b65bc Merge branch '2.3.x'
Closes gh-23672
2020-10-13 11:23:00 +01:00
Andy Wilkinson
a9a32f39b5 Merge branch '2.2.x' into 2.3.x
Closes gh-23671
2020-10-13 11:20:18 +01:00
Andy Wilkinson
667ccdae84 Simplify temp directory creation and improve diagnostics
Closes gh-23622
2020-10-13 11:18:06 +01:00
Stephane Nicoll
679bd34ea4 Upgrade to Flyway 7.0.2
Closes gh-23645
2020-10-13 10:16:01 +02:00
Stephane Nicoll
de2302ac43 Upgrade to Undertow 2.2.2.Final
Closes gh-23669
2020-10-13 09:58:24 +02:00
Stephane Nicoll
b99d8de5ac Upgrade to Tomcat 9.0.39
Closes gh-23668
2020-10-13 09:58:24 +02:00
Stephane Nicoll
6c4d0c3e5c Upgrade to Spring Security 5.4.1
Closes gh-23667
2020-10-13 09:58:24 +02:00
Stephane Nicoll
b3c4180338 Upgrade to SendGrid 4.6.6
Closes gh-23666
2020-10-13 09:58:23 +02:00
Stephane Nicoll
41f4ab4d9a Upgrade to Selenium HtmlUnit 2.44.0
Closes gh-23665
2020-10-13 09:58:23 +02:00
Stephane Nicoll
ca552901cf Upgrade to RxJava2 2.2.20
Closes gh-23664
2020-10-13 09:58:22 +02:00
Stephane Nicoll
fe0a171c3a Upgrade to QueryDSL 4.4.0
Closes gh-23663
2020-10-13 09:58:22 +02:00