Commit Graph

1632 Commits

Author SHA1 Message Date
Michael Lumish b1f3104815 Merge pull request #1517 from tbetbetbe/grpc-ruby-dont-extend-string
make underscore a class method of GenericService
2015-05-08 10:11:58 -07:00
Craig Tiller 997fab6874 Port Ruby to new API 2015-05-08 07:39:04 -07:00
Tim Emiola bae3a61087 Really removes the string monkey-patch 2015-05-07 14:24:23 -07:00
Tim Emiola 13363e31a7 make underscore a class method of GenericService 2015-05-07 13:44:47 -07:00
Tim Emiola f2fb07dafc Pin the version of rubocop used in grpc.gemspec 2015-05-06 10:22:35 -07:00
Craig Tiller 71cb81c737 Merge github.com:grpc/grpc into one-pass 2015-04-24 13:24:40 -07:00
Craig Tiller 1a727fde47 clang-format 2015-04-24 13:21:22 -07:00
Tim Emiola 932b13be4c Corrects bad return values in C error-handling block 2015-04-24 08:52:46 -07:00
Tim Emiola 9cb56f8707 Move Notifier into its own file 2015-04-24 08:37:32 -07:00
Tim Emiola 0a6557809a Simplify debugging, avoid inspecting C-backed objects. 2015-04-24 08:37:06 -07:00
Tim Emiola 119decc0f4 Fix logging version mismatchj 2015-04-24 07:25:16 -07:00
Tim Emiola 117cc1207d Fix failing interop servers 2015-04-24 07:24:50 -07:00
Tim Emiola bc206b1e32 Corrects command/flags used in ruby interop tests 2015-04-23 14:32:33 -07:00
Jan Tattermusch 291800b78f Merge pull request #1309 from tbetbetbe/grpc_ruby_rpc_server_md
Grpc ruby add support for returning metadata to the rpc server
2015-04-20 13:16:00 -07:00
Jan Tattermusch 3bb40596c5 Merge pull request #1313 from tbetbetbe/grpc_ruby_add_ruby_coverage
Add SimpleCov coverage set up for gRPC ruby
2015-04-20 10:12:23 -07:00
Craig Tiller b572fcba35 Merge pull request #1315 from jboeuf/security_connector
Refactoring of core security to remove the factories.
2015-04-19 15:01:52 -07:00
Julien Boeuf aab1edc5f6 Fixing inaccurate ruby test. 2015-04-18 22:12:48 -07:00
Tim Emiola 154db73ff9 Remove usage of xray
- xray was useful during dev testing but is neither a dev or runtime dep
- its presence causes issues for libraries that handle signals themselves

Also
- updates grpc.gemspec with requirements
2015-04-17 19:40:01 -07:00
Tim Emiola c85c1ae463 Add SimpleCov coverage set up for gRPC ruby 2015-04-17 18:12:32 -07:00
Tim Emiola a80aa7d86a clarify test descriptions 2015-04-17 16:49:30 -07:00
Tim Emiola 9a0ae0380c Adds support for updating the output metadata to calls 2015-04-17 14:46:36 -07:00
Tim Emiola 8661a43f78 Propagate metadata in BadStatus
- allow BadStatus to contain metadata that's populated by keyword args
- on servers, convert raised BadStatus metadata to trailers
- on clients, convert trailers to BadStatus metadata when raising BadStatus
2015-04-17 13:29:59 -07:00
Tim Emiola 4f558f536c Merge pull request #1297 from yugui/fix/header
Avoid implicit function declarations
2015-04-17 12:56:56 -07:00
Tim Emiola 3d3a65da84 Merge pull request #1295 from yugui/fix/typed-struct
Use TypedData_XXX instead of Data_XXX
2015-04-17 12:56:16 -07:00
Tim Emiola 1c5faea673 Allow BadStatus to contain metadata 2015-04-17 12:40:59 -07:00
Tim Emiola 3fd2be2e32 Adds a hook for returning the client connect metadata 2015-04-17 12:40:59 -07:00
Yuki Yugui Sonoda e8696fb286 Merge branch 'master' into fix/header
Conflicts:
	src/ruby/ext/grpc/rb_grpc.c
2015-04-17 08:06:01 +09:00
Yuki Yugui Sonoda dca359cc5a Merge branch 'master' into fix/typed-struct
Conflicts:
	src/ruby/ext/grpc/rb_grpc.c
2015-04-17 08:03:20 +09:00
Tim Emiola f9e77b3972 Refactor: Shorter methods in RpcServer 2015-04-16 15:20:59 -07:00
Tim Emiola e6be7f31e4 Refactor: Move the Pool out from RpcServer 2015-04-16 14:27:34 -07:00
Tim Emiola bf6d78c8e4 Fixes error with the keep-alive 2015-04-16 14:07:34 -07:00
Tim Emiola 321871ee6e Updates the example servers to use #run_till_terminated 2015-04-16 13:55:05 -07:00
Tim Emiola 9558460b77 Adds a #run_till_terminated func to RpcServer
- adds signal handling to RpcServer
- ensures that very little behaviour occurs in the signal handling context
- adds #run_till_terminated that launches a server in a thread and then handles
  signals that can be used to stop it.
