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__.py Updated __main__.py (+81/-7 lines)
  • __init__.py Removed __init__.py (-362 lines)
  • grpc_logging.py Removed grpc_logging.py (-38 lines)
  • shutdown.py Removed shutdown.py (-64 lines)
  • env.sh Updated env.sh (+6/-1 lines)
  • ugh Removed ugh (-151 lines)
  • Deleted src/pyvider/server/__init__.py (362 lines) containing start_provider and shutdown_provider decouple internal
    1 file
    • __init__.py
  • Deleted src/pyvider/server/shutdown.py (64 lines) decouple internal
    1 file
    • shutdown.py
  • Removed from pyvider.server import shutdown_provider, start_provider from __main__.py interface internal
    1 file
    • __main__.py

Handler Integration with RPCPlugin

39 files changed
  • .bfile Added .bfile (+18 lines)
  • .bfiles Removed .bfiles (-1 lines)
  • foo Updated foo (+0/-0 lines)
  • handler.py Updated handler.py (+102/-70 lines)
  • server.py Updated server.py (+0/-0 lines)
  • __init__.py Updated __init__.py (+2/-1 lines)
  • provider.py Removed provider.py (-4 lines)
  • .coveragerc Added .coveragerc (+4 lines)
  • test_server_two.py Updated test_server_two.py (+3/-4 lines)
  • test_transport_unix_minimal.py Updated test_transport_unix_minimal.py (+1/-1 lines)
  • client.py Updated client.py (+3/-3 lines)
  • config.py Updated config.py (+2/-2 lines)
  • __init__.py Added __init__.py (+2 lines)
  • debug.py Added debug.py (+46 lines)
  • env.sh Updated env.sh (+1/-1 lines)
  • handshake.py Updated handshake.py (+10/-5 lines)
  • grpc_logging.py Added grpc_logging.py (+118 lines)
  • protocol.py Updated protocol.py (+8/-1 lines)
  • security.py Removed security.py (-240 lines)
  • server.py Updated server.py (+26/-11 lines)
  • conftest.py Updated conftest.py (+6/-5 lines)
  • test_certificate_create.py Updated test_certificate_create.py (+2/-2 lines)
  • test_certificate_lifecycle.py Updated test_certificate_lifecycle.py (+1/-1 lines)
  • test_certificate_verify.py Updated test_certificate_verify.py (+2/-2 lines)
  • test_minimal_server_client.py Updated test_minimal_server_client.py (+0/-0 lines)
  • test_transport_2.py Updated test_transport_2.py (+2/-1 lines)
  • transport_unix_94pct_coverage.py Updated transport_unix_94pct_coverage.py (+2/-2 lines)
  • test_server.py Removed test_server.py (-49 lines)
  • test_server_coverage.py Added test_server_coverage.py (+328 lines)
  • test_server_coverage_extra.py Added test_server_coverage_extra.py (+293 lines)
  • test_server_destructor_cleanup.py Added test_server_destructor_cleanup.py (+89 lines)
  • x_segfault_test_server_coverage_extra.py Added x_segfault_test_server_coverage_extra.py (+290 lines)
  • test_transport_unix_2.py Added test_transport_unix_2.py (+318 lines)
  • test_connection.py Added test_connection.py (+184 lines)
  • test_transport_unix.py Added test_transport_unix.py (+3 lines)
  • test_transport_unix_2.py Added test_transport_unix_2.py (+292 lines)
  • test_transport_unix_3.py Added test_transport_unix_3.py (+304 lines)
  • unix.py Updated unix.py (+2/-2 lines)
  • utils.py Removed utils.py (-19 lines)
  • Rewrote src/pyvider/handler.py to import RPCPluginServer and RPCPluginProtocol from rpcplugin interface internal
    1 file
    • handler.py
  • Removed the full ProviderHandler(ProviderServicer) class with all its gRPC method implementations (GetMetadata, GetProviderSchema, ConfigureProvider, etc.) interface internal
    51 files
    • __init__.py
    • __init__.py
    • file_content.py
    • test_file_content.py
    • env.sh
    • tf-test.log.txt
    • ugh
    • clean-tf-logs
    • .bfile
    • .bfiles
    • __main__.py
    • foo
    • handler.py
    • __init__.py
    • provider.py
    • .coveragerc
    • test_server_two.py
    • test_transport_unix_minimal.py
    • client.py
    • config.py
    • __init__.py
    • debug.py
    • env.sh
    • handshake.py
    • grpc_logging.py
    • protocol.py
    • security.py
    • server.py
    • conftest.py
    • test_certificate_create.py
    • test_certificate_lifecycle.py
    • test_certificate_verify.py
    • test_minimal_server_client.py
    • test_transport_2.py
    • transport_unix_94pct_coverage.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • x_segfault_test_server_coverage_extra.py
    • test_transport_unix_2.py
    • test_connection.py
    • test_transport_unix.py
    • test_transport_unix_2.py
    • test_transport_unix_3.py
    • unix.py
    • utils.py
    • __init__.py
    • grpc_logging.py
    • shutdown.py
    • decorators.py
  • Stripped the handler down to a thin wrapper that delegates to rpcplugin server decouple internal
    7 files
    • __init__.py
    • __init__.py
    • file_content.py
    • test_file_content.py
    • tf-test.log.txt
    • clean-tf-logs
    • decorators.py