Commit Graph

11169 Commits (499ba7e0bc64844bba985584e1acc06b980d03c1)

Author SHA1 Message Date
Stephane Nicoll 71bd5b29b3 Start building against Spring Framework 5.3.0 snapshots
See gh-23774
4 years ago
Stephane Nicoll 663ccd87d7 Start building against Reactor 2020.0.0 snapshots
See gh-23771
4 years ago
Stephane Nicoll e61595927b Start building against Reactor Dysprosium-SR13 snapshots
See gh-23770
4 years ago
Stephane Nicoll 551623435b Start building against Spring Framework 5.2.10 snapshots
See gh-23773
4 years ago
Stephane Nicoll 7b4e3462ec Start building against Reactor Dysprosium-SR13 snapshots
See gh-23769
4 years ago
Stephane Nicoll 17e12ea025 Polish "Add configuration options for RabbitMQ's batch listener config"
See gh-23766
4 years ago
Gary Russell 3aa247f1ca Add configuration options for RabbitMQ's batch listener config
See gh-23766
4 years ago
Phillip Webb fb25104151 Remove unnecessary code
Remove code from `LogbackLoggingSystem.loadDefaults` that sets Logback
context properties from the Spring Environment. The code should not be
required since `LoggingSystemVariables` will have already set system
variables for the logging config to use.

Closes gh-23767
4 years ago
Stephane Nicoll 52f2c27779 Merge branch '2.3.x'
Closes gh-23765
4 years ago
Stephane Nicoll 4371a3c080 Merge branch '2.2.x' into 2.3.x
Closes gh-23764
4 years ago
Stephane Nicoll 4f4cc8b182 Polish contribution
See gh-23755
4 years ago
cdalexndr 2f2b1b9656 Note that using LiveReload requires Devtools restart to be enabled
See gh-23755
4 years ago
Stephane Nicoll e77dc60744 Add configuration properties for SAML2 relying party registration's ASM
This commit allows to configure the location and binding of the
Assertion Consumer Service used by a SAML2 relying party.

Closes gh-23746
4 years ago
Stephane Nicoll 72eaf93dba Polish assertions
See gh-23762
4 years ago
izeye 0e50e87e58 Polish
See gh-23762
4 years ago
Andy Wilkinson 0aa0cba3f7 Fix content filters when excludeProjectDependencies() is used
Fixes gh-23763
4 years ago
olivier.antoine ded2a8006a Expose BootBuildImage's cleanCache property as a command-line option
See gh-23753
4 years ago
Stephane Nicoll 9efff2af83 Merge branch '2.3.x'
Closes gh-23735
4 years ago
Stephane Nicoll f4e822f650 Prevent access to the EMF within the singleton lock
This commit makes sure to defer registration of hibernate statistics
outside of the singleton lock as it can lead to deadlocks when the
EntityManagerFactory is initialized in deferred mode.

Closes gh-23740
4 years ago
Stephane Nicoll b7a8b0f19b Hacking
See gh-23740
4 years ago
Scott Frederick 38984985d4 Add support for CNB platform API 0.4
This commit adds support for platform API 0.4 when invoking a CNB
builder in the Maven and Gradle plugins. If the builder advertises
that it supports platform API 0.4 then that version will be
requested when invoking lifecycle phases. Otherwise the plugins
will fall back to requesting platform API 0.3.

Requesting platform API 0.4 when invoking builder lifecycle phases
has the primary benefit of making it easier to pass command-line
arguments to the default process in the generated image.

Fixes gh-23692
4 years ago
Scott Frederick 38b1954ab1 Polish Maven plugin javadoc
This commit polishes the javadoc for Maven plugin classes now that
the plugin reference docs link to the javadoc. Visibility of some
MOJO parameter class getters and setters were also changed for
consistency.

See gh-21555
4 years ago
Andy Wilkinson 0f069ee9c6 Merge branch '2.3.x'
Closes gh-23756
4 years ago
Andy Wilkinson 633027b1cd Upgrade to Gradle 6.7
Closes gh-23754
4 years ago
Andy Wilkinson 3f1f830efe Fail if management.server.address is set but actuator is on the same port
Closes gh-22187
4 years ago
Andy Wilkinson a0afb73923 Merge branch '2.3.x'
Closes gh-23751
4 years ago
Andy Wilkinson a754b791a2 Merge branch '2.2.x' into 2.3.x
Closes gh-23750
4 years ago
Andy Wilkinson 11bc62fb83 Stop using PostConstruct to default session timeout to ServerProperties'
Fixes gh-23716
4 years ago
Andy Wilkinson 4a38401cef Align relying party entity ID property with Spring Security
Closes gh-23745
4 years ago
Stephane Nicoll dd74810c80 Revert "Fix detection logic for embedded databases"
This reverts commit c4a5a34702.

See gh-23721
4 years ago
Andy Wilkinson 6f7234ff4e Upgrade to MSSQL JDBC 8.4.1.jre8
Closes gh-23742
4 years ago
Andy Wilkinson 01077d8ced Merge branch '2.3.x'
Closes gh-23744
4 years ago
Andy Wilkinson e8187f9bb0 Merge branch '2.2.x' into 2.3.x
Closes gh-23743
4 years ago
Andy Wilkinson 2a40bd7853 Register shutdown hook so it can tidy up a partial refresh
Previously, the shutdown hook was only registered once refresh has
completed. If the JVM was shut down during refresh (or after refresh
and before the hook was registered) the hook wouldn't run and the
partially refreshed context would not be cleaned up.

This commit moves the registration of the shutdown hook to before
refresh processing begins. This ensures that the hook is available
to clean up the context if the JVM is shutdown while refresh is in
progress.

Fixes gh-23625
4 years ago
dreis2211 47bac6a90d Fix links to Spring Framework documentation
See gh-23737
4 years ago
Andy Wilkinson 6898a97102 Merge branch '2.3.x'
Closes gh-23732
4 years ago
Andy Wilkinson 11b5e86ffd Deprecate BootJar#getConfigurations
Fixes gh-23527
4 years ago
Johnny Lim 20f1c0ef0e Polish
See gh-23720
4 years ago
Stephane Nicoll 8d4498ef6c Merge branch '2.3.x' 4 years ago
Asha Somayajula c4a5a34702 Fix detection logic for embedded databases
Closes gh-23721
4 years ago
Stephane Nicoll bebdee3709 Polish
See gh-23693
4 years ago
Scott Frederick d44ecf5086 Merge branch '2.3.x'
Closes gh-23731
4 years ago
Scott Frederick 9c672deb2d Add javadoc links in Maven plugin parameter docs
This commit modifies the documentation generated for the
Maven plugin to include links to javadoc when Spring
Boot types are mentioned. Some javadoc was also polished
to improve the generated docs.

Fixes gh-21555
4 years ago
Andy Wilkinson d005a64c9f Revert "Rename CompositeMeterRegistryAutoConfiguration"
This reverts commit 9460d74e8a.

Fixes gh-23724
4 years ago
Andy Wilkinson f0b0a073c3 Remove unwanted titles from config blocks
Closes gh-23722
4 years ago
Stephane Nicoll 0007961805 Add reference to JobRunr Spring Boot starter
Closes gh-23725
4 years ago
Stephane Nicoll c0b267feb4 Polish "Fix detection logic for embedded databases"
See gh-23693
4 years ago
Asha Somayajula ab02084e7b Fix detection logic for embedded databases
See gh-23693
4 years ago
Stephane Nicoll 2916bb4c10 Merge branch '2.3.x'
Closes gh-23718
4 years ago
Stephane Nicoll 6beb0c939f Document how to override plugin configuration on the command line
Closes gh-21536
4 years ago
Stephane Nicoll b210d0680a Polish 4 years ago
Phillip Webb bc7b6bdd88 Polish 4 years ago
Phillip Webb e360e4a75e Polish 'Add a FailureAnalyzer for ConfigDataNotFound'
See gh-23633
4 years ago
Michal Mlak be7d697121 Add a FailureAnalyzer for ConfigDataNotFound
Add a `FailureAnalyzer` to deal with `ConfigDataNotFoundException`.

