Commit Graph

8704 Commits

Author SHA1 Message Date
Stephane Nicoll c88ef6215f Polish 2020-04-03 10:34:23 +02:00
Stephane Nicoll f963180ab8 Polish 2020-04-03 10:05:05 +02:00
Phillip Webb 12bc890e75 Update Maven and Gradle layer customization docs
Update the Maven and Gradle documentation following the refined
layer customization changes.

See gh-20526
2020-04-03 00:34:27 -07:00
Madhura Bhave 0e1394ef30 Update reference documentation for layer changes
Update the reference documentation following the jar format changes.

See gh-20813
2020-04-03 00:34:27 -07:00
Madhura Bhave d61a79d90b Support flat jar layering with layertools
Update layertools to support the flat jar format. Layers are now
determined by reading the `layers.idx` file.

Closes gh-20813
2020-04-03 00:34:27 -07:00
Andy Wilkinson bfa04e6574 Support flat jar layering with Gradle
Update the Gralde plugin so that layered jars now use the regular "flat"
format. The layers.idx file now describes which layer each file should
be placed.

See gh-20813

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2020-04-03 00:34:27 -07:00
Madhura Bhave 4e3cdf936f Support flat jar layering with Maven
Update the Maven plugin so that layered jars now use the regular "flat"
format. The layers.idx file now describes which layer each file should
be placed.

See gh-20813

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2020-04-03 00:34:27 -07:00
Phillip Webb 3f806aa513 Create a new layer for loader classes
Create a dedicated layer that is used to hold the launcher support
classes. The layer sits between `dependencies` and
`snapshot-dependencies` so that the layer is sensible for both
SNAPSHOT and RELEASE versions of Spring Boot

Closes gh-20529
2020-04-03 00:09:30 -07:00
Phillip Webb 7bc7d86ad4 Refine layer customization for Maven and Gradle
Simplify layer customization logic for both Maven and Gradle and
refactor some internals of the Gradle plugin.

Both Maven and Gradle now use a simpler customization format that
consists of `application`, `dependencies` and `layer order` sections.
The `application`, `dependencies` configurations support one or more
`into` blocks that are used to select content for a specific layer.

Closes gh-20526
2020-04-03 00:03:21 -07:00
Andy Wilkinson 14718f3e8a Allow layertools to work without spring-boot jar
Update `spring-boot-jarmode-layertools` so that it no longer required
a `spring-boot` jar to run.

Closes gh-20815
2020-04-03 00:01:38 -07:00
Phillip Webb 01c7623f5d Polish 2020-04-02 22:08:30 -07:00
Madhura Bhave 577bc1ce88 Fix formatting 2020-04-02 21:51:49 -07:00
Madhura Bhave c2e95ee7ee Support both JWT and Opaque token configuration for resource server
Closes gh-19426
2020-04-02 19:16:34 -07:00
Madhura Bhave 8659102650 Add configuration options for SAML authentication requests
Closes gh-20584
2020-04-02 13:19:56 -07:00
Scott Frederick 6a0d620860 Polish javadoc 2020-04-02 14:48:54 -05:00
Brian Clozel ffc2cff8de Override CloudPlatform auto-detection with configuration property
This commit adds the new "`spring.main.cloud-platform`" configuration
property. This allows applications to override the auto-detection and
force a specific Cloud Platform. This is useful for testing behavior on
a local machine or force the detection of a particular platform.

This commit also adds a new `CloudPlatform.NONE` value that allows
applications to disable the auto-detection of the Cloud Platform, thus
avoiding issues with false positives.

Closes gh-20553
2020-04-02 20:28:55 +02:00
Stephane Nicoll f4c68dbc98 Do not set server.port=-1 for non embedded tests
Closes gh-16998
2020-04-02 18:12:39 +02:00
Brian Clozel bbbf8c527d Polish
See gh-20205
2020-04-02 15:16:54 +02:00
wonwoo a7e57e0909 Configure codec buffer size in ES Reactive Rest client
This commit adds a new configuration property
`"spring.data.elasticsearch.client.reactive.max-in-memory-size"`
which configures the maximum amount of memory buffered by the
`WebClient` used by the Reactive ElasticSearch client.

See gh-20205
2020-04-02 15:14:38 +02:00
Stephane Nicoll 2815e6ee2d Remove deprecated Humio's repository property
Closes gh-20808
2020-04-02 11:34:44 +02:00
Andy Wilkinson 1f8ea54c80 Upgrade to Spring Integration 5.3.0.M4
Closes gh-20807
2020-04-02 09:10:00 +01:00
Scott Frederick cc2852ce79 Polish 2020-04-01 18:43:11 -05:00
Scott Frederick a01c8452cb Support CNB builder platform API 0.3
This commit adds support for Cloud Native Buildpacks builder platform
API 0.3, which is the latest platform API available currently. Support
for platform API 0.1 has been removed, adopting the policy of the pack
CLI to support the current platform API version and one version prior.

