Skip to content

feat(gcp): Cloud SQL in Cloud Explorer #101

Description

@hectorvent

Add Cloud SQL to the Cloud Explorer (gcp)

The gcp emulator implements Cloud SQL (~0 operations). The UI does not surface it yet.

Backend (packages/api)

  • src/cloud-spi/databaseSchema.tsdatabaseSchemaFor('gcp') (model: src/cloud-spi/storageSchema.ts)
  • src/adapter-gcp/GcpCloudSqlAdapter.ts implements CloudServiceAdapter + GcpCloudSqlAdapter.test.ts (model: src/adapter-aws/AwsStorageAdapter.ts)
  • Register new GcpCloudSqlAdapter() in src/cloudProxy.ts; add services.push({...}) + schema() fallback in src/service/CloudProxyService.ts

Frontend (packages/frontend)

  • Verify nav shows Cloud SQL for gcp and normalizeService() handles the literal (pages/CloudExplorerPage.tsx)
  • Confirm generic DynamicResourceView rendering; add a service === '...' panel only if deep UX is needed

Acceptance

  • Cloud SQL appears in the gcp nav; list / create / delete / inspect work against the local emulator
  • Adapter unit test passes

Reuses the existing database type (a schema stub is marked 'coming soon').
Emulator source: floci-gcp/src/main/java/io/floci/gcp/services/sql/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions