Commit Graph

5616 Commits

Author SHA1 Message Date
Phillip Webb
895ff9c72d Merge pull request #19041 from mathieufortin01
* pr/19041:
  Polish 'Fix signed jar performance issues'
  Fix signed jar performance issues
  Ignore Visual Studio Code Files

Closes gh-19041
2020-09-13 22:40:05 -07:00
Phillip Webb
c6a9696dd1 Polish 'Fix signed jar performance issues'
Update the performance improvements to push certificate loading
and storage into the `JarFileEntries` class. This allows us to
keep certificates without needing to cache all entry data. We
now also keep certificates and code signers in a dedicated class
which is set whenever the full jar stream as been read, even if
the contained values are `null`. The logic that assumes META-INF
entries are not signed has been removed in favor of delegating to
the streamed entry results.

See gh-19041
2020-09-13 22:28:45 -07:00
mathieufortin01
4d053e15d8 Fix signed jar performance issues
Update Spring Boot nested JarFile support to improve the performance of
signed jars. Prior to this commit, `certificates` and `codeSigners`
were read by streaming the entire jar whenever the existing values
were `null`. Unfortunately, the contract for `getCertificates` and
get `getCodeSigners` states that `null` is a valid return value. This
meant that full jar streaming would occur whenever either method was
called on an entry that had no result. The problem was further
exacerbated by the fact that entries might not be cached.

See gh-19041
2020-09-13 22:14:03 -07:00
Stephane Nicoll
b3960cae86 Start building against Spring Data Bean-SR12 snapshots
See gh-23185
2020-09-07 14:38:50 +02:00
Stephane Nicoll
d2a6035914 Start building against Spring Data Lovelace-SR20 snapshots
See gh-23194
2020-09-07 14:38:25 +02:00
Stephane Nicoll
e35cf5219a Start building against Reactor Californium-SR21 snapshots
See gh-23190
2020-09-07 14:38:18 +02:00
Stephane Nicoll
88e0c280ce Start building against Spring Framework 5.0.19 snapshots
See gh-23181
2020-09-07 14:36:01 +02:00
Johnny Lim
bd2874de49 Fix broken links to Micrometer registry docs
See gh-22704
2020-08-03 14:58:22 +02:00
Nelson Osacky
585aed8f8f Add generated-snippets as output to test goal
The generated snippets were not declared as an output to the
`spring-boot-actuator-autoconfigure` test goal so when the test was
pulled from the cache, it did not contain the `generated-snippets`
directory. This directory is required as an input to the Asciidoctor
plugin.

See gh-22555
2020-07-25 08:26:15 +01:00
Nelson Osacky
0494007893 Disable extra scans for full profile.
The extra scans were not disabled for the full profile, only the
regular profile.

See gh-22550
2020-07-24 14:27:32 +01:00
Nelson Osacky
e41a53cf85 Add Gradle Enterprise Extension
This adds build caching and build scans.

The changes required disabling scans when using the maven invoker
plugin in order to not cause duplicate build scans when invoking other
maven builds. There is also an empty `.mvn` folder in the
spring-boot-starters project to prevent duplicate build scans as well
since there is no way to pass properties to the maven-javadoc-plugin.

The checkstyle plugin was causing a cache miss with the
`propertyExpansion` because it contains an absolute path. The absolute
path is now ignored and instead the files are added as inputs to the
checkstyle plugin. This only enables the local build cache. The remote
cache is not yet enabled.

On my local machine:

./mvnw clean install build times go from about 30 minutes to about 10 minutes.
./mvnw clean install -Pfull build times go from about 60 minutes to about 13 minutes.

See gh-22089
2020-07-24 11:47:24 +01:00
Andy Wilkinson
698db27a75 Upgrade to Aspectj 1.9.6
Closes gh-22537
2020-07-23 21:02:36 +01:00
Andy Wilkinson
db242794ec Upgrade to Micrometer 1.1.16
Closes gh-22536
2020-07-23 21:02:34 +01:00
Stephane Nicoll
0440a9a78c Upgrade to Groovy 2.5.13
Closes gh-22505
2020-07-23 10:55:47 +02:00
Stephane Nicoll
d9c34d5b84 Upgrade to Spring Integration 5.1.12
Closes gh-22511
2020-07-22 21:35:48 +02:00
Stephane Nicoll
baa6a8aeb1 Upgrade to Spring AMQP 2.1.16
Closes gh-22507
2020-07-22 18:41:46 +02:00
Stephane Nicoll
8b20840a1a Upgrade to Spring Data Lovelace-SR19
Closes gh-22382
2020-07-22 11:08:13 +02:00
Andy Wilkinson
8b8fcb16dc Upgrade to Spring Framework 5.1.17.RELEASE
Closes gh-22370
2020-07-21 10:41:36 +01:00
Andy Wilkinson
636b4a9a81 Upgrade to Reactor Californium-SR20
Closes gh-22371
2020-07-21 10:40:51 +01:00
Andy Wilkinson
6315fe3a61 Upgrade to Spring Session Bom Bean-SR11
Closes gh-22430
2020-07-21 10:40:25 +01:00
Andy Wilkinson
3f8a0b516f Upgrade to Neo4j Ogm 3.1.20
Closes gh-22429
2020-07-21 10:40:24 +01:00
Andy Wilkinson
9baefc5993 Upgrade to Jetty 9.4.30.v20200611
Closes gh-22428
2020-07-21 10:40:22 +01:00
Andy Wilkinson
50b05ac652 Upgrade to Tomcat 9.0.37
Closes gh-22427
2020-07-21 10:40:21 +01:00
Andy Wilkinson
1113d5cc23 Upgrade to Activemq 5.15.13
Closes gh-22426
2020-07-21 10:40:19 +01:00
Andy Wilkinson
775231e3e9 Upgrade to Mysql 8.0.21
Closes gh-22425
2020-07-21 10:40:18 +01:00
Andy Wilkinson
83ca02f16d Upgrade to Netty 4.1.51.Final
Closes gh-22424
2020-07-21 10:40:17 +01:00
Andy Wilkinson
dd9c9fa7be Upgrade to Micrometer 1.1.15
Closes gh-22423
2020-07-21 10:40:16 +01:00
Andy Wilkinson
c166b5b23e Upgrade to Appengine Sdk 1.9.81
Closes gh-22422
2020-07-21 10:40:15 +01:00
Andy Wilkinson
43fd27bb71 Upgrade to Jackson 2.9.10.20200621
Closes gh-22421
2020-07-21 10:40:13 +01:00
Andy Wilkinson
c90dc87b0b Upgrade to Couchbase Client 2.7.16
Closes gh-22420
2020-07-21 10:40:12 +01:00
Andy Wilkinson
179d2c79d6 Avoid trivialising what the reader's learning about
Closes gh-22408
2020-07-20 13:45:41 +01:00
Stephane Nicoll
4a0031a21e Start building against Spring Data Lovelace-SR18 snapshots
See gh-22382
2020-07-17 13:22:02 +02:00
Stephane Nicoll
2658ea76e6 Start building against Reactor Californium-SR20 snapshots
See gh-22371
2020-07-17 10:17:46 +02:00
Stephane Nicoll
c31917daa0 Start building against Spring Framework 5.1.17 snapshots
See gh-22370
2020-07-17 10:17:17 +02:00
Andy Wilkinson
26f591264c Fix handling of NestedServletException with no root cause
Fixes gh-22169
2020-07-07 11:34:25 +01:00
Andy Wilkinson
0b4533659f Use Groovy's bom in spring-boot-dependencies
Closes gh-22084
2020-06-24 10:17:06 +01:00
Stephane Nicoll
49ba5dc6bc Upgrade to Postgresql 42.2.14
Closes gh-21887
2020-06-11 08:44:30 +02:00
Stephane Nicoll
c496f2401f Upgrade to Netty Tcnative 2.0.31.Final
Closes gh-21886
2020-06-11 08:44:29 +02:00
Stephane Nicoll
7dee9e34b5 Upgrade to Spring Kafka 2.2.14
Closes gh-21780
2020-06-11 08:43:39 +02:00
Andy Wilkinson
ea55bb32a2 Upgrade to Spring Data Lovelace-SR18
Closes gh-21774
2020-06-10 19:20:53 +01:00
Andy Wilkinson
4eba8e2dc2 Upgrade to Spring Integration 5.1.11.RELEASE
Closes gh-21777
2020-06-10 19:16:40 +01:00
Stephane Nicoll
5d2a9e9220 Upgrade to Maven Shade Plugin 3.2.4
Closes gh-21814
2020-06-10 10:39:09 +02:00
Stephane Nicoll
8841feb311 Upgrade to Spring Security 5.1.11.RELEASE
Closes gh-21813
2020-06-10 10:22:34 +02:00
Stephane Nicoll
9d80ece9a5 Upgrade to Spring Amqp 2.1.15.RELEASE
Closes gh-21812
2020-06-10 10:22:33 +02:00
Stephane Nicoll
c456b633d5 Upgrade to Postgresql 42.2.13
Closes gh-21811
2020-06-10 10:22:31 +02:00
Stephane Nicoll
b560501c3c Upgrade to Hibernate Validator 6.0.20.Final
Closes gh-21810
2020-06-10 10:22:29 +02:00
Stephane Nicoll
fa9890b381 Upgrade to Jaybird 3.0.9
Closes gh-21809
2020-06-10 10:22:28 +02:00
Stephane Nicoll
357ada7aa0 Upgrade to Jetty 9.4.29.v20200521
Closes gh-21808
2020-06-10 10:22:27 +02:00
Stephane Nicoll
544b688b62 Upgrade to Groovy 2.5.12
Closes gh-21807
2020-06-10 10:22:25 +02:00
Stephane Nicoll
4724839aea Upgrade to Tomcat 9.0.36
Closes gh-21806
2020-06-10 10:22:24 +02:00
Stephane Nicoll
a07ccb0c39 Upgrade to Netty 4.1.50.Final
Closes gh-21805
2020-06-10 10:22:22 +02:00
Stephane Nicoll
27c94bd649 Upgrade to Micrometer 1.1.14
Closes gh-21804
2020-06-10 10:22:21 +02:00
Stephane Nicoll
e88ae68430 Upgrade to Couchbase Client 2.7.15
Closes gh-21803
2020-06-10 10:22:19 +02:00
Stephane Nicoll
79f0e38c54 Start building against Spring Data Lovelace-SR18 snapshots
See gh-21774
2020-06-09 16:16:34 +02:00
Stephane Nicoll
9a457527fd Polish test 2020-06-09 16:00:50 +02:00
Stephane Nicoll
36a05375c7 Start building against Spring Kafka 2.2.14 snapshots
See gh-21780
2020-06-09 14:23:58 +02:00
Stephane Nicoll
445a9a461b Start building against Spring Integration 5.1.11 snapshots
See gh-21777
2020-06-09 14:23:58 +02:00
Stephane Nicoll
de6ee358fb Upgrade to Spring Framework 5.1.16
Closes gh-21729
2020-06-09 13:36:32 +02:00
Stephane Nicoll
10e0ca7dce Upgrade to Reactor Californium-SR19
Closes gh-21728
2020-06-09 09:01:13 +02:00
Andy Wilkinson
5dce945e29 Document dispatcher-types configuration for secured error pages
Closes gh-19293
2020-06-08 17:06:42 +01:00
Andy Wilkinson
c96455f7cf Remove . from CLI's classpath on Unix-like platforms
Previously, the spring bash script added . to the classpath but the
Windows spring.bat script did not. This commit aligns the classpath
of the two scripts by removing . from the classpath in the bash
script.

Fixes gh-19910
2020-06-08 14:40:14 +01:00
Andy Wilkinson
020a47ba3e Document support for Gradle 5
Closes gh-15358
2020-06-08 14:29:07 +01:00
Andy Wilkinson
6a9450ee8b Polish 2020-06-08 11:34:56 +01:00
Phillip Webb
70e0a27949 Drop the use of the term "white list"
Closes gh-21737
2020-06-07 10:22:35 -07:00
Stephane Nicoll
d4c8fa9b2a Start building against Spring Framework 5.1.16 snapshots
See gh-21729
2020-06-07 10:37:47 +02:00
Stephane Nicoll
0b0187cd0d Start building against Reactor Californium-SR19 snapshots
See gh-21728
2020-06-06 08:48:15 +02:00
Phillip Webb
b5fe3c3494 Refine YAML type restriction error
Closes gh-21596
2020-06-02 22:46:47 -07:00
Phillip Webb
95031295b9 Restore TomcatReactiveWebServerFactoryTests
Restore tests that were previously ignored due to a framework bug.

Closes gh-19702
2020-06-01 14:19:20 -07:00
Phillip Webb
587b840666 Restrict use of custom YAML types
Update `YamlJsonParser` and `OriginTrackedYamlLoader` to ensure that
custom types cannot be loaded.

Closes gh-21596
2020-05-27 16:36:46 -07:00
Andy Wilkinson
fdc63d71fe Use HTTPS when linking to groovy-lang.org
Closes gh-21466
2020-05-15 16:18:23 +01:00
Stephane Nicoll
efc9978362 Document use case of splitting auto-configuration and starter
Closes gh-20686
2020-05-08 16:55:47 +02:00
Stephane Nicoll
1a4f6df0a3 Upgrade to Spring Ldap 2.3.3.RELEASE
Closes gh-21342
2020-05-07 14:11:24 +02:00
Stephane Nicoll
66afe280cb Upgrade to Spring Security 5.1.10.RELEASE
Closes gh-21346
2020-05-07 09:32:15 +02:00
Stephane Nicoll
293cd6edb9 Upgrade to Jetty El 8.5.54
Closes gh-21331
2020-05-06 15:21:58 +02:00
Stephane Nicoll
6c8f0a0082 Upgrade to Hibernate 5.3.17.Final
Closes gh-21330
2020-05-06 15:21:56 +02:00
Phillip Webb
df70c42f98 Allow classpath wildcards with Java 11 or above
Update `StaticResourceJars` to catch both `IOException` and
`InvalidPathException` when checking URLs. Prior to this commit only
`IOException` was caught which worked on Java 8 but not Java 11 or
above.

Fixes gh-21312
2020-05-05 12:10:31 -07:00
Stephane Nicoll
5292b3a693 Upgrade to Spring Integration 5.1.10
Closes gh-20941
2020-04-30 15:22:41 +02:00
Stephane Nicoll
3e6b62b043 Upgrade to Spring Kafka 2.2.13
Closes gh-20988
2020-04-29 14:20:59 +02:00
Stephane Nicoll
524d316500 Upgrade to Spring AMQP 2.1.14
Closes gh-20939
2020-04-29 14:20:39 +02:00
Stephane Nicoll
9e88af9703 Upgrade to Spring Data Lovelace-SR17
Closes gh-20940
2020-04-28 15:36:16 +02:00
Stephane Nicoll
5dc82eda53 Upgrade to Spring Framework 5.1.15
Closes gh-20938
2020-04-28 15:35:08 +02:00
Phillip Webb
50e9674631 Backport "Attempt to prevent JarFiles from being left open"
Update `JarFile` so that `super.close()` is called early so that the
file is not left open. Since we re-implement `JarFile` methods to work
directly on the underlying `RandomAccessDataFile`, it should be safe
to close immediately.

Closes gh-21177
2020-04-27 19:03:52 -07:00
Phillip Webb
e2705b2cfd Throw exception if classpath*: is used
Update `ConfigFileApplicationListener` to throw a better exception if
`classpath*:` is used as a location.

Closes gh-21168
2020-04-27 13:42:40 -07:00
Stephane Nicoll
16005c608f Upgrade to Reactor Bom Californium-SR18
Clsoes gh-20937
2020-04-27 14:28:43 +02:00
Stephane Nicoll
3ea0b4198b Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-21167
2020-04-27 09:38:51 +02:00
Stephane Nicoll
a7e3257e7f Upgrade to Xmlunit2 2.6.4
Closes gh-21166
2020-04-27 09:38:50 +02:00
Stephane Nicoll
cac0407762 Upgrade to Spring Ws 3.0.9.RELEASE
Closes gh-21165
2020-04-27 09:38:49 +02:00
Stephane Nicoll
4e93115b05 Upgrade to Spring Session Bom Bean-SR10
Closes gh-21164
2020-04-27 09:38:48 +02:00
Stephane Nicoll
0697b3acb4 Upgrade to Spring Security 5.1.9.RELEASE
Closes gh-21163
2020-04-27 09:38:47 +02:00
Stephane Nicoll
f24351d12a Upgrade to Spring Batch 4.1.4.RELEASE
Closes gh-21162
2020-04-27 09:38:46 +02:00
Stephane Nicoll
c3c5b444e7 Upgrade to Postgresql 42.2.12
Closes gh-21161
2020-04-27 09:38:45 +02:00
Stephane Nicoll
25fb48d0e3 Upgrade to Neo4j Ogm 3.1.19
Closes gh-21160
2020-04-27 09:38:44 +02:00
Stephane Nicoll
067a07386a Upgrade to Mimepull 1.9.13
Closes gh-21159
2020-04-27 09:38:43 +02:00
Stephane Nicoll
e6b17bc5b8 Upgrade to Infinispan 9.4.19.Final
Closes gh-21158
2020-04-27 09:38:41 +02:00
Stephane Nicoll
9bb16e44b0 Upgrade to Hibernate Validator 6.0.19.Final
Closes gh-21157
2020-04-27 09:38:40 +02:00
Stephane Nicoll
191a4e5a51 Upgrade to Hibernate 5.3.16.Final
Closes gh-21156
2020-04-27 09:38:39 +02:00
Stephane Nicoll
19826847d4 Upgrade to Freemarker 2.3.30
Closes gh-21155
2020-04-27 09:38:38 +02:00
Stephane Nicoll
46fe25480c Upgrade to Jetty 9.4.28.v20200408
Closes gh-21154
2020-04-27 09:38:37 +02:00
Stephane Nicoll
ce4001c54b Upgrade to Janino 3.0.16
Closes gh-21153
2020-04-27 09:38:36 +02:00
Stephane Nicoll
a9a3845168 Upgrade to Groovy 2.5.11
Closes gh-21152
2020-04-27 09:38:35 +02:00