From ba1f5b58f6931c1159f4044a8f96b1d7bef7fcb8 Mon Sep 17 00:00:00 2001
From: lorenz <stu203404@mail.uni-kiel.de>
Date: Thu, 18 Mar 2021 17:17:45 +0100
Subject: [PATCH] next step

---
 .../src/main/kotlin/theodolite/benchmark/TestResource.kt   | 5 +----
 .../src/main/kotlin/theodolite/benchmark/TestSpec.kt       | 7 +++++++
 2 files changed, 8 insertions(+), 4 deletions(-)
 create mode 100644 theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestSpec.kt

diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestResource.kt b/theodolite-quarkus/src/main/kotlin/theodolite/benchmark/TestResource.kt
index d28ac7259..2b2d82e83 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 000000000..a2475abd4
--- /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
-- 
GitLab