Commit Graph

90 Commits

Author SHA1 Message Date
Dave Syer
51c2ee5d1b Recent plugins do not require extra config 2025-05-27 14:22:18 +01:00
Dave Syer
f560c1d75c No need for motd extension in samples 2025-05-26 11:05:11 +01:00
Dave Syer
b70b7e5633 Upgrade plugin 2025-05-26 11:05:11 +01:00
Chris Bono
1a7f05309b Update to Spring Boot 3.5.0
This commit updates to Spring Boot 3.5.0 and also updates
dependency versions that are specified by both spring-grpc and
spring boot as follows:

- jackson from `2.17.2` to `2.19.0`
- junit from `5.10.5` to `5.12.2`
- spring-security from `6.2.6` to `6.4.4`
- micrometer from `1.14.6` to `1.15.0`
- netty from `4.1.118.Final` to `4.1.121.Final`

Signed-off-by: Chris Bono <chris.bono@gmail.com>
2025-05-23 07:17:45 +01:00
Dave Syer
81dd4bde55 Add m2e hints for IDE 2025-05-22 11:04:37 +01:00
Andrey Litvitski
f598916c19 switch maven samples to ascopes/protobuf-maven-plugin protoc plugin (#179)
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
2025-05-21 20:41:53 +01:00
Dave Syer
2edb857dfc SimpleStubFactory has to be more precise about supports() 2025-05-17 08:38:35 +01:00
Dave Syer
c6f765e507 Fix method name in BlockingV2StubFactory
Plus add a test.
2025-05-16 16:43:20 +01:00
Dave Syer
7de96df5bd Default factory for stubs when scanning as documented
Also add failing test. Fixes #172.
2025-05-16 08:42:10 +01:00
Dave Syer
7911f3f57e Revert to snapshots 2025-04-25 15:55:29 +01:00
Dave Syer
5f7447c9db 0.8.0 release 2025-04-25 15:42:35 +01:00
Chris Bono
bf253a7467 Polishing "Update to Spring Boot 3.4.5"
Updates another location in test that was referencing
the previous version of Spring Boot.
2025-04-24 14:48:54 -05:00
Andrey Litvitski
f820eab1ad Update to Spring Boot 3.4.5
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
2025-04-24 14:39:34 -05:00
Dave Syer
eb82d462e9 Rename explicit references to github org 2025-04-23 10:51:55 +01:00
Dave Syer
9b8fe448e4 Upgrade grpc and protobuf 2025-04-17 07:33:20 +01:00
Dave Syer
3176c7bc50 Revert to snapshots 2025-04-16 08:20:42 +01:00
Dave Syer
c357502aa4 Bump to 0.7.0 2025-04-16 07:39:50 +01:00
Dave Syer
61c16aadd8 Revert to snapshots 2025-04-05 10:06:52 +01:00
Dave Syer
495934ab28 Bump to 0.6.0 2025-04-04 17:54:59 +01:00
Dave Syer
326c075b36 Ensure only one client is created by default 2025-04-03 11:33:45 +01:00
Dave Syer
3f709fd9f4 Change method signature for exception handler 2025-04-02 17:26:36 +01:00
Dave Syer
83d9000770 Update Spring Boot to 3.4.4 2025-03-28 12:03:50 +00:00
Dave Syer
6b12a27d2e Harmonize grpc versions 2025-03-10 17:52:57 +00:00
Andrey Litvitski
ec9eb13004 Add AOT integration test
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
2025-03-10 12:26:34 -05:00
Dave Syer
fe2509d1ac Revert to snapshots 2025-03-10 10:25:10 +00:00
Dave Syer
630e776158 Bump to 0.5.0 2025-03-10 09:09:29 +00:00
Dave Syer
d8995bb59a Add support for @EnableGrpcClients
Automatic bean definition registration for stubs

Fixes #91
2025-03-07 08:56:30 +00:00
Dave Syer
2578d99cd3 Harmonize plugin versions 2025-03-05 14:43:20 +00:00
Chris Bono
0720cb25cb Add Spring Boot compatability check workflow
Adds a GHA workflow to check Spring Boot compatability of the framework.

The workflow exercises the samples and dynamically sets the version of
each samples Spring Boot plugin.

We do the dynamic version setting using the power of Gradle init scripts
and the fact that each of the samples is exposed as a Gradle module.
Doing this has a positive side effect that our samples are kept up to date
for both Maven and Gradle.

Reworks the Gradle aspect of the samples as follows:

- removes settings.xml in each sample in favor of root samples/setting.xml
- removes Gradle wrapper from each sample in favor of root samples/gradlew
- cleans up build.gradle (they were missing dependencies to work)
- adds README-GRADLE.md at samples/

Signed-off-by: Chris Bono <chris.bono@gmail.com>
2025-03-03 18:52:46 +00:00
Dave Syer
b423429b8f Revert to snapshot 2025-03-03 12:47:03 +00:00
Dave Syer
ae46cdffe5 Remove native-image.properties in samples 2025-03-03 10:50:36 +00:00
Dave Syer
28a2c58f78 Bump to 0.4.0
There are some version management issues with 0.3.0 so we
need a release to catch up with changes in Boot.
2025-03-03 09:45:48 +00:00
Dave Syer
d32f13e6ed Match dependencies in gradle build 2025-03-03 08:51:03 +00:00
Andrey Litvitski
1b782256b1 Update to Boot 3.4.3
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
2025-02-24 12:39:35 +00:00
Dave Syer
d6c0298ae0 Prevent call from proceeding if it fails in onReady() 2025-02-07 11:13:20 +00:00
Dave Syer
f8354a61cb Update to Boot 3.4.2 2025-02-04 09:45:11 +00:00
Dave Syer
cdd6ce9a95 Catch exceptions in interceptors as well 2025-01-23 13:39:10 +00:00
Dave Syer
4efd23aa4e Revert to snapshots and add whats new 2025-01-15 09:07:25 +00:00
Dave Syer
406532e44e Bump to 0.3.0 for release 2025-01-15 08:46:48 +00:00
Dave Syer
1559843b43 Exception handler interceptor is ordered correctly
The exception handler interceptor has to be called first so that
it can handle exceptions thrown by other interceptors. Tests up
to now didn't assert that (they focused on exceptions thrown
in services).
2025-01-11 08:45:09 +00:00
Dave Syer
bca2eff2b0 Upgrade grpc-java to 1.69.0 2025-01-06 16:30:51 +00:00
Dave Syer
e0a744ba25 Add stack walker to discover main class 2025-01-06 15:15:23 +00:00
Andrey Litvitski
ddef9007af Disable in-process transport by default and add @AutoConfigureInProcessTransport annotation 2025-01-06 14:07:04 +00:00
Dave Syer
f8c6070eaa Upgrade Spring Boot to latest 2025-01-06 11:23:52 +00:00
Chris Bono
81990f0fd6 Use channel factory API w/o customizer in tests 2025-01-03 22:04:28 +00:00
Chris Bono
b08e11ad39 Improve channel factory API
This commit improves the GrpcChannelFactory createChannel API by
introducing `ChannelBuilderOptions` that can be specified during
channel creation.

Additionally, concrete Netty channel factory implementations have
been added as well as adding type to the GrpcChannelBuilderCustomizer
which helps match customizers to channel factories.
2025-01-03 22:04:28 +00:00
Dave Syer
e979a13ecf Add config for new protoc versions 2024-12-20 14:41:03 +00:00
Dave Syer
e63ed35edf Upgrade to Spring Boot 3.4.0 2024-12-16 11:20:53 +00:00
Dave Syer
560ffdb381 Run test app over TCP not in-process 2024-12-16 11:18:39 +00:00
Dave Syer
413ab2e8a0 Remove unused annotation 2024-12-06 08:39:21 +00:00