Commit Graph

102 Commits (main)

Author SHA1 Message Date
Scott Frederick 361f737086 Fix launcher path in Paketo system tests
See gh-37667
1 year ago
Phillip Webb c22548982a Relocate launcher classes
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.

This update is designed to improve compatibility with future
changes in the loader.

Closes gh-37667
1 year ago
Scott Frederick 9004966353 Merge branch '3.1.x' 1 year ago
Scott Frederick bfc034f9e9 Merge branch '3.0.x' into 3.1.x 1 year ago
Scott Frederick e8a15327da Fix formatting 1 year ago
Scott Frederick 7c23c0b3c2 Merge branch '3.1.x' 1 year ago
Scott Frederick 5ae4ba83a7 Merge branch '3.0.x' into 3.1.x 1 year ago
Scott Frederick 7e29a3c70b Use latest available Gradle version for Paketo system tests
This ensures that the tests will run with the latest Java versions.

See gh-37507
1 year ago
Scott Frederick 845c4dd057 Merge branch '3.1.x'
Closes gh-37556
1 year ago
Scott Frederick 742dae5c3f Merge branch '3.0.x' into 3.1.x
Closes gh-37555
1 year ago
Scott Frederick d57f9b8643 Enable Paketo Builder Tests on Java 21
Closes gh-37507
1 year ago
Scott Frederick c5e221143f Ignore AOT-related deprecation warnings in Paketo system tests
Closes gh-37433
1 year ago
Scott Frederick 63a891790c Merge branch '3.0.x' into 3.1.x
Closes gh-37518
1 year ago
Scott Frederick e5e04d9fbc Merge branch '2.7.x' into 3.0.x
Closes gh-37517
1 year ago
Scott Frederick bd855135b0 Use Paketo Jammy builder in Paketo system tests
Closes gh-37516
1 year ago
Scott Frederick 7d019c612e Merge branch '3.1.x' 1 year ago
Scott Frederick c2146deeda Merge branch '3.0.x' into 3.1.x 1 year ago
Scott Frederick 80e72836ef Disable Paketo builder native system test on Java 20
See gh-35897
1 year ago
Andy Wilkinson ca5bd37e81 Upgrade to Spring Framework 6.1.0-M1
Closes gh-35977
Closes gh-35980
1 year ago
Phillip Webb baddf4c857 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 0fd1c89889 Polish 1 year ago
Scott Frederick aafaf0fab9 Merge branch '3.0.x' into 3.1.x
Closes gh-35898
1 year ago
Scott Frederick 244bf4801b Enable Paketo builder system tests on Java 20
Closes gh-35897
1 year ago
Scott Frederick 779ac09417 Merge branch '3.0.x' into 3.1.x
Closes gh-35895
1 year ago
Scott Frederick 504d9fc50b Fix validation of process args metadata in Paketo system tests
Fixes gh-35894
1 year ago
Scott Frederick 21406e7567 Merge branch '3.0.x'
Closes gh-35356
2 years ago
Scott Frederick 0b2e16e575 Adapt Paketo system tests to changes in the native buildpack
Closes gh-35355
2 years ago
Andy Wilkinson ae86c2f30e Avoid using Jackson 2.15 in system tests that invoke Gradle
Closes gh-35273
2 years ago
Scott Frederick ca26789a82 Merge branch '2.7.x' into 3.0.x
Closes gh-35151
2 years ago
Scott Frederick 963542e7fc Adapt Paketo system tests to changes in the Tomcat buildpack
Closes gh-35148
2 years ago
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2 years ago
Johnny Lim 359076e213 Remove EnabledForJreRange.min in PaketoBuilderTests
See gh-33976
2 years ago
Phillip Webb 2faede6245 Polish 'Migrate from soon to be deprecate SnakeYAML constructor'
See gh-33663
2 years ago
Andrey Somov a095a3a888 Migrate from soon to be deprecate SnakeYAML constructor
Update `LayersIndex` to use constructor that accepts
`LoaderOptions`.

See gh-33663
2 years ago
Scott Frederick 2ddb490290 Polish Paketo builder integration test native app 2 years ago
Phillip Webb f588793445 Update copyright year of changed files 2 years ago
Andy Wilkinson d88f968d22 Merge branch '2.7.x'
Closes gh-33403
2 years ago
Scott Frederick 39ad955969 Update Paketo tests for Platform API 0.10
See gh-32949
2 years ago
Scott Frederick b97324493c Update Paketo tests for Platform API 0.10
When CNB Platform API 0.10 is used, buildpacks will set the process
command as a list of strings instead of a single string.

See gh-32949
2 years ago
Phillip Webb 4be3218cb6 Merge branch '2.7.x' 2 years ago
Andy Wilkinson e6c37d698f Reinstate support for read timeouts with RestTemplateBuilder
Refactor the way `ClientHttpRequestFactory` instances are created in
order to support setting read timeouts.

Prior to this commit, the reflection based approach would call
`setReadTimeout`. As of Spring Framework 6.0, the
`HttpComponentsClientHttpRequestFactory` class no longer supports this
approach. The timeout must be set on the `HttpClientConnectionManager`
used in the `HttpClient` which can be passed in to the constructor.

In order to support this approach, the `ClientHttpRequestFactory` can
now be created using a `Function` rather than a `Supplier`. The
function accepts a `ClientHttpRequestFactorySettings` which provides
the timeout settings to apply.

The `ClientHttpRequestFactories` utility class provides methods to
create `ClientHttpRequestFactory` instances that respect the settings.
Whenever possible, these are created without using reflection.

Fixes gh-32857

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Scott Frederick c22e76632c Add Build-Jdk-Spec to jar and war manifest when building with Gradle
This commit adds a `Build-Jdk-Spec` attribute to the manifest in a
jar or war file built with the Spring Boot Gradle plugin. This
aligns the Gradle plugin's behavior with the default Maven plugin
behavior.

This removes the need to set a `BP_JVM_VERSION` environment variable
when invoking Cloud Native Buildpacks, as the Paketo buildpacks will
honor `Build-Jdk-Spec` in a jar or war manifest to determine the
default JVM version.

Fixes gh-32829
2 years ago
Andy Wilkinson 99edda735e Polish 2 years ago
Scott Frederick 3eb61bf010 Use Paketo early access buildpack in Paketo native system tests
Closes gh-32828
2 years ago
Scott Frederick 3ea18f07fa Polish "Use NBT plugin version from gradle.properties in image tests"
See gh-32643
2 years ago
Johnny Lim 42ab82c0b1 Use NBT plugin version from gradle.properties in image tests
See gh-32643
2 years ago
Brian Clozel a0735eb3fb Migrate remaining usage of httpclient API
This commit migrates our remaining usage of the httpclient 4.x to use
instead httpclient5, now that the 4.x support has been removed in
`RestTemplate`.

Closes gh-32461
2 years ago
Brian Clozel 5fb2a50ad0 Adapt build dependencies to httpclient5
As htttpclient 4.x is not supported anymore by `RestTemplate`, this
commit changes such dependencies to httpclient5 instead. In some cases,
the httpclient 4.x was transitively brought by a non-Spring dependency.

See gh-32461
2 years ago
Scott Frederick b191bf1c09 Merge branch '2.7.x'
Closes gh-32508
2 years ago