From a928911e60ec2fc1d62b14a9524a2454fc342544 Mon Sep 17 00:00:00 2001 From: lorenz <stu203404@mail.uni-kiel.de> Date: Sun, 7 Feb 2021 16:52:54 +0100 Subject: [PATCH] Refactor --- .../src/main/kotlin/theodolite/k8s/UC1Benchmark.kt | 2 ++ .../src/main/kotlin/theodolite/util/TestBenchmark.kt | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/k8s/UC1Benchmark.kt b/theodolite-quarkus/src/main/kotlin/theodolite/k8s/UC1Benchmark.kt index bebd07904..23a712bfa 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/k8s/UC1Benchmark.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/k8s/UC1Benchmark.kt @@ -94,3 +94,5 @@ class UC1Benchmark(config: Config) : AbstractBenchmark(config) { this.deploymentManager.setWorkloadEnv(this.wgDeployment, "workload-generator", environmentVariables) this.deploymentManager.deploy(this.wgDeployment) } + +} diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt b/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt index 0f32e24b0..0358ff1a6 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt @@ -1,11 +1,11 @@ package theodolite.util -import theodolite.k8s.UC1Benchmark - class TestBenchmark : AbstractBenchmark( - UC1Benchmark.UC1BenchmarkConfig( - zookeeperConnectionString = "", - kafkaIPConnectionString = "", + AbstractBenchmark.Config( + clusterZookeeperConnectionString = "", + clusterKafkaConnectionString = "", + externalZookeeperConnectionString = "", + externalKafkaConnectionString = "", schemaRegistryConnectionString = "", kafkaTopics = emptyList(), kafkaReplication = 0, -- GitLab