| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) In _ingestion, it's the "details" attribute of a
NoSuchMethodException that we want. The "message" is inherited from the
base Exception class.
(2) In _transmission, use a proper sum type for representing operation
abortion. Trying to overload the existing _completion value for
status-and-details-when-aborting was trying to be too clever.
(3) In _calls... oof. Just look. Oof. Test coverage for this code path
is added.
(4) In _service, the application-provided
face.MultiMethodImplementation isn't directly callable, but rather
exposes a method named "service".
(5) In crust.implementations, the wrapping that we've put around the
application-provided face.MultiMethodImplementation *is* directly
callable, and *does not* expose a method named "service".
(6) Also in crust.implementations, base.NoSuchMethodError's constructor
takes a code value and a details value.
(7) Again in crust.implementations, the application-provided
face.MultiMethodImplementation may be None, and if it is None, we
shouldn't wrap it with an adaptation function that would only raise a
TypeError at a later time.
|
|\
| |
| | |
Python Beta codegen.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
nathanielmanistaatgoogle/metadata-and-serialization
Metadata and serialization for Python
|
|\ \ \
| | |/
| |/| |
The rest of the Python Beta API
|
|\ \ \
| | | |
| | | | |
Fix gRPC links lifecycle tracking
|
|\ \ \ \
| | | | |
| | | | | |
Drop invoker during test tear-down
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix grace period bug in _end.accept_ticket
|
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(1) Plumb the metadata transformer given at the Beta API through to the
InvocationLink where it will be used.
(2) In both InvocationLink and ServiceLink, if there isn't a registered
serializer or deserializer, just pass the payload through rather than
ignoring the entire RPC.
|
| | |_|/|\
| |/| |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The invoker is an object derived from, and referring to, objects of the
Face implementation under test. If those objects are to be garbage
collected at the appropriate time the invoker that references them must
be made eligible for garbage collection in the test's tearDown method.
|
| | |/ |
|
| |/
| |
| |
| |
| |
| | |
Tickets should not be ignored if the end is in a grace period; rather
they should be ignored if they are for an unrecognized (likely new)
operation and the end is in a grace period.
|
|/ |
|
|\
| |
| | |
Credentials naming and cleanup
|
|\ \
| | |
| | | |
Made ServiceLink shut-down a two step process.
|
| | |\
| |_|/
|/| |
| | | |
credentials_naming_and_cleanup
|
| | | |
|
|\ \ \
| | | |
| | | | |
Python test clean-up
|
|\ \ \ \
| | | | |
| | | | | |
Accept addresses rather than ports in add_port
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(1) Move metadata and details constants for gRPC-on-the-wire tests into
grpc.test_common.
(2) Drop definitions of setUpModule and tearDownModule from a unit test
module that, because it uses the load_tests protocol, never had those
methods called anyway. :-(
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(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).
|
|\ \
| | |
| | | |
Expand force_client_auth to old ServerCredentials
|
|\ \ \
| | | |
| | | | |
Python OAuth2 auth-token interop test.
|
| |/ /
|/| | |
|
| | | |
|
| |/|
|/| |
| | |
| | | |
credentials_naming_and_cleanup
|
| | | |
|
|\ \ \
| | | |
| | | | |
First draft at addressing #1799 for grpc_security.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
The Beta API Channel
|
|\ \ \ \ \
| | | | | |
| | | | | | |
The RPC Framework crust package
|
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Temporary fix on Python doc to alleviate confusion.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
cc grpc/grpc-common#274, #2896
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
nathanielmanistaatgoogle/no-such-method-code-and-message
Add code and message to base.NoSuchMethodError
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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.
|
| |_|/
|/| |
| | |
| | | |
stable ABI.
|
|\ \ \
| | | |
| | | | |
Outlaw illegal metadata characters
|
| | | | |
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
Use a custom exception in test_control
|
|\ \ \ \
| | | | |
| | | | | |
Status code conformance in grpc._links
|
| | | | |
| | | | |
| | | | |
| | | | | |
Whitespace is now disallowed in metadata keys.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use of ValueError is too easily misconstrued as an actual defect in the
system under test.
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
This is part of support for applications being able to respond to RPCs
with unrecognized names with specific codes and messages.
|
|\ \ \ \
| | | | |
| | | | | |
Four small Python bugfixes
|