Scott Frederick
3f80638a36
Fail on layertools extract with launch script
...
This commit adds a check to the `layertools extract` command to
ensure that the jar file being processed is readable and has a
valid directory.
Fixes gh-22993
2020-08-18 17:06:31 -05:00
Phillip Webb
2b1b096fac
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22998
2020-08-18 14:35:45 -07:00
Phillip Webb
aac367e9c5
Attempt to fix memory leak in JarFile class
...
Create a new `JarFileWrapper` class so that we can wrap and existing
`JarFile` and offer a version that can be safely closed.
Prior to this commit, we provided wrapper functionality in the `JarFile`
class itself. Unfortunately, because we override `close` and also create
a lot of wrappers this caused memory issues when running on Java 11.
With Java 11 `java.util.zip.ZipFile` class uses `FinalizableResource`
for any implementation that overrides `close()`. This means that any
wrapper classes will not be garbage collected until the JVM finalizer
thread runs.
Closes gh-22991
2020-08-18 14:07:03 -07:00
Phillip Webb
ff36f8bab8
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22989
2020-08-17 16:17:47 -07:00
Phillip Webb
10da595302
Polish 'Order metrics auto-configurations correctly'
...
See gh-21134
2020-08-17 16:10:18 -07:00
Martin Benda
02b7ec787e
Order metrics auto-configurations correctly
...
Update metrics auto-configurations so that they are auto-configured
after `CompositeMeterRegistryAutoConfiguration` in order to ensure
the `MeterRegistry` bean has been defined.
Prior to this commit, metrics auto-configurations that depended on a
`MeterRegistry` has `@AutoConfigureAfter(MetricsAutoConfiguration.class)`
which is not sufficient since `MetricsAutoConfiguration` does not export
a `MeterRegistry`.
See gh-21134
2020-08-17 16:03:27 -07:00
Scott Frederick
c2ec46c5b1
Polish "Fix include exception handling in DefaultErrorAttributes"
...
See gh-22750
2020-08-17 13:33:59 -05:00
Lopfest
c49605cd7b
Fix include exception handling in DefaultErrorAttributes
...
This commit fixes a problem with the handling of the includeException
field in DefaultErrorAttributes.
See gh-22750
2020-08-17 13:33:59 -05:00
Jean-Baptiste Nizet
27528fdd07
Fix custom image name example and documentation
...
There is no `artifactId` property in a gradle Project, and the default
value uses the project name.
See gh-22918
2020-08-17 13:59:42 +02:00
Stephane Nicoll
b1e631e8a6
Remove trailing whitespaces
2020-08-17 13:59:08 +02:00
Stephane Nicoll
6b679b7d64
Polish
...
See gh-22945
2020-08-17 13:24:51 +02:00
Phillip Webb
f75e988450
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22966
2020-08-14 17:12:41 -07:00
Phillip Webb
3271542d98
Add @Interited to @TypeExcludeFilters
...
Update `@TypeExcludeFilters` so that it is also annotated with
`@Inherited`.
Closes gh-22939
2020-08-14 17:12:31 -07:00
Phillip Webb
1675b47637
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22964
2020-08-14 17:08:48 -07:00
Phillip Webb
89a6f83344
Fix and improve SpringApplicationBuilder javadoc
...
Update SpringApplicationBuilder.properties method javadoc to fix
inaccuracies and apply more consistency.
Closes gh-22962
2020-08-14 17:06:39 -07:00
Phillip Webb
3e939cbabd
Polish method order
2020-08-14 17:02:13 -07:00
Phillip Webb
03d4b89c06
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22960
2020-08-14 15:11:23 -07:00
Maciej Walkowiak
15de956566
Fix typo Assert4J
-> AssertJ
...
See gh-22948
2020-08-14 15:09:56 -07:00
Andy Wilkinson
3e35fd480f
Wait longer for server port and improve diagnostics on timeout
...
See gh-22909
2020-08-14 15:34:41 +01:00
Andy Wilkinson
8c4e6f766c
Revert "Merge pull request #21060 from dsyer"
...
This reverts commit 6547ea56f9a6e90ce886c4ba73ca852ccb648bec, reversing
changes made to e9e4a34e622ba3652d4f65e3a1433bed725907fc.
Fixes gh-22039
2020-08-13 13:31:45 +01:00
Stephane Nicoll
2f5145b6a1
Upgrade to Micrometer 1.5.4
...
Closes gh-22932
2020-08-13 13:04:03 +02:00
Stephane Nicoll
df78105a3c
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22930
2020-08-13 11:48:43 +02:00
Stephane Nicoll
f61a632a37
Polish "Fix conditions that lead to auto-configure PushGateway"
...
See gh-22919
2020-08-13 11:47:43 +02:00
smlc
c355b95f6c
Fix conditions that lead to auto-configure PushGateway
...
See gh-22919
2020-08-13 11:41:49 +02:00
Stephane Nicoll
d0662e824a
Fix default value of server.jetty.accesslog.format
...
Closes gh-22921
2020-08-13 09:43:37 +02:00
Scott Frederick
4c6a722f18
Fix test for Java version in image building docs
...
See gh-22916
2020-08-12 17:43:37 -05:00
Scott Frederick
005ed8b8db
Use Java version wildcard in image building docs
...
Fixes gh-22916
2020-08-12 17:04:17 -05:00
Andy Wilkinson
c59b48b690
Upgrade to Spring Kafka 2.5.5.RELEASE
...
Closes gh-22843
2020-08-12 19:19:57 +01:00
Andy Wilkinson
ce729b7188
Upgrade to Spring AMQP 2.2.10.RELEASE
...
Closes gh-22842
2020-08-12 19:19:18 +01:00
Andy Wilkinson
f43a0b4891
Fix configuration of environment in Kotlin bootBuildImage examples
...
Fixes gh-22913
2020-08-12 17:06:16 +01:00
Stephane Nicoll
5e5c1fb4d0
Upgrade to Spring Data Neumann SR3
...
Closes gh-22844
2020-08-12 15:42:54 +02:00
Andy Wilkinson
2b1bb2f18f
Improve diagnostics when remote application does not start as expected
...
See gh-22909
2020-08-12 13:24:17 +01:00
Andy Wilkinson
65ccb514d0
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22910
2020-08-12 13:14:15 +01:00
Johnny Lim
68e2dd626d
Mention configuration customizers for WebTestClient and RestAssured
...
See gh-22765
2020-08-12 13:13:11 +01:00
Andy Wilkinson
1381929525
Upgrade to Gradle 6.6
...
Closes gh-22905
2020-08-12 12:24:08 +01:00
Andy Wilkinson
0841eab877
Simplify build.gradle for spring-boot-starter-data-solr
...
Closes gh-22903
2020-08-12 11:40:21 +01:00
Stephane Nicoll
38baaf31d3
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22899
2020-08-12 09:51:25 +02:00
Stephane Nicoll
ee2363fca7
Polish "Harmonize Discover the HTTP Port at Runtime How-To"
...
See gh-22898
2020-08-12 09:50:44 +02:00
John Franco
303768b2b5
Harmonize Discover the HTTP Port at Runtime How-To
...
See gh-22898
2020-08-12 09:48:57 +02:00
Madhura Bhave
eeca767c49
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22895
2020-08-11 12:22:43 -07:00
Madhura Bhave
cdbb7f441a
Do not ignore null/empty values from SPRING_APPLICATION_JSON
...
Fixes gh-21542
2020-08-11 12:22:08 -07:00
Stephane Nicoll
92445fcc54
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22890
2020-08-11 16:51:34 +02:00
Stephane Nicoll
ccffd50285
Document the limitation of default value detection
...
Closes gh-22685
2020-08-11 16:51:00 +02:00
Stephane Nicoll
64a5aa9340
Polish
2020-08-11 16:41:47 +02:00
Stephane Nicoll
ac7320d7fe
Document that Cassandra's application.conf is not considered
...
Closes gh-21787
2020-08-11 15:53:06 +02:00
Andy Wilkinson
1896566bc8
Avoid duplicates with different versions in Devtools' int test deps
...
Closes gh-22887
2020-08-11 14:33:27 +01:00
Andy Wilkinson
289797b5d4
Upgrade to Spring Security 5.3.4.RELEASE
...
Closes gh-22873
2020-08-11 12:50:16 +01:00
Andy Wilkinson
4f79f39b31
Upgrade to Spring HATEOAS 1.1.1.RELEASE
...
Closes gh-22872
2020-08-11 12:50:16 +01:00
Andy Wilkinson
33ece49921
Upgrade to RSocket 1.0.2
...
Closes gh-22871
2020-08-11 12:50:16 +01:00
Andy Wilkinson
ad109c10d3
Upgrade to Pooled JMS 1.1.2
...
Closes gh-22870
2020-08-11 12:50:16 +01:00