mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-10 09:22:06 -04:00
* no-op commit * [Mongo SDK Plugin] (enos): Add MongoDB plugin test framework for Enos (#13576) * Add modular database infrastructure for Enos testing Infrastructure Changes: - Created generic database_container module supporting PostgreSQL, MongoDB, MySQL - Consolidated database configs in enos-globals.hcl with dynamic port generation - Refactored set_up_external_integration_target to use generic module with for_each - Updated enos-scenario-plugin.hcl to pass database_configs from globals Test Organization: - Reorganized test structure: moved postgres/ and mongodb/ into database/ directory - Maintains existing production-ready test helpers - Structure: plugins/database/{postgres,mongodb}/ for better organization Benefits: - Easy to add new databases (just add to database_configs in globals) - No code duplication across database types - Consistent patterns for all database testing - Supports both Docker containers and external database URLs --------- Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| main.tf | ||
| variables.tf | ||