[RDBMS] Rename DBInstanceSpec to DBSpec, add DBSpec/DBEngine metadata APIs, and fetch IBM specs dynamically - #1806
Merged
cb-spider merged 1 commit intoAug 14, 2026
Conversation
…BSpecOptions, and add DBSpec/DBEngine metadata APIs
Member
Author
Test ResultsMySQL(test/rdbms-mysql-test): PASSMariaDB(test/rdbms-mariadb-test): OpenStack MariaDB debugging pending |
cb-spider
approved these changes
Aug 14, 2026
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.
(1) Existing API Change — DBInstanceSpec renamed to DBSpec⚠️ Breaking
DBInstanceSpec=>DBSpec,DBInstanceSpecOptions=>DBSpecOptionsPOST /rdbmsrequestReqInfo.DBInstanceSpec=>DBSpecGET /rdbms,GET /allrdbmsresponseDBInstanceSpec=>DBSpecGET /rdbmsmetainforesponseDBInstanceSpecOptions=>DBSpecOptionsGET /driver/capabilityresponseDBInstanceSpecHandler=>DBSpecHandlerGET /dborgspec*responseDBInstanceSpecInfo=>DBSpecInfoRDBSpecmenu/route =>DBSpec(/adminweb/rdbspec=>/adminweb/dbspec)/dbspec,/dborgspec, ...) are unchanged — only field/handler names and the AdminWeb route above.(2) Return-value method change — IBM DBSpecOptions
RDBMSMetaInfo.DBSpecOptionsreturned a hardcoded static host-flavor list per engineCreateCapability(flavors); the static list is now only a fallback when the live call fails(3) New APIs
GET /dbspec,GET /dbspec/{Name},GET /dborgspec,GET /dborgspec/{Name}— CSP DBSpec catalog (vCPU/Memory/StorageSize) per DB engine, implemented across all 9 RDBMS-capable CSPs (AWS, Azure, GCP, Alibaba, Tencent, IBM, OpenStack, NHN, NCP). Grouped under[Cloud Metadata]in swagger (like/vmspec), not RDBMS Management, since it's spec catalog metadata rather than an RDBMS lifecycle operation.GET /rdbmsengine— list of RDBMS engines (mysql/mariadb/postgresql) a connection's CSP actually supports, derived fromGET /driver/capability's per-engine flags. Grouped under[RDBMS Management].