pyvider 2024-12-12
Created schema merger and gRPC health check with simplified registry
35 files · 1,162+ · 1,185-

Created schema merger for combining provider schemas

2 files changed
  • merger.py Merges multiple schema definitions into a unified provider schema (233 lines)
  • test_schema_merger.py Merger tests (159 lines)
  • Created schema merger for combining multiple schema definitions into a unified provider schema instantiate behavioral
    2 files
    • merger.py
    • test_schema_merger.py

Added gRPC health check protocol and tracing utilities

2 files changed
  • health.py gRPC health check protocol implementation (21 lines)
  • tracing.py OpenTelemetry tracing utilities (12 lines)
  • Implemented gRPC health check protocol for provider health monitoring instantiate behavioral
    1 file
    • health.py
  • Added OpenTelemetry tracing utilities for resource operation tracing instantiate internal
    1 file
    • tracing.py

Simplified registry system by removing unnecessary linking

5 files changed
  • keystone.py Simplified central registry (139 lines, net reduction)
  • decorators.py Simplified decorators (278 lines, net reduction)
  • discovery.py Cleaner component scanning (221 lines changed)
  • debugging.py Simplified debugging (196 lines changed)
  • registry_metadata.py Updated metadata
  • Simplified registry by removing linking.py and reducing keystone, decorators, discovery, and debugging modules streamline internal
    4 files
    • keystone.py
    • decorators.py
    • discovery.py
    • debugging.py

Refined file content resource component with improved error handling

4 files changed
  • file_content.py Multiple refinements to resource implementation with improved error handling
  • data_source_zipcode.py Updated zipcode data source
  • zipcode.py Updated zipcode component
  • test_file_content.py File content test refinements
  • Refined file content resource with improved error handling, iterating through multiple fixes to validation and exception types streamline internal
    2 files
    • file_content.py
    • test_file_content.py

Simplified handler and added protocol resource handler

7 files changed
  • handler.py Simplified handler (191 lines changed, net reduction)
  • resource.py Protocol resource handler (52 lines)
  • base.py Minor improvements
  • base.py Updated resource base
  • server.py Minor fixes
  • __init__.py Updated exception exports
  • foundation.py Updated foundation exceptions
  • Simplified main handler and added tfprotov6 resource handler streamline internal
    2 files
    • handler.py
    • resource.py
  • Updated provider base, resource base, server, and exception modules streamline internal
    4 files
    • base.py
    • base.py
    • server.py
    • foundation.py