Skip to content

Rename database functions to cloud_databases#2969

Merged
adamtheturtle merged 2 commits intomainfrom
adamtheturtle/rename-db-to-cloud-db
Feb 20, 2026
Merged

Rename database functions to cloud_databases#2969
adamtheturtle merged 2 commits intomainfrom
adamtheturtle/rename-db-to-cloud-db

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 20, 2026

Summary

Rename target manager and Flask app database functions and properties to explicitly reference cloud databases for improved clarity.

Changes

  • Rename databases property to cloud_databases on TargetManager class
  • Rename get_databases() to get_cloud_databases() in target manager Flask app
  • Rename create_database() to create_cloud_database() in target manager Flask app
  • Rename get_all_databases() to get_all_cloud_databases() in VWS and VWQ Flask apps
  • Update all references throughout the codebase (request mock servers, Flask routes, validators)

🤖 Generated with Claude Code


Note

Medium Risk
Primarily a widespread rename/refactor, but it touches multiple request/response entry points (Flask apps and requests-mock servers) so any missed reference could cause runtime errors despite no intended behavior change.

Overview
Terminology cleanup: Renames the TargetManager.databases accessor to TargetManager.cloud_databases and updates all usages across the Flask target manager, VWS, and VWQ servers (including helper functions like get_all_cloud_databases).

Public-facing naming updates: Renames target manager endpoints referenced in Sphinx docs (create_database -> create_cloud_database, get_databases -> get_cloud_databases) while keeping the HTTP routes the same (/databases).

Maintenance: Bumps dev dependency vws-web-tools to 2026.2.20.

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

* Refresh Vuforia secrets and simplify admin script

Replace suspended license credentials with 100 fresh cloud database
credentials. Simplify the secrets creation script to reuse existing
VuMark and inactive database credentials from the existing secrets file
instead of creating new ones each run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Revert simplification of admin script to restore VuMark creation logic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Update the autoflask directive in docker.rst to reference the renamed endpoint create_cloud_database instead of create_database.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit 703a1e3 into main Feb 20, 2026
106 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/rename-db-to-cloud-db branch February 20, 2026 17:41
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