pyvider
2024-11-29
Relocated package back to src/pyvider/ with services-based architecture
226 files · 1,858+ · 12,377-
Moved package from pyvider/ back to src/pyvider/
3 files changed
__init__.pyPackage root restored under src/cli.pyCLI module at new locationversion.pyVersion module
- Moved all source back to src/pyvider/ from top-level pyvider/ directory with all submodules restructured
decouple
behavioral
2 files
__init__.pycli.py
- Removed old top-level pyvider/ with all its modules including tfprotov6, provider, utils, tftypes, docs, and tests
deprecate
internal
1 file
pyvider
Established services-based architecture with gRPC server and provider service
7 files changed
grpc_server.pygRPC server management (106 lines)provider_service.pyInitial provider service (33 lines)service_registry.pyService discovery and registration (30 lines)__init__.pyHandler package initializationapply_resource_change_handler.pyApply resource change handlerget_provider_schema_handler.pyGet provider schema handlerplan_resource_change_handler.pyPlan resource change handler
- Created services layer with gRPC server management, provider service, and service registry for discovery and registration
instantiate
architectural
3 files
grpc_server.pyprovider_service.pyservice_registry.py
- Added handler modules for apply_resource_change, get_provider_schema, and plan_resource_change
instantiate
behavioral
3 files
apply_resource_change_handler.pyget_provider_schema_handler.pyplan_resource_change_handler.py
Added core infrastructure with handshake, registry, and proto wrappers
6 files changed
terraform_handshake.pyTerraform plugin handshake protocol (100 lines)registry.pyComponent registration (20 lines)base.pyBase class definitionsschema_wrapper.pyProto schema wrapper (27 lines)schema_wrapper.pyV6 protobuf schema wrapper (191 lines)schema_wrapper.pyV7 schema wrapper stub for future support
- Added Terraform plugin handshake protocol, component registry, and base class definitions
instantiate
behavioral
3 files
terraform_handshake.pyregistry.pybase.py
- Created proto schema wrappers for v6 with v7 stub for future support
instantiate
behavioral
2 files
schema_wrapper.pyschema_wrapper.py
Rebuilt test infrastructure with new directory structure
5 files changed
__init__.pyTest package initializationtest_example.pyData source example teststest_example.pyFunction example teststest_example.pyResource example teststest_wrappers.pyWrapper replacement tests (60 lines)
Cleaned up old files and added project configuration
3 files changed
pyproject.tomlUpdated project configurationMakefileBuild automationsetup.cfgSetup configuration