2015-04-16 13:55:05 -07:00
Stanley Cheung cd1c1dd7af Merge pull request #1294 from tbetbetbe/grpc_ruby_update_gem_deps
Updates gem dependencies, style rules
2015-04-16 09:50:00 -07:00
Tim Emiola 2ab3998251 Merge pull request #1296 from yugui/fix/static
Correct storage classes of variables an functions
2015-04-16 09:12:10 -07:00
Yuki Yugui Sonoda 22887917f5 Avoid implicit function declarations 2015-04-16 21:05:59 +09:00
Yuki Yugui Sonoda f0eee5f250 Make some functions static
They don't need to be extern
2015-04-16 20:25:28 +09:00
Yuki Yugui Sonoda 99eb9f94bf Fix a linkage error with mac clang
Prevent symbol cache variables from being instantiated multipe times.
2015-04-16 20:09:55 +09:00
Yuki Yugui Sonoda 3c88e5d6e1 Make some global variables static
They do not need to be extern.
2015-04-16 20:09:00 +09:00
Yuki Yugui Sonoda 29ee1dbc93 Use TypedData for GRPC::Core::ServerCredentials 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda 9232f124e0 Use TypedData for GRPC::Core::Server 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda d441c2e5b3 Use TypedData for GRPC::Core::TimeSpec 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda a87924e646 Use TypedData for GRPC::Core::Credentials 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda bf256ae07a Use TypedData for GRPC::Core::CompletionQueue 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda d98db4a647 Use TypedData for TmpChannelArgs 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda c9b7d1cb04 Use TypedData for GRPC::Core::Channel 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda 961f0bcc15 Use TypedData for GRPC::Core::MetadataArray 2015-04-16 18:45:13 +09:00
Yuki Yugui Sonoda 76801d2190 Use TypedData_XXX instead of Data_XXX for GRPC::Core::Call
Data_XXX family is being deprecated in Ruby 2.x.
2015-04-16 18:45:13 +09:00
Tim Emiola 041e039ed2 Updates gem dependencies, style rules 2015-04-15 18:45:57 -07:00
Tim Emiola b5bcca44df Adds interop cancellation tests 2015-04-15 17:55:14 -07:00
Tim Emiola a10a8432f3 Corrects handling of status during bidi call orchestration.
- Ensures that invalid status are raised as exceptions
- Ensures that exceptions during the write thread are bubbled up to the starting
  thread

Also - improves the debug messages during the BiDi calls
2015-04-15 17:30:13 -07:00
Tim Emiola 1b39916bba Adds an explicit Cancellation exception
- uses Forwardable to provide access the @call within an ActiveCall
- removes redundant methods from ActiveCall
2015-04-15 17:29:56 -07:00
Tim Emiola 72d70fc0af Adds a tests that demonstrates successful cancellation 2015-04-15 08:06:16 -07:00
Tim Emiola 89a5bd726a Updates the pubsub sample so that it no longer uses a scope 2015-04-14 16:44:46 -07:00
Tim Emiola 189d9b0b1d Adds a jwt_token_creds interop test 2015-04-14 16:41:28 -07:00
Tim Emiola 7db18b4cbf Automatically adds a key for the jwt_aud_uri to the metadata handled by the metadata_update_proc 2015-04-14 16:40:44 -07:00
Tim Emiola 51a4c0846b Corrects the Changelog date 2015-04-14 11:03:37 -07:00
Tim Emiola 095af67318 Revert "Update installation instructions to mention debian binary install"
This reverts commit db9eb05eea.
2015-04-14 09:45:30 -07:00
Tim Emiola 1e0981262c Correct style errors identified by the latest version of RuboCop 2015-04-14 09:42:09 -07:00
Tim Emiola 4bda5e39b9 Add a changelog 2015-04-14 09:32:32 -07:00
Tim Emiola e1fd1bbe14 Update the version to 0.6.1 2015-04-14 09:32:18 -07:00
Tim Emiola 4907df078e Update the version of googleauth to 0.4 2015-04-14 09:31:59 -07:00
Tim Emiola db9eb05eea Update installation instructions to mention debian binary install 2015-04-14 08:58:02 -07:00
Yuki Yugui Sonoda 2e50a7ab75 Also fix rb_CallOps too. 2015-04-11 12:01:58 +09:00
Yuki Yugui Sonoda a7d369ea67 Use the prefix "grpc_rb_" rather than just "grpc_". 2015-04-11 11:48:36 +09:00
Yuki Yugui Sonoda 0f75ff5d19 Merge branch 'master' into fix/prefix
Conflicts:
	src/ruby/ext/grpc/rb_byte_buffer.c
	src/ruby/ext/grpc/rb_byte_buffer.h
	src/ruby/ext/grpc/rb_call.c
	src/ruby/ext/grpc/rb_call.h
	src/ruby/ext/grpc/rb_channel.c
	src/ruby/ext/grpc/rb_completion_queue.h
	src/ruby/ext/grpc/rb_event.c
	src/ruby/ext/grpc/rb_grpc.c
	src/ruby/ext/grpc/rb_metadata.c
	src/ruby/ext/grpc/rb_server.c
	test/cpp/interop/client_helper.h
	test/cpp/interop/server_helper.h
2015-04-11 11:02:22 +09:00
Tim Emiola b48e010b47 Fixed bad op reference 2015-04-10 15:33:55 -07:00
Tim Emiola 2efdebaaaa Adds comments to clarify memory handling 2015-04-10 15:04:34 -07:00
Tim Emiola 89cc87359f Move timeout handling into the extension 2015-04-10 11:23:44 -07:00
Tim Emiola c8b55a3a31 Cleanup: remove redundant extension code 2015-04-10 11:23:44 -07:00
Tim Emiola 495e9a8c75 Cleanup: remove redundant ruby code 2015-04-10 11:23:43 -07:00
Tim Emiola f90ce677b3 Updates BidiCall/ClientStub to the new Call API 2015-04-10 11:23:43 -07:00
Tim Emiola b22a21ebe7 Update RPC server to use the new call API 2015-04-10 11:23:43 -07:00
Tim Emiola 5684b4073c Updates ActiveCall to use the new call API 2015-04-10 11:23:43 -07:00
Tim Emiola 05e934fe16 Rewrite client_server_spec to use the new call API 2015-04-10 11:23:43 -07:00
Tim Emiola 48b36b5bbf Updates Server#request_call in line with the new API 2015-04-10 11:23:43 -07:00
Tim Emiola 1dae4acbec Adds Call#run_batch
- named run_batch rather than start_batch
- this is because the func starts the batch, but additionally waits for it to
  complete
2015-04-10 11:23:42 -07:00
Tim Emiola 98a32d399a Adds symbols to access the fields in Status struct 2015-04-10 11:23:42 -07:00
Tim Emiola 6de558f9cd Exposes the implementation of CompletionQueue#pluck
- allows it to be used from other files, e.g, in Call#run_batch
- this keeps code related to releasing the GIL during #pluck in one place
2015-04-10 11:23:42 -07:00
Tim Emiola 6b493a3353 Adds byte_buffer -> ruby string and char * -> byte_buffer convenience methods 2015-04-10 11:23:42 -07:00
Tim Emiola 37b09f4d83 Adds the call operation codes 2015-04-10 11:23:42 -07:00
Tim Emiola 564719d28e Updates Channel#create_call to the new API 2015-04-10 11:23:42 -07:00
Yuki Yugui Sonoda d241bcc030 Avoid identifiers reserved by Ruby
"prefix `rb` shows that it belongs to `ruby`". [RHG]

