ZHANG Dapeng
c90f27f454
stub: add withExecutor API
2017-10-24 14:00:45 -07:00
zpencer
fedef8f866
SECURITY: tcnative version should be 2.0.6.Final ( #3611 )
2017-10-24 13:29:18 -07:00
Eric Anderson
0ef9ec6275
core: Fix naming style of string constants
2017-10-24 11:48:17 -07:00
Eric Anderson
a83fe7bf96
core: Use literal host:port instead of computing
...
Using HostAndPort just complicates the code. HostAndPort is also @Beta,
which is generally fine to use in tests, but is needless here.
2017-10-24 11:47:46 -07:00
zpencer
2eb47eaab7
kokoro: Initial config files for macos ( #3599 )
2017-10-23 16:10:11 -07:00
Eric Anderson
8016a1f0e5
core: Add port to proxy URL for Authenticator
...
Otherwise the scheme (https) is used to determine the port.
2017-10-20 13:50:50 -07:00
Eric Anderson
698ba803d5
Move ProxyDetectorImplTest to core.
...
It should never have been in okhttp.
2017-10-20 13:49:54 -07:00
zpencer
11272f4780
kokoro: add a placeholder script for GAE testing ( #3590 )
2017-10-19 16:26:52 -07:00
Carl Mastrangelo
0ffe759bec
core: add since tags for LoadBalancer and NameResolver
2017-10-19 15:21:54 -07:00
zpencer
976bda8f6e
cronet: add ProxyParam arg to CronetTransportFactory ( #3589 )
2017-10-19 08:55:56 -07:00
Kun Zhang
04f4065a63
core: refresh name resolution when an OOB connection is closed. ( #3588 )
...
This is required by an internal use case. We have already been doing
so for Subchannels.
2017-10-18 15:31:19 -07:00
zpencer
ab0aadf8a7
stub: add missing bazel dep @com_google_errorprone_error_prone_annotations//jar ( #3584 )
2017-10-18 14:18:53 -07:00
zpencer
7df9ae9753
core,netty,okhttp: detect proxy via ProxySelector ( #3021 )
...
This lets us specify the proxy using `-Dhttps.proxyHost=host -Dhttps.proxyPort=port`
along with auth info like username and password.
2017-10-17 19:26:11 -07:00
Carl Mastrangelo
b9f6590084
all: update to hdr histograms 2.1.10
2017-10-17 17:03:12 -07:00
Carl Mastrangelo
8187f1e784
util: improve scalability of RR load balancer
...
In relative order of importance:
* Don't acquire lock when picking subchannel.
* Use O(1) lookup for updating channel state
* Use non synchronized ref instead of AtomicReference
* Dont store size in picker.
* make class final
* remove test that was not valid
2017-10-16 17:43:40 -07:00
Sudharaka Palamakumbura
b2bcaccb34
Fix typo in SECURITY.md
2017-10-13 19:35:24 -07:00
Kun Zhang
9c817e5bb0
interop-test: disable message size check in interop-test client. ( #3569 )
...
The check fails in Java-Go interop test because of
grpc/grpc-go#1572
This is also needed for the internal gRPC-GFE test.
Resolves #3562
2017-10-12 17:14:16 -07:00
Carl Mastrangelo
1c7421be78
core: Remove deprecated load balancer and name resolver APIs
2017-10-12 15:53:31 -07:00
dapengzhang0
21be70dbe3
Update README to reference 1.7.0
2017-10-11 21:31:49 -07:00
Kun Zhang
eae4569e16
core: do not call LoadBalancer callbacks after it's shut down. ( #3573 )
...
This behavior is documented in the javadoc of LoadBalancer.shutdown().
2017-10-11 16:46:36 -07:00
Eric Gribkoff
d63711e8bc
cronet: make CronetChannelBuilder final
2017-10-11 15:52:01 -07:00
Kun Zhang
18ba417241
core: add drop to hashCode() and equals() for PickResult ( #3570 )
2017-10-11 13:54:16 -07:00
Kun Zhang
1e02b65c08
Fix interop_test client.
2017-10-10 13:46:51 -07:00
Kun Zhang
61d5baa5f2
core: fix build in CensusStatsModule.
2017-10-09 15:47:57 -07:00
Kun Zhang
8edead0851
core: make in-process transport support StreamTracer
...
This is needed for both completeness and stats/tracing contexts propagation.
Stats recording with Census is intentionally disabled (#2284 ), while the rest of the Census-related logic work the same as on the other transports.
2017-10-09 10:14:36 -07:00
Carl Mastrangelo
95a2723ea5
core,grpclb: use denser atomics for census
2017-10-06 17:02:36 -07:00
Kun Zhang
72f6d9bc08
core: add first-class drop support in LoadBalancer.
...
Resolves #3355
GrpclbLoadBalancer should use PickResult.withDrop() instead of PickResult.withError() when dropping RPCs.
2017-10-06 16:23:10 -07:00
Carl Mastrangelo
291f17059e
core: allow attributes to be built multiple times
2017-10-06 16:16:01 -07:00
Eric Anderson
401066ada3
RELEASING.md: Split out release branch; tweak
2017-10-06 14:02:29 -07:00
Eric Anderson
ac63eabe60
gae-interop-testing: Remove gradle wrappers
...
Since the projects are placed in the root settings.gradle, they are subprojects
and don't need their own gradlew. In addition, the gradle version used here is
a different version than elsewhere, which is asking for confusion.
2017-10-06 14:01:38 -07:00
Eric Gribkoff
4d67c3d63f
cronet: open-source experimental Cronet transport code
2017-10-06 11:18:03 -07:00
zpencer
b07c70a09f
gae-interop-testing: add GAE interop tests ( #3535 )
...
See `gae-interop-testing/README.md` for details on how to run the tests.
2017-10-06 10:44:58 -07:00
ZHANG Dapeng
80ac407c6c
interop-testing: fix ErrorProne and Unused
2017-10-05 14:15:43 -07:00
ZHANG Dapeng
dba2323585
compiler: Remove enable_depreated option ( #3541 )
2017-10-05 14:14:57 -07:00
Carl Mastrangelo
5e36a8deb5
all: upgrade to JUnit 4.12
2017-10-05 11:24:15 -07:00
Carl Mastrangelo
765a40c7e6
stub: avoid mocking stub classes
2017-10-05 11:01:57 -07:00
Carl Mastrangelo
f56be5423e
core: sort bazel file
2017-10-04 17:39:33 -07:00
Devin Smith
f5026cd334
core: remove unused, non-public INTEGER_MARSHALLER ( #3530 )
2017-10-03 10:42:52 -07:00
zpencer
0d5943614e
Make AbstractInteropTest runnable in GAE+jdk7 ( #3533 )
...
Avoid mocking and detect when a N/A test should be skipped.
2017-10-02 18:28:24 -07:00
Eric Gribkoff
b02645b49f
auth: remove use of JDK7 ReflectiveOperationException
2017-10-02 12:35:13 -07:00
Carl Mastrangelo
02466744bb
core: move census registration into internal
...
also preserve tracing bit when rebuilding a MethodDescriptor
2017-09-29 18:20:37 -07:00
ZHANG Dapeng
cbcab9b498
examples: fix Bazel build
...
Refactor the proto file `helloworld_streaming.proto` because Bazel and Gradle have incompatible base directory for proto imports. Bazel's proto import is relative to WORKSPACE, whereas Gradle proto plugin's is relative to `${sourceSet}/proto/`. In `helloworld_streaming.proto` file, `import helloworld.proto` does not work for Bazel. If `import src/main/proto/helloworld.proto`, that works for Bazel, but Gradle and Maven would fail. Some workarounds are very hacky, so use independent proto without imports instead to avoid this issue.
2017-09-29 13:14:19 -07:00
ZHANG Dapeng
0d52e68a86
core: fix Bazel build
...
Resolves #3503
2017-09-29 09:59:55 -07:00
ZHANG Dapeng
7c97aa95a1
thrift: Delete thrift
...
Thrift support is moved to https://github.com/grpc-ecosystem/grift
2017-09-28 09:31:32 -07:00
Eric Anderson
55621a3e8c
Start 1.8.0 development cycle
2017-09-27 12:37:50 -07:00
zpencer
78bf8388d1
services: add proto generated classes to intellij path ( #3510 )
2017-09-27 12:14:07 -07:00
Eric Anderson
e92b72588d
Promote keepalive to ManagedChannelBuilder; stabilize
...
Fixes #3493
2017-09-27 11:59:04 -07:00
zpencer
a62108a2f7
gradle: add japicmp plugin ( #3500 )
...
This adds an API compatibility check that can be run with:
./gradlew japicmp --continue
The --continue makes it so that we test all subprojects even if
some of them fail the check.
2017-09-27 08:31:43 -07:00
Carl Mastrangelo
de1630bc26
services: delete deprecated Proto reflection service
2017-09-26 15:50:06 -07:00
Ryan Michela
589da070f2
Manual flow-control and back-pressure demo
2017-09-26 10:01:42 -07:00