Skip to content

Commit

Permalink
Update grpc-httpjson-transcoding dependencies to the latest. (#35925)
Browse files Browse the repository at this point in the history
Commit Message: Update grpc-httpjson-transcoding dependencies to the
latest 08/30/2024.
Additional Description:
Risk Level: Low
Testing: existing
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Shuo Yang <[email protected]>
  • Loading branch information
shuoyang2016 authored Sep 12, 2024
1 parent 26861ac commit 03db730
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
6 changes: 3 additions & 3 deletions bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -948,13 +948,13 @@ REPOSITORY_LOCATIONS_SPEC = dict(
project_name = "grpc-httpjson-transcoding",
project_desc = "Library that supports transcoding so that HTTP/JSON can be converted to gRPC",
project_url = "https://github.com/grpc-ecosystem/grpc-httpjson-transcoding",
version = "ff41eb3fc9209e6197595b54f7addfa244c0bdb6",
sha256 = "dea66b3d2dfc150373697e25b1327877e0b7480dc2bacfff1e3fd7aa00b12790",
version = "20e58e7ef9c3878ae9fc89123b9aba36d6f98a7f",
sha256 = "2f0ea248c59f51e5376f23590a986813b96076531ffe27a805f7a37407a81a87",
strip_prefix = "grpc-httpjson-transcoding-{version}",
urls = ["https://github.com/grpc-ecosystem/grpc-httpjson-transcoding/archive/{version}.tar.gz"],
use_category = ["dataplane_ext"],
extensions = ["envoy.filters.http.grpc_json_transcoder", "envoy.filters.http.grpc_field_extraction", "envoy.filters.http.proto_message_extraction"],
release_date = "2023-06-07",
release_date = "2024-08-30",
cpe = "N/A",
license = "Apache-2.0",
license_url = "https://github.com/grpc-ecosystem/grpc-httpjson-transcoding/blob/{version}/LICENSE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ using TranscoderPtr = std::unique_ptr<Transcoder>;
using google::grpc::transcoding::TranscoderInputStream;
using TranscoderInputStreamPtr = std::unique_ptr<TranscoderInputStream>;
using envoy::extensions::filters::http::grpc_json_transcoder::v3::UnknownQueryParams;
using google::grpc::transcoding::VariableBinding;

namespace Envoy {
namespace Extensions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,6 @@ namespace Extensions {
namespace HttpFilters {
namespace GrpcJsonTranscoder {

/**
* VariableBinding specifies a value for a single field in the request message.
* When transcoding HTTP/REST/JSON to gRPC/proto the request message is
* constructed using the HTTP body and the variable bindings (specified through
* request url).
* See https://github.com/googleapis/googleapis/blob/master/google/api/http.proto
* for details of variable binding.
*/
struct VariableBinding {
// The location of the field in the protobuf message, where the value
// needs to be inserted, e.g. "shelf.theme" would mean the "theme" field
// of the nested "shelf" message of the request protobuf message.
std::vector<std::string> field_path;
// The value to be inserted.
std::string value;
};

struct MethodInfo {
const Protobuf::MethodDescriptor* descriptor_ = nullptr;
std::vector<const ProtobufWkt::Field*> request_body_field_path;
Expand Down

0 comments on commit 03db730

Please sign in to comment.