Skip to content

App Deployments (3a/N): customer catalog + deployment views (read-only)#217

Merged
v0l merged 1 commit into
masterfrom
feat/app-deployments-customer-read
Jul 24, 2026
Merged

App Deployments (3a/N): customer catalog + deployment views (read-only)#217
v0l merged 1 commit into
masterfrom
feat/app-deployments-customer-read

Conversation

@v0l

@v0l v0l commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Increment 3a of the managed App Deployments epic (see work/app-deployments.md). Builds on the DB foundation (#214) and admin API (#215). Read-only customer surface — no billing/ordering here (that's 3b).

Endpoints

  • GET /api/v1/apps — browse offered catalog apps.
  • GET /api/v1/apps/{id} — one offered app (404 if disabled/missing).
  • GET /api/v1/app-deployments — the authenticated user's deployments.
  • GET /api/v1/app-deployments/{id} — one of the user's deployments (ownership-checked).

Notes

  • ApiApp exposes the compose YAML so the client can render the deploy form (ports/env).
  • ApiAppDeployment surfaces name, hostname, status, desired state, and the billing subscription_id (resolved from the line item, for renewal).
  • New api/apps.rs module merged into the router.

Tests / docs

  • e2e customer test with a seed_app_deployment helper (seeds app + cluster + subscription/line-item + deployment): catalog listing/get, deployment listing/get, ownership 404.
  • API_DOCUMENTATION.md + API_CHANGELOG.md.

Next

3b) ordering/lifecycle: create deployment (validate config vs compose env schema → subscription + line item + invoice), delete/stop/start · 4) operator reconcile · 5) seed relay + Blossom.

Increment 3a of the App Deployments epic. Read-only customer surface for
the managed app catalog and a user's own deployments.

- GET /api/v1/apps, GET /api/v1/apps/{id}: browse offered catalog apps
  (compose exposed so the UI can render the deploy form).
- GET /api/v1/app-deployments, GET /api/v1/app-deployments/{id}: list/show
  the authenticated user's deployments (ownership-checked); subscription_id
  resolved from the line item for renewal.
- New api/apps.rs module (ApiApp / ApiAppDeployment) merged into the router.
- e2e customer test with a seed_app_deployment helper (app + cluster +
  subscription/line-item + deployment); docs + changelog.

Ordering/lifecycle (billing) is increment 3b. Part of work/app-deployments.md.
@v0l
v0l merged commit 208f493 into master Jul 24, 2026
8 checks passed
@v0l
v0l deleted the feat/app-deployments-customer-read branch July 24, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant