Commit Graph

81 Commits

Author SHA1 Message Date
Yash Tibrewal 81276fff2e
Update protobuf version to 3.15.8 (#26105)
* Update protobuf version to 3.15.8

* Run tools/distrib/python/make_grpcio_tools.py
2021-04-30 11:03:23 -07:00
Hannah Shi 09a3424c70 generate proto ruby 2020-08-14 08:22:45 +00:00
Jan Tattermusch d53663750c regenerate ruby protobufs 2020-01-15 04:43:59 -05:00
Jan Tattermusch b667c2f72f regenerate ruby protos 2019-03-12 05:09:46 -04:00
apolcyn 17f682d827
Merge pull request #15356 from ganmacs/grpc-ruby-does-not-depends-on-googleauth
Grpc ruby does not need to depend on googleauth
2018-06-02 12:43:29 -07:00
ganmacs ad4312aaa9 Fix math-client
* insecure stub needs :this_channel_is_insecure as an argument
* timeout option should be set at initializing stub
* Should be set logger to output
* Remove debug print
2018-05-15 10:21:06 +09:00
ganmacs 61d9a42007 Moved pubsub demo_demo to examples directory of ruby
so that grpc does not depends on googleauth gem.

This project (pubsub demo) is introduced at [this
commit](d5d00d5c8f (diff-c495642bb64c09cae54f3ccff463bd51))
as demo project for grpc with ruby.
This demo is awesome. But the position of this project directory seems
to be not suitable for demo app. This project added unnecessary gem dependency about googleauth to grpc ruby gem.
2018-05-14 18:01:04 +09:00
Shohei Kamimori 35367cc3ed fix typo 2018-02-05 18:46:41 +09:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Ken Payson 5a2c91806f Updated ruby protos to use new _pb filename 2016-07-26 18:36:42 -07:00
murgatroid99 b39ad701ea Added comments to ruby code generation 2016-05-20 13:27:33 -07:00
murgatroid99 e621f13ecd Simplified ruby interop test files 2016-04-21 14:28:00 -07:00
Michael Lumish 7fe43260ac Merge pull request #4412 from murgatroid99/ruby_auth_metadata_plugin
Ruby auth metadata plugin
2015-12-11 15:47:22 -08:00
Jan Tattermusch a6b2c4ce46 Get rid of SSL_CERT_FILE env entirely 2015-12-10 17:09:06 -08:00
Jan Tattermusch de95cb0494 update ruby to new position of math.proto and health.proto 2015-12-07 17:18:51 -08:00
Jan Tattermusch 8956122d60 consolidate math.proto and health.proto 2015-12-07 17:18:51 -08:00
murgatroid99 cfa26e1ce7 Plumb CallCredentials through Ruby code, replacing metadata_updater functionality 2015-12-04 14:36:52 -08:00
Tim Emiola 43a7e4e6ed Ruby wrapping of core credentials API change. 2015-10-28 00:17:14 -07:00
Tim Emiola c03138a483 Fixes bins in the grpc beta package 2015-09-24 13:11:03 -07:00
Michael Lumish 519e27d845 Merge pull request #3158 from tbetbetbe/grpc-ruby-server-support-multiple-certs
Grpc ruby server add support for multiple certs
2015-08-31 10:27:07 -07:00
Tim Emiola 73a540ae57 Update sites using ServerCredentials.new 2015-08-31 09:40:32 -07:00
Tim Emiola 81d950a5a9 Updates server shutdown handling
- ensures that servers cancels calls after the shutdown timeout
- uses an infinite timeout when request server calls

This two changes fix the issue where the server segfaults on shutdown.
2015-08-28 17:11:11 -07:00
Tim Emiola f4ee961bed Reorganize interop test files.
- moves the client/server behaviour to pb/test
  - deprecate current bin/interop/interop_{client,server}.rb
- adds executable endpoints to bin
  - grpc_ruby_interop_{client, server}
  - these will be added to the ruby bin path when the grpc gem
    gem is installed, making them easier to execute
2015-08-14 18:47:16 -07:00
Tim Emiola 53c85d68f9 Update the generated code for the interop service.
- Updates the code generated for the interop service
- Moves the generated interop service/client from bin to pb

Also
- removes an empty file from the health pb directories
2015-08-14 17:39:43 -07:00
Tim Emiola a5d39f7e78 Merges timeout interop test change 2015-08-14 12:22:51 -07:00
Tim Emiola cdb7cccceb Adds the ruby timeout interop test.
Corrects some other issues

- fixes status return when calls fail by always returning the status

- resolves bidi_call client's failure to return an exception on bad
  status by swapping the wait for status to the read thread

  * this also improves the cancel_after_first_response test

Also

- adds a unit test that verifies that a bidi call will time out.
2015-08-14 06:36:38 -07:00
Tim Emiola aa57bab3ca Corrects the cancel_after_first_response behaviour
- introduces a #wait method on the call operation view
- invokes #wait on a Notifier that is created for all operations
- ensures the Notifier is invoked if necessary whenever a client request
  completes
- updates the interop_test to use op.wait before checking if the call
  was cancelled.
2015-06-19 10:23:42 -07:00
Tim Emiola d62d345b83 Corrects the cancel_after_first_response test
- stops attempting to verify by catching the CancelledError

- instead the test examines the operation state after cancellation,
  which is equally valid and more stable.

Also
- simplifies bidi on the server
2015-06-02 11:28:03 -07:00
Tim Emiola dd7a036f75 Add's logging tweaks thread interaction for bidi_server 2015-05-28 14:18:38 -07:00
Nick Gauthier f233d968d2 Encapsulate logger within GRPC module 2015-05-20 14:02:50 -04:00
Yang Gao 5cb7902850 remove redudant optional keyword in proto3 2015-05-13 14:52:15 -07:00
Aggelos Avgerinos 57e7dc8e8d Ruby style changes: replace `== 0` with `zero?` 2015-05-09 13:08:03 +03:00
Tim Emiola bc206b1e32 Corrects command/flags used in ruby interop tests 2015-04-23 14:32:33 -07:00
Tim Emiola 321871ee6e Updates the example servers to use #run_till_terminated 2015-04-16 13:55:05 -07:00
Tim Emiola b5bcca44df Adds interop cancellation tests 2015-04-15 17:55:14 -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 d5c733e824 Fixes reference to variable in the auth package 2015-03-17 19:15:33 -07:00
Tim Emiola 0ce8edc49e Updates ruby code affected by the secure server API change 2015-03-05 15:29:18 -08:00
Misha Brukman 5cdf37eb7b Removed execute permissions from README files. 2015-03-02 16:12:49 +00: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 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
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 a16d2ae325 Fixes a missed old module name reference in the interop client 2015-02-23 07:50:49 -08:00
Tim Emiola 50b91d0018 Removes unnecesary check from the interop teste 2015-02-19 09:27:16 -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