Commit Graph

3481 Commits

Author SHA1 Message Date
Easwar Swaminathan 7745e521ff
meshca: Use grpc suffix for grpc specific generated code. (#3954) 2020-10-13 13:51:00 -07:00
ZhenLian bc36dc2cbd
advancedtls: fix build on version prior to 1.14 (#3950)
* advancedtls: fix build on version prior to 1.14
2020-10-13 12:30:16 -07:00
ZhenLian 3c400e7fcc
advancedtls: clean up test files and shared code (#3897)
* advancedtls: clean up test files and shared code
2020-10-10 13:47:49 -07:00
ZhenLian 84e85f71c9
internal/credentials: fix a bug and add one more helper function SPIFFEIDFromCert (#3929)
* internal/credentials: fix a bug and add one more helper function
2020-10-09 12:57:50 -07:00
Piyush Mishra 9abcdab70a
cmd/protoc-gen-go-grpc: fix method name in interceptor info (#3889) 2020-10-09 10:03:07 -07:00
Easwar Swaminathan 06c094c3ab
xds/client: Process security configuration from Cluster resource (#3931) 2020-10-08 15:50:51 -07:00
Garrett Gutierrez f0db9671c2
Change version to 1.34.0-dev (#3941) 2020-10-08 13:41:00 -07:00
Menghan Li 5af60402cd
lrs: add Store.Stats() to report loads for multiple clusters (#3905)
- unexport `perClusterStore` and it's `stats()`
- add `Store.Stats(clusterNames)` to report loads for the given clusters
  - refactor store's map to a two layer map
- move `lastLoadReportAt` from client ton the load store, because a client can now have multiple clusters, each with a different `lastLoadReportAt`
  - all tests will ignore `ReportInterval` when comparing Data
2020-10-07 10:39:58 -07:00
George Kechagias 7464f756ae
channelz: remove redundant case from AddTraceEvent and remove caps from severities (#3925)
Rename UNKNOWN and INFO severities removing caps to match that of Warning and Error severities.
Remove redundant case from AddTraceEvent switch-case.
2020-10-07 08:50:23 -07:00
Easwar Swaminathan c07366085d
xds: Cleanup CDS balancer code and tests. (#3916) 2020-10-06 16:16:56 -07:00
Sorah Fukumori 9a3c02f983
http2_client: fix reader segfault on PROTOCOL_ERRORs (#3926) 2020-10-06 14:21:57 -07:00
Easwar Swaminathan dad518ae5e
xds: Refactor/cleanup xds client tests. (#3920) 2020-10-05 08:36:34 -07:00
Doug Fawley b2c5f4a808
stalebot: send first ping after 6 days (#3923) 2020-10-02 12:40:53 -07:00
Easwar Swaminathan d5280589eb
xds/bootstrap: Use correct format for "certificate_providers" field. (#3922) 2020-10-02 12:31:14 -07:00
Doug Fawley 8fbea72764
cmd/protoc-gen-go-grpc: add --version flag support (#3921) 2020-10-02 11:27:35 -07:00
Gaurav Gahlot d9063e7af3
standardized experimental warnings (#3917) 2020-10-02 09:11:08 -07:00
Easwar Swaminathan bebda80b05
internal/balancer: Remove a TODO in stub balancer. (#3919) 2020-10-01 16:12:24 -07:00
Easwar Swaminathan 2e2833c718
xds: Fix resource type to URL mapping for v3 client. (#3915) 2020-09-30 11:27:50 -07:00
Doug Fawley e55dd3e192
cmd/protoc-gen-go-grpc: re-add proto3 'optional' support (#3914) 2020-09-30 09:59:26 -07:00
Easwar Swaminathan bb64fee312
xds: Replace a select with an if statement. (#3912) 2020-09-29 17:53:06 -07:00
Easwar Swaminathan 866de13d56
meshca: CertificateProvider plugin implementation. (#3871) 2020-09-29 17:40:30 -07:00
Easwar Swaminathan 6f47205d8c
credentials/xds: Implementation of client-side xDS credentials. (#3888) 2020-09-29 16:36:05 -07:00
Doug Fawley 02cd07d9bb
cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07:00
Stephen L. White e6c98a478e
stats: include message header in stats.InPayload.WireLength (#3886) 2020-09-25 10:06:54 -07:00
Easwar Swaminathan 21f897eab8
xds: Add bootstrap support for certificate providers. (#3901) 2020-09-24 11:29:52 -07:00
Easwar Swaminathan 4e932bbcb0
xds/testutils: Minor cleanup. (#3898) 2020-09-22 16:00:38 -07:00
Menghan Li 659b82911d
internal: regenerate pb.go (#3893) 2020-09-22 15:17:47 -07:00
Easwar Swaminathan e4ae8742c7
xds/cdsbalancer: Use testutils.TestClientConn. (#3899) 2020-09-22 15:01:00 -07:00
Menghan Li 0dc9986169
lrs: add a layer for clusters in load store (#3880) 2020-09-22 14:26:20 -07:00
Easwar Swaminathan 64c4c37350
xds: Use a grpcsync.Event to represent close in CDS LB policy. (#3894) 2020-09-22 10:00:31 -07:00
Menghan Li 400b4a0a6d
binarylog: export Sink (#3879) 2020-09-22 09:52:20 -07:00
Easwar Swaminathan d81def4352
xds: Rename xdsclientWrapper type to xdsClientWrapper in EDS. (#3896) 2020-09-21 16:59:02 -07:00
Easwar Swaminathan 924b48b046
xds: Use a grpcsync.Event to represent close in EDS LB policy (#3895) 2020-09-21 16:58:50 -07:00
ZhenLian 0f7e218c2c
advancedtls: add fields for root and identity providers in API (#3863)
* add provider in advancedtls API for pem file reloading
2020-09-17 12:08:03 -07:00
Menghan Li 4270c3cfce
xds bootstrap: support insecure and make Creds required (#3881) 2020-09-17 11:05:45 -07:00
Tzu-Chiao Yeh bf9584e105
internal/transport: handle h2 errcode on header decoding (#3872)
Handles HTTP2 error code when malformed request/response header appears.
Fixes: #3819
2020-09-17 10:34:27 -07:00
Easwar Swaminathan 9ec6f11015
xds: Exit from run() goroutine when resolver is closed. (#3882) 2020-09-16 14:53:49 -07:00
Doug Fawley 4bee4dbc7b
protoc-gen-go-grpc: update README.md to reflect recent changes (#3883) 2020-09-16 14:28:16 -07:00
Doug Fawley ff9dd65c90
protoc-gen-go-grpc: generate interfaces optionally; remove NewFooService (#3876) 2020-09-16 10:15:56 -07:00
Easwar Swaminathan a3e63e87bd
alts: Specify the build constraints correctly. (#3877)
From the official docs:
A build constraint is evaluated as the OR of space-separated options.
Each option evaluates as the AND of its comma-separated terms.
2020-09-15 09:53:04 -07:00
Easwar Swaminathan 32e7099ccc
grpctest: Minor improvements to tlogger. (#3874)
* Simplify the logic to get the file and line number or call site
* Add a monotonic clock value as a suffix. This helps with debugging of test failures due to timing issues.
2020-09-14 17:05:51 -07:00
Easwar Swaminathan 86d33e463b
connectivity: Get rid of unused Reporter interface. (#3875) 2020-09-14 16:52:49 -07:00
Menghan Li 6591123024
internal: rename package for test alone file (#3855)
Otherwise glaze complains.
2020-09-10 13:10:57 -07:00
Sean R. Abraham 4a2248a42b
Remove grpc_cli build instructions (#3868)
The instructions didn't work, as the build process has changed a bit. It's probably best to just link to the official build instructions to avoid future skew.
2020-09-10 10:18:02 -07:00
Garrett Gutierrez 52029da148
service reflection: include transitive closure for a file (#3851) 2020-09-09 15:37:11 -07:00
Doug Fawley 15157e2664
test: remove funcServer and some uses of NewTestServiceService (#3867) 2020-09-09 13:23:46 -07:00
Menghan Li 8630cac324
xds: update balancer group ID type to string (#3862) 2020-09-02 14:02:33 -07:00
ZhenLian 9a132e444f
advancedtls: add PEMFileProvider implementation for on-file-change credential reloading (#3826)
* add provider for pem file reloading
2020-09-02 00:01:40 -07:00
Easwar Swaminathan 8c8305f8d5
benchmark: Revert to use old certs. (#3860) 2020-09-01 17:59:14 -07:00
Easwar Swaminathan 0b575750a9
credentials/alts: Skip ALTS tests on darwin. (#3859)
Anyways, only linux and windows are supported platforms. Running these
tests on darwin causes a top level `make test` to fail, and one has to
scroll all the way up to realize that it is only these alts tests which
have failed, and not something that one is actively working on.
2020-09-01 17:43:01 -07:00