Commit Graph

834 Commits

Author SHA1 Message Date
Kun Zhang 609f31a578 Document valid characters for AsciiMarshaller 2015-09-02 15:57:07 -07:00
Carl Mastrangelo f8a87eecce Remove HandlerRegistry.Method 2015-09-02 14:37:44 -07:00
Xudong Ma d5bd33ca1b Fix generated code reference for intellij projects. 2015-09-02 14:18:31 -07:00
David P. Baker 66b984ca9d Extract the fully-qualified service name into a public static final field on the service container type. 2015-09-02 13:42:46 -07:00
Eric Anderson 01ba973dd4 Prevent status from impacting how ServerCall.Listener is invoked
Fixes #639
2015-09-02 09:48:05 -07:00
Kun Zhang bc347e3f6a Display the required Protobuf version when building codegen 2015-09-01 16:02:12 -07:00
Eric Anderson 210114d4a2 Ease use of JWT by passing URI to auth library
The URI no longer needs to be provided to the Credential explicitly,
which prevents needing to know a magic string and allows using the same
Credential with multiple services.
2015-09-01 15:42:58 -07:00
Kun Zhang db0423cf24 Rename CHECK and FAIL macros to avoid conflict with internal macros when syncing back 2015-09-01 12:47:25 -07:00
Nathan Mittler ad6c26e85c Merge pull request #915 from nmittler/build_fixes
Adding missing RunWith annotation for tests.
2015-09-01 11:43:04 -07:00
nmittler 6a526ecc93 Adding missing RunWith annotation for tests. 2015-09-01 11:40:17 -07:00
Xudong Ma 0a51f0fbd9 Move StreamRecorder to testing package. 2015-09-01 09:15:03 -07:00
nmittler d3ab427fca Enforce content-type on client and server.
Fixes #360
2015-09-01 06:59:46 -07:00
Eric Anderson 949b6d7da8 Fields in MethodDescriptor can't be null 2015-08-31 17:48:05 -07:00
Xudong Ma fb984bb5bb Update to protobuf beta for Android interop test 2015-08-31 15:05:06 -07:00
Kun Zhang c00e15f9a2 Check javanano_use_deprecated_package in the message's FileDescriptor, not the current file's. 2015-08-31 14:55:44 -07:00
nmittler d59d6dcdcc Upgrade to latest netty-tcnative 2015-08-31 14:05:04 -07:00
Xiao Hang 9243157898 Fix broken interop test, using new StreamObserver API. 2015-08-31 13:54:54 -07:00
Carl Mastrangelo 396f0606f3 Add test to prove RST closes stream, and remove hack from transport to force closure. 2015-08-31 13:26:49 -07:00
Kun Zhang 5bb0ea9899 Annotate method descritpor files in the generated code with ExperimentalApi 2015-08-31 09:56:44 -07:00
Kun Zhang bd23a8d693 Upgrade to protobuf-3.0.0-beta-1 2015-08-31 09:26:20 -07:00
Carl Mastrangelo d678498ca7 Add unit tests for AbstractServerStream 2015-08-28 13:00:27 -07:00
Xudong Ma 0958fd407e Fix flakiness in test timeoutOnSleepingServer 2015-08-27 22:52:01 -07:00
Eric Anderson 3620243509 Merge pull request #891 from stanley-cheung/move_grpc_common_examples
Move grpc common examples
2015-08-27 17:00:01 -07:00
Stanley Cheung 46687fe705 update android example readme 2015-08-27 16:28:38 -07:00
Xudong Ma 1f0cad21e5 Implement per_rpc_creds test 2015-08-27 16:28:31 -07:00
Stanley Cheung 61422d6295 add back protos and update references 2015-08-27 16:24:04 -07:00
Xiao Hang 3c79c52427 Implement timeout_on_sleeping_server test 2015-08-27 16:21:52 -07:00
Stanley Cheung e4987cd1f2 update reference to grpc-common to examples 2015-08-27 16:10:33 -07:00
Stanley Cheung fe3f964317 move grpc-common stuff to right location 2015-08-27 16:07:41 -07:00
Stanley Cheung 990fdf3523 Merge branch 'move_java_examples' of /usr/local/google/home/stanleycheung/grpc-common into move_grpc_common_examples 2015-08-27 16:07:16 -07:00
Xudong Ma edbb237e84 Remove the unnecessary code example of using TLS on Anroid 2015-08-27 15:18:58 -07:00
Xudong Ma a3f2f6249e OkHttp: Fix race condition between sendCancel and sendFrame 2015-08-27 15:11:23 -07:00
Carl Mastrangelo 080190c753 Make ServerCall.Listener methods Nops 2015-08-27 13:13:42 -07:00
Xiao Hang 7fc86e5549 Implement unimplemented_method test 2015-08-27 12:56:50 -07:00
Carl Mastrangelo 5ade1b726f Make ClientCall listener methods noops 2015-08-27 11:36:59 -07:00
Nathan Mittler fc13535a8b Merge pull request #884 from nmittler/unused_method
Removing unused method in ServerImpl
2015-08-27 11:24:04 -07:00
nmittler bcdef34c52 Removing unused method in ServerImpl 2015-08-27 10:26:56 -07:00
Louis Ryan a4c821d94e Rename onValue to onNext in StreamObserver to align with the naming in Rx & the proposed Flow API in
Java9
2015-08-26 17:38:22 -07:00
nmittler 15f02ba19c Adding maxMessageSize config option
Fixes #832
2015-08-26 15:32:33 -07:00
Nathan Mittler 40c66a17a9 Merge pull request #881 from nmittler/fix_benchmarks
Fixing the benchmarks
2015-08-26 14:31:09 -07:00
nmittler d5977c4552 Fixing the benchmarks
Fixes #873
2015-08-26 13:55:39 -07:00
Carl Mastrangelo 4221f5a81c Change ExperimentalApi field 'comment' to 'value' 2015-08-26 13:40:11 -07:00
Carl Mastrangelo cb734e3049 Document equals and hashCode on Status 2015-08-26 13:31:13 -07:00
Carl Mastrangelo b5eaaf378e Add @ExperimentalApi annotation to compression methods 2015-08-26 13:25:21 -07:00
Kun Zhang 8225d2a6a6 Add comment field to ExperimentalApi 2015-08-26 10:42:08 -07:00
Carl Mastrangelo 0d9ac41bdd Minor cleanup in deframer 2015-08-26 09:58:15 -07:00
nmittler 777e928536 Removing transport shutdown hooks from channel builder
The current process of building a channel is a bit complicated in that transports have to provide a own shutdown hook to the channel builder in order to close shared executors. This somewhat entagled creation pattern makes it difficult to separate the process of channel building from transport building. Better separating these two should make the code more readable and maintainable moving forward.
2015-08-25 08:38:39 -07:00
Xudong Ma 2247ad2a2b Makes application-provided string comes first in User-Agent 2015-08-24 19:42:16 -07:00
Kun Zhang 68c82bc2f3 Make ServerImpl constructor pakcage-private 2015-08-24 15:13:25 -07:00
Xudong Ma c5ea5c78cf Update Java doc for a508c1d4f5 2015-08-24 13:49:51 -07:00