Fixes gh-20757
2020-04-01 17:18:46 -05:00
Scott Frederick bb9e37e119 Use platform API builder image tags
CNB builder images are now being tagged in a manner that indicates
the version of the platform API implemented. This allows Spring Boot
to default to a builder tag that guarantees API compatibility while
allowing for updates to bundled buildpacks.

Fixes gh-20171
2020-04-01 16:18:05 -05:00
Phillip Webb 4dad56a491 Restructure and polish docker code
Restructure and polish docker code to fix a package tangle and
provide better separation of concerns.
2020-04-01 11:51:33 -07:00
Phillip Webb 5d8d0bb159 Update copyright year of changed files 2020-04-01 11:51:29 -07:00
Phillip Webb 9795262dc1 Polish 2020-04-01 11:20:56 -07:00
Andy Wilkinson bcac1e9184 Upgrade to Spring Kafka 2.4.5.RELEASE
Closes gh-20797
2020-04-01 18:58:54 +01:00
Stephane Nicoll b9cb1c810b Merge pull request #20729 from gurbuzali
* pr/20729:
  Polish "Disable Hazelcast auto-configuration when Jet is present"
  Disable Hazelcast auto-configuration when Jet is present

Closes gh-20729
2020-04-01 15:47:53 +02:00
Stephane Nicoll 617786e06f Polish "Disable Hazelcast auto-configuration when Jet is present"
See gh-20729
2020-04-01 15:46:42 +02:00
Andy Wilkinson e0b3916971 Upgrade to Spring Batch 4.2.2.RELEASE
Closes gh-20792
2020-04-01 14:35:27 +01:00
Ali Gurbuz 002a7c6e87 Disable Hazelcast auto-configuration when Jet is present
See gh-20729
2020-04-01 15:30:14 +02:00
Stephane Nicoll dfac3a282b Add configuration to enable Redis Cluster topology refresh
This commit adds two options to enable a refresh of the cluster
topology using Lettuce.

Closes gh-15630
2020-04-01 14:31:29 +02:00
Andy Wilkinson d8cead5457 Use accessor for in-progress async count added in Tomcat 9.0.33
Closes gh-20440
2020-04-01 11:16:54 +01:00
Andy Wilkinson 281f4d4ceb Clear system property set by log file registration
Closes gh-20790
2020-04-01 11:10:16 +01:00
Andy Wilkinson 5c879b2812 Upgrade to Tomcat 9.0.33
Closes gh-20789
2020-04-01 09:41:22 +01:00
Andy Wilkinson 375879404d Upgrade to Spring Security 5.3.1.RELEASE
Closes gh-20788
2020-04-01 09:41:20 +01:00
Andy Wilkinson 31831b3440 Upgrade to SendGrid 4.4.6
Closes gh-20787
2020-04-01 09:41:19 +01:00
Andy Wilkinson 0ba4157012 Upgrade to RxJava2 2.2.19
Closes gh-20786
2020-04-01 09:41:18 +01:00
Andy Wilkinson dc4b19718e Upgrade to QueryDSL 4.3.1
Closes gh-20785
2020-04-01 09:41:16 +01:00
Andy Wilkinson 02352475a6 Upgrade to Postgresql 42.2.12
Closes gh-20784
2020-04-01 09:41:15 +01:00
Andy Wilkinson cd6054bcf1 Upgrade to Netty tcNative 2.0.30.Final
Closes gh-20783
2020-04-01 09:41:14 +01:00
Andy Wilkinson 5d039810e6 Upgrade to Netty 4.1.48.Final
Closes gh-20782
2020-04-01 09:41:12 +01:00
Andy Wilkinson 47dbd73a74 Upgrade to Neo4j OGM 3.2.10
Closes gh-20781
2020-04-01 09:41:11 +01:00
Andy Wilkinson 095cbf7a41 Upgrade to MongoDB 4.0.1
Closes gh-20780
2020-04-01 09:41:09 +01:00
Andy Wilkinson 9ae944474d Upgrade to Mockito 3.3.3
Closes gh-20779
2020-04-01 09:41:08 +01:00
Andy Wilkinson eeb1090e21 Upgrade to MIMEPull 1.9.13
Closes gh-20778
2020-04-01 09:41:07 +01:00
Andy Wilkinson 4cfdcd52e8 Upgrade to Micrometer 1.3.7
Closes gh-20777
2020-04-01 09:41:05 +01:00
Andy Wilkinson f88080bead Upgrade to Maven Javadoc Plugin 3.2.0
Closes gh-20776
2020-04-01 09:41:04 +01:00
Andy Wilkinson 7f6cd6eef4 Upgrade to MariaDB 2.6.0
Closes gh-20775
2020-04-01 09:41:03 +01:00