Add MySQL and MongoDB service commands

Merged
JW
3mo ago
+31-11

Summary

  • add mysql and mongodb to CLI service type validation
  • expose them in interactive service creation
  • render managed database TCP ports in service list output

Depends on InsForge/insta-platform#236.

Validation

  • npm run typecheck
  • npm test -- test/services.test.ts test/resolve-service.test.ts

Summary by cubic

Adds MySQL and MongoDB as first-class insta services types and shows their default TCP ports in service listings. Previously only Postgres, Storage, Compute, and Redis were supported; now MySQL and MongoDB can be validated, created interactively, and listed with correct defaults.

  • Interactive add now includes mysql and mongodb kinds with default names (mysql-db, mongo-db); type validation accepts both.
  • insta services list renders tcp/<port> for managed databases (Redis 6379, MySQL 3306, MongoDB 27017).
  • CLI help and --region option text updated to include managed databases; usage examples include the new types.
  • Depends on InsForge/insta-platform#236 for backend support; no migration required for existing users.