Commit Graph

4050 Commits

Author SHA1 Message Date
Steve Rao 1adf403bb1 netty: remove redundant variable references 2019-11-05 17:48:51 -08:00
Carl Mastrangelo 40bcab5d12 core: use seconds in deadline exceeded string (#6341) 2019-11-05 13:59:20 -08:00
Elliotte Rusty Harold 1ac1dd04b9 Update readme to specify 1.24.1 (#6344) 2019-11-05 13:58:55 -08:00
Eric Anderson 28149944ad netty: Deflake WriteBufferingAndExceptionHandlerTest
It appears the problem is that server.close() was missing sync(), so the
event loop was still processing the closure when the next test started.

This change is more aggressive than it needs to be, but should make it
less bug-prone.

Fixes #5574
2019-11-04 17:52:57 -08:00
sanjaypujare 6d51163933
xds: use ReferenceCountingSslContextProviderMap in TlsContextManager for clients and servers (#6385) 2019-11-04 17:32:48 -08:00
Eric Anderson 4dba65bad4 api: Rename blockingExecutor to offloadExecutor
The API review for #6279 came up with a more meaningful name that
better explains the intent. A setter for the old name was left in
ManagedChannelBuilder to ease migration to the new name by current
users.
2019-11-04 13:16:08 -08:00
Chengyuan Zhang 44c4fee95b
xds: build channel to xDS server with GoogleDefaultChannelBuilder if bootstrap file specifies so (#6362)
This change adds support to build channel to xDS server with Google Default Credentials based on bootstrap file's "channel_creds" field.
2019-11-03 16:12:20 -08:00
ZHANG Dapeng 97d4fa6614
xds: fix lint warning for throwing RuntimeException 2019-11-01 16:52:24 -07:00
Eric Anderson 8b242e1ca1
alts: Check Cipher before declaring Conscrypt working 2019-11-01 12:30:37 -07:00
ZHANG Dapeng b5e890bb72
alts: fix ComputeEngineChannelBuilder class signature 2019-11-01 12:04:52 -07:00
Chengyuan Zhang c931c87430
xds: refactor gRPC's data types for envoy proto messages (#6361)
This change cleans up the definitions of gRPC's data types for envoy's proto messages. These data types carry only information needed for gRPC's logic extracted from envoy's proto messages. Each data type has a static method to convert from its corresponding envoy's proto.
2019-11-01 10:08:20 -07:00
Jihun Cho 296440a4db interop-testing,benchmarks: publish tar, zip 2019-10-31 17:12:30 -07:00
Jihun Cho cd4b4b0fc5 core: remove unused dep, fix broken javadoc link 2019-10-31 10:43:42 -07:00
sanjaypujare b1eb48a910
xds: reference counting map for SslContextProvider needed for TlsContextManager (#6350) 2019-10-31 10:40:19 -07:00
Elliotte Rusty Harold 4048716795 all: Update to latest version of auth libraries (#6360)
all: Update to latest version of auth libraries
2019-10-30 13:25:49 -07:00
Chengyuan Zhang 39af8690a7
xds: refactor Bootstrapper implementation to be more use friendly (#6339)
Existing Bootstrapper is an eagerly loaded singleton and reading bootstrap file is done when first time referencing Boostrapper class. This is not use friendly for error propagation.
This change added an instance method Bootstrapper#readBootstrap() for reading the bootstrap file. Instead of making the Bootstrapper instance a singleton, make the bootstrap data (aka, BootstrapInfo) a singleton. Now reading the bootstrap file happens when the first Bootstrapper instance first time calling Bootstrapper#readBootstrap().
2019-10-30 12:14:00 -07:00
Tomo Suzuki 3134df176a all: upgrade to Mockito 2.28.2 (#6355) 2019-10-30 11:07:50 -07:00
Ran cba6472603
all: Upgrade OpenCensus version (#6359) 2019-10-30 10:47:43 -07:00
raozihao c22e04223b examples: add missing annotation 2019-10-30 09:59:36 -07:00
sanjaypujare d04529256a
xds: rename SecretProvider to SslContextProvider and make it non-generic (#6349) 2019-10-29 11:25:10 -07:00
raozihao da1231abd8 examples:remove unused import statement 2019-10-29 09:59:48 -07:00
Eric Gribkoff ec46b932d6 Re-add ericgribkoff to current maintainer list (#6308) 2019-10-28 23:30:24 -07:00
sanjaypujare d6b64bbf80
xds: add sds.proto to imported envoy proto files (#6346) 2019-10-28 15:51:27 -07:00
Ran 258a95d0c4
Revert "stub: ignore unary response msg if status is not OK (#6288)" (#6342)
This reverts commit fe46edac
2019-10-28 10:05:28 -07:00
sanjaypujare 7dbf12fe2a
api,stub : fix 2 typos (CallCredentials2 to CallCredentials and javadoc comment in AbstractStub) (#6343) 2019-10-28 10:03:49 -07:00
Chengyuan Zhang c66c26805f
xds: define XdsClient interface (#6303)
Defines an XdsClient interface, which is the blueprint for the class that encapsulates all of the logic for communicating with the xDS server. Also defines watcher interfaces for watching CDS/EDS updates.
2019-10-24 16:46:20 -07:00
sanjaypujare 48b41dce9e
xds: Client and server proto negotiators and handlers added to SdsProtocolNegotiators (#6319) 2019-10-24 15:27:53 -07:00
Jihun Cho 30f8f26f7a okhttp: use FINE log for pure IOExceptions 2019-10-24 15:17:16 -07:00
Jihun Cho c166ec2c4e netty: use FINE log for pure IOExceptions 2019-10-24 15:17:16 -07:00
Ran 03c75e180c
github: wrap non-title content into comment blocks. (#6331) 2019-10-24 10:02:44 -07:00
Kun Zhang 47d798bbec
Start 1.26.0 development cycle (#6329) 2019-10-23 15:27:22 -07:00
ZHANG Dapeng 38952b0b38
grpclb: cancel stream instead of halfClose when balancer shutdown
Previously, if the remote balancer doesn't close the stream after receiving the half-close, the OOB channel will hang there forever. It's safer to always cancel on the client-side so that the OOB channel can be cleaned up timely, regardless of what the remote balancer does.
2019-10-23 12:05:24 -07:00
ZHANG Dapeng b009e92156
xds: Bump perfmark to 0.19.0
Resolves #6217
2019-10-22 16:55:39 -07:00
Steve Rao d1411b205c examples: adjust comment (#6314) 2019-10-22 15:45:42 -07:00
Jihun Cho 2eb3f8c34e
stub,compiler: Rollback Abstract{Future,Blocking,Async}Stub (#6317)
rollback of #6304 & #6196
2019-10-22 13:27:30 -07:00
Carl Mastrangelo f2d0f87d2e compiler: set safe and idempotent bits on method descriptors 2019-10-22 10:59:11 -07:00
Carl Mastrangelo 4503a233f4 api: stabilize safe and idempotent methods in MethodDescriptor 2019-10-22 10:59:11 -07:00
sanjaypujare ed845991db
xds: remove unused SecretManager code based on separate TlsCertificate and CertificateValidationContext secrets (#6310) 2019-10-21 16:45:45 -07:00
ZHANG Dapeng 13fad99549
xds: remove gogoproto dependency
Since e7f0b7176e and 1dd72ab043 , gogoproto is not a dependency anymore.
2019-10-21 15:42:27 -07:00
sanjaypujare f07fcd7d7b
xds: TlsContextManager refactoring to match its usage; add tests for TlsContextManager (#6297) 2019-10-21 15:07:35 -07:00
ZHANG Dapeng 5cb67d6399
xds: remove invalid srcDir third_party/protoc-gen-validate/src/main/proto
The directory third_party/protoc-gen-validate/src/main/proto was removed in #6177.
2019-10-21 14:24:17 -07:00
Jihun Cho ae11b9facc
api,core,stub: fix lint errors (#6305) 2019-10-18 17:30:00 -07:00
Jihun Cho ecbc5e4f47
stub: add RunWith for AbstractStub tests (#6304) 2019-10-18 16:30:48 -07:00
Chengyuan Zhang 9dce879742
xds: add fields for EDS server and LRS server in XdsConfig (#6287) 2019-10-18 13:33:56 -07:00
Jihun Cho eef47b26b8
core,grpclb: DnsNameResolver will use srv record by default if grpclb (#6298) 2019-10-18 13:00:47 -07:00
Chengyuan Zhang c0f91efffb
xds: import http_connection_manager proto from envoy repo (#6301) 2019-10-18 11:00:11 -07:00
Chengyuan Zhang b5ddf3ef08
xds: import proto files for CDS, LDS, RDS from envoy repo (#6292) 2019-10-17 18:29:07 -07:00
Chengyuan Zhang 1dd72ab043
xds: update envoy proto version to f709434b37e9ff74666d5b854aa11fb2f1ec37f3 (#6291) 2019-10-17 17:23:40 -07:00
Ran fe46edacea
stub: ignore unary response msg if status is not OK (#6288)
* stub: ignore unary response msg if status is not OK

* stub: throw if no msg with OK status

* address the comment, improve tests.

* fix error message

* fix error message

* improve naming of the tests

* call onCompleted on success unary flow

* fix test

* handle errors for delayed unary message sending

* clean up the onCompleted/onError logic

* use hasMessageThat to produce better error message when fail
2019-10-17 14:49:53 -07:00
Jihun Cho 45d49a56cc
stub,compiler: generated stub extends Abstract{Async,Future,Blocking}Stub (#6196) 2019-10-17 14:49:24 -07:00