pyvider 2024-12-21
Added GetProviderSchema handler and server shutdown module
22 files · 853+ · 487-

Created GetProviderSchema handler for Terraform RPC

1 file changed
  • get_provider_schema.py Terraform GetProviderSchema RPC method implementation (135-177 lines through iterations)
  • Implemented GetProviderSchema RPC handler through multiple iterations refining schema construction and response format instantiate behavioral
    1 file
    • get_provider_schema.py

Added server shutdown module for graceful termination

1 file changed
  • service.py Updated protocol service with handler registration improvements (102+ lines)
  • Expanded protocol service with improved handler registration and created graceful shutdown handling instantiate internal
    1 file
    • service.py

Expanded registry decorators and simplified handler

3 files changed
  • decorators.py Improved component registration (151+ lines)
  • keystone.py Better component management (75+ lines)
  • handler.py Simplified handler (98 lines, reduced)
  • Expanded registry decorators with improved component registration and keystone with better component management streamline internal
    2 files
    • decorators.py
    • keystone.py
  • Simplified main handler with reduced code streamline internal
    1 file
    • handler.py

Simplified file content resource and removed old components

1 file changed
  • file_content.py Simplified resource implementation (305 lines changed, net reduction) with type encoding fixes
  • Simplified file content resource with reduced complexity and fixed type encoding between string and byte representations streamline internal
    1 file
    • file_content.py
  • Removed old component data sources (zipcode) and functions (random_complex_object, verify_zipcode) deprecate internal
    3 files
    • zipcode.py
    • random_complex_object.py
    • verify_zipcode.py