feat: add DigitalOcean getdatabase and getClusterConfiguration components#3757
Merged
forestileao merged 11 commits intosuperplanehq:mainfrom Apr 16, 2026
Merged
Conversation
|
👋 Commands for maintainers:
|
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
4f527c4 to
9986eec
Compare
…ster and database expressions Updated the logic in `resolveDatabaseMetadata` to allow for cluster and database expressions, ensuring that database API validation is skipped when expressions are present. Added a corresponding test case to verify this behavior. Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Resolve conflicts from merging main into the DigitalOcean database readers feature branch: - client.go: keep Database field in DatabaseClusterConnection (needed for database readers) and include new types/functions from main (DatabaseOptionLayout, DatabaseEngineOptions, CreateDatabaseClusterRequest, GetDatabaseOptions, ListDatabaseClusters, CreateDatabaseCluster, GetDatabaseCluster); remove duplicate method declarations - list_resources.go: keep all resource type cases (database, database_cluster_version, database_cluster_size); remove duplicate listDatabaseClusters function - list_resources_test.go: keep Test__ListResources__Databases from HEAD; use updated cluster test fixtures from main; include new DatabaseClusterVersions and DatabaseClusterSizes test suites - database_cluster_metadata.go: remove duplicate resolveDatabaseClusterMetadata (already defined in database_metadata.go with more complete logic including DatabaseName preservation) - types.ts: keep both DatabaseNodeMetadata/GetDatabaseConfiguration from HEAD and DatabaseClusterNodeMetadata/CreateDatabaseClusterConfiguration/GetDatabaseClusterConfiguration from main - docs/components/DigitalOcean.mdx: take main's version (will be regenerated via make gen.components.docs after pb.gen) Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
4ac5d7b to
845e629
Compare
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ac19d89. Configure here.
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
forestileao
approved these changes
Apr 16, 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.

Implements #3736
This expands the DigitalOcean integration by adding the following components:
digitalocean.GetDatabasedigitalocean.GetDatabaseConfigurationNote
Medium Risk
Adds new DigitalOcean managed-database API calls and workflow components, plus new resource-listing paths used by configuration pickers; issues would mainly surface as missing/incorrect database metadata or selection options rather than data mutation.
Overview
Adds two new DigitalOcean workflow actions:
digitalocean.getDatabase(fetches a named DB and enriches it with cluster info/connection details) anddigitalocean.getClusterConfiguration(fetches a cluster’s activeconfig).Extends the DigitalOcean client with managed database cluster types and endpoints (
ListDatabaseClusters,GetDatabaseCluster,ListDatabases,GetDatabase,GetDatabaseClusterConfig), plus setup-time metadata resolution/validation for cluster and database names.Updates integration resource pickers and UI mappers to support selecting
database_cluster/databaseresources and to render execution details/metadata for the two new components, along with docs, templates, example outputs, and tests.Reviewed by Cursor Bugbot for commit 896e4aa. Bugbot is set up for automated code reviews on this repo. Configure here.