pyvider 2024-12-03
Added schema builder with fluent API and expanded logscribe logging
33 files · 2,355+ · 1,542-

Created schema builder and registry for programmatic construction

3 files changed
  • builder.py Programmatic schema construction with fluent API (135 lines)
  • registry.py Schema registration and lookup (26 lines)
  • wrapper.py Updated SchemaWrapper
  • Created schema builder for programmatic schema construction with a fluent API instantiate behavioral
    1 file
    • builder.py
  • Added schema registry for schema registration and lookup instantiate internal
    1 file
    • registry.py

Expanded logscribe with additional configuration options

2 files changed
  • core.py Additional logging configuration options (187+ lines)
  • example_script.py Updated usage examples
  • Expanded logscribe core with additional logging configuration options and updated usage examples streamline behavioral
    2 files
    • core.py
    • example_script.py

Created String type module with format validation

2 files changed
  • string.py Enhanced String type handling with format validation and constraints (133+ lines)
  • string.py String utility functions (97 lines)
  • Expanded String type with format validation and constraints, and added string utility module instantiate internal
    2 files
    • string.py
    • string.py

Streamlined provider service and gRPC server

6 files changed
  • provider_service.py Simplified by removing redundant handler abstractions (897 lines changed, net reduction)
  • grpc_server.py Improved lifecycle management (149 lines changed)
  • service_registry.py Updated service registry
  • terraform_handshake.py More robust environment variable validation (113+ lines)
  • core_decorators.py Improved parameter checking (45 lines changed)
  • validation.py Improved validation (44+ lines)
  • Simplified provider service by removing redundant handler abstractions and improved gRPC server lifecycle management streamline internal
    2 files
    • provider_service.py
    • grpc_server.py
  • Enhanced terraform handshake with more robust environment variable validation and improved decorator parameter checking harden internal
    3 files
    • terraform_handshake.py
    • core_decorators.py
    • validation.py

Added String type tests and resource file content

5 files changed
  • test_tftypes_types_string.py Comprehensive String type test coverage (207 lines)
  • test_decorators.py Updated decorator tests
  • test_schema_wrapper.py Updated schema wrapper tests
  • test_grpc_server.py Updated gRPC server tests
  • resource_test_file_content.py Test file content resource
  • Added comprehensive String type test coverage and updated tests for decorators, schema wrapper, and gRPC server qualify internal
    4 files
    • test_tftypes_types_string.py
    • test_decorators.py
    • test_schema_wrapper.py
    • test_grpc_server.py