Commit c3ede8f
feat: grpc client for tap aggregator (#583)
* feat: remove jsonrpc client in favor of grpc client
Co-authored-by: Gustavo Inacio <[email protected]>
Signed-off-by: pedro bufulin <[email protected]>
Signed-off-by: Gustavo Inacio <[email protected]>
* refactor: adjust endpoint in test
* chore: cargo fmt
* refactor: remove commented code and unnecessary stop of handler in test
* test: handle error from failed connection
* feat: log out endpoint in case of failed connection attempt
* ci: add TapAggregator server mock to minimize changes to tests
* ci: fix line indent
* ci: force ri rerun
* refactor: cargo fmt
* ci: move mock server start to test-and-coverage
* test: test aggregator server helper function
* test: instantiate server instead of using mock
* ci: remove unnecessary step
* refactor: correct typo
* refactor: correct typo
* refactor: replace space
* refactor: remove unnecessary message
* test: fix hanging test
Signed-off-by: Gustavo Inacio <[email protected]>
* refactor: change expect with context
Signed-off-by: Gustavo Inacio <[email protected]>
* test: use get_grpc_url() to spawn a grpc
Signed-off-by: Gustavo Inacio <[email protected]>
* test: use server_url directly
Signed-off-by: Gustavo Inacio <[email protected]>
* test: update all tests to use get_grpc_url
Signed-off-by: Gustavo Inacio <[email protected]>
* chore: add comment about compression
Signed-off-by: Gustavo Inacio <[email protected]>
---------
Signed-off-by: pedro bufulin <[email protected]>
Signed-off-by: Gustavo Inacio <[email protected]>
Co-authored-by: pedro bufulin <[email protected]>1 parent 9f99732 commit c3ede8f
File tree
8 files changed
+231
-207
lines changed- crates/tap-agent
- src
- agent
- tap/context
8 files changed
+231
-207
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
174 | | - | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
603 | 605 | | |
604 | 606 | | |
605 | 607 | | |
606 | | - | |
607 | | - | |
608 | | - | |
| 608 | + | |
| 609 | + | |
609 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
610 | 623 | | |
611 | 624 | | |
612 | 625 | | |
| |||
1070 | 1083 | | |
1071 | 1084 | | |
1072 | 1085 | | |
1073 | | - | |
| 1086 | + | |
1074 | 1087 | | |
1075 | 1088 | | |
1076 | 1089 | | |
| |||
1192 | 1205 | | |
1193 | 1206 | | |
1194 | 1207 | | |
| 1208 | + | |
| 1209 | + | |
1195 | 1210 | | |
1196 | 1211 | | |
1197 | 1212 | | |
| |||
1206 | 1221 | | |
1207 | 1222 | | |
1208 | 1223 | | |
1209 | | - | |
| 1224 | + | |
1210 | 1225 | | |
1211 | 1226 | | |
1212 | 1227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
| 612 | + | |
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
628 | | - | |
| 627 | + | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
673 | 674 | | |
674 | 675 | | |
675 | 676 | | |
| |||
683 | 684 | | |
684 | 685 | | |
685 | 686 | | |
686 | | - | |
687 | | - | |
| 687 | + | |
| 688 | + | |
688 | 689 | | |
689 | 690 | | |
690 | 691 | | |
| |||
727 | 728 | | |
728 | 729 | | |
729 | 730 | | |
730 | | - | |
731 | | - | |
| 731 | + | |
| 732 | + | |
732 | 733 | | |
733 | 734 | | |
734 | 735 | | |
| |||
0 commit comments