Commit Graph

19 Commits

Author SHA1 Message Date
Doug Fawley 778860e606
testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07:00
RedHawker 182e9df160
Grab comment from proto file, similar to protoc-gen-go (#5540) 2022-09-06 12:35:40 -07:00
Easwar Swaminathan 06ad0b8221
internal/proto: remove obsolete test and service_config.pb.go (#5459) 2022-06-23 13:40:41 -07:00
Easwar Swaminathan 71f16a1d4a
internal/proto: pull in recent changes to service config proto (#5424) 2022-06-14 15:32:36 -07:00
Menghan Li dc86d5de85
internal/proto: update generated code (#5332) 2022-04-29 13:13:23 -07:00
Easwar Swaminathan 722367c4a7
proto: regenerate proto to pick up latest (#5237) 2022-03-10 16:29:55 -08:00
Easwar Swaminathan 63af97474c
internal: update service config proto (#5222) 2022-03-03 11:53:17 -08:00
Doug Fawley 546e6aebb4
proto: incorporate recent service config proto definition changes (#5167) 2022-01-25 10:39:55 -08:00
Menghan Li a002994200
internal/proto: update generated code (#5125) 2022-01-12 16:34:12 -08:00
Doug Fawley c285fc70e0
cmd/protoc-gen-go-grpc: update version for release (#5070) 2021-12-20 15:40:38 -08:00
Easwar Swaminathan f45e617974
rls: move pb.gos to grpc/internal/proto/grpc_lookup_v1 (#4993) 2021-11-18 16:51:41 -08:00
Timothy Gu 20636e76a9
protobuf: update protoc to latest version (#4038)
Presently, protoc 3.3.0 (released in 2017) is still being used. This
commit updates the vet.sh script as well as existing generated files to
use protoc 3.14.0 instead.

The only concrete change this brings is updated import paths of
Timestamp and Duration types. However, in practice this is a no-op,
since the types themselves are already aliased to the new import path:

- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/duration#Duration
- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/timestamp#Timestamp
2020-11-16 16:59:46 -08:00
Doug Fawley 4e8458e5c6
protobuf: update all generated code to google.golang.org/protobuf (#3932) 2020-10-21 16:05:44 -07:00
Menghan Li 661d4c9630
internal: update service_config.pb.go (#3584) 2020-04-29 15:00:09 -07:00
Damien Neil 15653fec60
all: refactor .pb.go generation (#3451)
Replace various //go:generate lines and regenerate.sh scripts with a
single, top-level regenerate.sh that regenerates all .pb.go files.

Placing generation in a single script ensures that all files are
generated with similar parameters. The new regenerate.sh uses the
protoc-gen-go version defined in test/tools/go.mod and automatically
handles new .proto files as they are added.

Do some minor refactoring on .proto files: Every file now has a
go_package option (which will be required by a future version of the
code generator), and file imports are all relative to the repository
root.
2020-04-24 08:54:03 -07:00
Menghan Li 5b44288e25
internal: update service config proto (#3389) 2020-02-24 10:44:45 -08:00
Easwar Swaminathan eb53a9e8ba
internal: Update service_config.pb.go (#3365)
To reflect changes made in https://github.com/grpc/grpc-proto/pull/73
2020-02-07 08:37:54 -08:00
Garrett Gutierrez 132187f04c
Modified tests to use tlogger. (#3343)
* Modified tests to use tlogger.

* Fail on errors, with error expectations.

* Added expects and MixedCapsed grpclb_config tests

* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go

* Added ExpectErrorN()

* Removed redundant leak checks

* Fixed new test

* Made tlogger globals into tlogger methods

* ErrorsLeft -> EndTest

* Removed some redundant lines

* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
Menghan Li b09352fc84
xds: add new fields to XDSConfig (#3100)
Fields are added in: https://github.com/grpc/grpc-proto/pull/64

Other changes:
 - Move XDSConfig from internal to balancer
   - Later we will add a separate config for CDS balancer
 - generate service_config.pb.go and test with json generated from proto message
2019-11-05 09:17:10 -08:00