pyvider
2024-11-22
Added BDD feature specs, expanded tfppf core with schema and service modules, and got behave working
95 files · 17,531+ · 35,795-
BDD feature specifications
12 files changed
01-provider_handshake_protocol.featureGherkin spec for provider handshake with magic cookie and protocol version verification02-provider_schema_definition.featureGherkin spec for GetProviderSchema with component requirements and versioning03-dynamic_value_handling.featureGherkin spec for DynamicValue msgpack serialization round-trips04-resource_lifecycle_management.featureGherkin spec for create, update, and delete resource lifecycle operations05-resource_state_operations.featureGherkin spec for state upgrade and resource import06-data_source_management.featureGherkin spec for data source read operations07-provider_functions.featureGherkin spec for provider function calls08-error_handling.featureGherkin spec for diagnostic error handling and severity levels09-diagnostics_messages.featureGherkin spec for diagnostic message formatting10-resource_state_movement.featureGherkin spec for MoveResourceState operations11-ephemeral_resource_management.featureGherkin spec for ephemeral resource open, renew, and closeprovider_schema.featureDetailed provider schema feature spec
- Created 12 Gherkin feature files covering the complete Terraform plugin protocol v6 surface area
qualify
architectural
3 files
01-provider_handshake_protocol.feature04-resource_lifecycle_management.feature08-error_handling.feature
Tfppf core module expansion
9 files changed
factory.pyProvider factory for registering and instantiating resource typesprovider.pyCore provider implementation with schema and lifecycle hooksservice.pygRPC service implementation wiring protocol to provider logiclogging.pyLogging configuration for the provider frameworkplugin.pyiType stub for the plugin module__init__.pySchema package initializationattribute.pySchema attribute definition with type constraintsblock.pySchema block definition for nested configurationstypes.pyType system for schema attributes
- Built out tfppf core with factory pattern, provider lifecycle, service layer, and full schema type system
instantiate
architectural
3 files
factory.pyprovider.pyservice.py
- Added schema module with attribute definitions, block nesting, and type constraints
instantiate
behavioral
3 files
attribute.pyblock.pytypes.py
Test infrastructure and code bundle
4 files changed
behave.iniBehave test framework configurationpytest.iniPytest configurationtest_installation.pyInstallation verification test2024-11-23-code-bundle.txtCode bundle snapshot capturing the full workspace state
- Configured behave BDD framework and got feature specs running successfully
qualify
behavioral
2 files
behave.ini01-provider_handshake_protocol.feature