Skip to content

Rename database methods and endpoints to cloud_databases#2970

Merged
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/cloud-database-rename
Feb 20, 2026
Merged

Rename database methods and endpoints to cloud_databases#2970
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/cloud-database-rename

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 20, 2026

Summary

Clarify that database-related methods, endpoints, and variables refer to cloud databases rather than generic databases. This improves code readability and lays the groundwork for supporting additional database types in the future.

Changes

  • Flask endpoints: /databases/cloud_databases (all 5 routes)
  • TargetManager methods: add_database()add_cloud_database(), remove_database()remove_cloud_database()
  • MockVWS.add_database()MockVWS.add_cloud_database()
  • Updated all callers in tests, fixtures, and documentation
  • Updated error messages to reference "cloud database"

🤖 Generated with Claude Code


Note

Medium Risk
Primarily a rename/refactor, but it changes public HTTP route paths and the MockVWS/TargetManager method names, which can break external consumers expecting /databases or add_database.

Overview
Clarifies terminology by renaming the Target Manager HTTP API from /databases to /cloud_databases (including nested target routes) and renaming the delete handler to delete_cloud_database.

Renames in-memory APIs to match: TargetManager now stores _cloud_databases and exposes add_cloud_database/remove_cloud_database, while MockVWS.add_database becomes MockVWS.add_cloud_database; all upstream VWS/VWQ calls are updated to hit the new endpoints.

Updates docs, docker examples, fixtures, and tests to use the new names and adjusts conflict error messages to say cloud database.

Written by Cursor Bugbot for commit cd2f810. This will update automatically on new commits. Configure here.

Clarify that database-related methods, endpoints, and variables refer to cloud databases rather than generic databases. This lays the groundwork for supporting additional database types in the future.

Changes:
- Rename Flask endpoints from /databases to /cloud_databases
- Rename TargetManager methods: add_database → add_cloud_database, remove_database → remove_cloud_database
- Rename MockVWS.add_database → add_cloud_database
- Update all callers, tests, documentation, and error messages accordingly

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit 5d2bb0c into main Feb 20, 2026
106 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/cloud-database-rename branch February 20, 2026 18:32
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.

1 participant