`rb` is a prefix to prevent exported symbols in libruby from
conflicting with symbols in other libraries, in particular,
dynamically loaded Ruby extension libraries.
So the prefix is reserved by Ruby by convention.

For gRPC, simply "grpc_" would be a better prefix.

[RHG]: Minero Aoki. "The Ruby Hacking Guide" (2002), chapter 4
2015-04-10 22:36:49 +09:00
Tim Emiola 14e941d0d2 Bump ruby version to match the new release 2015-04-07 11:06:52 -07:00
Michael Lumish e6c108e9cb Merge pull request #1119 from tbetbetbe/grpc_ruby_update_rakefile
Updates the Rakefile
2015-03-24 09:24:40 -07:00
Tim Emiola f20d760972 Updates the Rakefile
- simplify the test suite namespace
- fix bug in test suite setup where wrappper tests were run twice
- removes unnecessary descs
- add bunder's gem tasks for release and installation
2015-03-24 08:11:47 -07:00
Tim Emiola f3770c38b7 Renables the test checking the server can send the initial bidi message 2015-03-23 21:20:05 -07:00
Tim Emiola 601869bb1a Enables some incorrectly disabled tests 2015-03-23 12:37:28 -07:00
Tim Emiola 77e2fb0f95 Corrects the handling of metadata when the optional deadline is specified 2015-03-23 12:29:21 -07:00
Michael Lumish 0e93c92d06 Merge pull request #1080 from tbetbetbe/grpc_ruby_add_back_server_finish_calls
Adds back calls to #finish at the end of server calls
2015-03-18 11:18:36 -07:00
Michael Lumish 6c398b318d Merge pull request #1079 from tbetbetbe/grpc_ruby_adds_metadata_server_active_call_view
Exposes the metadata method in server-side ActiveCall view classes
2015-03-18 10:52:07 -07:00
Tim Emiola e52995ef2b Adds back calls to #finish at the end of server calls 2015-03-17 21:41:57 -07:00
Tim Emiola 62e3cc8429 Exposes the metadata method in server-side ActiveCall view classes 2015-03-17 21:23:17 -07:00
Tim Emiola d5c733e824 Fixes reference to variable in the auth package 2015-03-17 19:15:33 -07:00
Craig Tiller c20324e8aa Merge github.com:grpc/grpc into credit 2015-03-06 13:47:58 -08:00
Michael Lumish 3e0f48b2ec Merge pull request #973 from tbetbetbe/grpc_ruby_trim_dependencies
Removes unused dependencies
2015-03-06 12:52:22 -08:00
Tim Emiola dfa5efb72e Removes unused dependencies 2015-03-06 11:51:23 -08:00
Tim Emiola 485f0ed140 Corrects the host used in the client_server spec tests 2015-03-06 11:38:36 -08:00
Tim Emiola 4c7caf6180 Fix for #804 2015-03-06 11:36:24 -08:00
Tim Emiola c32375c67c Decompose the ClientStub initialize method 2015-03-06 11:36:24 -08:00
Craig Tiller 68de8e91cc Merge github.com:grpc/grpc into credit 2015-03-05 15:45:46 -08:00
Tim Emiola 0ce8edc49e Updates ruby code affected by the secure server API change 2015-03-05 15:29:18 -08:00
Tim Emiola 3a0d9768d3 Updates the ruby C extension to match the new secure C server API 2015-03-05 13:27:44 -08:00
Tim Emiola 8104988ce4 Merge pull request #894 from mattn/ruby-2.2.0
Support ruby 2.2.0
2015-03-05 08:05:39 -08:00
Misha Brukman 5cdf37eb7b Removed execute permissions from README files. 2015-03-02 16:12:49 +00:00
mattn b9e1563853 Support ruby 2.2.0 2015-02-28 23:45:58 +09:00
murgatroid99 6a4c4fabf3 Added ruby tests to run_tests.py 2015-02-27 12:08:57 -08:00
Aggelos Avgerinos 46566b8c95 Fix typos 'proivde' -> 'provide' and 'e,g.' -> 'e.g.' 2015-02-27 09:31:23 +02:00
Abhishek Kumar 866816fc30 Merge pull request #826 from tbetbetbe/grpc-ruby-update-gemspec-licencse
Update grpc.gemspec
2015-02-25 16:46:52 -08:00
Tim Emiola c4a4288f83 Update grpc.gemspec 2015-02-25 16:45:19 -08:00
Tim Emiola ed3671e180 Synchronize initial package versions 2015-02-25 13:38:53 -08:00
Tim Emiola 7708998b5a Tmp fix: splits the hostname from the host before creating a call 2015-02-25 11:49:34 -08:00
Tim Emiola 1d5f2d26df Removes a redundant canary test 2015-02-25 10:55:37 -08:00
Michael Lumish 886144544c Merge pull request #783 from tbetbetbe/grpc_ruby_switch_auth_to_google_auth_library_ruby
Grpc ruby switch auth to google auth library ruby
2015-02-25 08:57:01 -08:00
Tim Emiola 494f2f9706 Remove the ruby gRPC auth implementation 2015-02-25 04:58:41 -08:00
Tim Emiola 2731d3f40d Updates the pubsub demo to use the new auth library 2015-02-25 04:58:41 -08:00
Tim Emiola b44da465d6 Updates the interop client to use the new auth library 2015-02-25 04:58:41 -08:00
Tim Emiola cc1150f49f Adds a reference to GoogleAuth 2015-02-25 04:58:26 -08:00
Craig Tiller 36ccead403 Merge pull request #735 from jboeuf/fix_ssl_san
Verifying the peer name on the X509 Certs correctly.
2015-02-24 21:11:26 -08:00
Tim Emiola 18180f0e84 Temporarily suspend some tests that started failing because during the final shutdown 2015-02-24 16:43:28 -08:00
Tim Emiola 957537e016 Reflect a C-api name change 2015-02-24 15:37:10 -08:00
Julien Boeuf 597a4f2273 Verifying the peer name on the X509 Certs correctly.
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
  the SANs. Will fix the test cert another time...
