Some gRPC-related tests fail on Windows when the path becomes too
long. The failure is somewhat cryptic:
> protoc: stdout: . stderr: --grpc_out: protoc-gen-grpc: The system cannot find the path specified.
The failure occurs when the path to the protoc-gen-grpc-java
executable gets too long. Our Gradle plugin's tests configure
TestKit to use a directory beneath spring-boot-gradle-plugin/build
and this can result in the path being too long.
This commit updates GradleBuild to use a directory beneath
java.io.tmpdir when the tests are running on Windows and the
absolute path of spring-boot-gradle-plugin/build 80 characters or
more in length.
Closes gh-51169
This commit updates the managed version of Pulsar from
`4.1.3` to `4.2.0` and the test image version from
`3.3.3` to `4.2.0`.
Since Pulsar `4.2.0` standalone mode advertises the container's FQDN
(the container ID) instead of localhost. The Pulsar client reconnects
to the advertised address during servicediscovery, but is unable to
reach the FQDN. Therefore, this also sets the `advertisedAddress`
on the Pulsar testcontainers used by the tests.
See gh-49900
Signed-off-by: onobc <chris.bono@gmail.com>
Add /opt/homebrew/bin as an additional macOS fallback location when
starting external processes.
The previous fallback assumed /usr/local/bin only, which can fail on
Apple Silicon Homebrew setups in restricted PATH environments (for
example, IDE or UI-launched processes).
Update CredentialHelperTests to verify both macOS fallback paths are
attempted.
See gh-49721
Signed-off-by: 1233day <1233day@naver.com>
This commit adds auto-configuration for the generic AMQP 1.0 client
in Spring AMQP 4.1, using Qpid ProtonJ. The auto-configuration provides
an AmqpConnectionFactory as well as an AmqpClient with standard
customizer callbacks. The "spring.amqp" namespace exposes settings to
connect to an AMQP 1.0 compliant broker. Docker compose and
testcontainers support using RabbitMQ have been added too.
Closes gh-49621
This commit restore the service connection support for Testcontainers
implementations that were deprecated as part of TC 2.0. Previously,
only the new location was taken into account.
Closes gh-47796
* Update dependencies name
Modules are prefixed with `testcontainers-`
* Update container classes
Container classes are under `org.testcontainers.<module-name>` package
See gh-47664
Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
Introduce NullMarkedExtension for ArchitectureCheck, which provides
functionality to configure packages to ignore in nullability checks and
to enable or disable the extension.
See gh-47596
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
Spring Data JDBC has deprecated its INSTANCE constants in its MariaDB
and MySQL dialects as the required configuration for the dialect
varies depending on the configuration of the DB.
This commit adapts to this deprecation by changing Boot's
DataJdbcDatabaseDialect to resolve the underlying dialect through a
DB query for its MARIA and MYSQL values.
Closes gh-46062
Projects which don't have JSpecify nullability annotations can opt out
by using
architectureCheck {
nullMarked = false
}
in their build.gradle script.
See gh-46587