Move the compose importer, chart generator, ComposeAppScore, publish bricks, and the ComposeDeploy builder out of the example into harmony_app (they needed harmony_app::Profile/Capability, so harmony core would be circular — harmony_app is the home, per decision A). The example is now a 23-line main.rs + app/ + contexts; folk imports from harmony_app too. Tests + the helm lint/template integration test moved along. 29 lib + 1 integration test green.
18 lines
547 B
TOML
18 lines
547 B
TOML
[package]
|
|
name = "example-compose-java-react"
|
|
edition = "2024"
|
|
version.workspace = true
|
|
readme.workspace = true
|
|
license.workspace = true
|
|
description = "Deploy a Java+React app to Kubernetes by importing its docker-compose. The whole example is one main.rs; the machinery lives in harmony_app. See ADR-026."
|
|
|
|
[[bin]]
|
|
name = "compose-deploy"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
harmony_app = { path = "../../harmony_app" }
|
|
harmony_cli = { path = "../../harmony_cli" }
|
|
anyhow = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|