Commit Graph

150 Commits

Author SHA1 Message Date
Zou Nengren 4e63bcab52
test: replace manual.GenerateAndRegisterManualResolver with grpc.WithResolvers (#3700) 2020-06-23 09:49:44 -07:00
Doug Fawley ad51f572fd
protoc-gen-go-grpc: add requirement of embedding UnimplementedServer in services (#3657) 2020-06-04 10:56:13 -07:00
Damien Neil f818fd2a02
all: regenerate .pb.go files using cmd/protoc-gen-go-grpc (#3646)
Change regenerate.sh to use cmd/protoc-gen-go-grpc and rerun it.
This splits the gRPC service definitions into separate files, but
otherwise has no changes.
2020-05-28 13:52:49 -07:00
Menghan Li 30c53e745c
xds: move balancer/resolver registation to package xds (#3640) 2020-05-27 10:14:25 -07:00
Menghan Li 96e5c84cc8
xds: rename resolver scheme to xds (#3621)
https://github.com/grpc/grpc-go/pull/3621
2020-05-19 10:04:23 -07:00
Matjaz Debelak 42e450fade
doc: update "A short introduction to Channelz" url (#3583) 2020-05-07 13:17:02 -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 c7079afb44
lint: fail on missing package comment (#3524)
golint does check for missing package comment, but with low confidence.
golint checks each file, and complains on every file missing package comment, even though another file in the same package has the comment.

This PR adds a golint check with low min_confidence, and filters out false-positives.
2020-04-15 09:59:17 -07:00
Mya Pitzeruse 3038e58ed2
examples: add example to show how to use the health service (#3381) 2020-04-08 10:38:37 -07:00
Menghan Li ba34a8c58b
doc: fix link in xds readme to point gRFC (#3466) 2020-03-18 14:06:38 -07:00
Menghan Li 224056d331
xds: add reflection and health service to example server (#3403) 2020-02-27 13:17:17 -08:00
Menghan Li 0ab367d24a
examples: add client/server to be used for xds examples (#3362) 2020-02-06 14:51:54 -08:00
Doug Fawley b88d2d7465
protobuf: update protoc-gen-go version and generated code (#3345) 2020-01-30 10:23:21 -08:00
Adhityaa Chandrasekar 01d201eb8d examples: add profiling (#3265) 2019-12-20 15:33:45 -08:00
Amanda Bozigian 4323b783fd Update README.md (#3231) 2019-12-11 13:12:25 -08:00
Doug Fawley 2cb07fcd90
resolver: rename Option to Options, leaving type aliases for now (#3175) 2019-11-12 15:23:46 -08:00
Michael Le 8988da6e70 examples: add examples regression test script (#3118) 2019-10-31 13:11:53 -07:00
Menghan Li 5367efb805
cleanup: no x/net/context (#3120)
Manual change + mockgen
2019-10-29 13:06:26 -07:00
Quang Le Hong d08614fd39 examples: add UnimplementedGreeterServer in debugging example (#3079) 2019-10-05 15:38:30 -07:00
Doug Fawley 50c4579fc2
examples: add Unimplemented___Server to all example servers (#3071) 2019-10-04 10:54:09 -07:00
AbserAri 3778847a73 examples: create an example for enabling and configuring retry (#3028) 2019-10-03 16:04:43 -07:00
Adhityaa Chandrasekar 230def7691 docs: fix debugging README typo (#3037) 2019-09-24 16:00:30 -07:00
Doug Fawley e2cfd1c28f
internal: update proto library version (#3025)
Also, two fixes:

- Fix long-standing `.travis.yml` bug where `VET_SKIP_PROTO` was not `export`ed (so not seen by `vet.sh`).
- Update `vet.sh` to work with new `goimports -l` that does not print a `:` after filenames.
2019-09-17 13:49:26 -07:00
lyuxuan 712624e686
examples: note about ALTS special access permission on GCP (#2846) 2019-06-20 13:39:07 -07:00
Doug Fawley 3910b873d3
bar: add ability to update resolver state atomically and pass directly to the balancer (#2693) 2019-03-22 10:48:55 -07:00
Nguyen Quang Huy 871b88ce2e doc: fix typos (#2655) 2019-02-25 10:31:22 -08:00
Nguyen Quang Huy 9c297a48bb examples: remove duplicated words (#2654) 2019-02-25 10:07:04 -08:00
Muhammad Falak R Wani ae7b4f21da examples: correct typo in keepalive example (#2645) 2019-02-21 13:09:24 -08:00
Doug Fawley 29c406a5bd
examples: add keepalive example (#2637) 2019-02-14 16:58:00 -08:00
Menghan Li 23ef1279c1
doc: fix broken link in auth doc (#2613) 2019-02-07 13:26:12 -08:00
Menghan Li 6086f8d68f
examples: reflection (#2594) 2019-01-25 15:35:01 -08:00
Doug Fawley 9572bbe0f9
cleanup: remove unused symbols (#2581) 2019-01-17 10:14:45 -08:00
Doug Fawley 59acad4c45
cleanup: more simplifications (#2574) 2019-01-16 13:07:56 -08:00
lyuxuan c71aa62423
example: interceptor (#2541)
fix #2483
2019-01-02 10:33:06 -08:00
Menghan Li 36f3126920
example: name_resolving (#2514) 2018-12-27 14:30:17 -08:00
Menghan Li 2197c7b0de
example: load_balancing (#2504) 2018-12-27 14:29:52 -08:00
lyuxuan 0a3dc64b95
example: debugging (#2536)
fixes #2491
2018-12-27 14:03:13 -08:00
Can Guler 25de51fc02
example: errors (#2534)
* Adds readme.

* Fills readme.

* Adds readme.

* Moves error examples.

* Adds port flag.

* Changes the flag for clients.

* Adds package comments.
2018-12-21 16:55:49 -08:00
Doug Fawley f286604fb2 example: cancellation (#2525) 2018-12-21 15:45:49 -08:00
lyuxuan 2cb2074db0
example: authentication (#2531) 2018-12-21 14:43:20 -08:00
Doug Fawley adac1aeabd
example: compression (#2527) 2018-12-21 13:55:59 -08:00
Can Guler 30155c0ba1
example: errors (#2521)
* Adds readme.

* Fills readme.

* Adds readme.
2018-12-20 17:55:12 -08:00
Menghan Li 463950a151
internal: example flag.Parse() and comments (#2526) 2018-12-20 12:43:38 -08:00
lyuxuan d9bc55b745
example: encryption (#2524)
fixes #2487
2018-12-19 16:45:46 -08:00
Can Guler 42df0c551e
examples: deadline (#2494)
* Deadliner service

* Works.

* Uses helloworld.proto.

* Style fix

* Comments

* Uses Echo service and adds streaming example.

* Addresses the comments.

* Adds an error.

* Addresses PR comments.

* Removes port parameter from a function.
2018-12-14 15:36:21 -08:00
Can Guler b74673af89
examples: wait_for_ready (#2503)
* Working example.

* Uses echo server.

* Style fix.

* Changes client streaming implementation.

* Adds README.

* replaces the use of failfast with waitforready.

* Adds package comment.
2018-12-13 16:13:38 -08:00
Menghan Li 9d925ce589
examples: metadata (#2500) 2018-12-13 14:45:14 -08:00
Menghan Li a3af876a09
internal: document example/echo proto (#2517) 2018-12-10 14:56:32 -08:00
Menghan Li 187e357ac1
examples: multiplex (#2477) 2018-12-06 14:02:16 -08:00
Menghan Li 49616eb1a1
examples: add echo proto (#2505) 2018-12-06 10:40:29 -08:00