Nicolas Noble
88966ab145
Merge pull request #5348 from nicolasnoble/backport-merge
...
Backport merge.
2016-02-23 02:19:44 +01:00
Nicolas "Pixel" Noble
1280fdb574
Merge branch 'master' into backport-merge
2016-02-22 21:30:14 +01:00
Nicolas "Pixel" Noble
88dc3c5d32
Adding an explanatory comment.
2016-02-22 03:21:08 +01:00
Nicolas "Pixel" Noble
cb90397216
Adding the init / destruct of grpc for ruby in a gpr_once.
2016-02-21 22:58:26 +01:00
Nicolas "Pixel" Noble
6f4f02cf9f
Slightly better workaround given the circumstances.
2016-02-21 01:30:56 +01:00
Nicolas "Pixel" Noble
b5b62720c5
Fixing a reported ruby crash when using ruby_vm_at_exit.
2016-02-20 22:48:56 +01:00
yang-g
f4fc61cf68
fix ruby impl and test
2016-02-19 13:48:03 -08:00
yang-g
3165c09ce5
regenerate csharp and ruby service from proto
2016-02-19 12:36:40 -08:00
yang-g
aea13f1c85
global replace health check proto v1alpha to v1
2016-02-19 11:08:16 -08:00
Nicolas "Pixel" Noble
639766023e
Flagging the missing API entries.
2016-02-17 23:43:55 +01:00
murgatroid99
73f5d7c0ce
Fix copyrights
2016-02-17 13:03:45 -08:00
murgatroid99
4999ba91c9
Ruby: explicitly require 'grpc/grpc' when loading C core, to avoid circular import warning
2016-02-16 17:58:08 -08:00
Nicolas "Pixel" Noble
6910ce8e01
Flagging 0.13.1-pre1.
2016-02-13 01:03:26 +01:00
Nicolas "Pixel" Noble
7a925f7f5e
Flagging the release.
2016-02-13 00:39:12 +01:00
Craig Tiller
017f84ead8
Merge pull request #5078 from ctiller/compatibility_mode
...
Make binary compatibility not the default
2016-02-12 12:23:51 -08:00
Masood Malekghassemi
b14ea1de58
Revert Ruby version specialization
2016-02-11 20:33:07 -08:00
Craig Tiller
c0473cc823
Merge github.com:grpc/grpc into compress
2016-02-11 08:51:16 -08:00
Craig Tiller
b718c8af70
Merge github.com:grpc/grpc into compatibility_mode
2016-02-11 08:48:13 -08:00
Nicolas "Pixel" Noble
32b3f67438
Merge remote-tracking branch 'google/release-0_13' into merge-and-regen
...
Conflicts:
build.yaml
src/ruby/lib/grpc/version.rb
2016-02-10 21:28:52 +01:00
Nicolas "Pixel" Noble
ca144fd1e8
Fixing Ruby binary build (again).
2016-02-10 09:28:18 +01:00
Nicolas "Pixel" Noble
f9e3c23fe8
Fixing ruby versionning.
2016-02-09 03:33:40 +01:00
Nicolas "Pixel" Noble
1935c3655c
Flagging master as 0.14.0-dev.
2016-02-09 01:54:56 +01:00
Nicolas "Pixel" Noble
cda4bad582
Flagging 0.13 as pre1.
2016-02-09 00:44:23 +01:00
Craig Tiller
f008f067f8
build.yaml centric versioning
2016-02-08 12:48:03 -08:00
Craig Tiller
55e813f946
Merge pull request #5088 from murgatroid99/core_long_int64_t
...
Replace 'long' with 'int64_t' in public core headers
2016-02-08 10:22:42 -08:00
Nicolas "Pixel" Noble
1be92658ef
Versionning Ruby from build.yaml, and regenerating broken files after census merge.
2016-02-06 09:30:19 +01:00
Nicolas Noble
86cbe3087c
Fixing Mac build for Ruby.
2016-02-05 15:08:12 -08:00
Nicolas "Pixel" Noble
5219c6d8e8
Properly compiling distributable native gems.
2016-02-05 22:40:59 +01:00
murgatroid99
309830f6b8
Replace 'long' with 'int64_t' in public core headers
2016-02-05 11:30:00 -08:00
Craig Tiller
cce7fe0626
Fix copyright
2016-02-05 10:48:19 -08:00
Craig Tiller
b15af6fc51
Merge branch 'compress' of github.com:ctiller/grpc into compress
2016-02-05 10:47:24 -08:00
Craig Tiller
71ea4a1955
Make binary compatibility not the default
2016-02-04 15:06:41 -08:00
Bogdan Drutu
e4fdcd9242
Merge pull request #5013 from a-veitch/tag_set_to_context
...
Change all instances of census_tag_set to census_context
2016-02-04 12:42:35 -08:00
murgatroid99
5738c5002c
Fix Ruby test that failed to read initial metadata
2016-02-04 10:15:42 -08:00
Alistair Veitch
6f2b8993fd
merge
2016-02-03 09:02:46 -08:00
Nicolas Noble
2bc107f74c
Making the ruby gem for MacOS work again.
2016-02-02 23:15:22 -08:00
Nicolas "Pixel" Noble
d355497792
Removing memcpy's wrapper for windows-ruby.
2016-02-03 02:11:43 +01:00
Nicolas "Pixel" Noble
89d8ed1b91
Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable
...
Conflicts:
BUILD
Makefile
binding.gyp
build.yaml
gRPC.podspec
grpc.gemspec
package.json
src/python/grpcio/grpc_core_dependencies.py
templates/Makefile.template
tools/doxygen/Doxyfile.core.internal
tools/run_tests/sources_and_headers.json
vsprojects/vcxproj/gpr/gpr.vcxproj
vsprojects/vcxproj/gpr/gpr.vcxproj.filters
2016-02-03 01:27:46 +01:00
Alistair Veitch
75d5c0f024
post merge
2016-02-02 09:43:02 -08:00
Craig Tiller
72c920f148
Copyright, clang-format
2016-02-02 08:58:57 -08:00
Craig Tiller
4bef7cebe6
Use old memcpy for wrappers
2016-02-02 08:38:43 -08:00
Nicolas "Pixel" Noble
fb2d8f5069
Fixing copyrights.
2016-02-01 01:27:53 +01:00
Nicolas "Pixel" Noble
76559cfa40
Regenerate files.
2016-01-31 11:44:40 +01:00
Nicolas "Pixel" Noble
d51d121c0c
And the Windows extension finally loads.
2016-01-31 11:37:13 +01:00
Nicolas "Pixel" Noble
b51ec5a4ba
Removing zookeeper's API for now.
2016-01-31 09:36:09 +01:00
Nicolas "Pixel" Noble
d2f20efcd8
Regenerating files.
2016-01-31 07:52:59 +01:00
Nicolas "Pixel" Noble
b8e9e9c846
Fixing the Ruby build after all these merges.
2016-01-30 18:35:13 +01:00
Nicolas "Pixel" Noble
1e6026189f
Merge branch 'autogen' into make-ruby-installable
2016-01-30 06:37:38 +01:00
Nicolas "Pixel" Noble
d14b6acdcc
Finalizing this a bit.
2016-01-30 06:01:27 +01:00
Craig Tiller
11b87bfb2a
Usable API list
2016-01-29 16:52:56 -08:00
Nicolas "Pixel" Noble
efa1f16727
Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable
2016-01-29 23:07:31 +01:00
Nicolas "Pixel" Noble
eade6e02d2
Renaming the Ruby grpc extension to grpc_c, and renaming its loader from loader.rb to grpc.rb
2016-01-29 22:53:31 +01:00
Nicolas "Pixel" Noble
2283ff6638
Fixing dll hell.
2016-01-29 06:49:46 +01:00
Nicolas "Pixel" Noble
1723044a12
Allowing for debug builds.
2016-01-29 01:46:19 +01:00
Nicolas "Pixel" Noble
d899dce5e1
Few more fixes to the Ruby installation.
...
-) properly depending on libraries.
-) adding an independent 'loader' class to use instead of require 'grpc/grpc'.
2016-01-28 20:45:39 +01:00
Nicolas "Pixel" Noble
c1a89b8d76
Tidy.
2016-01-28 09:55:49 +01:00
Nicolas "Pixel" Noble
e7a91a2f57
Properly building the gem file under mingw using rake-compiler-dock.
2016-01-28 09:35:46 +01:00
Nicolas "Pixel" Noble
cb287a11df
Allowing for creation of pre-compiled gems, using rack-compiler-dock.
2016-01-28 09:35:41 +01:00
David Garcia Quintas
b4e51b52bd
Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces
2016-01-27 19:57:58 -08:00
Nicolas "Pixel" Noble
7b92db65ac
Cleaning up ruby extension code a bit.
2016-01-26 22:46:34 +01:00
Jan Tattermusch
7c60b276de
Merge remote-tracking branch 'upstream/release-0_12' into integrate_0_12_changes
2016-01-20 18:23:13 -08:00
murgatroid99
d8521e75c8
Update Ruby README with simpler install instructions
2016-01-15 10:12:28 -08:00
murgatroid99
d212b33553
Re-add missing newline in ruby file
2016-01-14 09:28:13 -08:00
murgatroid99
40809210d4
Update copyrights
2016-01-13 17:45:30 -08:00
murgatroid99
8b791a4a7f
Merged from master and resolved merge conflicts
2016-01-08 12:33:22 -08:00
Craig Tiller
c357749b48
Merge pull request #4625 from murgatroid99/ruby_client_stub_fix_typo
...
Fix a bug recently reported in the mailing list
2016-01-08 12:15:13 -08:00
Craig Tiller
9a781b7e56
Merge pull request #4620 from murgatroid99/ruby_auth_plugin_event_loop
...
Use specific ruby thread to handle auth metadata plugin callbacks
2016-01-08 12:14:57 -08:00
murgatroid99
69108a335e
Resolved merge conflicts with upstream/release-0_12
2016-01-07 17:46:47 -08:00
murgatroid99
cc2b8d423b
Fixed mutex and cond var usage
2016-01-07 17:32:34 -08:00
murgatroid99
24e826ec56
Updated dependencies, fixed a couple of tests
2016-01-06 16:27:58 -08:00
murgatroid99
56fada5dfe
Make the Ruby extension throw an error when passed invalid metadata
2016-01-06 14:40:38 -08:00
murgatroid99
c2ea3aec65
Parital implementation of ruby header checking
2016-01-06 11:48:15 -08:00
murgatroid99
7fac30dd1b
Update copyright
2016-01-05 15:14:31 -08:00
murgatroid99
00450af711
Made ruby per-rpc creds interop use auth plugin API
2016-01-05 15:13:08 -08:00
murgatroid99
a4d3d2c76b
Fix typo in method call
2016-01-05 14:10:55 -08:00
murgatroid99
f58404e1d5
Free what we alloc
2016-01-05 09:57:44 -08:00
murgatroid99
9b83bd7c95
Use specific ruby thread to handle auth metadata plugin callbacks
2016-01-05 09:50:04 -08:00
murgatroid99
73cefb8b90
Updated copyright in Ruby version file
2016-01-04 16:06:37 -08:00
murgatroid99
0e59927b87
Update Ruby library version for next release
2016-01-04 15:34:44 -08:00
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
2015-12-22 13:49:30 -08:00
murgatroid99
b5703222a5
Include roots.pem with Ruby package
2015-12-18 13:05:34 -08:00
murgatroid99
d7e1a10628
Bundled C core with Ruby library
2015-12-18 11:18:34 -08:00
murgatroid99
d24424ff66
Fixed stub construction in interop client
2015-12-16 14:01:26 -08:00
murgatroid99
afe3974bce
Made insecure channel/stub explicit, in all layers
2015-12-16 13:04:37 -08: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
Craig Tiller
46ab778aa0
Merge pull request #4397 from jtattermusch/tv_sec_64bit
...
Make gpr_timespec platform agnostic.
2015-12-11 13:11:52 -08:00
Michael Lumish
5e61f2875c
Merge pull request #4413 from jtattermusch/remove_ssl_cert_file_env
...
Get rid of SSL_CERT_FILE env entirely
2015-12-11 12:29:48 -08:00
murgatroid99
64342dd864
Fixed arguments passed to Ruby auth plugin callback
2015-12-11 10:09:57 -08:00
Jan Tattermusch
f3cfb70a3a
update channel_credentials_spec
2015-12-11 09:53:39 -08:00
Jan Tattermusch
0a0237183a
Address comments
2015-12-11 07:35:28 -08:00
Jan Tattermusch
a6b2c4ce46
Get rid of SSL_CERT_FILE env entirely
2015-12-10 17:09:06 -08:00
Jan Tattermusch
303e3cb0ee
Merge pull request #4396 from murgatroid99/ruby_server_fix_hang
...
Fixed a busy-wait in Ruby server run_till_terminated
2015-12-10 16:09:41 -08:00
Jan Tattermusch
88086373db
make gpr_timespec platform agnostic
2015-12-10 15:04:59 -08:00
murgatroid99
e389b04336
Fixed bug with composing credentials
2015-12-10 14:59:01 -08:00
murgatroid99
f88008c00b
Fixed a busy-wait in Ruby server run_till_terminated
2015-12-10 10:38:48 -08:00
murgatroid99
a4c2d7dff7
Fixed encoding for bytes fields in the ruby interop server
2015-12-08 19:21:11 -08:00
murgatroid99
59e5472568
Fix encoding for bytes fields in ruby interop client
2015-12-08 15:48:21 -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
c78b6834a2
Added explicit dependency on signet to gemspec
2015-12-07 11:33:31 -08:00
murgatroid99
ca72d6cd3d
Fixed a hash key
2015-12-04 14:56:30 -08:00
murgatroid99
cfa26e1ce7
Plumb CallCredentials through Ruby code, replacing metadata_updater functionality
2015-12-04 14:36:52 -08:00
murgatroid99
9946f2b80a
Add CallCredentials class to Ruby wrapping code
2015-12-04 14:36:27 -08:00
Nicolas "Pixel" Noble
96847efefd
Making ruby's gcov configuration work.
2015-12-02 00:51:05 +01:00
Julien Boeuf
232d625a84
Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change
2015-11-17 20:55:13 -08:00
Julien Boeuf
802f6b6724
Merge branch 'master' of https://github.com/grpc/grpc into update_ssl_cert
2015-11-17 18:53:55 -08:00
Julien Boeuf
675b5ce861
Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change
2015-11-17 15:05:45 -08:00
Michael Lumish
06029a03c5
Merge pull request #4120 from tbetbetbe/grpc_ruby_fix_compile_on_2_0_typed_free_immediately
...
Corrects compile error on ruby 2.0
2015-11-12 23:08:28 -08:00
Tim Emiola
9161a82565
Corrects compile error on ruby 2.0
2015-11-12 16:24:13 -08:00
Michael Lumish
75065d4b1f
Merge pull request #4106 from tbetbetbe/grpc_ruby_fix_flaky_ruby_interop_test
...
Grpc ruby fix flaky ruby interop test
2015-11-12 14:10:08 -08:00
Tim Emiola
a082435e06
Updates interop client/server logging
...
- server logger.level = WARN
- client logger.level = INFO
2015-11-11 13:47:37 -08:00
Tim Emiola
69a672e6c2
Adds standard logging to the client/server
...
- truncates the server debug log entries to make that readable
2015-11-11 13:47:37 -08:00
Tim Emiola
7d21c04b2c
Fixes a multithreading bug in the ruby rpc_server
...
This fixes the current ruby server interop test flakiness.
- The interop tests recently changed so that clients access servers in
parallel, meaning that the interop servers handle multiple rpcs at once,
which is how this bug became visible
- since this change, tests run against the ruby interop server have
failed sporadically
- the problem was that the block in #loop_handle_server_calls that is
passed to the thread pool referenced a var in an enclosing block,
which resulted in requests being processed by the wrong handler
- this fix ensures that the block to be run on the thread pool thread
does not have any references to vars in the enclosing block
2015-11-11 13:47:37 -08:00
Tim Emiola
24fdc179c1
Ensures that bidi calls obtain metadata.
...
Fixes an omission from earlier PRs that adds support metadata.
2015-11-10 15:41:41 -08:00
Tim Emiola
b48236a2b4
Fixes an issue running the tests on Ruby2.2
2015-11-10 15:38:17 -08:00
Julien Boeuf
334314b888
Updating the server1 cert so that it can be used with Go.
...
The encoding of the issuer field in this cert is now a PRINTABLESTRING
as opposed to UTF8STRING in the previous server1.pem which was causing
the Go issue.
Fixes #4086 .
2015-11-09 14:29:14 -08:00
Michael Lumish
785d8aec36
Merge pull request #4009 from jtattermusch/add_badges
...
Add npm, gem and cocoapods badges
2015-10-30 09:33:31 -07:00
Jan Tattermusch
a9b933eee3
Add gem badge
2015-10-30 08:52:19 -07:00
Tim Emiola
43a7e4e6ed
Ruby wrapping of core credentials API change.
2015-10-28 00:17:14 -07:00
Tim Emiola
9332ea6af5
Updates channel credentials
...
- switches credentials to channel credentials
- removes usages of other credentials classes that would are not
currently used in the ruby surface
2015-10-27 23:48:29 -07:00
Jan Tattermusch
fe3d9ea14f
fix ruby per_rpc_creds
2015-10-19 18:40:28 -07:00
Michael Lumish
651ebddcd5
Merge pull request #3861 from jtattermusch/ruby_use_tls
...
Accept --use_tls=true and --use_test_ca=true in ruby interop tests
2015-10-19 10:01:47 -07:00
Jan Tattermusch
73b3eea149
accept --use_tls=true and --use_test_ca=true in ruby
2015-10-15 18:37:12 -07:00
murgatroid99
aad1a34b4f
Add newline to .rubocop.yml
2015-10-14 17:56:02 -07:00
murgatroid99
3c09a64332
Fixed previous change, altered RuboCop settings to let me do so
2015-10-14 17:25:49 -07:00
murgatroid99
59e339b9d2
Made ruby server stop waiting for calls when it starts getting null calls
2015-10-14 15:24:45 -07:00
Tim Emiola
bfe8a9febc
Fixes the broken ruby interop tests
2015-10-08 09:05:28 -07:00
Tim Emiola
25061413cf
Merge pull request #3602 from grpc/release-0_11
...
Upmerge from beta to master.
2015-10-02 13:43:14 -07:00
Tim Emiola
383d7da1b2
Bugfix: correct circular arg ref
2015-09-25 17:31:51 -07:00
Tim Emiola
557d26f643
Remove a bad flaky rpc server test
2015-09-25 16:55:19 -07:00
Stanley Cheung
495ad778e1
Merge pull request #3475 from tbetbetbe/release-0_11
...
Fixes for the scripts packaged in the ruby gem
2015-09-24 15:31:07 -07:00
Tim Emiola
0deeb04a0b
Bump version to reflect changes to the gRPC ruby package
2015-09-24 13:12:41 -07:00
Tim Emiola
c03138a483
Fixes bins in the grpc beta package
2015-09-24 13:11:03 -07:00
Tim Emiola
98ef7a277d
Update status to Beta
2015-09-23 18:12:21 -07:00
Stanley Cheung
581846ba9b
Update debian install instructions, jessie-backports
2015-09-04 12:04:17 -07:00
Stanley Cheung
c88e834571
Merge pull request #3171 from tbetbetbe/grpc_ruby_improve_test_stability
...
Improves test stability
2015-08-31 16:04:28 -07:00
Michael Lumish
cbdfaba7ae
Merge pull request #3172 from tbetbetbe/grpc_ruby_bump_version
...
Bumps the ruby version to beta
2015-08-31 15:56:33 -07:00
Tim Emiola
bab6706f41
Bumps the ruby version to beta
2015-08-31 15:51:53 -07:00
Tim Emiola
391664afa1
Improves test stability
2015-08-31 15:38:43 -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
643ebb6fb8
Fixes a comment
2015-08-31 09:50:48 -07:00
Tim Emiola
934ae9ac0c
Make insecure construction explicit, to address #2614
2015-08-31 09:42:59 -07:00
Tim Emiola
73a540ae57
Update sites using ServerCredentials.new
2015-08-31 09:40:32 -07:00
Tim Emiola
14d0a3c796
Updates implementation of rb_server_credentials
...
- allows use of multiple credentials, e.g, per servername
2015-08-31 09:40:19 -07:00
Stanley Cheung
a0581622bb
Merge pull request #3144 from tbetbetbe/grpc-ruby-fix-math-client-server
...
Grpc ruby fix math client and server
2015-08-31 08:54:30 -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
Stanley Cheung
aec4ac8221
update debian unstable to testing
2015-08-28 15:51:18 -07:00
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
Julien Boeuf
c5b570f97e
Adding void* at then end of security related method in order to have a stable ABI.
2015-08-25 17:47:55 -07:00
Michael Lumish
10cab1396f
Merge pull request #3013 from tbetbetbe/grpc-ruby-support-per-message-compression
...
Adds support for per message compression
2015-08-20 18:57:55 -04:00
Tim Emiola
7840a55736
Adds support for per message compression
2015-08-20 13:12:33 -07:00
Stanley Cheung
1894f188bf
update installation instructions, review feedback
2015-08-19 16:32:39 -07:00
Stanley Cheung
5329e4bd3f
update installation instructions, review feedback
2015-08-19 15:59:59 -07:00
Stanley Cheung
a79a896d4c
update installation instructions, review feedback
2015-08-19 14:39:05 -07:00
Stanley Cheung
dbeb1cd90c
update debian install instructions
2015-08-19 14:39:05 -07:00
Michael Lumish
89bede02f1
Merge pull request #2983 from tbetbetbe/grpc-ruby-correct-logconfig-fix-interop-tests
...
Corrects logconfig from #2956
2015-08-19 14:57:51 -04:00
Tim Emiola
27ccd197c4
Corrects logconfig from #2956
2015-08-18 16:15:14 -07:00
Craig Tiller
4275899297
Sprinkle reserved = NULL around
2015-08-18 10:34:32 -07:00
Tim Emiola
25f501132b
Remove the runtime dependency on the logging gem.
...
- provides a noop logger unless the user explicit adds a logging method
to the GRPC namespace
2015-08-17 12:27:08 -07:00
Tim Emiola
ac1a8d340a
Adds a test for ruby code generation.
2015-08-17 11:10:03 -07:00
Tim Emiola
19e436dac4
Removes the dependency on Minitest
...
- replaces it with a simple assertion function
2015-08-17 09:34:40 -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
Jan Tattermusch
723569b260
Merge pull request #2943 from tbetbetbe/grpc-ruby-add-health-check-service
...
Add a health checker service implementation.
2015-08-14 15:18:08 -07:00
Tim Emiola
a5d39f7e78
Merges timeout interop test change
2015-08-14 12:22:51 -07:00
Tim Emiola
975d0cb02e
Add a health checker service implementation.
...
- adds the code-generated health service classes to the pb along with
a README explaining how to regenerate the generated code
- adds an implementation of the Health Checker Service along with unit
tests and an integration test
Also:
- adds a pb folder
: in a follow-up PR, all ruby pbs + generated code will be moved to it
2015-08-14 10:47:30 -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
49b7650eaf
Breaks API - switches timeout to a keyword arg.
...
- timeout has been a default arg till now
- this switches it to a keyword arg with the same behavior
- in addition, it adds deadline as distinct keyword arg, allowing users
the choice of the idiomatic(timeout) or the aligned(deadline)
2015-08-13 19:02:24 -07:00
Nicolas "Pixel" Noble
d53b389607
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
src/cpp/client/channel.cc
src/cpp/client/client_context.cc
2015-08-13 19:20:39 +02:00
Nicolas "Pixel" Noble
d9745cab08
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
src/ruby/ext/grpc/rb_channel.c
2015-08-13 02:07:12 +02:00
Tim Emiola
046094ded4
Merged with HEAD
2015-08-12 16:55:57 -07:00
Tim Emiola
9fbfb5b016
Fixes a lint issue.
2015-08-12 12:00:37 -07:00
Tim Emiola
be88526b6e
adds ruby aliases of the propagation masks
2015-08-12 11:59:32 -07:00
Nicolas "Pixel" Noble
9b6248fc6d
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
src/node/ext/call.cc
src/node/ext/channel.cc
2015-08-12 19:53:03 +02:00
Tim Emiola
fde3dbfb87
Allow reserved metadata to be propagated between calls
2015-08-11 17:22:58 -07:00
Jan Tattermusch
bc447deaad
Merge pull request #2888 from tbetbetbe/grpc-ruby-user-null-for-default-host
...
Use null for default host
2015-08-11 17:01:17 -07:00
Nicolas "Pixel" Noble
b457cd831a
Merge remote-tracking branch 'google/master' into the-ultimate-showdown
...
Conflicts:
src/csharp/ext/grpc_csharp_ext.c
2015-08-12 01:14:17 +02:00
Nathaniel Manista
73578f7f62
Merge pull request #2887 from tbetbetbe/grpc-ruby-default-timeout-of-infinity-will-clearly-not-suprise-most-users
...
Sets Ruby's default timeout to infinity.
2015-08-11 15:47:52 -07:00
Tim Emiola
17b1659014
Corrects the way the gemspec references files
2015-08-11 11:32:46 -07:00
Tim Emiola
d42c1b7b5a
Use null for default host
2015-08-11 10:50:21 -07:00
Tim Emiola
23e0f8843b
Aligns with the cognoscenti on timeouts
2015-08-11 10:13:18 -07:00
Stanley Cheung
844c449a0e
Merge pull request #2886 from tbetbetbe/grpc-ruby-add-primary-user-agent-key
...
Adds grpc.primary_user_agent key during stub creation
2015-08-11 10:00:56 -07:00
Tim Emiola
10ddfde8e6
Adds grpc.primary_user_agent key during stub creation
2015-08-11 09:54:59 -07:00
Tim Emiola
623a74d0a8
Exposes call#peer, channel#target
2015-08-11 09:24:20 -07:00
Nicolas "Pixel" Noble
9d72b149a9
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
include/grpc/grpc.h
src/core/surface/channel.c
src/core/surface/channel_create.c
src/core/surface/completion_queue.c
src/cpp/client/channel.cc
src/cpp/client/insecure_credentials.cc
src/csharp/ext/grpc_csharp_ext.c
src/node/ext/call.cc
src/node/ext/channel.cc
src/php/ext/grpc/call.c
src/php/ext/grpc/channel.c
src/python/grpcio/grpc/_adapter/_c/types/channel.c
src/ruby/ext/grpc/rb_channel.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/fixtures/chttp2_fullstack.c
test/core/end2end/fixtures/chttp2_fullstack_compression.c
test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c
test/core/end2end/fixtures/chttp2_fullstack_with_poll.c
test/core/end2end/multiple_server_queues_test.c
test/core/end2end/no_server_test.c
test/core/end2end/tests/bad_hostname.c
test/core/end2end/tests/cancel_after_accept.c
test/core/end2end/tests/cancel_after_accept_and_writes_closed.c
test/core/end2end/tests/cancel_after_invoke.c
test/core/end2end/tests/cancel_before_invoke.c
test/core/end2end/tests/cancel_in_a_vacuum.c
test/core/end2end/tests/census_simple_request.c
test/core/end2end/tests/disappearing_server.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/empty_batch.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/ping_pong_streaming.c
test/core/end2end/tests/registered_call.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_compressed_payload.c
test/core/end2end/tests/request_with_flags.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/end2end/tests/server_finishes_request.c
test/core/end2end/tests/simple_delayed_request.c
test/core/end2end/tests/simple_request.c
test/core/end2end/tests/simple_request_with_high_initial_sequence_number.c
test/core/fling/client.c
test/core/fling/server.c
test/core/surface/lame_client_test.c
2015-08-08 01:45:38 +02:00
Nicolas "Pixel" Noble
f75df57a8f
Working on ruby.
2015-08-07 22:16:50 +02:00
Craig Tiller
a600d58551
Merge github.com:grpc/grpc into propagate
2015-08-05 10:44:45 -07:00
Craig Tiller
c5ae3eb8d6
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
2015-08-03 10:42:22 -07:00
Craig Tiller
e1b0e6ee12
s/inherit/propagate/g
2015-07-31 17:07:31 -07:00
Craig Tiller
99e61645ce
Update wrappers, tests to new create_call()
2015-07-31 17:01:47 -07:00
Julien Boeuf
4aee724004
Merge branch 'master' of github.com:grpc/grpc into ssl_force_client_auth
2015-07-27 16:16:29 -07:00
Yang Gao
f2b2558cc3
Merge pull request #2593 from ctiller/elliptic-orange-chamelion
...
Rename grpc_channel_create to grpc_insecure_channel_create
2015-07-27 14:15:48 -07:00
Michael Lumish
d116a2d3a9
Merge pull request #2632 from marcinwyszynski/master
...
Avoid implicit conversions in Ruby extension code
2015-07-27 08:55:21 -07:00
Craig Tiller
d9aed1d010
Merge github.com:grpc/grpc into elliptic-orange-chamelion
...
Conflicts:
src/csharp/ext/grpc_csharp_ext.c
2015-07-26 12:55:47 -07:00
Marcin Wyszynski
a5fea60e8d
array_length and it's counter types should match
2015-07-24 10:24:32 +02:00
Marcin Wyszynski
1a2ac33f1f
Avoid stupid double conversion
2015-07-23 20:12:33 +02:00
Marcin Wyszynski
ea0c18b3f2
Make time_t to int conversion explicit on tv_nsec
2015-07-23 20:00:32 +02:00
Marcin Wyszynski
ac91eddb60
Avoid implicit conversion on array_length
2015-07-23 19:59:46 +02:00
Craig Tiller
94329d0965
Make the server report monotonic times for deadlines
...
For very high performance systems, we're going to want to be able to
simply push the value reported from the server down onto clients.
If we report realtime now, then all wrapped languages are going to
assume it, meaning that such a change will be impossible later.
2015-07-23 09:52:11 -07:00
Julien Boeuf
5029b30d1c
Adding option to force client auth on the server SSL creds.
2015-07-21 23:02:16 -07:00