From f7f73de824012c00293e9a39a1386149e3093cdc Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Wed, 13 Jul 2022 16:07:28 +0000 Subject: [PATCH] sip_proxy: add SIP context to TRA requests (#22022) This PR contains the following changes: * SIP Proxy extension TRA API updated to send additional SIP context (method type and from header), so TRA service can use this information for customized affinity management. * Fix an error with decoding of SIP headers with a valid format causing Envoy proxy to crash in case of empty header fields. Risk Level: Low Testing: Unit tests Docs Changes: None Release Notes: None Platform Specific Features: None Signed-off-by: Jonah Murphy Signed-off-by: Adrian Rejas Conde Mirrored from https://github.com/envoyproxy/envoy @ 09549da9045d9c85ffaf851b6d740de0b507708f --- .../filters/network/sip_proxy/tra/v3alpha/tra.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contrib/envoy/extensions/filters/network/sip_proxy/tra/v3alpha/tra.proto b/contrib/envoy/extensions/filters/network/sip_proxy/tra/v3alpha/tra.proto index 52450a64..c3ce9c4e 100644 --- a/contrib/envoy/extensions/filters/network/sip_proxy/tra/v3alpha/tra.proto +++ b/contrib/envoy/extensions/filters/network/sip_proxy/tra/v3alpha/tra.proto @@ -90,6 +90,8 @@ message TraServiceResponse { message CreateRequest { map data = 1; + + map context = 2; } message CreateResponse { @@ -97,6 +99,8 @@ message CreateResponse { message UpdateRequest { map data = 1; + + map context = 2; } message UpdateResponse { @@ -104,6 +108,8 @@ message UpdateResponse { message RetrieveRequest { string key = 1; + + map context = 2; } message RetrieveResponse { @@ -112,6 +118,8 @@ message RetrieveResponse { message DeleteRequest { string key = 1; + + map context = 2; } message DeleteResponse {