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
Spencer Fang
b821cf13b0
buildscripts,gae-interop-testing: Hardcode service name
...
This simplifies the kokoro script and makes things consistent between
the gradle script behavior and kokoro behavior.
2018-08-16 15:03:03 -07:00
Eric Anderson
3792242ae1
alts: Use grpc-netty-shaded instead of grpc-netty
...
There's no good way to provide users of ALTS a choice between grpc-netty
and grpc-netty-shaded. Since Netty is not exposed through the ALTS API
surface, we opt for the shaded version as it has fewer deployment
issues. However, this also means that we _can't_ expose any Netty API,
like EventLoopGroup.
2018-08-15 17:39:20 -07:00
elandau
0d4051ca6e
Include Java's @Deprecated annotation on RPC services or methods with `option deprecated = true;`
2018-08-15 12:24:01 -07:00
Carl Mastrangelo
30672635de
all: point readme to new jar URL
2018-08-14 14:41:39 -07:00
Arnout Engelen
13aa02829e
Correctly determine --use_alts default ( #4538 )
2018-08-14 13:44:43 -07:00
Kun Zhang
5d4fe28260
netty/internal: add InternalNettyChannelBuilder.buildTransportFactory(). ( #4757 )
...
This is needed internally for building netty transports outside of a channel.
2018-08-14 13:04:33 -07:00
Eric Anderson
631e46c3e3
README.md: Reorganize and trim
...
Reorganize the README to flow better for new users, pointing them in
good directions. Also try to reduce the size so they actually read the
thing. It's still to long, but is a step in the right direction.
Fixes #4615
2018-08-14 08:02:22 -07:00
creamsoup
ba4db45e71
Fix errror message when DNS name is invalid. ( #4751 )
...
It used to throw NPE, since URI.create creates URI with null hostname. Now it
thorws IllegalArgumentException for invalid DNS name, NPE for null name.
2018-08-13 16:55:20 -07:00
Carl Mastrangelo
6d4841a8c2
stub: update docs about Call lifetime + minor cleanups
...
* Reflowed some method parameters to be on the same line, else one
parameter per line
* Used `@link` where appropriate
* Made some parameters non-final where it had no effect
* Renamed some parameters to be consistent
2018-08-13 14:36:32 -07:00
Eric Anderson
3cfc5af4f1
core: Avoid implicit requestConnection in PickFirst
...
This makes the behavior more clear.
2018-08-13 09:41:06 -07:00
Spencer Fang
1c5fb5bcdc
android: fix raw type lint
2018-08-09 13:31:23 -07:00