From 09fd2eed73ff53c57befca46447ee8be8fcf7490 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Thu, 8 Dec 2022 19:43:31 +0100
Subject: [PATCH] Add AggregationDurationDays load dimension

---
 .../uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml  | 7 +++++++
 .../uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml  | 7 +++++++
 .../uc3-flink/uc3-flink-benchmark-operator.yaml            | 7 +++++++
 .../uc3-hazelcastjet-benchmark-operator.yaml               | 7 +++++++
 .../uc3-kstreams/uc3-kstreams-benchmark-operator.yaml      | 7 +++++++
 5 files changed, 35 insertions(+)

diff --git a/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml
index 0610ed0c9..f0f96ac89 100644
--- a/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml
+++ b/theodolite-benchmarks/definitions/uc3-beam-flink/uc3-beam-flink-benchmark-operator.yaml
@@ -81,6 +81,13 @@ spec:
           resource: "uc3-load-generator-deployment.yaml"
           properties:
             loadGenMaxRecords: "150000"
+    - typeName: "AggregationDurationDays"
+      patchers:
+        - type: "EnvVarPatcher"
+          resource: "jobmanager-deployment.yaml"
+          properties:
+            container: "jobmanager"
+            variableName: "AGGREGATION_DURATION_DAYS"
   slos:
     - name: "lag trend"
       sloType: "lag trend"
diff --git a/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml
index b61b82b59..f5f6e7222 100644
--- a/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml
+++ b/theodolite-benchmarks/definitions/uc3-beam-samza/uc3-beam-samza-benchmark-operator.yaml
@@ -70,6 +70,13 @@ spec:
           resource: "uc3-load-generator-deployment.yaml"
           properties:
             loadGenMaxRecords: "150000"
+    - typeName: "AggregationDurationDays"
+      patchers:
+        - type: "EnvVarPatcher"
+          resource: "uc3-beam-samza-deployment.yaml"
+          properties:
+            container: "uc3-beam-samza"
+            variableName: "AGGREGATION_DURATION_DAYS"
   slos:
     - name: "lag trend"
       sloType: "lag trend"
diff --git a/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml
index e77316ca8..87b5c9dc6 100644
--- a/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml
+++ b/theodolite-benchmarks/definitions/uc3-flink/uc3-flink-benchmark-operator.yaml
@@ -81,6 +81,13 @@ spec:
           resource: "uc3-load-generator-deployment.yaml"
           properties:
             loadGenMaxRecords: "150000"
+    - typeName: "AggregationDurationDays"
+      patchers:
+        - type: "EnvVarPatcher"
+          resource: "jobmanager-deployment.yaml"
+          properties:
+            container: "jobmanager"
+            variableName: "AGGREGATION_DURATION_DAYS"
   slos:
     - name: "lag trend"
       sloType: "lag trend"
diff --git a/theodolite-benchmarks/definitions/uc3-hazelcastjet/uc3-hazelcastjet-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-hazelcastjet/uc3-hazelcastjet-benchmark-operator.yaml
index 9855cefbb..2c04bbbe6 100644
--- a/theodolite-benchmarks/definitions/uc3-hazelcastjet/uc3-hazelcastjet-benchmark-operator.yaml
+++ b/theodolite-benchmarks/definitions/uc3-hazelcastjet/uc3-hazelcastjet-benchmark-operator.yaml
@@ -56,6 +56,13 @@ spec:
           resource: "uc3-load-generator-deployment.yaml"
           properties:
             loadGenMaxRecords: "150000"
+    - typeName: "AggregationDurationDays"
+      patchers:
+        - type: "EnvVarPatcher"
+          resource: "uc3-hazelcastjet-deployment.yaml"
+          properties:
+            container: "uc-application"
+            variableName: "AGGREGATION_DURATION_DAYS"
   slos:
     - name: "lag trend"
       sloType: "lag trend"
diff --git a/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml b/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml
index 620517550..821316847 100644
--- a/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml
+++ b/theodolite-benchmarks/definitions/uc3-kstreams/uc3-kstreams-benchmark-operator.yaml
@@ -61,6 +61,13 @@ spec:
           resource: "uc3-load-generator-deployment.yaml"
           properties:
             loadGenMaxRecords: "150000"
+    - typeName: "AggregationDurationDays"
+      patchers:
+        - type: "EnvVarPatcher"
+          resource: "uc3-kstreams-deployment.yaml"
+          properties:
+            container: "uc-application"
+            variableName: "AGGREGATION_DURATION_DAYS"
   slos:
     - name: "lag trend"
       sloType: "lag trend"
-- 
GitLab