diff --git a/clusterless-main/build.gradle.kts b/clusterless-main/build.gradle.kts index 071a5844..7c061332 100644 --- a/clusterless-main/build.gradle.kts +++ b/clusterless-main/build.gradle.kts @@ -351,7 +351,7 @@ tasks.register("generateCLIDocs") { args = listOf( "--outdir", "build/generated-docs/modules/commands/pages", - "clusterless.Main" + "clusterless.cls.Main" ) } diff --git a/clusterless-main/src/main/java/clusterless/cls/BaseShowElements.java b/clusterless-main/src/main/java/clusterless/cls/BaseShowElements.java index 39300ea1..5034b68c 100644 --- a/clusterless-main/src/main/java/clusterless/cls/BaseShowElements.java +++ b/clusterless-main/src/main/java/clusterless/cls/BaseShowElements.java @@ -75,7 +75,7 @@ protected static String getModel(Class modelClass, boolean req return JSONUtil.writeAsPrettyStringSafe(modelClass.getConstructor().newInstance()); } catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) { - throw new RuntimeException(e); + throw new RuntimeException("unable to instantiate model: " + modelClass.getCanonicalName(), e); } } diff --git a/clusterless-model/src/main/java/clusterless/cls/model/deploy/Arc.java b/clusterless-model/src/main/java/clusterless/cls/model/deploy/Arc.java index afb95e91..0b565009 100644 --- a/clusterless-model/src/main/java/clusterless/cls/model/deploy/Arc.java +++ b/clusterless-model/src/main/java/clusterless/cls/model/deploy/Arc.java @@ -37,7 +37,7 @@ See the documentation for the arc component for details. """ ) -public abstract class Arc> extends Extensible { +public class Arc> extends Extensible { @JsonRequiredProperty String name; @JsonRequiredProperty