Files
harmony/docs/guides/application-capabilities.md
Jean-Gabriel Gill-Couture eea006535b refactor: drop harmony_app landfill
Scores own deploy. harmony_app is identity, images, context, and
HarmonyApp→Scores. Authoring DX lives in dx. Compose/chart/Application
model and the Helm render test are gone.
2026-09-08 22:10:34 -04:00

21 lines
741 B
Markdown

# Application Scores
Apps implement [`HarmonyApp`](../../harmony_app/src/app.rs) and return Scores.
There is no `.with(...)` capability menu and no `ComposeDeploy` /
`Application` god-object.
Compose the Scores that already exist: `K8sPostgreSQLScore`,
`FleetDeploymentScore`, `HostProcessScore`, `K8sDeploymentScore`, …
```rust
async fn scores(&self, ctx: &AppContext, images: &ImageRefs) -> Result<Vec<Box<dyn Score<T>>>, AppError> {
Ok(vec![
Box::new(K8sPostgreSQLScore::new(ctx.namespace()).cluster_name("app-db")),
Box::new(K8sDeploymentScore { /* … */ }),
])
}
```
See [Application CLI](./application-cli.md) for `ship` / `deploy` / `status` /
`logs`. Authoring DX (one component, one type) is ADR-029.