2015-02-23 16:41:26 -08:00
Tim Emiola 8b13192243 Merge pull request #715 from tbetbetbe/grpc-ruby-fix-interop-client
Fixes a missed old module name reference in the interop client
2015-02-23 07:55:09 -08:00
Tim Emiola a16d2ae325 Fixes a missed old module name reference in the interop client 2015-02-23 07:50:49 -08:00
Tim Emiola 79a0a521f8 Update README.md 2015-02-20 17:10:44 -08:00
Tim Emiola bd87162f0b Update README.md
More comment improvements
2015-02-20 15:37:17 -08:00
Tim Emiola 5b07190843 Update README.md
fix comment about the installation location
2015-02-20 15:35:22 -08:00
Tim Emiola 400ba76208 Update README.md 2015-02-20 15:31:42 -08:00
Mugur Marculescu 04e3a6e332 Merge pull request #619 from jayantkolhe/jayantkolhe-patch-2
Jayantkolhe patch 2 - Many documentation updates.
2015-02-19 11:53:20 -08:00
Jayant Kolhe ad82155cd5 Update README.md 2015-02-19 11:44:49 -08:00
Tim Emiola 0e24d5b70f Fixes case, other minor corrections 2015-02-19 10:04:04 -08:00
Tim Emiola c33efe4ad5 Fixes the grpc.gemspec, clarifies the installation instructions 2015-02-19 09:39:49 -08:00
Tim Emiola 50b91d0018 Removes unnecesary check from the interop teste 2015-02-19 09:27:16 -08:00
Tim Emiola 26e2e8f0b5 Merge pull request #540 from ctiller/copyright
Copyright checker
2015-02-18 10:44:22 -08:00
Craig Tiller ce5021b0b9 Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 347b83c222 Merge github.com:grpc/grpc into copyright
Conflicts:
	src/python/src/__init__.py
	src/python/src/_adapter/__init__.py
	src/python/src/_framework/__init__.py
	src/python/src/_framework/base/__init__.py
	src/python/src/_framework/base/packets/__init__.py
	src/python/src/_framework/common/__init__.py
	src/python/src/_framework/face/__init__.py
	src/python/src/_framework/face/testing/__init__.py
	src/python/src/_framework/foundation/__init__.py
	src/python/src/_junkdrawer/__init__.py
