Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-database support #499

Merged
merged 15 commits into from May 6, 2024
Merged

Multi-database support #499

merged 15 commits into from May 6, 2024

Conversation

emi420
Copy link
Collaborator

@emi420 emi420 commented May 1, 2024

This PR adds multi-database support, including the following:

  • Multi-database support is optional, default configuration is single-database. The Python DB/REST API includes services for querying data from both databases.
  • The Python DB/REST API was refactored for clarity and for supporting querying Statistics and Raw OSM Data using different databases. Validation queries will be added later. For querying Validation and Raw OSM Data together, a single-database configuration is required, at least for now.
  • default.yaml file now includes two variables underpass_db_url and underpass_osm_db_url, same with environment variables REPLICATOR_OSM_DB_URL and REPLICATOR_UNDERPASS_DB_URL and --rawdb and --server underpass parameters.
  • Docker compose file has commented code for the Raw database
  • The --bootstrap command now supports multi-database

@emi420 emi420 deployed to 499/merge May 2, 2024 00:38 — with GitHub Actions Active
@emi420 emi420 merged commit 22ca90f into master May 6, 2024
4 checks passed
@emi420 emi420 deleted the feature/splitdb branch May 6, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants