Repository navigation
feat: promote dbaas postgres-v2 and mariadb-v2 to default - #710
Closed
avirtopeanu-ionos wants to merge 1 commit into
Closed
avirtopeanu-ionos wants to merge 1 commit into
avirtopeanu-ionos wants to merge 1 commit into
Conversation
avirtopeanu-ionos
requested review from
adeatcu-ionos,
cavramoniu-ionos,
cristiGuranIonos and
rmocanu-ionos
and
a balanced review from Copilot
November 11, 2026 10:40
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review reports no active issues for the DBaaS v2 command migration.
No open issues 🎉
What changed in this PR
Promotes the regional PostgreSQL and MariaDB v2 APIs to the default DBaaS commands, replacing the decommissioned v1 implementations while retaining hidden -v2 command names.
Changes:
- Consolidates command implementations and clients around the v2 APIs.
- Removes legacy commands, SDK dependencies, and obsolete documentation.
- Updates command references, release notes, and tests for hidden compatibility commands.
| File | Description |
|---|---|
vendor/modules.txt |
Removes legacy PostgreSQL and MariaDB SDK entries. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_users_patch_request.go |
Removes legacy user-patch model. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_user.go |
Removes legacy user model. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_user_items.go |
Removes legacy user-list model. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_synchronization_mode.go |
Removes legacy replication-mode enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_storage_type.go |
Removes legacy storage-type enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_state.go |
Removes legacy PostgreSQL state enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_resource_type.go |
Removes legacy resource-type enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_pool_mode.go |
Removes legacy pooling-mode enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_day_of_the_week.go |
Removes legacy PostgreSQL weekday enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_database.go |
Removes legacy database model. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/model_database_items.go |
Removes legacy database-list model. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/.travis.yml |
Removes obsolete vendored CI configuration. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/psql/v2/.gitignore |
Removes obsolete vendored ignore rules. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/mariadb/v2/model_state.go |
Removes legacy MariaDB state enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/mariadb/v2/model_mariadb_version.go |
Removes legacy MariaDB version enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/mariadb/v2/model_day_of_the_week.go |
Removes legacy MariaDB weekday enum. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/mariadb/v2/.travis.yml |
Removes obsolete vendored CI configuration. |
vendor/github.com/ionos-cloud/sdk-go-bundle/products/dbaas/mariadb/v2/.gitignore |
Removes obsolete vendored ignore rules. |
internal/constants/constants.go |
Rewords configuration-key comments only. |
internal/client/types.go |
Consolidates database clients onto SDK v3 types. |
internal/client/builder.go |
Initializes consolidated clients and removes duplicate transport wrapping. |
go.sum |
Removes legacy SDK checksums. |
go.mod |
Removes legacy SDK dependencies. |
docs/subcommands/Database-as-a-Service/postgres/version/list.md |
Documents regional v2 version listing. |
docs/subcommands/Database-as-a-Service/postgres/version/get.md |
Documents version lookup by version ID. |
docs/subcommands/Database-as-a-Service/postgres/v2/version/list.md |
Removes separate v2 version-list documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/version/get.md |
Removes separate v2 version-get documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/cluster/restore.md |
Removes separate v2 restore documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/cluster/list.md |
Removes separate v2 cluster-list documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/cluster/get.md |
Removes separate v2 cluster-get documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/cluster/delete.md |
Removes separate v2 cluster-delete documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/backup/list.md |
Removes separate v2 backup-list documentation. |
docs/subcommands/Database-as-a-Service/postgres/v2/backup/get.md |
Removes separate v2 backup-get documentation. |
docs/subcommands/Database-as-a-Service/postgres/user/update.md |
Removes documentation for retired user updates. |
docs/subcommands/Database-as-a-Service/postgres/user/list.md |
Removes documentation for retired user listing. |
docs/subcommands/Database-as-a-Service/postgres/user/get.md |
Removes documentation for retired user lookup. |
docs/subcommands/Database-as-a-Service/postgres/user/delete.md |
Removes documentation for retired user deletion. |
docs/subcommands/Database-as-a-Service/postgres/user/create.md |
Removes documentation for retired user creation. |
docs/subcommands/Database-as-a-Service/postgres/logs/list.md |
Removes documentation for retired log listing. |
docs/subcommands/Database-as-a-Service/postgres/database/list.md |
Removes documentation for retired database listing. |
docs/subcommands/Database-as-a-Service/postgres/database/get.md |
Removes documentation for retired database lookup. |
docs/subcommands/Database-as-a-Service/postgres/database/delete.md |
Removes documentation for retired database deletion. |
docs/subcommands/Database-as-a-Service/postgres/database/create.md |
Removes documentation for retired database creation. |
docs/subcommands/Database-as-a-Service/postgres/cluster/list.md |
Documents v2 filters, pagination, and output columns. |
docs/subcommands/Database-as-a-Service/postgres/cluster/get.md |
Documents regional v2 cluster lookup. |
docs/subcommands/Database-as-a-Service/postgres/cluster/delete.md |
Documents regional deletion and state filtering. |
docs/subcommands/Database-as-a-Service/postgres/cluster/backup/list.md |
Removes retired nested backup-list documentation. |
docs/subcommands/Database-as-a-Service/postgres/backup/location/list.md |
Updates usage to the default command name. |
docs/subcommands/Database-as-a-Service/postgres/backup/location/get.md |
Updates usage to the default command name. |
docs/subcommands/Database-as-a-Service/postgres/backup/list.md |
Documents regional backups and cluster filtering. |
docs/subcommands/Database-as-a-Service/postgres/backup/get.md |
Documents v2 backup lookup and output columns. |
docs/subcommands/Database-as-a-Service/postgres/api/version/list.md |
Removes retired API-version listing documentation. |
docs/subcommands/Database-as-a-Service/postgres/api/version/get.md |
Removes retired API-version lookup documentation. |
docs/subcommands/Database-as-a-Service/mariadb/version/list.md |
Updates version-list usage and aliases. |
docs/subcommands/Database-as-a-Service/mariadb/version/get.md |
Updates version-get usage and aliases. |
docs/subcommands/Database-as-a-Service/mariadb/v2/cluster/list.md |
Removes separate v2 cluster-list documentation. |
docs/subcommands/Database-as-a-Service/mariadb/v2/cluster/get.md |
Removes separate v2 cluster-get documentation. |
docs/subcommands/Database-as-a-Service/mariadb/v2/cluster/delete.md |
Removes separate v2 cluster-delete documentation. |
docs/subcommands/Database-as-a-Service/mariadb/v2/backup/list.md |
Removes separate v2 backup-list documentation. |
docs/subcommands/Database-as-a-Service/mariadb/v2/backup/get.md |
Removes separate v2 backup-get documentation. |
docs/subcommands/Database-as-a-Service/mariadb/cluster/restore.md |
Updates restore usage to the default command. |
docs/subcommands/Database-as-a-Service/mariadb/cluster/list.md |
Documents v2 filters, pagination, and output columns. |
docs/subcommands/Database-as-a-Service/mariadb/cluster/get.md |
Documents regional v2 cluster lookup. |
docs/subcommands/Database-as-a-Service/mariadb/backup/location/list.md |
Updates usage to the default command name. |
docs/subcommands/Database-as-a-Service/mariadb/backup/location/get.md |
Updates usage to the default command name. |
docs/subcommands/Database-as-a-Service/mariadb/backup/list.md |
Documents v2 backup recovery windows and options. |
docs/subcommands/Database-as-a-Service/mariadb/backup/get.md |
Documents v2 backup details and recovery windows. |
commands/version.go |
Uses the retained PostgreSQL SDK for version reporting. |
commands/dbaas/postgres/version/version.go |
Defines the promoted version command group. |
commands/dbaas/postgres/version/list.go |
Uses the default namespace and consolidated client. |
commands/dbaas/postgres/version/get.go |
Updates version lookup imports, namespace, and client. |
commands/dbaas/postgres/version.go |
Removes legacy engine-version commands. |
commands/dbaas/postgres/user/user.go |
Removes the retired user command group. |
commands/dbaas/postgres/user/update.go |
Removes retired user-password updates. |
commands/dbaas/postgres/user/get.go |
Removes retired user lookup. |
commands/dbaas/postgres/user/delete.go |
Removes retired user deletion. |
commands/dbaas/postgres/user/create.go |
Removes retired user creation. |
commands/dbaas/postgres/root.go |
Adds shared default and hidden v2 command roots. |
commands/dbaas/postgres/postgres.go |
Removes the legacy PostgreSQL root. |
commands/dbaas/postgres/postgres_test.go |
Removes the legacy root availability test. |
commands/dbaas/postgres/examples.go |
Removes legacy command examples. |
commands/dbaas/postgres/database/list.go |
Removes retired logical-database listing. |
commands/dbaas/postgres/database/get.go |
Removes retired logical-database lookup. |
commands/dbaas/postgres/database/delete.go |
Removes retired logical-database deletion. |
commands/dbaas/postgres/database/database.go |
Removes the retired database command group. |
commands/dbaas/postgres/database/create.go |
Removes retired logical-database creation. |
commands/dbaas/postgres/completer/completer.go |
Uses the consolidated client for completions. |
commands/dbaas/postgres/cluster/update.go |
Retargets cluster updates to the promoted implementation. |
commands/dbaas/postgres/cluster/restore.go |
Retargets restores to the promoted implementation. |
commands/dbaas/postgres/cluster/list.go |
Updates the namespace and list example. |
commands/dbaas/postgres/cluster/get.go |
Retargets cluster lookup to the consolidated client. |
commands/dbaas/postgres/cluster/delete.go |
Retargets cluster deletion to the consolidated client. |
commands/dbaas/postgres/cluster/create.go |
Retargets cluster creation to the consolidated client. |
commands/dbaas/postgres/cluster/cluster.go |
Updates group help and cluster-query client. |
commands/dbaas/postgres/backup/location/location.go |
Updates command-group help text. |
commands/dbaas/postgres/backup/location/list.go |
Retargets backup-location listing. |
commands/dbaas/postgres/backup/location/get.go |
Retargets backup-location lookup and completion imports. |
commands/dbaas/postgres/backup/list.go |
Updates backup-list namespace, imports, and example. |
commands/dbaas/postgres/backup/get.go |
Retargets backup lookup to the consolidated client. |
commands/dbaas/postgres/backup/backup.go |
Updates backup-group imports, help, and client. |
commands/dbaas/postgres/api-version.go |
Removes retired API metadata commands. |
commands/dbaas/postgres-v2/root.go |
Removes the separate v2 root implementation. |
commands/dbaas/mariadb/version/version.go |
Updates version-group help text. |
commands/dbaas/mariadb/version/list.go |
Retargets version listing to the consolidated client. |
commands/dbaas/mariadb/version/get.go |
Retargets version lookup and completion imports. |
commands/dbaas/mariadb/root.go |
Shares promoted commands with the hidden v2 root. |
commands/dbaas/mariadb/completer/completer.go |
Uses the consolidated client for completions. |
commands/dbaas/mariadb/cluster/restore.go |
Retargets restores and recovery-time completion. |
commands/dbaas/mariadb/cluster/get.go |
Replaces legacy lookup with the v2 implementation. |
commands/dbaas/mariadb/backup/location/location.go |
Updates backup-location group help text. |
commands/dbaas/mariadb/backup/location/list.go |
Retargets backup-location listing. |
commands/dbaas/mariadb/backup/location/get.go |
Retargets backup-location lookup. |
commands/dbaas/mariadb/backup/get.go |
Replaces legacy backup lookup with v2 behavior. |
commands/dbaas/mariadb-v2/root.go |
Removes the separate v2 root implementation. |
commands/dbaas/mariadb-v2/cluster/list.go |
Removes the old v2 cluster-list implementation. |
commands/dbaas/mariadb-v2/cluster/get.go |
Removes the old v2 cluster-get implementation. |
commands/dbaas/mariadb-v2/backup/list.go |
Removes the old v2 backup-list implementation. |
commands/dbaas/mariadb-v2/backup/get.go |
Removes the old v2 backup-get implementation. |
commands/dbaas/mariadb-v2/backup/backup.go |
Removes the separate v2 backup command group. |
commands/dbaas/dbaas.go |
Registers default roots and hidden compatibility roots. |
commands/dbaas/dbaas_test.go |
Adds hidden-root visibility and command-resolution checks. |
CHANGELOG.md |
Records promotion, configuration keys, and retired commands. |
.github/workflows/e2e.yml |
Updates the suite example in input help text. |
Review effort: Balanced
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.



delete old
psqlandmariadbfiles and move v2 commands to replace them.both
psqlandpsql-v2call the v2 API URL now, with the v1 API returning 410 Gone. We are keeping the-v2commands (as hidden commands) to prevent breaking changes.