Rename database methods and endpoints to cloud_databases#2970
Merged
adamtheturtle merged 1 commit intomainfrom Feb 20, 2026
Merged
Rename database methods and endpoints to cloud_databases#2970adamtheturtle merged 1 commit intomainfrom
adamtheturtle merged 1 commit intomainfrom
Conversation
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>
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.
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
/databases→/cloud_databases(all 5 routes)TargetManagermethods:add_database()→add_cloud_database(),remove_database()→remove_cloud_database()MockVWS.add_database()→MockVWS.add_cloud_database()🤖 Generated with Claude Code
Note
Medium Risk
Primarily a rename/refactor, but it changes public HTTP route paths and the
MockVWS/TargetManagermethod names, which can break external consumers expecting/databasesoradd_database.Overview
Clarifies terminology by renaming the Target Manager HTTP API from
/databasesto/cloud_databases(including nested target routes) and renaming the delete handler todelete_cloud_database.Renames in-memory APIs to match:
TargetManagernow stores_cloud_databasesand exposesadd_cloud_database/remove_cloud_database, whileMockVWS.add_databasebecomesMockVWS.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.