Commit 734d062
refactor(server)!: migrate from Application wrappers to Starlette route-based endpoints for jsonrpc (#873)
# Description
This PR refactors the jsonrpc server implementation to expose Starlette
Route components directly (via AgentCardRoutes, JsonRpcRoutes) instead
of requiring full FastAPI or Starlette application wrappers.
Ref #797 🦕
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 2b7108e commit 734d062
30 files changed
Lines changed: 547 additions & 1179 deletions
File tree
- samples
- src/a2a
- compat/v0_3
- server
- apps
- jsonrpc
- rest
- routes
- utils
- tck
- tests
- compat/v0_3
- integration
- cross_version/client_server
- server
- apps/jsonrpc
- routes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
201 | 207 | | |
202 | | - | |
203 | | - | |
204 | 208 | | |
205 | | - | |
206 | 209 | | |
207 | | - | |
| 210 | + | |
| 211 | + | |
208 | 212 | | |
209 | 213 | | |
210 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 36 | | |
41 | 37 | | |
| 38 | + | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 3 | | |
10 | 4 | | |
11 | 5 | | |
12 | 6 | | |
13 | | - | |
14 | 7 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 8 | | |
This file was deleted.
This file was deleted.
0 commit comments