2015-02-17 20:28:40 -08:00
Tim Emiola 638a68b21a Removes the line that sed could not fix 2015-02-17 20:12:44 -08:00
Tim Emiola 7e7911f70d Updates the module name in the idiomatic and stub layers 2015-02-17 18:28:23 -08:00
Tim Emiola 409e6c804b Updates the module name in C extension, ensuring it compiles 2015-02-17 17:46:35 -08:00
Tim Emiola 67dc149403 Temporarily pauses some tests 2015-02-17 10:22:57 -08:00
Craig Tiller ad1fd3a49e Add proto copyrights 2015-02-16 12:23:04 -08:00
Tim Emiola 1a22275e15 Stop calling finish on server calls 2015-02-09 13:02:32 -08:00
Tim Emiola 9fd6770b1b fixes a typo 2015-02-09 13:00:54 -08:00
Tim Emiola 5d66df87c5 updates the client server spec to reflect that status is no longer shown 2015-02-09 12:35:10 -08:00
Tim Emiola b24054aee2 Disable failing wrapping level tests 2015-02-09 12:34:16 -08:00
Tim Emiola c3ac185491 Fixes a event compiler error 2015-02-09 11:26:05 -08:00
Craig Tiller c4f0ebe63b Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 15:39:31 -08:00
Tim Emiola 43374163ec Corrects a typo 2015-02-02 15:05:15 -08:00
Tim Emiola d5d00d5c8f Adds a demo app that accesses the live pubsub service. 2015-02-02 11:04:39 -08:00
Tim Emiola 7256b055f2 Add generated code for accessing the v1 pubsub API from Ruby 2015-02-02 11:04:39 -08:00
Tim Emiola c799e81863 Adds a missing return 2015-02-02 10:50:55 -08:00
Tim Emiola ce062f2174 Updates interop client to use update_proc 2015-01-31 18:23:34 -08:00
Tim Emiola 03d70c649f Adds updater_proc, to simplify the setup of credentials during stub creation 2015-01-31 18:23:33 -08:00
Tim Emiola 8c750f44f4 Adds a compute engine auth GCE interop test
- also fixes the service_account test assertions
2015-01-31 18:22:48 -08:00
Tim Emiola 2e2085693b Adds an interop tests if OAuth behaviour is functioning 2015-01-31 18:12:17 -08:00
Tim Emiola 179eabb253 Updates the generated code to reflect test updates 2015-01-31 18:12:17 -08:00
Tim Emiola 11f75faf4d Ensures the auth modules are available with just require 'grpc'
- Also fixes some lint issues
2015-01-31 18:12:17 -08:00
Tim Emiola 4694df3c4e Adds compute engine auth implementation that extends the signet auth class
- also, corrects the content of the authorization header
2015-01-31 18:11:56 -08:00
Tim Emiola 720bc81c89 Adds a signet based service_account creds implementation 2015-01-31 17:55:24 -08:00
Tim Emiola 5d6dfd59b3 Extends signet with an apply/apply! methods
apply/apply! update a hash with an OAuth2 authorization token
2015-01-31 17:55:24 -08:00
Tim Emiola 36066537cf Fix lint errors, other cleanups
- ensure that lint check gets run when prior to running unittests
- fixes a description of the default rake command
- adds a dependency on Faraday, a HTTP/REST client
2015-01-31 17:55:24 -08:00
Tim Emiola 3306139df0 Adds an emacs modeline 2015-01-31 17:55:23 -08:00
Tim Emiola 6f06a7e81d Attempts to remove a little of this tests flakiness 2015-01-31 17:55:23 -08:00
Tim Emiola 554a11c018 completes merges 2015-01-31 17:55:23 -08:00
Michael Lumish d87c9ea3c9 Merge pull request #287 from tbetbetbe/grpc_ruby_unittest_cleanup
Grpc ruby unittest cleanup
2015-01-29 13:38:33 -08:00
Tim Emiola 397fda0b0c Update the suites used in the tests, run the bidi and server tests as their own suites in the default target 2015-01-29 13:26:21 -08:00
Tim Emiola 91044c10d1 Add tagging to rpc_server multi-threading tests to isolate in their own test suite 2015-01-29 13:25:08 -08:00
Tim Emiola dd73f10122 Fix a test that aborts on Docker images 2015-01-29 13:24:20 -08:00
Yang Gao 3ed874c861 sync up with master 2015-01-27 11:39:14 -08:00
Michael Lumish c060e07993 Merge pull request #236 from tbetbetbe/grpc_ruby_update_interop_test_flags
Grpc ruby update interop test flags
2015-01-27 09:22:09 -08:00
Tim Emiola 426167c88e Allows production certificates to be specified 2015-01-26 22:22:37 -08:00
Tim Emiola 2854ad7aa4 Adds support for overriding the server host name during SSL 2015-01-26 19:55:12 -08:00
Tim Emiola 6e1f10d757 Adds a dependency on signet. It's to be used for auth, but for now it sslconfig module is required 2015-01-26 19:54:13 -08:00
Tim Emiola 4eecb5da1a Adds a flag for running all the tests 2015-01-26 19:22:43 -08:00
Tim Emiola 965dda629e Removes the test state tracking, that's available on Jenkins 2015-01-26 19:06:51 -08:00
Tim Emiola 9cae580877 Added the use_tls flag toggle connecting securely 2015-01-26 19:05:16 -08:00
Tim Emiola a398a342ae Remove port_picker.rb 2015-01-26 18:44:59 -08:00
Tim Emiola a816818716 Removes remaining references to port_picker 2015-01-26 18:44:59 -08:00
Tim Emiola 72f14c3e35 Removes port_picker from channel_spec 2015-01-26 18:44:59 -08:00
Tim Emiola d02d1d50b7 Removes port_picker from call_spec.rb, removes a redundant test 2015-01-26 18:44:59 -08:00
Tim Emiola 61ddba35fe Removed port_picker from server_spec.rb 2015-01-26 18:44:59 -08:00
Tim Emiola f875aa3698 Removed port_picker from active_call_spec, fixed some style issues 2015-01-26 18:44:59 -08:00
Tim Emiola a8ecbe9a10 Removes port_picker from rpc_server_spec 2015-01-26 18:44:59 -08:00
Tim Emiola a679f9fbd0 Removed port_picker form client_stub_spec 2015-01-26 18:44:58 -08:00
Tim Emiola 2b90e305ec Completes merge 2015-01-26 17:37:15 -08:00
Tim Emiola 0343b10817 Updates client_server_spec to use the server_port 2015-01-26 17:06:51 -08:00
Tim Emiola 75d7f9a3a6 Resolves issues that stopped that stopped tests from running ok 2015-01-26 16:57:33 -08:00
Tim Emiola 6aa182fb2c Cleans up some compiler warnings 2015-01-26 12:55:47 -08:00
Tim Emiola 0a7d85893c Updates rb_server.c to return the created port when it's non-zero 2015-01-26 12:30:51 -08:00
Tim Emiola 0343f7f3a6 Fixes markdown sytax errors 2015-01-26 12:04:48 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
murgatroid99 d10c0abaf6 Merge branch 'master' of github.com:google/grpc into merge_new_invoke_api 2015-01-23 09:11:39 -08:00
Tim Emiola 5d11f8e7a1 fix a typo 2015-01-23 04:11:23 -08:00
Tim Emiola d428c54681 removed a reference to a google3 dir 2015-01-22 19:04:08 -08:00
Tim Emiola 5d11c1ad0d Remove Go links 2015-01-22 18:39:34 -08:00
Tim Emiola 9fe51788e3 Removes google3 specifics from the README.md, aligns the description with an open source release 2015-01-22 18:23:32 -08:00
Tim Emiola eaed637dba Removes Google username from TODOs, removes defunct TODOs 2015-01-22 18:00:50 -08:00
Tim Emiola 1bbe9ea232 Removed beefcake extension hook, it was no longer needed 2015-01-22 17:40:07 -08:00
murgatroid99 48c9c4a59e Resolved merge conflicts with master 2015-01-21 17:12:04 -08:00
Craig Tiller 85eea08ba8 Merge pull request #141 from jboeuf/ssl_server_creds_integration
Changing the SSL (Server) Credentials API.
2015-01-21 13:48:14 -08:00
Tim Emiola c6a33a21a0 Removed unexpected reference to auth.rb 2015-01-21 13:17:09 -08:00
Tim Emiola 2b5637615a Updates ruby to stop using grpc_start_invoke 2015-01-21 12:59:41 -08:00
Julien Boeuf 073d7b6cd9 Fixing node and ruby builds. 2015-01-21 11:13:43 -08:00
Tim Emiola 5de3a1de25 Corrects the ruby interop tests
- they were not returning the correct payload type
2015-01-20 18:16:04 -08:00
Tim Emiola 6c57f6b1cf Fixes a regression in the style pull request 2015-01-16 13:49:40 -08:00
Tim Emiola 1fdb1e61d2 Fix a typo 2015-01-16 03:06:39 -08:00
Tim Emiola e2860c5bdb Adds rubocop and fixes most style violations it detected
- add rubocop as a dev dependency
- fixed many style violations it reported, often using --auto-correct
- add a rubocop config
 - .rubocop.yml shows the exceptions
 - .rubocopy_todo.yml tracks outstanding style issues
- adds a rake task to allow rubocop styling checks to be automated
2015-01-16 02:58:41 -08:00
Tim Emiola cd85bb9a6e Updates to use the latest version of protobuf-ruby
This resolves issues decoding empty messages.
2015-01-14 18:53:41 -08:00
Craig Tiller 1ee7cb0c0b Merge github.com:google/grpc into format 2015-01-13 12:39:00 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
Tim Emiola 3acf05afd8 Fixes the shebang line
- fixes the shebang line by moving it above the copyright notice in
  executables.

- also fixes the execution bit on all the binaries
2015-01-13 08:00:15 -08:00
temiola 4dee1577fb Updates the math and interop samples to use the fully-qualified method name.
This bring the ruby GRPC up-to-date with the changes in []
TESTED: math client access math server OK, similarly the passing interop tests continue to pass
	Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83527704
2015-01-09 17:44:43 -08:00
temiola 583fe99706 Updates service.rb to ensure that the DSL specified service name is not overridden
Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83525675
2015-01-09 17:40:38 -08:00
temiola 0f0a6bc4f0 Switches to using protobuf-ruby.
- Adds a dependency to protobuf-ruby in the gemfile
- Updates math.proto to proto3
- Updates math server and client to use protoc protos
- Updates interop server and client to use protoc protos

Also
- Fixes/Updates the noproto samples

TESTED: math_server and math_client can communicate locally.
	Change on 2015/01/07 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83483448
2015-01-09 17:35:24 -08:00
ctiller e4b409364e Add a --forever flag, to continuously run tests as things change.
Change on 2015/01/07 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83451760
2015-01-09 17:23:18 -08:00
temiola 8232204a36 Updates the math and interop samples to use the fully-qualified method name.
This bring the ruby GRPC up-to-date with the changes in []
TESTED: math client access math server OK, similarly the passing interop tests continue to pass
	Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83527704
2015-01-08 13:57:55 -08:00
temiola 16be8a4a90 Updates service.rb to ensure that the DSL specified service name is not overridden
Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83525675
2015-01-08 13:44:59 -08:00
temiola 6e48a4258a Switches to using protobuf-ruby.
- Adds a dependency to protobuf-ruby in the gemfile
- Updates math.proto to proto3
- Updates math server and client to use protoc protos
- Updates interop server and client to use protoc protos

Also
- Fixes/Updates the noproto samples

TESTED: math_server and math_client can communicate locally.
	Change on 2015/01/07 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83483448
2015-01-08 13:27:44 -08:00
temiola f8b66eab6a Updates extconf.rb to use grpc from the make install locations
Change on 2015/01/06 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83391947
2015-01-06 18:17:57 -08:00
temiola 21bb60cf4d Exposes event#finish as #close.
- ensures that it's a runtime error if an event if used after it's finished

- updates all calls where the completion_queue is used to ensure the event's
retrieved are explicitly finished
	Change on 2014/12/18 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82445748
2014-12-19 13:16:21 -08:00
temiola 5832791292 Adds support for trailing metadata
- removes the status class, replacing it with a Struct
- adds support for trailing metadata, merging into the call's initial metadata

- tracks []
	Change on 2014/12/15 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82193372
2014-12-16 17:05:37 -08:00
temiola 350e1a795a Switches the ruby docker build to run from the new all-in-one repo.
Change on 2014/12/12 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82000906
2014-12-12 16:27:19 -08:00
temiola 4cd6035362 Fixes the ping_pong test.
- updates the test to be properly ping-pong.

- based on []which needed to be addressed any more testing
on bidi streams was done
	Change on 2014/12/11 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81898416
2014-12-11 15:11:44 -08:00
temiola 66335e115b Corrects the incorrect duplex behaviour of bidi_call.rb
- updates the write thread so that it handles writes and sending writes done for clients
- converts the complex read-write loop to simple read loop

TESTED: math_client bidi continues to work client_stub_spec pass without additional changes
	Change on 2014/12/11 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81897990
2014-12-11 15:11:44 -08:00
temiola 71bb137c56 Removed use of call.accept in gRPC Ruby
Change on 2014/12/11 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81895023
2014-12-11 15:11:44 -08:00
temiola 4a3be1c996 Update modules and packages to allow for a single grpc import
- ensured tests only need to do 'require grpc'
- ensured that the example math_server and math_client only need to do 'require grpc'
- ensured that the other other client and servers only need to do one thing
	Change on 2014/12/11 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81894613
2014-12-11 15:11:44 -08:00
temiola 6919c7595b Adds support for metadata to the surface APIs
- received metadata is visible on the ActiveCall object
- metadata to send is keyword args on ActiveCall objects

Also
- fixes a typo that meant that the wrong error error code might be returned
- fixes bad references in some tests that are only visible when run via rspec
	Change on 2014/12/10 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81811008
2014-12-10 14:46:17 -08:00
temiola ba22e87c68 Adds ruby versions of the interop server and client
- Adds the service and message classes generated from beefcake and a patched proto compiler
- Adds an interop client that uses these service and message classes
- Adds an interop server that implement the service description

TESTED interop client works with the interop server
	Change on 2014/12/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81615139
2014-12-08 18:50:13 -08:00
nnoble 0c475f0ad7 Updating moe_db.txt with the latest equivalence since the ruby import changed the exported structure.
Change on 2014/12/01 by nnoble <nnoble@google.com>
-------------
new [] file for grpc testing.
	Change on 2014/12/02 by donnadionne <donnadionne@google.com>
-------------
Fix unfinished calls in thread_stress_test.

Previously we had an early return if we cancelled a stream part way through a
message. Correct this, so that half close and full close signals are propagated
up the stack correctly so that higher level state machines can see the
termination.
	Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Remove dependency on internal C code.
	Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Turn off the flaky bit from thread_stress_test.
	Change on 2014/12/02 by ctiller <ctiller@google.com>
-------------
Add test cases of empty request/response, request streaming, response streaming, and half duplex streaming.

Bring up the GFE/ESF for mannual test:
[] build java/com/google/net/[]/testing/integration/hexa:server_components_env
[]-bin/java/com/google/net/[]/testing/integration/hexa/server_components_env --manual --rpc_port=25000 --use_autobahn
	Change on 2014/12/02 by chenw <chenw@google.com>
-------------
Make echo/server.c and fling/server.c shutdown cleanly on SIGINT, and update
the relevant tests to exercise this mechanism.

Now "[] coverage" and the memory leak detector are able to see into the
server processes.
	Change on 2014/12/02 by pmarks <pmarks@google.com>
