Kun Zhang
e1c6cadb50
grpclb: more useful debug logs. ( #4831 )
...
The addresses from the string dump of the LoadBalanceResponse proto is
in binary format and not human-readable. We will log the
BackendAddressGroups when using a new list from the balancer. The
original logging of LoadBalanceResponse is downgraded to FINER level.
2018-09-07 09:44:10 -07:00
creamsoup
189991012b
core: DnsNameResolver caches refresh ( #4812 )
...
DnsNameResolver caches refresh using java security property networkaddress.cache.ttl.
Resolves #4745
2018-09-06 16:58:34 -07:00
Eric Gribkoff
d2c0653b2e
interop-testing: add very_large_request case to test client ( #4816 )
...
interop-testing: add very_large_request case to test client
2018-09-06 16:01:35 -07:00
creamsoup
554210da2a
okhttp: settings acks back after apply settings before sending any data ( #4825 )
...
okhttp: setting acks back after apply settings before sending any data as a result of the change.
Resolves #4809 also, make #4816 the not flaky.
2018-09-06 15:52:02 -07:00
zpencer
2fca42feb9
all: prepend internal classes with Internal ( #4826 )
...
This is a safer way to hide the classes, because they will not appear
in public targets for some build configurations.
2018-09-05 18:48:42 -07:00
creamsoup
1b6adaff61
Revert "examples: Add google mirrored maven central to examples pom.xml to deflake kokoro." ( #4821 )
...
Revert "examples: Add google mirrored maven central to examples pom.xml to deflake kokoro. (#4813 )"
This reverts commit 54f76dfeaf .
2018-09-04 19:23:46 -07:00
zpencer
4d366ce978
all: move Channelz to io.grpc as InternalChannelz ( #4797 )
...
This is an API used to coordinate across packages and must live in
`io.grpc`.
Prepending `Internal` makes it easier to detect and hide this class
from public visibility when using certain build tools.
fixes #4796
2018-09-04 16:52:01 -07:00
Kun Zhang
f8274c4e7c
doc: update README because we have been requiring Java 7. ( #4819 )
2018-09-04 11:09:09 -07:00
creamsoup
bbacd164f9
skip populating trace header if no census impl is available. ( #4805 )
2018-08-30 14:45:11 -07:00
ZHANG Dapeng
d7ce74f83d
benchmarks: fix nano time comparison
2018-08-30 11:48:38 -07:00
creamsoup
54f76dfeaf
examples: Add google mirrored maven central to examples pom.xml to deflake kokoro. ( #4813 )
...
Add google mirrored maven central to examples pom.xml to deflake kokoro.
2018-08-29 19:02:47 -07:00
Eric Gribkoff
f93695ac70
android-interop-testing: correct order in assertEquals ( #4810 )
2018-08-29 13:28:02 -07:00
ZHANG Dapeng
a18abfbf9f
stub: stablize AbstractStub.withExecutor API
...
Resolves #3605
2018-08-29 11:58:13 -07:00
Jiangtao Li
433ac00de4
alts: convert handshaker service channel to SharedResourceHolder ( #4802 )
...
alts: convert handshaker service channel to SharedResourceHolder
2018-08-29 10:09:09 -07:00
Jiangtao Li
87513d8e83
alts: if ALTS is not running on GCP, fails call ( #4807 )
...
alts: if ALTS is not running on GCP, fails call rather than RuntimeException
2018-08-29 08:59:16 -07:00
Eric Gribkoff
fd73209e0c
cronet: report statsTraceCtx.clientOutboundHeaders() ( #4768 )
2018-08-28 20:19:45 -07:00
ZHANG Dapeng
6037659dd7
core: make HedgingPolicy final
...
Just as RetryPolicy is final.
2018-08-28 17:09:05 -07:00
Eric Gribkoff
03dab29e3a
buildscripts: run Android interop tests on Firebase ( #4314 )
2018-08-28 14:56:06 -07:00
Eric Gribkoff
d3cdfd0883
okhttp: use java 7, avoid compiler varargs warning ( #4806 )
2018-08-28 11:53:15 -07:00
Eric Gribkoff
67ee4b6a8f
core: switch to Java 7 source and bytecode ( #4801 )
...
javac can produce code that invokes Object.requireNonNull when instantiating
an inner class using a instance variable. See
https://bugs.openjdk.java.net/browse/JDK-8202137
2018-08-27 20:48:57 -07:00
Kun Zhang
a80159f85c
doc: new file to be sed'ed during the release. ( #4804 )
2018-08-27 17:28:31 -07:00
Kun Zhang
28d44ae46d
Start 1.16.0 development cycle ( #4803 )
2018-08-27 17:21:46 -07:00
Eric Anderson
7b126b00a0
all: Swap to Java 7 source and bytecode
...
Core and OkHttp are left with Java 6 for the moment. Once we resolve
their issues they could be bumped as well.
Updates #3961
2018-08-27 15:29:03 -07:00
Jiangtao Li
8d6ba2335a
alts: add Google Default Channel implementation ( #4742 )
...
alts: add Google Default Channel implementation
2018-08-27 15:27:35 -07:00
Eric Anderson
b2f419c212
examples: Fix bad copy/paste for tests with Android Studio
2018-08-24 14:00:02 -07:00
Eric Anderson
bc05b540f4
README.md: Link to Alpine's protoc-gen-grpc-java
2018-08-24 09:54:39 -07:00
zpencer
b8f4c7a57a
buildscripts: disable gae jdk7 test ( #4787 )
...
The test has become very flakey recently. With GAE jdk7 going away
completely in early 2019, let's disable running the test in CI.
2018-08-23 17:14:49 -07:00
zpencer
0d79e7a13c
stub: disableAutoInboundFlowControl javadoc correction ( #4785 )
...
The docs refer to the wrong places where this feature is ignored.
2018-08-23 15:54:47 -07:00
ZHANG Dapeng
e9b6568450
core: plumb hedging policy
...
This is only API plumbing for hedging, following exactly the same way as its retry counterpart, so it is almost trivial.
2018-08-23 14:38:10 -07:00
Carl Mastrangelo
3f05a6e331
core: minor cleanup of NameResolverProvider
...
* Make the list of providers an immutable List
* Make obvious that the list is statically initialized
* Add documentation for when methods were added.
* Use RuntimeException, rather than IllegalStateException.
2018-08-20 12:59:55 -07:00
Eric Anderson
c318b4e9d6
gae-interop-testing: Make gradlew properly relative
2018-08-17 18:23:06 -07:00
Eric Anderson
54c4cc1e30
gae-interop-testing: Always test the version just deployed
2018-08-17 18:23:06 -07:00
Eric Anderson
3b578abf99
travis: Use default Maven settings
...
Throw away Travis-CI's custom Maven settings, because they are causing
massive CI failures when Maven slows to a crawl/hangs because of
failures contaicting repository.apache.org.
Travis-CI's settings includes repo.maven.apache.org, oss.sonatype
(releases and snapshots), and repository.apache.org (releases and
snapshots). Now we will just be using Maven's default, which may just
be repo.maven.apache.org.
2018-08-17 18:03:08 -07:00
Eric Anderson
71e9841c80
travis.yml: Fix protobuf compilation caching
...
Wildcard apparently doesn't work... silently. Move versions into their
own directory so we can use a hard-coded string in the travis
configuration.
2018-08-17 17:27:12 -07:00
Eric Anderson
f8d30afb20
Handle exceptions in after
2018-08-17 17:25:54 -07:00
Eric Anderson
778804f4c5
gae-interop-testing/jdk7: Cleanup after Assert/Assume
2018-08-17 17:25:54 -07:00
Eric Anderson
7374b78470
log exception to FINE
2018-08-17 17:25:32 -07:00
Eric Anderson
38af7ebf84
interop-testing: Clean up even if interrupted
...
Most environments won't trigger an interruption, but AppEngine will if
the request takes too long.
2018-08-17 17:25:32 -07:00
Spencer Fang
60461d3b01
gae-interop-testing: disable timeoutOnSleepingServer
...
The test is flakey and we have exhausted the obvious clues. Since the
impact of this is likely low, let's `@Ignore` it.
See #4626
2018-08-17 17:09:19 -07:00
Eric Anderson
142851dcbb
buildscripts: Use full SHA for protobuf download
...
Github used to produce tars with the full SHA in the folder name.
However, now they are providing tars with just as much SHA as was in the
initial request. This coincides with a change in its services:
Before:
Resolving github.com... 192.30.253.113, 192.30.253.112
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/23357588/88f90e58-e598-11e7-9263-ef8b1fb345b8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180817%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180817T190158Z&X-Amz-Expires=300&X-Amz-Signature=b684e1ead24a96764fd1f29ac5eb1df693d47c5fe86962088aee2ccfb8e4e72a&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dprotobuf-all-3.5.1.tar.gz&response-content-type=application%2Foctet-stream [following]
As of 2:00 PM PT today:
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/google/protobuf/tar.gz/61476b8e [following]
Note that repositories.bzl isn't impacted because it already specified
the full SHA.
2018-08-17 16:59:25 -07:00
Carl Mastrangelo
7fe49f9b52
core: add ability to create stackless status exceptions
2018-08-17 11:40:11 -07:00
creamsoup
30a4bfb2f0
Implement flush coalescing in OkHttp. ( #4763 )
...
okhttp: Implement flush coalescing.
2018-08-17 11:08:16 -07:00
zpencer
3bc6e314bd
gae-interop-testing: increase response verbosity ( #4765 )
...
for jdk7 include the passing test names in the order they were run
for both, include the JUL log output
The runner should always print http response
2018-08-17 10:09:22 -07:00
Eric Anderson
73b098702c
services: Fix binarylog's java_package to include version
2018-08-17 09:38:38 -07:00
zpencer
366792f0b9
android: Robolectric shadows shouldn't be stored ( #4746 )
...
This is a lint discovered during import.
2018-08-16 15:05:03 -07:00
zpencer
a48b090dc6
core: Handle null ProxySelector ( #4762 )
...
ProxySelector.getDefault() can return null
Fixes #4677
2018-08-16 15:04:33 -07:00
zpencer
d1146e2015
interop-testing: timeoutOnSleepingServer should check that RPC finished ( #4766 )
...
If the RPC did not finish, then the remaining checks are red herrings.
2018-08-16 15:03:41 -07:00
Spencer Fang
c3c810f5c3
buildscripts: Make kokoro script runnable from workstation
...
- Only cat /VERSION if it exists
- The host name is used as the version name, and if running locally
the versions no longer necessarily start with 'kokoro'. Update the
clean up command.
2018-08-16 15:03:03 -07:00
Spencer Fang
19f4491ce9
buildscripts: Clean up dummy default version check cmd
...
These statements can be simplified to be more readable.
2018-08-16 15:03:03 -07:00
Spencer Fang
9aa53b589d
buildscripts,gae-interop-testing: do not promote versions by default
...
Only the dummy-default version should ever be promoted. Test versions
should have no traffic routed to it, so that deletions are
simpler. Versions receiving traffic can not be deleted in GAE.
2018-08-16 15:03:03 -07:00