Commit Graph

24862 Commits

Author SHA1 Message Date
Andy Wilkinson
f2c1173c76 Upgrade to Gradle 6.1.1 2020-01-25 09:57:17 +00:00
Andy Wilkinson
bbb3103617 Revert "Add Gradle Wrapper Validation GitHub Action"
This reverts commit 136cdacb40.

Our GitHub billing plan does not support Actions at the moment.
Reverting until that has been resolved.

See gh-19762
2020-01-25 09:56:01 +00:00
Madhura Bhave
1d62debf11 Fix typo 2020-01-24 16:37:48 -08:00
Stephane Nicoll
0bd03fa278 Fix xml syntax in example
Closes gh-19906
2020-01-24 16:01:44 +01:00
Stephane Nicoll
749e781525 Merge pull request #19762 from JLLeitschuh
* pr/19762:
  Add Gradle Wrapper Validation GitHub Action

Closes gh-19762
2020-01-24 14:48:34 +01:00
Jonathan Leitschuh
136cdacb40 Add Gradle Wrapper Validation GitHub Action
See: https://github.com/gradle/wrapper-validation-action
See gh-19762
2020-01-24 14:27:14 +01:00
Stephane Nicoll
4f569d6ee7 Merge pull request #19896 from dreis2211
* pr/19896:
  Remove obsolete files

Closes gh-19896
2020-01-24 14:26:26 +01:00
dreis2211
42e34673a6 Remove obsolete files
See gh-19896
2020-01-24 14:20:21 +01:00
Stephane Nicoll
cb7e8cdbef Merge branch '2.2.x'
Closes gh-19904
2020-01-24 14:18:21 +01:00
Stephane Nicoll
99330325c0 Merge branch '2.1.x' into 2.2.x
Closes gh-19903
2020-01-24 14:16:35 +01:00
Stephane Nicoll
ddcc52a085 Upgrade to Micrometer 1.3.3
Closes gh-19645
2020-01-24 14:11:14 +01:00
Stephane Nicoll
4bcd02a565 Merge pull request #19880 from izeye
* pr/19880:
  Polish "Close TomcatMetrics on shutdown for cleanup"
  Close TomcatMetrics on shutdown for cleanup

Closes gh-19880
2020-01-24 14:09:11 +01:00
Stephane Nicoll
7fd8cce465 Polish "Close TomcatMetrics on shutdown for cleanup"
See gh-19880
2020-01-24 14:07:53 +01:00
Johnny Lim
51dfd528bd Close TomcatMetrics on shutdown for cleanup
See micrometer-metrics/micrometer#1424
See gh-19880
2020-01-24 14:04:13 +01:00
Stephane Nicoll
c3d0b9c43a Upgrade to Micrometer 1.1.10
Closes gh-19639
2020-01-24 13:58:33 +01:00
Stephane Nicoll
31094a8602 Merge branch '2.2.x' 2020-01-24 13:48:33 +01:00
Stephane Nicoll
8dde0a29d0 Merge pull request #19776 from dreis2211
* pr/19776:
  Test the Gradle Plugin against Gradle 6.1

Closes gh-19776
2020-01-24 13:46:39 +01:00
dreis2211
d84ca1149c Test the Gradle Plugin against Gradle 6.1
See gh-19776
2020-01-24 13:46:00 +01:00
Stephane Nicoll
142a0cbb85 Fix warnings in spring-boot-autoconfigure's Kotlin test code
Closes gh-19877
2020-01-24 10:48:11 +01:00
Stephane Nicoll
eb9b1972cf Adapt Cassandra documentation of v4 driver upgrade
See gh-18621
2020-01-23 18:30:55 +01:00
Stephane Nicoll
0a6fa64ff9 Fix default value for spring.data.couchbase.contact-points
See gh-18621
2020-01-23 18:22:40 +01:00
Stephane Nicoll
df7b3839a1 Add local-datacenter property for Cassandra
The Cassandra v4 driver does not longer have automatic local DC inference
from contact points. As a result, the "local-datacenter" property must be
set with the default load balancing policy and the contact points must
be of that data center.

This commit adds a new property for the local datacenter so that it can
be specified without the use of a customizer.

Closes gh-19779
2020-01-23 18:16:05 +01:00
Andy Wilkinson
eb08ad02b9 Correct name of the file added to git after version change in staging 2020-01-23 16:57:13 +00:00
Andy Wilkinson
cbee16318f Fix version references in Maven Plugin's reference documentation
Closes gh-19878
2020-01-23 16:37:18 +00:00
Stephane Nicoll
331ebe90e0 Restore @since on build-image parameters 2020-01-23 16:47:03 +01:00
Stephane Nicoll
63019ab3f1 Add documentation for Maven plugin's build-image support
Closes gh-19830
2020-01-23 16:35:45 +01:00
Stephane Nicoll
6df5e7af4f Add integration tests for Maven plugin's build-image support
See gh-19830
2020-01-23 16:06:11 +01:00
Andy Wilkinson
0a9fe65443 Use line endings on all OSs when writing image config JSON
Previously \r\n was used on Windows and \n was used on other
platforms. This resulted in different JSON content being written to
the archive. As the config's entry name is the SHA-256 hash of its
content, it also resulted in the entry name being different.

