pyvider
2025-02-08
Server Module Removal and Handler Integration with RPCPlugin
45 files · 2,551+ · 1,050-
Server Module Removal
6 files changed
__main__.pyUpdated __main__.py (+81/-7 lines)__init__.pyRemoved __init__.py (-362 lines)grpc_logging.pyRemoved grpc_logging.py (-38 lines)shutdown.pyRemoved shutdown.py (-64 lines)env.shUpdated env.sh (+6/-1 lines)ughRemoved ugh (-151 lines)
- Deleted
src/pyvider/server/__init__.py(362 lines) containingstart_providerandshutdown_providerdecouple internal1 file
__init__.py
- Deleted
src/pyvider/server/shutdown.py(64 lines) decouple internal1 file
shutdown.py
- Removed
from pyvider.server import shutdown_provider, start_providerfrom__main__.pyinterface internal1 file
__main__.py
Handler Integration with RPCPlugin
39 files changed
.bfileAdded .bfile (+18 lines).bfilesRemoved .bfiles (-1 lines)fooUpdated foo (+0/-0 lines)handler.pyUpdated handler.py (+102/-70 lines)server.pyUpdated server.py (+0/-0 lines)__init__.pyUpdated __init__.py (+2/-1 lines)provider.pyRemoved provider.py (-4 lines).coveragercAdded .coveragerc (+4 lines)test_server_two.pyUpdated test_server_two.py (+3/-4 lines)test_transport_unix_minimal.pyUpdated test_transport_unix_minimal.py (+1/-1 lines)client.pyUpdated client.py (+3/-3 lines)config.pyUpdated config.py (+2/-2 lines)__init__.pyAdded __init__.py (+2 lines)debug.pyAdded debug.py (+46 lines)env.shUpdated env.sh (+1/-1 lines)handshake.pyUpdated handshake.py (+10/-5 lines)grpc_logging.pyAdded grpc_logging.py (+118 lines)protocol.pyUpdated protocol.py (+8/-1 lines)security.pyRemoved security.py (-240 lines)server.pyUpdated server.py (+26/-11 lines)conftest.pyUpdated conftest.py (+6/-5 lines)test_certificate_create.pyUpdated test_certificate_create.py (+2/-2 lines)test_certificate_lifecycle.pyUpdated test_certificate_lifecycle.py (+1/-1 lines)test_certificate_verify.pyUpdated test_certificate_verify.py (+2/-2 lines)test_minimal_server_client.pyUpdated test_minimal_server_client.py (+0/-0 lines)test_transport_2.pyUpdated test_transport_2.py (+2/-1 lines)transport_unix_94pct_coverage.pyUpdated transport_unix_94pct_coverage.py (+2/-2 lines)test_server.pyRemoved test_server.py (-49 lines)test_server_coverage.pyAdded test_server_coverage.py (+328 lines)test_server_coverage_extra.pyAdded test_server_coverage_extra.py (+293 lines)test_server_destructor_cleanup.pyAdded test_server_destructor_cleanup.py (+89 lines)x_segfault_test_server_coverage_extra.pyAdded x_segfault_test_server_coverage_extra.py (+290 lines)test_transport_unix_2.pyAdded test_transport_unix_2.py (+318 lines)test_connection.pyAdded test_connection.py (+184 lines)test_transport_unix.pyAdded test_transport_unix.py (+3 lines)test_transport_unix_2.pyAdded test_transport_unix_2.py (+292 lines)test_transport_unix_3.pyAdded test_transport_unix_3.py (+304 lines)unix.pyUpdated unix.py (+2/-2 lines)utils.pyRemoved utils.py (-19 lines)
- Rewrote
src/pyvider/handler.pyto importRPCPluginServerandRPCPluginProtocolfrom rpcplugin interface internal1 file
handler.py
- Removed the full
ProviderHandler(ProviderServicer)class with all its gRPC method implementations (GetMetadata, GetProviderSchema, ConfigureProvider, etc.) interface internal51 files
__init__.py__init__.pyfile_content.pytest_file_content.pyenv.shtf-test.log.txtughclean-tf-logs.bfile.bfiles__main__.pyfoohandler.py__init__.pyprovider.py.coveragerctest_server_two.pytest_transport_unix_minimal.pyclient.pyconfig.py__init__.pydebug.pyenv.shhandshake.pygrpc_logging.pyprotocol.pysecurity.pyserver.pyconftest.pytest_certificate_create.pytest_certificate_lifecycle.pytest_certificate_verify.pytest_minimal_server_client.pytest_transport_2.pytransport_unix_94pct_coverage.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pyx_segfault_test_server_coverage_extra.pytest_transport_unix_2.pytest_connection.pytest_transport_unix.pytest_transport_unix_2.pytest_transport_unix_3.pyunix.pyutils.py__init__.pygrpc_logging.pyshutdown.pydecorators.py
- Stripped the handler down to a thin wrapper that delegates to rpcplugin server
decouple
internal
7 files
__init__.py__init__.pyfile_content.pytest_file_content.pytf-test.log.txtclean-tf-logsdecorators.py