| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This reorganizes the Python code, scraps the current testing
infrastructure, and implements a simple test discovery and run script
based on the standard Python unittest library so we can trust that our
tests are running.
|
|
|
|
|
|
| |
Context management is implemented.
Stub deletion now cancels all RPCs immediately.
|
|\ |
|
|\ \ |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Warnings will be emitted when trying to import through alpha packages.
|
| |
| |
| |
| | |
Also uses the .proto files for the service/stub definitions.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Update test for changed core HTTP header handling.
|
|\ \
| | |
| | | |
Test coverage for callbacks added to Face futures
|
| | | |
|
| |/ |
|
|/
|
|
|
| |
These changes probably should have been in 3b0fefb246caf9cf983d8 but
were overlooked.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) Move dependency on protobuf from grpcio to grpcio_test. While the
most-commonly-foreseen use case of grpcio makes use of protobuf,
technically protobuf is not strictly needed and there's no actual
in-code relationship between grpcio and protobuf.
(2) Loosen the dependency on protobuf from ==3.0.0a3 to >=3.0.0a3.
(3) Update all references to 0.10.0* to 0.11.0.
(4) Alphabetize the grpcio_test dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) Renamed the "beta" module "implementations" because it hasn't been
monolithic since "interfaces" was factored out of it a few changes
back.
(2) Moved ChannelConnectivity from grpc.beta.beta to
grpc.beta.interfaces since it is constants that don't depend on the
beta implementation.
(3) Moved the Server interface definition from grpc.beta.beta to
grpc.beta.interfaces since it is an interface.
(4) Dropped the "create_" prefix from "create_<...>_channel" functions
to better match the other creation functions throughout the codebase.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
It may seem weird that code and details would travel along two paths
now instead of one but it makes sense after considering that sometimes
the code and details are application data from the remote application
and sometimes they are transport data from the transport between the
local and remote applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
(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.
|
|\
| |
| | |
Credentials naming and cleanup
|
|\ \
| | |
| | | |
Made ServiceLink shut-down a two step process.
|
| | |\
| |_|/
|/| |
| | | |
credentials_naming_and_cleanup
|
| | | |
|
|\ \ \
| | | |
| | | | |
Python test clean-up
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(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. :-(
|
|/ / |
|
|\ \
| | |
| | | |
Python OAuth2 auth-token interop test.
|
| |/
|/| |
|
| | |
|
|\ \
| | |
| | | |
The Beta API Channel
|
|\ \ \
| | | |
| | | | |
The RPC Framework crust package
|
| |/ /
|/| | |
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
nathanielmanistaatgoogle/no-such-method-code-and-message
Add code and message to base.NoSuchMethodError
|
|\ \ \
| | | |
| | | | |
Outlaw illegal metadata characters
|
| | | | |
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
Use a custom exception in test_control
|
| | | |
| | | |
| | | |
| | | | |
Whitespace is now disallowed in metadata keys.
|