Commit Graph

25894 Commits

Author SHA1 Message Date
Scott Frederick
c119dd2450 Rename plugin PDF reference doc files
This commit renames the PDF documentation files generated for the
build plugins when the distribution archive is created.

See gh-20829
2020-04-03 15:50:23 -05:00
Madhura Bhave
f40444e212 Fix typo 2020-04-03 12:30:46 -07:00
Madhura Bhave
38dd762086 Merge branch '2.2.x' 2020-04-03 12:27:51 -07:00
Madhura Bhave
d7c376adf6 Merge branch '2.1.x' into 2.2.x 2020-04-03 12:27:26 -07:00
Madhura Bhave
d5a3310b91 Fix CI dockerfile 2020-04-03 12:26:19 -07:00
Madhura Bhave
c027487d72 Merge branch '2.2.x' 2020-04-03 10:11:29 -07:00
Madhura Bhave
2b862d2409 Merge branch '2.1.x' into 2.2.x 2020-04-03 10:11:04 -07:00
Madhura Bhave
a0a0d28582 Add get-docker-url script to image before executing it 2020-04-03 10:09:02 -07:00
Stephane Nicoll
b7ac83a830 Fix typo 2020-04-03 17:03:57 +02:00
Stephane Nicoll
1df8b5886c Add reference to r2dbc database initialization section
Closes gh-20524
2020-04-03 16:51:10 +02:00
Stephane Nicoll
5c69534827 Remove direct dependency on Kafka's IsolationLevel
Closes gh-20811
2020-04-03 16:27:40 +02:00
Stephane Nicoll
f4e6d7c1cf Fix links to Maven Plugin's documentation in reference guide
Closes gh-20818
2020-04-03 14:34:16 +02:00
Andy Wilkinson
34e602652c Polish new layered jar support 2020-04-03 10:47:57 +01:00
Stephane Nicoll
3e936dd735 Polish 2020-04-03 10:36:06 +02:00
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
1199b7c014 Merge pull request #20205 from wonwoo
* wonwoo/master:
  Polish
  Configure codec buffer size in ES Reactive Rest client

Closes gh-20205
2020-04-02 15:18:05 +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
Madhura Bhave
6641154148 Merge branch '2.2.x'
Closes gh-20804
2020-04-01 18:40:48 -07:00
Madhura Bhave
20c04bc63c Merge branch '2.1.x' into 2.2.x
Closes gh-20803
2020-04-01 18:40:21 -07:00
Madhura Bhave
bbf05364ff Merge pull request #20756 from spring-buildmaster
* pr/20756:
  Upgrade to Docker 19.03.8 in CI

Closes gh-20756
2020-04-01 18:38:43 -07:00
Spring Buildmaster
1566259c02 Upgrade to Docker 19.03.8 in CI
See gh-20756
2020-04-01 18:38:21 -07:00
Madhura Bhave
053e531f3a Merge branch '2.2.x'
Closes gh-20802
2020-04-01 18:35:47 -07:00
Madhura Bhave
d1ef19615c Merge branch '2.1.x' into 2.2.x
Closes gh-20801
2020-04-01 18:35:10 -07:00
Madhura Bhave
5901b3fcd0 Merge pull request #20793 from dreis2211
* pr/20793:
  Harmonize issue title for auto-created Docker upgrade issues

Closes gh-20793
2020-04-01 18:32:36 -07:00
dreis2211
0ee6108427 Harmonize issue title for auto-created Docker upgrade issues
See gh-20793
2020-04-01 18:31:50 -07: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