-------------
Allow the # of channels to be configurable in this performance test. The threads will use the channels in statically-defined round-robin order (not based on when RPCs complete on any channel). The interesting cases are #channels=1 or #channels=#threads (we previously only had the latter case)
	Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Fixed a typo and reworded a comment.
	Change on 2014/12/02 by gnezdo <gnezdo@google.com>
-------------
Require the grpc_call in this ClientContext to be NULL before allowing set_call to be invoked. Otherwise, it's an indication of a leak somewhere.
	Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Correctly return status other than ok and add a test for it.
	Change on 2014/12/02 by yangg <yangg@google.com>
-------------
Better C++ guards for grpc_security.h
	Change on 2014/12/02 by nnoble <nnoble@google.com>
-------------
Use nullptr instead of NULL for consistency.
	Change on 2014/12/02 by vpai <vpai@google.com>
-------------
Updates the ruby gRPC service class to require the serialization method to be
a static method

- this brings it inline with the proto3 ruby API
- it adds a monkey patch to allow existing proto (beefcake) to continue working.
	Change on 2014/12/02 by temiola <temiola@google.com>
-------------
Adding a buildable unit to the blue print file.

Added the buildable unit as its name will be usesd as tap project id.

This test will fail right away in tap until tests are actually added.
	Change on 2014/12/02 by donnadionne <donnadionne@google.com>
-------------
Move interop ESF C++ server from Java to grpc directory.

Tests passed:
[] test javatests/com/google/net/[]/testing/integration/hexa/...
[] test net/grpc/testing/interop/esf_server/...
	Change on 2014/12/02 by chenw <chenw@google.com>
-------------
Return a lame channel as opposed to NULL when secure channel creation fails.

- Looks like we're going to need something similar server-side.
- I changed the prototype of the lame client channel factory to take an
explicit void as I think this is better practice in C. Let me know if you
disagree and I will revert these changes.
	Change on 2014/12/02 by jboeuf <jboeuf@google.com>
-------------
Putting ALPN support where it belongs.
	Change on 2014/12/02 by jboeuf <jboeuf@google.com>
-------------
GOAWAY send path.

Sends a GOAWAY frame when shutting down.
This is not read and understood yet.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Adds support for secure channels and servers.

- wraps new C apis (credentials, server_credentials) and Server#add_secure_http_port
- adds tests to ensure credentials and server credentials can be created
- updates client_server_spec to run the client_server wrapper layer end-to-end tests using a secure channel
	Change on 2014/12/03 by temiola <temiola@google.com>
-------------
Fix existing issues regarding out of order events.

At the client side, using pluck as the client_metadata_read can happen anytime after invoke.

At the server side, allow halfclose_ok and rpc_end to come in reverse order.
	Change on 2014/12/03 by yangg <yangg@google.com>
-------------
Don't track coverage of tests.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Change UnaryCall to conform standard test requirement of LargeUnaryCall.
	Change on 2014/12/03 by yangg <yangg@google.com>
-------------
updating alpn version to h2-15 ensure all interop are on the same version and working.

Java and go are not ready for h2-16 yet.
	Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Add config to bring echo server in [].

This is used to test production GFE as its bckend.
	Change on 2014/12/03 by chenw <chenw@google.com>
-------------
In preparation for fixing shutdown race issues, change em to take ownership of
the file descriptor. Add an API to grpc_tcp to take an already created
grpc_em_fd object, and change tcp_client to use that API.

This is needed because otherwise an em user's close() of the file descriptor
may race with libevent internals. That's not an issue yet because destroy()
frees the events inline, but that can't be done safely if there is a concurrent
poller.
	Change on 2014/12/03 by klempner <klempner@google.com>
-------------
Fixing TAP opensource build

We don't want to compile and run C++ tests in the C target.
	Change on 2014/12/03 by nnoble <nnoble@google.com>
-------------
Move and separate interop tests by languages.

Small fixes to the test runner.

Improving logging.
	Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Fixing the opensource build:

-) The C/C++ split wasn't done up to the 'dep' target level
-) The alpn.c file was missing from build.json
	Change on 2014/12/03 by nnoble <nnoble@google.com>
-------------
Adding blue print files after projects exist
	Change on 2014/12/03 by donnadionne <donnadionne@google.com>
-------------
Refactor StreamContext using the new completion_queue_pluck API.

The dedicated the poller thread has been removed.
This CL keeps the current behavior to make it short. There is one following to
make it usable for both client and server.

The tags for pluck is based on the address of this StreamContext object for potential debug use.

The Read/Write and Wait cannot be called concurrently now and this might need to be fixed.
	Change on 2014/12/03 by yangg <yangg@google.com>
-------------
Binary encoding utilities.

Support base64 encoding, HPACK static huffman encoding, and doing both at once.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Enforce Makefile regeneration in presubmits.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Make CloseSend() send a real zero-length control message to indicate EOS.
	Change on 2014/12/03 by zhaoq <zhaoq@google.com>
-------------
Prefer to create dualstack sockets for TCP clients and servers, with automatic
fallback for environments where IPV6_V6ONLY can't be turned off.
	Change on 2014/12/03 by pmarks <pmarks@google.com>
-------------
Add opensource path to build targets.

Ensure that MOE is going to run.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
Add PingPong test case. Delete FullDuplex test case. The latter is not specified for client in

https://docs.google.com/document/d/1dwrPpIu5EqiKVsquZfoOqTj7vP8fa1i49gornJo50Qw/edit#
	Change on 2014/12/03 by chenw <chenw@google.com>
-------------
Make generate_projects.sh check out the generated targets.
	Change on 2014/12/03 by ctiller <ctiller@google.com>
-------------
rspec cleanup

- stops declaring specs within the GRPC module
- splits Bidi streaming specs into a separate test suite

adding tests in the GRPC module was a mistake, it pollutes the module and can
affect other tests that run later by the test runner

the bidi tests are currently flaky, having them run in their own test suite
allows having two separate continuous builds (once ruby gRPC is on GitHub),
one that includes bidi where we tolerate flakiness, and another that does not,
where there should be no flakiness at all
	Change on 2014/12/03 by temiola <temiola@google.com>
