Commit Graph

306 Commits

Author SHA1 Message Date
Thomas McKernan
bd70fcd69f add GrpcExceptionHandledServerCall to catch exceptions
Signed-off-by: Thomas McKernan <tmeaglei@gmail.com>
2025-05-15 17:08:16 +01:00
Thomas McKernan
3a7bcdf4e8 fix main class
Signed-off-by: Thomas McKernan <tmeaglei@gmail.com>
2025-05-15 17:08:16 +01:00
Thomas McKernan
943c72abf5 add grpc server kotlin tests
Signed-off-by: Thomas McKernan <tmeaglei@gmail.com>
2025-05-15 17:08:16 +01:00
Dave Syer
a59a0961cc Tweak from workflows 2025-05-15 16:58:19 +01:00
Dave Syer
0720e8f647 Now we need a signing key? 2025-05-15 08:06:16 +01:00
Dave Syer
8f706665df Change contract of StubFactory
Instead of an instance method we now use a static supports() method
to determine if a factory matches a given stub type. This is better
for the lifecycle since bean definitions have to be created before
and factory can actually be created and autowired.

It's a slightly unusual contract, but it makes it much harder to
make a mistake with lifecycle, and much easier to install custom
StubFactory instances (as @Beans)
2025-05-12 17:18:59 +01:00
Dave Syer
08957115bd Support for static supports() method in StubFactory 2025-05-09 09:19:38 +01:00
Dave Syer
db2f5fa165 Only add client beans if factory supported 2025-05-08 17:43:37 +01:00
Dave Syer
031616d668 Revert pointless whitespace change 2025-05-08 16:49:07 +01:00
Dave Syer
9fe003c6d1 Allow StubFactory to be configured in application 2025-05-08 16:41:35 +01:00
Dave Syer
2d3ddfca12 Remove redundant annotation 2025-05-08 15:58:42 +01:00
Andrey Litvitski
ae2566c938 remove redundant gradle wrappers in grpc-client sample
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
2025-05-06 14:02:51 +01:00
Yanming Zhou
93d42c2b08 Polish README.md
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-04-25 11:20:50 -05: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
Dave Syer
8b9fc7757d Fix bug in exception interceptor 2025-04-25 15:24:41 +01:00
Tran Ngoc Nhan
e8d109fb00 Fix typos in couple of asciidoc files
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-24 14:59:37 -05: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
d52079e375 Be explicit about version of auth server 2025-04-23 10:13:56 +01:00
Dave Syer
b507f29d41 Fix version in docs 2025-04-17 15:57:11 +01:00
Dave Syer
132fd2c364 Use new class in condition 2025-04-17 15:13:28 +01:00
Dave Syer
9b8fe448e4 Upgrade grpc and protobuf 2025-04-17 07:33:20 +01:00
Dave Syer
a071dbfb9a Configure integration test to go quicker
Signed-off-by: Dave Syer <david.syer@broadcom.com>
2025-04-16 14:50:13 +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
Nikola Kološnjaji
3e7c64c6b4 Update whats-new.adoc
Signed-off-by: Nikola Kološnjaji <nikkol1985@yahoo.com>
2025-04-10 16:09:35 +01:00
Tran Ngoc Nhan
eeb625b452 Remove obsolete code
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-09 14:41:21 +01:00
Schuyler Metcalf
a99ac62fe9 Fixes issue with maxIncomingMessageSize not being set correctly for clients
Signed-off-by: Schuyler Metcalf <schuyler.metcalf@hey.com>
2025-04-08 13:00:46 +01:00
Tran Ngoc Nhan
b7d8fbe2e6 Fix client reference url
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-07 09:35:40 +01:00
Tran Ngoc Nhan
32f2c75d09 Fix typo javadoc
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-07 09:35:19 +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
07e9e14d26 More care taken with starting netty server in webapp 2025-04-04 15:32:19 +01:00
Dave Syer
a39904ca1c Add a test 2025-04-04 13:49:24 +01:00
Dave Syer
a86db67db9 Add extra defensive condition 2025-04-03 15:43:10 +01:00
Dave Syer
28465263d7 Clarify bundle meaning 2025-04-03 13:30:53 +01:00
Dave Syer
d93ad2b865 Add more detail about disabling the servlet 2025-04-03 13:22:04 +01:00
Dave Syer
a3d7ba643d Split bean registration and creation for stubs
GrpcClientRegistry was responsible for both, which causes lifecycle
issues when users don't follow recommendations. This change
pushes the bean registration firmly down a level into an
ImportBeanDefinitionRegistrar. Also helps with AOT because the AOT
processor only runs the IBDR at build time.
2025-04-03 12:09:23 +01:00
Dave Syer
326c075b36 Ensure only one client is created by default 2025-04-03 11:33:45 +01:00
Dave Syer
97ba123fbf Add composite pattern to GrpcChannelBuilderCustomizer 2025-04-03 09:01:46 +01:00
Dave Syer
3f709fd9f4 Change method signature for exception handler 2025-04-02 17:26:36 +01:00
Schuyler Metcalf
6af7f41ebd Removes restriction on InProcessServerFactory to apply only to non web applications
Signed-off-by: Schuyler Metcalf <schuyler.metcalf@hey.com>
2025-04-02 14:57:52 +01:00
Dave Syer
1fb440df68 Disable proxy generation for a test 2025-03-31 13:51:05 +01:00
Dave Syer
4065a6f3a9 Update Spring dependencies 2025-03-28 13:26:16 +00:00
Dave Syer
83d9000770 Update Spring Boot to 3.4.4 2025-03-28 12:03:50 +00:00
Dave Syer
60dac75874 Don't use supplier for customizer 2025-03-28 11:37:53 +00:00
Dave Syer
055688a533 Ensure @Import works with 1 or many 2025-03-27 17:36:46 +00:00
Dave Syer
8b26b8f262 Rename annotation to mirror Spring HTTP interfaces 2025-03-26 08:30:01 +00:00