mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
* feat(rds): engine versions, engine defaults and valid modifications Serve DescribeDBEngineVersions, DescribeEngineDefaultParameters, DescribeEngineDefaultClusterParameters and DescribeValidDBInstanceModifications. A curated engine catalogue lists one representative version per major version Floci knows through its managed parameter and option groups. Each version carries the parameter group family the create path computes for it, its major version and its upgrade targets; each engine's default is the version Floci creates when a request names none. DescribeDBEngineVersions serves it with Engine, EngineVersion (exact or major), DBParameterGroupFamily, DefaultOnly, the documented filters and paging, and DescribeOrderableDBInstanceOptions now reads the same catalogue. The engine default calls check the family against the catalogue and return an empty list, as Floci's default parameter groups hold no parameters. DescribeValidDBInstanceModifications reports the instance's storage type with a range from its current allocation to the engine's maximum, and nothing for an Aurora instance. Closes #5186 * feat(rds): one source for engine defaults, and engine version capabilities Create paths, the cluster parameter group family check and global clusters each kept their own default engine version, and Aurora MySQL's disagreed with the catalogue: 8.0.36 against 8.0.mysql_aurora.3.05.2. All four now read the catalogue's default, so a create that names no version gets what DescribeDBEngineVersions reports with DefaultOnly. DescribeDBEngineVersions and DescribeDBClusterEndpoints share one offset paging helper and one MaxRecords check, which DescribeEventSubscriptions also uses. Each engine version now reports ExportableLogTypes, SupportsLogExportsToCloudwatchLogs, SupportsReadReplica, SupportedFeatureNames, SupportsParallelQuery, SupportsGlobalDatabases and SupportsBabelfish, following what Floci supports. * fix(rds): route the catalogue reads to RDS without a credential scope DescribeDBEngineVersions, DescribeEngineDefaultParameters, DescribeEngineDefaultClusterParameters and DescribeValidDBInstanceModifications were missing from RDS_ACTIONS, so a request with no credential scope reached SQS.