diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestResource.kt b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestResource.kt index d28ac72592d2f3f1288dfbb04d1db8cd4823c479..2b2d82e83b71bb4e92083f474c814a3c2948db9b 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestResource.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestResource.kt @@ -1,9 +1,6 @@ package theodolite.benchmark -import com.fasterxml.jackson.databind.annotation.JsonDeserialize import io.fabric8.kubernetes.client.CustomResource -@JsonDeserialize -data class TestResource(var name:String): CustomResource() { - +data class TestResource(var spec: TestSpec = TestSpec()): CustomResource() { } \ No newline at end of file diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestSpec.kt b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestSpec.kt new file mode 100644 index 0000000000000000000000000000000000000000..a2475abd4ad1fd23e87d4528022a53780f22240d --- /dev/null +++ b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestSpec.kt @@ -0,0 +1,7 @@ +package theodolite.benchmark + +import com.fasterxml.jackson.databind.annotation.JsonDeserialize + +@JsonDeserialize +data class TestSpec(var message: String = "MEGAAIDS") { +} \ No newline at end of file