Commit c8c699a
committed
xds: Send protocol config and request attributes on first message to ext-proc
- Centralize decoration of ProcessingRequest messages within sendToExtProc.
- Ensure ProtocolConfiguration is populated on the very first message dispatched to the external processor.
- Ensure request attributes are collected and attached to the first client-to-server message (either request headers or request body).
- Add Category 3 tests to verify protocol configuration propagation across different processing mode setups.
- Add Category 4 tests to verify request attributes propagation on headers, body, or omitted correctly.1 parent 1824eb7 commit c8c699a
2 files changed
Lines changed: 823 additions & 66 deletions
File tree
- xds/src
- main/java/io/grpc/xds
- test/java/io/grpc/xds
Lines changed: 29 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
445 | 448 | | |
446 | 449 | | |
447 | 450 | | |
| |||
795 | 798 | | |
796 | 799 | | |
797 | 800 | | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
798 | 804 | | |
799 | 805 | | |
800 | 806 | | |
| |||
806 | 812 | | |
807 | 813 | | |
808 | 814 | | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
838 | 860 | | |
839 | | - | |
| 861 | + | |
840 | 862 | | |
841 | 863 | | |
842 | 864 | | |
| |||
0 commit comments