Eric Anderson
693779dba7
alts: Remove usage of TransportCreationParamsFilterFactory
...
Provide a ProtocolNegotiatorFactory instead.
TransportCreationParamsFilterFactory is being removed.
2018-09-24 17:32:04 -07:00
Eric Anderson
6f71472cf4
alts: Initialize ProtocolNegotiators eagerly
...
This simplifies the construction process, as we have fewer "interesting"
phases to weed through.
2018-09-17 16:49:56 -07:00
Carl Mastrangelo
b0f423295b
all: use Java7 brackets
2018-09-14 13:52:29 -07:00
Eric Anderson
7efbc36c72
netty: Initialize ProtocolNegotiators eagerly
...
This simplifies the construction paradigm and leads to the eventual
removal of TransportCreationParamsFilterFactory. The eventual end goal
is to be able to shut down ProtocolNegotiators as is necessary for ALTS.
The only reason the initialization was delayed was for 'authority', so
we now plumb the authority through GrpcHttp2ConnectionHandler.
2018-09-12 08:16:54 -07:00
ZHANG Dapeng
c8975e987b
all: fix lint warnings in import
2018-09-11 16:24:44 -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
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
Jiangtao Li
8d6ba2335a
alts: add Google Default Channel implementation ( #4742 )
...
alts: add Google Default Channel implementation
2018-08-27 15:27:35 -07:00
Jiangtao Li
499f95d3ec
alts: add call credential security level attribute ( #4657 )
2018-07-19 10:55:22 -07:00
Carl Mastrangelo
146b6006b3
compiler,stub: update RpcMethod docs and usage
2018-07-12 17:01:47 -07:00
jbingham-google
ffcb3b964b
compiler, stub: Rename inputType and outputType in @RpcMethod
2018-07-10 13:24:50 -07:00
jbingham-google
9229e30287
compiler, stub: Add @RpcMethod annotation
...
This annotation will enable Java APT to generate code.
Addresses part of #3173 .
2018-07-06 17:02:01 -07:00
Shohei Kamimori
a20f4812d6
alts: de-flake AltsHandshakerStubTest
...
Intended to resolve #4291 .
Previously AltsHandshakerStubTest.closeEarlyTest is flaky because it is async.
De-flake the test by removing executors.
2018-06-20 18:03:45 -07:00
Carl Mastrangelo
4c4fda3e5d
stub: remove static Method descriptors and stabilize method accessors
2018-06-05 11:19:28 -07:00
zpencer
21b73bbdc1
core: partially stabilize Attributes API ( #4458 )
...
Deprecate static builder method, Keys.of(), add a notice of plans to
remove keys(), emphasize that the name is only a debug label.
The `@ExperimentalAPI` is left on the class because there are still
issues around hashCode/equals.
2018-05-14 11:30:06 -07:00
Carl Mastrangelo
60a0b0c471
all: normalize copyright header
2018-05-03 14:55:21 -07:00
Carl Mastrangelo
6046831e58
alts: make imported files have imports below package, and set licence
2018-04-26 14:48:11 -07:00
zpencer
1a2d076aed
core,netty,okhttp,services,testing: expose security info to channelz ( #4300 )
...
Pull the TLS info from the SSLSession object for TLS, and AltsContext for ALTS.
2018-04-25 14:38:09 -07:00
Carl Mastrangelo
6bdf5de342
alts: move alts protos to match proto package
2018-04-25 12:01:22 -07:00
ZHANG Dapeng
a6811d5bb1
all: add toString() to Server to improve debug info
2018-04-13 09:41:09 -07:00
Benedikt Schmidt
fd96cc2ddf
alts: Use Guava base16 decoding functions in tests
...
The previously used javax.xml.bind.DatatypeConverter is deprecated in
Java 9.
2018-03-16 16:01:04 -07:00
Jiangtao Li
c7e15356d3
alts: minor update to ALTS handshaker proto ( #4187 )
2018-03-08 13:23:01 -08:00
Eric Gribkoff
eef9add54c
core: rename prepareToLoseNetwork() to enterIdle() ( #4179 )
2018-03-07 15:51:13 -08:00
Jiangtao Li
d45e1abd8d
alts: refactoring into alts and alts.internal packages ( #4169 )
2018-03-02 14:02:42 -08:00
Eric Anderson
3002a23a0f
Lint fixes
2018-02-28 10:20:08 -08:00
Carl Mastrangelo
7af2373a03
core,netty,okhttp,alts,inprocess: deprecate usePlaintext(boolean)
2018-02-28 08:53:14 -08:00
Eric Anderson
25f851bf5a
alts: Remove Java 8 library usages ( #4143 )
2018-02-26 15:11:13 -08:00
Jiangtao Li
d8630f2521
alts: add ALTS to interop tests
2018-02-23 12:44:18 -08:00
Shohei Kamimori
21541243f8
alts: change visibility of `NettyServerBuilder` ( #4088 )
2018-02-22 14:32:46 -08:00
Jiangtao Li
e7f2f1dedd
alts: add gRPC ALTS
2018-02-15 09:28:00 -08:00