This commit updates the JSON that's written into the archive to use
\n line endings, irrespective of the OS on which the image is being
built.

See gh-19828
2020-01-23 14:37:06 +00:00
Andy Wilkinson
a0b4cdee44 Make line ending expectations in TotalProgressBarTests OS-independent
See gh-19828
2020-01-23 14:14:14 +00:00
Andy Wilkinson
c1ebd5abb8 Merge pull request #19863 from izeye
* gh-19863:
  Fix TestFailuresPlugin.TestFailure.compareTo()

Closes gh-19863
2020-01-23 13:56:46 +00:00
Johnny Lim
f670615b40 Fix TestFailuresPlugin.TestFailure.compareTo()
This commit also polishes around it a bit.

See gh-19863
2020-01-23 13:56:36 +00:00
Andy Wilkinson
1d396abec5 Fix bootBuildImage integration tests on Java 13
We build with Java 8, 11, and 13 without specifying target
compatibility for the bytecode of the app that's placed in the image.
The built image uses Java 11 and when the app is built with Java 13
it fails to start as the Java 11 VM can't read that Java 13 bytecode.

This commit configures the app that's placed in the image to be built
with target compatibility of 1.8. This allows it to be compiled with
all version of Java with which we build and to also be compatible
with the JVM that's in the image.

See gh-19831
2020-01-23 13:50:22 +00:00
Andy Wilkinson
fccc241ded Remove unnecessary dependency from HATEOAS starter
Closes gh-19874
2020-01-23 13:45:18 +00:00
Stephane Nicoll
105db66553 Polish 2020-01-23 14:04:19 +01:00
Stephane Nicoll
e044817fe7 Migrate remaining use of ClassLoader.loadClass to Class.forName
Closes gh-19824
2020-01-23 13:15:45 +01:00
Andy Wilkinson
820c671ddd Configure repositories based on the version that is being built
https://repo.spring.io/snapshot should only be available when
building a BUILD-SNAPSHOT. https://repo.spring.io/milestone should
only be available when not building a RELEASE (a BUILD-SNAPSHOT, Mn,
or RCn).

Closes gh-19700
2020-01-23 11:55:42 +00:00
Andy Wilkinson
01a0a54f78 Include layertools in layered jars build with Gradle
Closes gh-19867
2020-01-23 11:43:19 +00:00
Andy Wilkinson
288f5ceaee Fix zip compression of libs in layered jars
Closes gh-19792
2020-01-23 11:40:13 +00:00
Andy Wilkinson
0bd0b2a6c0 Add support for building OCI images using the Gradle plugin
Closes gh-19831
2020-01-23 10:52:57 +00:00
Andy Wilkinson
bc452bc094 Polish BootJarTests
See gh-19847
See gh-19792
2020-01-23 10:05:33 +00:00
Stephane Nicoll
95be419527 Use Class.forName rather than ClassLoader.loadClass
This commit changes uses of ClassLoader.loadClass to Class.forName for
consistency with what was initiated in #19342 and better compatibility
with GraalVM.

Closes gh-19824
2020-01-23 10:47:53 +01:00
Stephane Nicoll
797c30f952 Merge pull request #19764 from scottfrederick
* pr/19764:
  Upgrade to Kafka 2.4.0 and Spring Kafka 2.4.1

Closes gh-19764
2020-01-23 10:21:47 +01:00
Scott Frederick
8f30cf916f Upgrade to Kafka 2.4.0 and Spring Kafka 2.4.1
See gh-19764
2020-01-23 10:16:36 +01:00
Stephane Nicoll
c80e9f7fc4 Upgrade to Spring Integration 5.3.0.M1
Closes gh-19650
2020-01-23 10:13:40 +01:00
Stephane Nicoll
2b06a423d0 Merge branch '2.2.x'
Closes gh-19873
2020-01-23 09:54:09 +01:00
Stephane Nicoll
c77d4c07d7 Merge branch '2.1.x' into 2.2.x
Closes gh-19872
2020-01-23 09:53:11 +01:00
Stephane Nicoll
c816b00a1a Merge pull request #19855 from protyay
* pr/19855:
  Polish "Encourage use of SpringBootApplication"
  Encourage use of SpringBootApplication

Closes gh-19855
2020-01-23 09:51:50 +01:00
Stephane Nicoll
650e55c242 Polish "Encourage use of SpringBootApplication"
See gh-19855
2020-01-23 09:51:03 +01:00
protyay
3131616c5a Encourage use of SpringBootApplication
See gh-19855
2020-01-23 09:40:30 +01:00
Stephane Nicoll
9aef3ef3a4 Merge branch '2.2.x'
Closes gh-19871
2020-01-23 08:52:37 +01:00