Add comprehensive examples and end-to-end test cases#4
Merged
kavyasoni merged 1 commit intoNov 18, 2025
Merged
Conversation
- config_postgresql.yaml - Complete PostgreSQL sync configuration - config_mongodb.yaml - MongoDB to BigQuery configuration - config_smart_sync.yaml - Smart Sync incremental updates config - run_from_python.py - 6 programmatic usage examples 1. Simple PostgreSQL sync (DirectRunner) 2. Smart Sync on Dataflow 3. MongoDB to BigQuery sync 4. Dynamic configuration from environment 5. Multi-source sequential sync 6. Scheduled sync with error handling - local_test.sh - 5 automated local test scenarios - production_deployment.sh - Complete automated deployment - examples/README.md - Comprehensive examples guide - tests/integration/conftest.py - Pytest fixtures for integration tests - tests/integration/test_pipeline.py - 8 comprehensive E2E pipeline tests 1. Full PostgreSQL to BigQuery pipeline 2. Smart Sync incremental pipeline 3. MongoDB to BigQuery pipeline 4. Auto-schema detection pipeline 5. Multi-source pipeline 6. Error handling pipeline 7. Data validation pipeline 8. Transformation pipeline - tests/integration/test_e2e_scenarios.py - 5 real-world scenarios 1. Daily full refresh scenario 2. Hourly incremental sync scenario 3. Initial historical load scenario 4. Cross-project sync scenario 5. Empty table first run scenario - Total files: 12 - Total size: 182KB - Configuration examples: 3 - Executable scripts: 3 - Python examples: 6 - Test cases: 15 (8 pipeline + 5 scenario + 2 utility) ✅ Production-ready YAML configurations ✅ Python API for programmatic execution ✅ Automated local testing (5 scenarios) ✅ Automated production deployment ✅ Apache Beam TestPipeline integration ✅ Mock database connections ✅ Real-world scenario tests ✅ Comprehensive documentation
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.
config_postgresql.yaml - Complete PostgreSQL sync configuration
config_mongodb.yaml - MongoDB to BigQuery configuration
config_smart_sync.yaml - Smart Sync incremental updates config
run_from_python.py - 6 programmatic usage examples
local_test.sh - 5 automated local test scenarios
production_deployment.sh - Complete automated deployment
examples/README.md - Comprehensive examples guide
tests/integration/conftest.py - Pytest fixtures for integration tests
tests/integration/test_pipeline.py - 8 comprehensive E2E pipeline tests
tests/integration/test_e2e_scenarios.py - 5 real-world scenarios
Total files: 12
Total size: 182KB
Configuration examples: 3
Executable scripts: 3
Python examples: 6
Test cases: 15 (8 pipeline + 5 scenario + 2 utility)
✅ Production-ready YAML configurations
✅ Python API for programmatic execution
✅ Automated local testing (5 scenarios)
✅ Automated production deployment
✅ Apache Beam TestPipeline integration
✅ Mock database connections
✅ Real-world scenario tests
✅ Comprehensive documentation
Pull Request
Description
Please include a summary of the changes and the related issue. Include relevant motivation and context.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.
Testing Checklist
Documentation Checklist
Code Quality Checklist
Additional Information
Breaking Changes
If this is a breaking change, describe the impact and migration path:
Performance Impact
Describe any performance implications:
Screenshots/Logs
If applicable, add screenshots or logs to help explain your changes:
Deployment Notes
Any special deployment considerations: