Spencer Fang
610066896f
buildscripts: filter in only the kokoro java project
2018-01-04 10:57:35 -08:00
Spencer Fang
d86647aebd
buildscripts: automatically delete versions older than 1hour, always succeed if reach end
2018-01-04 10:57:35 -08:00
Spencer Fang
692cffe763
buildscripts: automatically delete versions older than 1day
2018-01-04 10:57:35 -08:00
Spencer Fang
cdc480d353
buildscripts: fix error using cmd output rather than $?
2018-01-02 14:21:40 -08:00
ZHANG Dapeng
450a983552
core: rm unused variable and method
2018-01-02 10:06:10 -08:00
ZHANG Dapeng
66119463ad
core: fix java ErrorProne
2017-12-28 13:06:58 -08:00
zpencer
e7b2089c85
core: ManagedChannel should not depend on internal ( #3898 )
2017-12-28 11:04:11 -08:00
ZHANG Dapeng
40453c744f
core: fix unimplemented API in ManageChannel
...
Two APIs were added to ManageChannel. This would be API breaking if they are still abstract.
2017-12-27 13:30:12 -08:00
Teo Jia Jiun
3e76bf143b
netty: Use Java 9 ALPN if available
2017-12-21 14:26:09 -08:00
Shohei Kamimori
b1d62b70c4
core: remove unused variables
2017-12-20 10:27:16 -08:00
ZHANG Dapeng
2fe8ce23b2
core: retry support part 1 followup, channel.shutdown should not fail retry in backoff
...
As delayedTransport `shutdown` will make retry attempts that are in backoff unable to create new stream. So wrap delayedTransport with `retriableTransport`, which will keep uncommitted retriable streams alive when `shutdown`.
2017-12-20 10:24:28 -08:00
ZHANG Dapeng
659cce52b6
Revert "testing: delete deprecated StreamRecorder" ( #3801 )
...
This reverts commit dc71083ce9
.
StreamRecorder is too old and may have users unable to migrate it out easily soon.
2017-12-20 10:05:17 -08:00
zpencer
73f0fe1eca
gae: retry on exceptions too, not just on non 200OK ( #3885 )
2017-12-19 16:13:24 -08:00
jwpowell055
cdb911eb5c
all: updating SHA-1 checksum for com_google_api_grpc_google_common_protos Skylark rule.
...
The new value is reported as the expected value when performing
$ bazel build //...
on a clean pull of this repo. The new value can also be confirmed via
$ curl http://central.maven.org/maven2/com/google/api/grpc/proto-google-common-protos/1.0.0/proto-google-common-protos-1.0.0.jar | sha1sum
2017-12-19 15:44:16 -08:00
Carl Mastrangelo
172b2d36be
core: add a service config file
2017-12-19 12:33:27 -08:00
Carl Mastrangelo
6eaae5d081
core/grpclb: resolve TXT records in DNS name resolver and include balancer addresses
2017-12-19 10:01:53 -08:00
Kun Zhang
04420dfdf7
Start 1.10.0 development cycle ( #3877 )
2017-12-18 10:28:02 -08:00
zpencer
9358fc7233
core: BinaryLogProvider should not use ManagedChannelImpl class loader ( #3874 )
2017-12-18 10:26:26 -08:00
zpencer
39c266cbe7
core: introduce io.grpc.internal.BinaryLogProvider ( #3872 )
2017-12-17 16:47:33 -08:00
Eric Anderson
1bbe126b44
core: Use hard-coded string for version
...
Using META-INF for loading the version is broken on Android and
frequently broken when gRPC is shaded. Having hard-coded strings be
replaced on version bumps has been working well.
Fixes #2098
2017-12-15 15:31:26 -08:00
Ryan Michela
a84b406682
Partial fix for fresh Intellij import
2017-12-15 08:42:39 -08:00
zpencer
7e655beb88
core: ManagedChannel should implement InternalInstrumented
2017-12-14 18:09:46 -08:00
zpencer
4c17382a43
services: let BinaryLog factory return null ( #3868 )
2017-12-14 17:27:52 -08:00
Eric Anderson
4f4cedf92a
build: Support uploading releases separately from building
2017-12-14 16:51:14 -08:00
Eric Anderson
ebf8a63e39
android-interop-testing: Fix compilation errors
2017-12-14 16:00:41 -08:00
Eric Anderson
09a7a22210
cronet: Fix compilation errors
2017-12-14 16:00:41 -08:00
Kun Zhang
aeaced1c5d
cronet: pass TransportTracer instead of null. ( #3869 )
...
AbstractStream now requires TransportTracer to be non-null.
2017-12-14 15:43:39 -08:00
zpencer
02f56b0218
core,services: move BinaryLog class to grpc-services ( #3867 )
2017-12-14 14:20:30 -08:00
zpencer
f1151f91b9
core: InternalInstrumented<T> for instrumented classes ( #3817 )
...
Entities that report stats to channelz will implement this interface.
2017-12-13 12:56:25 -08:00
zpencer
5cb609f038
core: Add ChannelStats ( #3752 )
...
`ManagedChannelImpl` and `OobChannelq now both have a package
private field `ChannelStats`. There will be an internal access
API coming in a follow up PR.
2017-12-12 09:20:46 -08:00
Carl Mastrangelo
1bb9498ea1
core: fix Attributes value equality
...
Fixes : #3857
2017-12-11 18:12:49 -08:00
Eric Anderson
2ea77cce1e
core: Avoid frequently computing inprocess useragent
2017-12-11 16:02:49 -08:00
jyane
11b5c1a7c1
core: support user-agent in InProcess
2017-12-11 15:26:29 -08:00
zpencer
9e4f13daab
bazel: bump opencensus to 0.10.0 ( #3851 )
2017-12-11 11:48:45 -08:00
Jan Tattermusch
d5d722abe7
Update CONTRIBUTING.md to CNCF CLA
2017-12-11 09:29:21 -08:00
Eric Anderson
8bcb5cfac6
compiler: Verify binary with native VS commands
...
This allows building release binaries on Windows without Bash and GCC.
2017-12-08 15:24:10 -08:00
Eric Anderson
83d710b6d7
Shade Netty transport, with tcnative
...
The entire transport is shaded because we wouldn't want to collide with
the unshaded form of grpc-netty.
2017-12-08 14:02:35 -08:00
zpencer
b6f556c088
core,okhttp: bump census to 0.10.0 which should fix GAE issue ( #3833 )
2017-12-08 11:30:52 -08:00
zpencer
2b3885bbc2
core,okhttp: add TransportTracer to okhttpclient ( #3809 )
2017-12-07 17:12:08 -08:00
zpencer
173ca5d332
cronet, grpc-lb, interop-testing: fix lints #3848
2017-12-07 16:09:43 -08:00
zpencer
1e0a9d0bb5
cronet: update CronetClientTransport interface ( #3846 )
2017-12-07 10:54:15 -08:00
zpencer
359e61eb4a
netty: NettyServerTest should not hard code ports ( #3845 )
2017-12-07 10:53:28 -08:00
Shohei Kamimori
8b716a2f18
netty: add test for NettyServerBuilder
2017-12-07 09:07:31 -08:00
Eric Gribkoff
94bbe64e22
examples: add Android client side caching example app
2017-12-06 22:55:09 -08:00
Eric Anderson
b9278e7011
buildscripts: Remove dependency on 7za
...
We already depend on Powershell, so this should make it easier to use the
script with less set-up.
2017-12-06 16:31:00 -08:00
Carl Mastrangelo
01ea67f5cf
core: move exception to listener for RuntimeException, Error still throws
2017-12-05 10:29:04 -08:00
Carl Mastrangelo
c9b02db276
all: add Status messages to all statuses
2017-12-04 19:00:16 -08:00
Eric Anderson
2d88269965
Update to Truth 0.36
...
Due to transitive dependencies, this also upgrades Guava to 22. However
Truth is only used in our tests, so our users should be unimpacted.
2017-12-04 13:48:00 -08:00
Kun Zhang
3f1d370e47
interop-testing: stop using MockableSpan. ( #3823 )
...
Interop tests use actual Census implementations, while MockableSpan is
compatible with the Census OSS implementation, it doesn't work with
the google internal implementation, thus the tests will fail.
2017-12-04 11:13:58 -08:00
Eric Anderson
042907f2ab
java_grpc_library: add test for remote proto in srcs
2017-12-01 16:06:01 -08:00