-------------
Adding support for composite and IAM credentials.

- For now, we don't do any checks on credentials compatibility in the
composite credentials. Maybe we'll add that later.
- Refactored the end to end security tests so that we always use the public API
(except for the fake security context which is not exposed).
	Change on 2014/12/03 by jboeuf <jboeuf@google.com>
-------------
Make GPR library buildable in Visual Studio 2013.
	Change on 2014/12/04 by jtattermusch <jtattermusch@google.com>
-------------
Adds codegen for ruby

This is being added now that ruby's proto and grpc apis are defined and stable
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Prevent NewStream() from sending negative or 0 timeout.
	Change on 2014/12/04 by zhaoq <zhaoq@google.com>
-------------
Add a grpc_sockaddr_to_string() function, and use it when logging bind
failures.  Also improve const-correctness in some earlier code.

I'm not certain whether inet_ntop() will need any platform-specific
implementations, but for now the compiler offers no complaints.

Demo:
$ []-bin/net/grpc/c/echo_server 1.2.3.4:80
... tcp_server.c:139] bind addr=[::ffff:1.2.3.4]:80: Permission denied
	Change on 2014/12/04 by pmarks <pmarks@google.com>
-------------
Refactoring - moves c wrapped classes to a submodule Google::RPC::Core

- this allows for an explicit rule when reading through gRPC ruby code for telling
when an object is pure ruby or wrapped C
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Fixes the bidi_call

[]
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Fixing dev build when activating surface traces.
	Change on 2014/12/04 by nnoble <nnoble@google.com>
-------------
Updates the tests to reflect that fact that some Credentials compose works.
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Making the generate_project_test actually do something.
	Change on 2014/12/04 by nnoble <nnoble@google.com>
-------------
Rename "esf_server" to "[]4_server". Delete "test_sever" from Java directory.
	Change on 2014/12/04 by chenw <chenw@google.com>
-------------
Added PHP client interop tests. Tested large_unary against the C++ server.
	Change on 2014/12/04 by mlumish <mlumish@google.com>
-------------
Refactor grpc_create_dualstack_socket() by pulling the setsockopt into its own
function.  This separates the magic test flag from the real fallback logic.
	Change on 2014/12/04 by pmarks <pmarks@google.com>
-------------
Fixes the type of the constant used for test cert hostname
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Disabling these tests as they're causing flakiness.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Change intptr --> uintptr.

Handles the case where a void* turns into a negative number, which then gets
hashed into a negative bucket and segfaults.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Add a test fixture to force parsers to handle one byte at a time.

This should expand coverage and hopefully prevent errors at some point (it
seems to pass out of the box for now though).
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
The code generator isn't +x.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Updates math_client and math_server to allow construction using crednetials

By:
- Extending rpc_server constructor so that it takes a credentials keyword param
- Extending client_stub constructor so that it takes a credentials keyword param
	Change on 2014/12/04 by temiola <temiola@google.com>
-------------
Format output a little more nicely.

Print each line of output separately - previously logging.info was truncating this at some maximum length, and logs were getting lost.
	Change on 2014/12/04 by ctiller <ctiller@google.com>
-------------
Up timeout for this test.

Under TSAN, if we process one byte at a time, this timeout can be reached - and I think this is the cause of the following flake:
[]
	Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Adding more error logging for ssl.
	Change on 2014/12/05 by jboeuf <jboeuf@google.com>
-------------
Read path for goaway.

Still need to add hooks to deprecate a channel on the client side when goaway
is received.
	Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Separate accept() into server_accept() and server_end_of_initial_metadata().

This allows servers to initiate reads before finishing writing metadata.
	Change on 2014/12/05 by ctiller <ctiller@google.com>
-------------
Fix for breakage 11512317 - adding missing test files.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
grpc c++ server side streaming support.

This is based on [] There is a lot of room to clean up the internal implementation which may require refactoring of CompletionQueue. The current cl serves as a working implementation with the missing interfaces.

The sample generated files are included and will be removed before submitting.
	Change on 2014/12/05 by yangg <yangg@google.com>
-------------
Changed to the latest timeout format again (search "grpc-timeout" in [] for the spec).
	Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Fixing opensource build.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Making absolutely sure we can do the moe export by adding a sh_test for it.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Change :scheme psuedo-header from "grpc" to "http" or "https".
	Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Add server credential wrapping for c++ server. It only wraps ssl and []2 for now.

The ServerCredentials class and the factory class are in a similar fashion as
client side wrapping. The difference is the factory method returns shared_ptr
instead of unique_ptr as the server builder needs to keep a reference to it for
actually creating the server later.

The integration will happen in a following cl.
	Change on 2014/12/05 by yangg <yangg@google.com>
-------------
Fixed bugs in new_grpc_docker_builder.sh
	Change on 2014/12/05 by mlumish <mlumish@google.com>
-------------
In secure endpoint, hold a refcount for the life of a write callback if the
write does not complete immediately.
	Change on 2014/12/05 by klempner <klempner@google.com>
-------------
Add migration support to MOE and have TAP verify it doesn't break.

Migration support allows mirroring commits from [] into the git repo, instead of just a dump of the current source.
	Change on 2014/12/05 by ejona <ejona@google.com>
-------------
Change initial window size to 65535 according http2 draft 15.
	Change on 2014/12/05 by zhaoq <zhaoq@google.com>
-------------
Re-enable the flaky cases in dualstack_socket_test, with additional logging to
help track down the problem if it surfaces again.

This also seems like a good opportunity to make grpc_socket_utils a separate
library, as it's not really specific to TCP.

Example output:
logspam: [], 26570) resolved 2 addrs in 37ms:
logspam:   [0] [::1]:26570
logspam:   [1] 127.0.0.1:26570
	Change on 2014/12/05 by pmarks <pmarks@google.com>
-------------
Opensource build fixes.

-) A function that has a return type should actually return something.
-) Don't pass unsigned chars to strlen and strncmp.
	Change on 2014/12/05 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81458281
2014-12-05 16:00:44 -08:00
nnoble 097ef9b7d9 Incorporating ruby into the master grpc repository.
Change on 2014/12/01 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81111468
2014-12-01 17:45:43 -08:00