Commit 46793cf
authored
feat: update grpc-java to the newer version; handle introduced StatusException (#488)
# Description
Update the [grpc-java](https://github.com/grpc/grpc-java/releases) used
to the latest available release - 1.77. It introduces the
StatusException on the BlockingClientCall, add adjustments for this case
as well.
I've run the tests and they all finished successfully:
```
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Java SDK A2A Parent 0.4.0.Alpha1-SNAPSHOT:
[INFO]
[INFO] Java SDK A2A Parent ................................ SUCCESS [ 0.006 s]
[INFO] A2A Java SDK - BOM Test Utilities .................. SUCCESS [ 1.071 s]
[INFO] Java SDK A2A Common ................................ SUCCESS [ 0.211 s]
[INFO] Java SDK A2A Spec .................................. SUCCESS [ 1.999 s]
[INFO] Java SDK A2A HTTP Client ........................... SUCCESS [ 1.993 s]
[INFO] Java SDK A2A Client Transport: SPI ................. SUCCESS [ 0.777 s]
[INFO] Java SDK A2A Client Transport: JSONRPC ............. SUCCESS [ 5.879 s]
[INFO] Java SDK A2A Spec: gRPC ............................ SUCCESS [ 1.466 s]
[INFO] Java SDK A2A Client Transport: gRPC ................ SUCCESS [ 0.058 s]
[INFO] Java SDK A2A Client Transport: JSON+HTTP/REST ...... SUCCESS [ 4.507 s]
[INFO] Java SDK A2A Client ................................ SUCCESS [ 5.255 s]
[INFO] Java SDK A2A Examples: Hello World ................. SUCCESS [ 0.019 s]
[INFO] Java SDK A2A Examples .............................. SUCCESS [ 0.801 s]
[INFO] Java SDK A2A Core .................................. SUCCESS [ 16.824 s]
[INFO] Java A2A SDK Server Tests Common ................... SUCCESS [ 0.094 s]
[INFO] A2A Java SDK - MicroProfile Config Integration ..... SUCCESS [ 5.229 s]
[INFO] Java A2A Reference Server: Common .................. SUCCESS [ 0.451 s]
[INFO] Java SDK A2A Transport: JSONRPC .................... SUCCESS [ 3.347 s]
[INFO] Java A2A Reference Server: JSONRPC ................. SUCCESS [ 31.455 s]
[INFO] Java SDK A2A Examples .............................. SUCCESS [ 1.216 s]
[INFO] A2A Java SDK :: Extras :: Common ................... SUCCESS [ 0.023 s]
[INFO] Java A2A Extras: JPA Database TaskStore ............ SUCCESS [ 15.282 s]
[INFO] Java A2A Extras: JPA Database PushNotificationConfigStore SUCCESS [ 11.814 s]
[INFO] Java A2A Extras: Replicated Queue Manager Parent ... SUCCESS [ 0.001 s]
[INFO] Java A2A Extras: Replicated Queue Manager Core ..... SUCCESS [ 1.550 s]
[INFO] Java A2A Extras: Replicated Queue Manager MicroProfile Reactive Messaging SUCCESS [ 2.447 s]
[INFO] A2A Java SDK - Cloud Deployment Example Server ..... SUCCESS [ 1.379 s]
[INFO] Java A2A Extras: Replicated Queue Manager Tests - Single Instance SUCCESS [ 14.694 s]
[INFO] Java A2A Extras: Replicated Queue Manager Tests - Multi Instance Parent SUCCESS [ 0.001 s]
[INFO] Java A2A Extras: Replicated Queue Manager Tests - Multi Instance Common SUCCESS [ 0.032 s]
[INFO] Java A2A Extras: Replicated Queue Manager Tests - Multi Instance App 1 SUCCESS [ 0.058 s]
[INFO] Java A2A Extras: Replicated Queue Manager Tests - Multi Instance App 2 SUCCESS [ 0.058 s]
[INFO] Java A2A Extras: Replicated Queue Manager Tests - Multi Instance Tests SUCCESS [01:00 min]
[INFO] Java SDK A2A Transport: gRPC ....................... SUCCESS [ 2.817 s]
[INFO] Java A2A Reference Server: gRPC .................... SUCCESS [ 26.423 s]
[INFO] Java SDK A2A Transport: JSON+HTTP/REST ............. SUCCESS [ 1.915 s]
[INFO] Java A2A Reference Server: JSON+HTTP/REST .......... SUCCESS [ 29.314 s]
[INFO] Java SDK A2A TCK Server ............................ SUCCESS [ 1.405 s]
[INFO] A2A Java SDK - BOM ................................. SUCCESS [ 0.015 s]
[INFO] A2A Java SDK - Extras BOM .......................... SUCCESS [ 0.001 s]
[INFO] A2A Java SDK - Reference Implementations BOM ....... SUCCESS [ 0.000 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:16 min
[INFO] Finished at: 2025-11-26T14:02:51Z
[INFO] ------------------------------------------------------------------------
```
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make
sure it goes smoothly:
- [X] Follow the [`CONTRIBUTING` Guide](../CONTRIBUTING.md).
- [X] Make your Pull Request title in the
<https://www.conventionalcommits.org/> specification.
- Important Prefixes for
[release-please](https://github.com/googleapis/release-please):
- `fix:` which represents bug fixes, and correlates to a
[SemVer](https://semver.org/) patch.
- `feat:` represents a new feature, and correlates to a SemVer minor.
- `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking
change (indicated by the `!`) and will result in a SemVer major.
- [X] Ensure the tests pass
- [X] Appropriate READMEs were updated (if necessary)
Fixes #<issue_number_goes_here> 🦕1 parent c154104 commit 46793cf
File tree
4 files changed
+29
-31
lines changed- client/transport/grpc/src/main/java/io/a2a/client/transport/grpc
- spec-grpc/src/main/java/io/a2a/grpc
4 files changed
+29
-31
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | | - | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
198 | | - | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | | - | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
262 | | - | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| |||
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
281 | | - | |
| 282 | + | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
717 | 714 | | |
718 | 715 | | |
719 | 716 | | |
720 | | - | |
721 | | - | |
| 717 | + | |
| 718 | + | |
722 | 719 | | |
723 | 720 | | |
724 | 721 | | |
| |||
739 | 736 | | |
740 | 737 | | |
741 | 738 | | |
742 | | - | |
743 | | - | |
| 739 | + | |
| 740 | + | |
744 | 741 | | |
745 | 742 | | |
746 | 743 | | |
| |||
749 | 746 | | |
750 | 747 | | |
751 | 748 | | |
752 | | - | |
753 | | - | |
| 749 | + | |
| 750 | + | |
754 | 751 | | |
755 | 752 | | |
756 | 753 | | |
| |||
759 | 756 | | |
760 | 757 | | |
761 | 758 | | |
762 | | - | |
763 | | - | |
| 759 | + | |
| 760 | + | |
764 | 761 | | |
765 | 762 | | |
766 | 763 | | |
| |||
792 | 789 | | |
793 | 790 | | |
794 | 791 | | |
795 | | - | |
796 | | - | |
| 792 | + | |
| 793 | + | |
797 | 794 | | |
798 | 795 | | |
799 | 796 | | |
| |||
802 | 799 | | |
803 | 800 | | |
804 | 801 | | |
805 | | - | |
806 | | - | |
| 802 | + | |
| 803 | + | |
807 | 804 | | |
808 | 805 | | |
809 | 806 | | |
| |||
822 | 819 | | |
823 | 820 | | |
824 | 821 | | |
825 | | - | |
826 | | - | |
| 822 | + | |
| 823 | + | |
827 | 824 | | |
828 | 825 | | |
829 | 826 | | |
| |||
0 commit comments