Julien Boeuf
6c7185d350
Merge branch 'master' of github.com:grpc/grpc into credentials_naming_and_cleanup
2015-08-28 14:33:17 -07:00
Nathaniel Manista
4354f3e680
Make ServiceLink shut-down a two step process
2015-08-28 21:08:25 +00:00
Masood Malekghassemi
42188d21ec
Merge pull request #3128 from nathanielmanistaatgoogle/add_port
...
Accept addresses rather than ports in add_port
2015-08-28 16:24:58 -04:00
Nathaniel Manista
6e6ddbec91
Accept addresses rather than ports in add_port
2015-08-28 16:37:38 +00:00
Nathaniel Manista
4b41ba249d
Two fixes in grpc.framework.core._end
...
(1) Call "cancel" on each future, not on the list of futures.
(2) If and when futures mature their actions should simply abort all
outstanding operations and cancel any other futures. They should not
shut down the _End's internal thread pool; only the termination action
of the last operation to terminate should shut down the pool (in the
case of their having been active operations at the time at which the
_End's stop(grace) method was called).
2015-08-28 15:48:23 +00:00
Nathaniel Manista
0908c23c44
Expand force_client_auth to old ServerCredentials
2015-08-28 03:04:04 +00:00
Julien Boeuf
63720d4ecf
Python service account cleanup.
2015-08-27 17:22:16 -07:00
Julien Boeuf
fe4bacb641
Merge branch 'credentials_naming_and_cleanup' of github.com:jboeuf/grpc into credentials_naming_and_cleanup
2015-08-27 15:49:27 -07:00
Nathaniel Manista
7dc25d3ca6
Add force_client_auth to _low.ServerCredentials
2015-08-27 20:08:42 +00:00
Craig Tiller
08348334e5
Merge pull request #2947 from jboeuf/grpc_security_abi
...
First draft at addressing #1799 for grpc_security.
2015-08-27 12:43:25 -07:00
Masood Malekghassemi
41d2b291eb
Merge pull request #3093 from nathanielmanistaatgoogle/channel
...
The Beta API Channel
2015-08-27 12:33:20 -04:00
Masood Malekghassemi
967caaada0
Merge pull request #3052 from nathanielmanistaatgoogle/crust
...
The RPC Framework crust package
2015-08-27 00:17:05 -04:00
Nathaniel Manista
8e3dc00d93
The Beta API Channel
2015-08-27 03:15:06 +00:00
Masood Malekghassemi
f61897df57
Merge pull request #3044 from nathanielmanistaatgoogle/no-such-method-code-and-message
...
Add code and message to base.NoSuchMethodError
2015-08-26 14:47:48 -04: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
Nathaniel Manista
4c8288ec01
The RPC Framework crust package
2015-08-25 22:17:59 +00:00
Masood Malekghassemi
62597fdf96
Merge pull request #3047 from nathanielmanistaatgoogle/status
...
Status code conformance in grpc._links
2015-08-25 12:34:52 -04:00
Nathaniel Manista
815604fdcd
Add code and message to base.NoSuchMethodError
...
This is part of support for applications being able to respond to RPCs
with unrecognized names with specific codes and messages.
2015-08-25 05:01:01 +00:00
Masood Malekghassemi
e289e52436
Merge pull request #3038 from nathanielmanistaatgoogle/four-fixes
...
Four small Python bugfixes
2015-08-24 18:50:07 -07:00
Masood Malekghassemi
7c70bc2673
Merge pull request #3045 from nathanielmanistaatgoogle/parameter-reassignment
...
Fix parameter reassignment defect
2015-08-24 18:45:43 -07:00
Nathaniel Manista
7b92bae20e
Status code conformance in grpc._links
2015-08-25 00:56:25 +00:00
Masood Malekghassemi
8c4549aec7
Merge pull request #3039 from nathanielmanistaatgoogle/transport-objects
...
Add a "transport" field to links.Ticket
2015-08-24 15:07:55 -07:00
Nathaniel Manista
c9dc74b2cd
Fix parameter reassignment defect
...
This defect was introduced in 515b0a9352 .
2015-08-24 21:59:03 +00:00
Nathaniel Manista
e75ee388e1
Merge pull request #2969 from soltanmm/gravity-well
...
Add cancel_all_calls to Python server.
2015-08-24 13:40:35 -07:00
Nathaniel Manista
2432c224d9
Add a "transport" field to links.Ticket
...
This will be used for communication of transport-specific values and
objects up to applications.
2015-08-24 18:49:45 +00:00
Nathaniel Manista
9faff0e2b1
Four small bugfixes
...
(1) In grpc._links.service._Kernel.add_ticket, premetadata() the call
if it has not already been premetadataed for any non-None ticket
termination, not just links.Ticket.Termination.COMPLETION.
(2) In grpc.framework.core._reception, add an entry to
_REMOTE_TICKET_TERMINATION_TO_LOCAL_OUTCOME for REMOTE_FAILURE.
REMOTE_FAILURE on a received ticket indicates the remote side of the
operation blaming the local side for operation abortion.
(3) In grpc.framework.core._reception.ReceptionManager._abort, only
abort the operation's other managers if the operation has not already
terminated, as indicated by the "outcome" attribute of the
TerminationManager.
(4) In grpc.framework.core._reception.ReceptionManager._abort, don't
transmit the outcome to the other side of the operation. Either it came
from the other side in the first place and to send it back would be
telling the other side something it already knows, or it arose from a
network failure and there's no confidence that it would reach the other
side.
2015-08-24 18:10:55 +00:00
Nathaniel Manista
79c9b358d9
The face interface of RPC Framework.
...
This is the public API of the old face package of RPC Framework
extracted into a first-class interface and adapted to metadata, status,
and flow control.
2015-08-24 16:59:09 +00:00
Masood Malekghassemi
03d281ab1b
Merge pull request #2968 from nathanielmanistaatgoogle/nathaniel-core
...
The RPC Framework core package.
2015-08-23 15:14:36 -07:00
Nathaniel Manista
f36e1b74b5
The RPC Framework core package.
...
This is the second generation of the old base package (framework.base)
and implements the translation between the new links and base
interfaces.
2015-08-21 18:33:02 +00:00
Masood Malekghassemi
41a166f97b
Add cancel_all_calls to Python server
...
Also format _low_test.py to fit within the 80 character fill-limit and
re-style test assertions.
2015-08-20 15:26:09 -07:00
Stanley Cheung
dbeb1cd90c
update debian install instructions
2015-08-19 14:39:05 -07:00
Yang Gao
4836492061
Merge pull request #2972 from ctiller/get-reserved-things-right
...
Add some reserved checks that need to be present
2015-08-19 09:59:48 -07:00
Mikołaj Siedlarek
c3134bc955
Allow customization of thread pool size in Python.
2015-08-19 15:24:07 +02:00
Craig Tiller
4275899297
Sprinkle reserved = NULL around
2015-08-18 10:34:32 -07:00
Nathaniel Manista
9df83ab9e2
The base interface of RPC Framework
...
This is the public API of the old base package of RPC Framework
extracted into a first-class interface and adapted to metadata, status,
and flow control.
2015-08-17 19:49:53 +00:00
Nicolas "Pixel" Noble
f123443aa5
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
2015-08-13 23:40:04 +02:00
Nathaniel Manista
515b0a9352
Service-side read without allowance
...
This compensates for the abstraction mismatch described in issue 2916.
2015-08-13 17:22:21 +00: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
Nathaniel Manista
52988afdc8
Merge pull request #2878 from soltanmm/expose
...
Expose new core functionality to Python.
2015-08-12 13:35:57 -07:00
Masood Malekghassemi
be55ca770d
Expose new core functionality to Python
2015-08-12 11:59:55 -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
Nathaniel Manista
2bd1fe82f9
Merge pull request #2826 from soltanmm/typo-fix
...
Fix debug annotation typo in Python.
2015-08-12 08:23:52 -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
Nicolas "Pixel" Noble
faddd3c3f9
Fixing Python after the merge.
2015-08-08 02:20:43 +02: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
Masood Malekghassemi
6107bf457a
Set Python user-agent string
2015-08-06 13:33:07 -07:00
Masood Malekghassemi
1116b0b4fb
Fix debug annotation typo in Python
2015-08-06 12:37:05 -07:00
Yang Gao
e5b0459299
Merge pull request #2750 from ctiller/propagate
...
Core-supported context propagation
2015-08-06 09:39:51 -07:00
Nathaniel Manista
7098b1ba64
Merge pull request #2746 from soltanmm/user-agent
...
Add project metadata generation to Python.
2015-08-05 17:48:46 -07:00
Masood Malekghassemi
5c147631d3
Add project metadata generation to Python
2015-08-05 16:08:05 -07: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
6728bef3b1
Merge branch 'propagate' of github.com:ctiller/grpc into propagate
...
Conflicts:
src/core/surface/channel.c
2015-08-01 16:12:04 -07:00
Craig Tiller
fa44f18516
Merge github.com:grpc/grpc into propagate
...
Conflicts:
src/core/surface/channel.c
2015-08-01 16:11:03 -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
Masood Malekghassemi
2b84162bd4
Use py.test from run_tests.py
...
Also updates the version of grpcio_test. Now that grpcio and its tests
are in different project packages, the version numbers should be kept in
sync.
2015-07-31 14:13:11 -07:00
Masood Malekghassemi
791cc31a49
Enable Python testing and coverage
2015-07-31 14:11:06 -07:00
Masood Malekghassemi
623b7aee4a
Reorganize Python tests
2015-07-30 16:40:00 -07:00
Masood Malekghassemi
fe8dc883d0
Reorganize Python packages
...
This is in preparation of moving all tests into a separate package to
enable ease of coverage checking and testing.
2015-07-30 16:25:55 -07:00