From bd4c87ebdfa344d69da3dfc933b12003078eedaa Mon Sep 17 00:00:00 2001
From: lorenz <stu203404@mail.uni-kiel.de>
Date: Fri, 16 Apr 2021 14:02:20 +0200
Subject: [PATCH] Fix uc4 kstreams

---
 .../definitions/uc4-kstreams/uc4-benchmark-standalone.yaml    | 4 ++--
 .../uc4-kstreams/uc4-load-generator-deployment.yaml           | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/theodolite-benchmarks/definitions/uc4-kstreams/uc4-benchmark-standalone.yaml b/theodolite-benchmarks/definitions/uc4-kstreams/uc4-benchmark-standalone.yaml
index 0769b7cdc..5a1175abd 100644
--- a/theodolite-benchmarks/definitions/uc4-kstreams/uc4-benchmark-standalone.yaml
+++ b/theodolite-benchmarks/definitions/uc4-kstreams/uc4-benchmark-standalone.yaml
@@ -13,13 +13,13 @@ resourceTypes:
       - type: "ReplicaPatcher"
         resource: "uc4-kstreams-deployment.yaml"
 loadTypes:
-  - typeName: "NumSensors"
+  - typeName: "NumNestedGroups"
     patchers:
       - type: "EnvVarPatcher"
         resource: "uc4-load-generator-deployment.yaml"
         container: "workload-generator"
         variableName: "NUM_NESTED_GROUPS"
-      - type: NumNestedGroupsLoadGeneratorReplicaPatcher
+      - type: "NumNestedGroupsLoadGeneratorReplicaPatcher"
         resource: "uc4-load-generator-deployment.yaml"
 kafkaConfig:
   bootstrapServer: "theodolite-cp-kafka:9092"
diff --git a/theodolite-benchmarks/definitions/uc4-kstreams/uc4-load-generator-deployment.yaml b/theodolite-benchmarks/definitions/uc4-kstreams/uc4-load-generator-deployment.yaml
index c1cad0b70..7a69d13da 100644
--- a/theodolite-benchmarks/definitions/uc4-kstreams/uc4-load-generator-deployment.yaml
+++ b/theodolite-benchmarks/definitions/uc4-kstreams/uc4-load-generator-deployment.yaml
@@ -15,7 +15,7 @@ spec:
       terminationGracePeriodSeconds: 0
       containers:
         - name: workload-generator
-          image: ghcr.io/cau-se/theodolite-uc3-workload-generator:latest
+          image: ghcr.io/cau-se/theodolite-uc4-workload-generator:latest
           ports:
             - containerPort: 5701
               name: coordination
@@ -30,3 +30,5 @@ spec:
               value: "theodolite-cp-kafka:9092"
             - name: SCHEMA_REGISTRY_URL
               value: "http://theodolite-cp-schema-registry:8081"
+            - name: NUM_NESTED_GROUPS
+              value: "5"
-- 
GitLab