See gh-23633
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Johnny Lim 915e470510 Upgrade to spring-asciidoctor-extensions 0.5.0
See gh-23694
4 years ago
Stephane Nicoll 2f48ab119b Upgrade to Spring AMQP 2.3.0-RC1
Closes gh-23680
4 years ago
Stephane Nicoll 0c48370112 Upgrade to Spring Kafka 2.6.2
Closes gh-23679
4 years ago
Stephane Nicoll f79cee92a9 Upgrade to Spring Integration 5.4.0-RC1
Closes gh-23695
4 years ago
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
4 years ago
Andy Wilkinson d0c6dbc2c7 Rename eagerInitFilters to align with Undertow's naming
Closes gh-23674
4 years ago
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
4 years ago
Stephane Nicoll 3d2a97f102 Upgrade to Spring Data 2020.0.0-RC2
Closes gh-23594
4 years ago
Stephane Nicoll 83788920ce Remove NIO Multipart Parser in favour of WebFlux's own parser
Closes gh-23601
4 years ago
Stephane Nicoll b960fa3237 Polish "Add configuration options for Kafka Stream's CleanupConfig"
See gh-23636
4 years ago
Adrien Bennadji f4799c7484 Add configuration options for Kafka Stream's CleanupConfig
See gh-23636
4 years ago
Stephane Nicoll a5b27789c0 Document how to use DataNeo4jTest with reactive access
Closes gh-23630
4 years ago
Stephane Nicoll 27af908b99 Note that a Neo4j reactive transaction manager is not auto-configured
Closes gh-23629
4 years ago
Johnny Lim 4a26e11268 Polish
See gh-23634

Closes gh-23634
4 years ago
Andy Wilkinson a64f2699cc Configure Undertow not to presever path on forward by default
Closes gh-23619
4 years ago
Stephane Nicoll 809e2c023f Start building against Spring AMQP 2.3.0-RC1 snapshots
See gh-23680
4 years ago
Stephane Nicoll d7c97ed6e4 Start building against Spring Kafka 2.6.2 snapshots
See gh-23679
4 years ago
Stephane Nicoll f5f30d3d4b Upgrade to Spring Framework 5.3.0-RC2
Closes gh-23534
4 years ago
Stephane Nicoll 8857db81e4 Upgrade to Kotlin Coroutines 1.4.0-M1
Closes gh-23678
4 years ago
Andy Wilkinson 5d5afbc70d Merge branch '2.3.x'
Closes gh-23677
4 years ago
Andy Wilkinson 0abe38d478 Merge branch '2.2.x' into 2.3.x
Closes gh-23676
4 years ago
Andy Wilkinson 7fc345f587 Apply server.undertow.eager-filter-init to factory
Fixes gh-23675
4 years ago
Stephane Nicoll b99dd0003b Upgrade to OAuth2 OIDC SDK 8.22
Closes gh-23673
4 years ago
Stephane Nicoll 2577c67185 Fix mapping of outputQueryResults property
Closes gh-23645
4 years ago
Andy Wilkinson 98914b65bc Merge branch '2.3.x'
Closes gh-23672
4 years ago
Andy Wilkinson a9a32f39b5 Merge branch '2.2.x' into 2.3.x
Closes gh-23671
4 years ago
Andy Wilkinson 667ccdae84 Simplify temp directory creation and improve diagnostics
Closes gh-23622
4 years ago
Stephane Nicoll 679bd34ea4 Upgrade to Flyway 7.0.2
Closes gh-23645
4 years ago
Stephane Nicoll de2302ac43 Upgrade to Undertow 2.2.2.Final
Closes gh-23669
4 years ago
Stephane Nicoll b99d8de5ac Upgrade to Tomcat 9.0.39
Closes gh-23668
4 years ago
Stephane Nicoll 6c4d0c3e5c Upgrade to Spring Security 5.4.1
Closes gh-23667
4 years ago
Stephane Nicoll b3c4180338 Upgrade to SendGrid 4.6.6
Closes gh-23666
4 years ago
Stephane Nicoll 41f4ab4d9a Upgrade to Selenium HtmlUnit 2.44.0
Closes gh-23665
4 years ago
Stephane Nicoll ca552901cf Upgrade to RxJava2 2.2.20
Closes gh-23664
4 years ago
Stephane Nicoll fe0a171c3a Upgrade to QueryDSL 4.4.0
Closes gh-23663
4 years ago
Stephane Nicoll 4793841350 Upgrade to Postgresql 42.2.17
Closes gh-23662
4 years ago
Stephane Nicoll 10a5e235be Upgrade to Mockito 3.5.13
Closes gh-23661
4 years ago
Stephane Nicoll 7d70a8387c Upgrade to MariaDB 2.7.0
Closes gh-23660
4 years ago
Stephane Nicoll 8f0677e12f Upgrade to Lombok 1.18.14
Closes gh-23659
4 years ago
Stephane Nicoll c8ee9c1acc Upgrade to Lettuce 6.0.0.RELEASE
Closes gh-23657
4 years ago
Stephane Nicoll 8fc350ad76 Upgrade to JUnit 4.13.1
Closes gh-23655
4 years ago
Stephane Nicoll ad4200e312 Upgrade to jOOQ 3.13.5
Closes gh-23654
4 years ago