feat(sandbox): implement partner sandbox environment (#348)#443
Open
marvelousufelix wants to merge 1 commit into
Open
feat(sandbox): implement partner sandbox environment (#348)#443marvelousufelix wants to merge 1 commit into
marvelousufelix wants to merge 1 commit into
Conversation
- Add DB migration: sandbox_test_users, sandbox_test_bank_accounts, sandbox_mock_transactions, sandbox_chaos_scenarios, sandbox_certification_runs, sandbox_certification_results tables - Add sandbox models to developer_portal/models.rs: SandboxTestUser, SandboxTestBankAccount, SandboxMockTransaction, GenerateTestDataRequest/Response, SandboxChaosScenario, CreateChaosScenarioRequest, SandboxCertificationRun/Result, CertificationRunSummary - Implement DataFactoryService (data_factory.rs): generate_test_data, reset_environment, list_test_users, list_mock_transactions; generates realistic Nigerian test users with 19 real bank codes and Stellar testnet addresses - Implement ChaosInjectionService (chaos_service.rs): create_scenario, set_active, list_scenarios, delete_scenario, active_scenario_for_path; supports http_500, http_429, tx_rejected, latency_ms, network_timeout with path-prefix targeting and auto-expiry - Implement CertificationService (certification_service.rs): run_certification, latest_run, production_gate_met; 10 tests across 6 categories (deposit, withdrawal, balance, webhook, oauth, error_handling); score 0-100, production gate at 80
|
@marvelousufelix Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add DB migration: sandbox_test_users, sandbox_test_bank_accounts, sandbox_mock_transactions, sandbox_chaos_scenarios, sandbox_certification_runs, sandbox_certification_results tables
Add sandbox models to developer_portal/models.rs: SandboxTestUser, SandboxTestBankAccount, SandboxMockTransaction, GenerateTestDataRequest/Response, SandboxChaosScenario, CreateChaosScenarioRequest, SandboxCertificationRun/Result, CertificationRunSummary
Implement DataFactoryService (data_factory.rs): generate_test_data, reset_environment, list_test_users, list_mock_transactions; generates realistic Nigerian test users with 19 real bank codes and Stellar testnet addresses
Implement ChaosInjectionService (chaos_service.rs): create_scenario, set_active, list_scenarios, delete_scenario, active_scenario_for_path; supports http_500, http_429, tx_rejected, latency_ms, network_timeout with path-prefix targeting and auto-expiry
Implement CertificationService (certification_service.rs): run_certification, latest_run, production_gate_met; 10 tests across 6 categories (deposit, withdrawal, balance, webhook, oauth, error_handling); score 0-100, production gate at 80
closes Partner Sandbox & Integration Testing Environment #417