From bcc0833f5aefe18be2b5d7c146b29c91ed90920e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Thu, 24 Feb 2022 11:22:56 +0100 Subject: [PATCH] Refactor package names for Flink --- .../uc1-flink/resources/jobmanager-deployment.yaml | 2 +- .../uc2-flink/resources/jobmanager-deployment.yaml | 2 +- .../uc3-flink/resources/jobmanager-deployment.yaml | 2 +- .../uc4-flink/resources/jobmanager-deployment.yaml | 2 +- .../docker-test/uc1-flink/docker-compose.yml | 2 +- .../docker-test/uc2-flink/docker-compose.yml | 2 +- .../docker-test/uc3-flink/docker-compose.yml | 2 +- .../docker-test/uc4-flink/docker-compose.yml | 2 +- theodolite-benchmarks/uc1-flink/build.gradle | 2 +- .../benchmarks/uc1/flink}/ConfigurationKeys.java | 2 +- .../benchmarks/uc1/flink}/ConverterAdapter.java | 2 +- .../benchmarks/uc1/flink}/HistoryServiceFlinkJob.java | 2 +- .../benchmarks/uc1/flink}/WriterAdapter.java | 2 +- theodolite-benchmarks/uc2-flink/build.gradle | 2 +- .../benchmarks/uc2/flink}/ConfigurationKeys.java | 2 +- .../benchmarks/uc2/flink}/HistoryServiceFlinkJob.java | 2 +- .../benchmarks/uc2/flink}/StatsAggregateFunction.java | 4 ++-- .../uc2/flink}/StatsProcessWindowFunction.java | 2 +- .../benchmarks/uc2/flink}/util/StatsFactory.java | 2 +- theodolite-benchmarks/uc3-flink/build.gradle | 2 +- .../benchmarks/uc3/flink}/ConfigurationKeys.java | 2 +- .../benchmarks/uc3/flink}/HistoryServiceFlinkJob.java | 10 +++++----- .../uc3/flink}/HourOfDayProcessWindowFunction.java | 4 ++-- .../benchmarks/uc3/flink}/StatsAggregateFunction.java | 4 ++-- .../benchmarks/uc3/flink}/util/HourOfDayKey.java | 2 +- .../uc3/flink}/util/HourOfDayKeyFactory.java | 2 +- .../benchmarks/uc3/flink}/util/HourOfDayKeySerde.java | 2 +- .../uc3/flink}/util/HourOfDayRecordFactory.java | 2 +- .../benchmarks/uc3/flink}/util/StatsFactory.java | 2 +- .../benchmarks/uc3/flink}/util/StatsKeyFactory.java | 2 +- .../benchmarks/uc3/flink}/util/StatsRecordFactory.java | 2 +- .../src/main/java/application/GenerateParentsFn.java | 2 -- theodolite-benchmarks/uc4-flink/build.gradle | 2 +- .../uc4/flink}/AggregationServiceFlinkJob.java | 10 +++++----- .../uc4/flink}/ChildParentsFlatMapFunction.java | 2 +- .../benchmarks/uc4/flink}/ConfigurationKeys.java | 2 +- .../uc4/flink}/JoinAndDuplicateCoFlatMapFunction.java | 4 ++-- .../flink}/RecordAggregationProcessWindowFunction.java | 4 ++-- .../flink}/util/ImmutableSensorRegistrySerializer.java | 2 +- .../uc4/flink}/util/ImmutableSetSerializer.java | 2 +- .../benchmarks/uc4/flink}/util/SensorParentKey.java | 2 +- .../uc4/flink}/util/SensorParentKeySerializer.java | 2 +- 42 files changed, 54 insertions(+), 56 deletions(-) rename theodolite-benchmarks/uc1-flink/src/main/java/{theodolite/uc1/application => rocks/theodolite/benchmarks/uc1/flink}/ConfigurationKeys.java (93%) rename theodolite-benchmarks/uc1-flink/src/main/java/{theodolite/uc1/application => rocks/theodolite/benchmarks/uc1/flink}/ConverterAdapter.java (94%) rename theodolite-benchmarks/uc1-flink/src/main/java/{theodolite/uc1/application => rocks/theodolite/benchmarks/uc1/flink}/HistoryServiceFlinkJob.java (98%) rename theodolite-benchmarks/uc1-flink/src/main/java/{theodolite/uc1/application => rocks/theodolite/benchmarks/uc1/flink}/WriterAdapter.java (94%) rename theodolite-benchmarks/uc2-flink/src/main/java/{theodolite/uc2/application => rocks/theodolite/benchmarks/uc2/flink}/ConfigurationKeys.java (96%) rename theodolite-benchmarks/uc2-flink/src/main/java/{theodolite/uc2/application => rocks/theodolite/benchmarks/uc2/flink}/HistoryServiceFlinkJob.java (99%) rename theodolite-benchmarks/uc2-flink/src/main/java/{theodolite/uc2/application => rocks/theodolite/benchmarks/uc2/flink}/StatsAggregateFunction.java (90%) rename theodolite-benchmarks/uc2-flink/src/main/java/{theodolite/uc2/application => rocks/theodolite/benchmarks/uc2/flink}/StatsProcessWindowFunction.java (94%) rename theodolite-benchmarks/{uc3-flink/src/main/java/theodolite/uc3/application => uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink}/util/StatsFactory.java (91%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/ConfigurationKeys.java (96%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/HistoryServiceFlinkJob.java (95%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/HourOfDayProcessWindowFunction.java (89%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/StatsAggregateFunction.java (90%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/util/HourOfDayKey.java (97%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/util/HourOfDayKeyFactory.java (91%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/util/HourOfDayKeySerde.java (97%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/util/HourOfDayRecordFactory.java (93%) rename theodolite-benchmarks/{uc2-flink/src/main/java/theodolite/uc2/application => uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink}/util/StatsFactory.java (91%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/util/StatsKeyFactory.java (86%) rename theodolite-benchmarks/uc3-flink/src/main/java/{theodolite/uc3/application => rocks/theodolite/benchmarks/uc3/flink}/util/StatsRecordFactory.java (93%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/AggregationServiceFlinkJob.java (96%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/ChildParentsFlatMapFunction.java (98%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/ConfigurationKeys.java (96%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/JoinAndDuplicateCoFlatMapFunction.java (95%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/RecordAggregationProcessWindowFunction.java (97%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/util/ImmutableSensorRegistrySerializer.java (94%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/util/ImmutableSetSerializer.java (96%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/util/SensorParentKey.java (95%) rename theodolite-benchmarks/uc4-flink/src/main/java/{theodolite/uc4/application => rocks/theodolite/benchmarks/uc4/flink}/util/SensorParentKeySerializer.java (94%) diff --git a/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml index f81b851aa..8e0114f17 100644 --- a/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml @@ -46,7 +46,7 @@ spec: limits: memory: 4Gi cpu: 1000m - args: ["standalone-job", "--job-classname", "theodolite.uc1.application.HistoryServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] + args: ["standalone-job", "--job-classname", "rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] #command: ['sleep', '60m'] ports: - containerPort: 6123 diff --git a/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml index ab8816fbf..f2fc1ee6a 100644 --- a/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml @@ -46,7 +46,7 @@ spec: limits: memory: 4Gi cpu: 1000m - args: ["standalone-job", "--job-classname", "theodolite.uc2.application.HistoryServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] + args: ["standalone-job", "--job-classname", "rocks.theodolite.benchmarks.uc2.flink.HistoryServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] #command: ['sleep', '60m'] ports: - containerPort: 6123 diff --git a/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml index 2b3f33e37..620e9d89f 100644 --- a/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml @@ -46,7 +46,7 @@ spec: limits: memory: 4Gi cpu: 1000m - args: ["standalone-job", "--job-classname", "theodolite.uc3.application.HistoryServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] + args: ["standalone-job", "--job-classname", "rocks.theodolite.benchmarks.uc3.flinks.uc3.flink.HistoryServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] #command: ['sleep', '60m'] ports: - containerPort: 6123 diff --git a/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml index 2f6eaecc4..d1ebf7455 100644 --- a/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml @@ -46,7 +46,7 @@ spec: limits: memory: 4Gi cpu: 1000m - args: ["standalone-job", "--job-classname", "theodolite.uc4.application.AggregationServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] + args: ["standalone-job", "--job-classname", "rocks.theodolite.benchmarks.uc4.flinks.uc4.flink.AggregationServiceFlinkJob"] # optional arguments: ["--job-id", "<job id>", "--fromSavepoint", "/path/to/savepoint", "--allowNonRestoredState"] #command: ['sleep', '60m'] ports: - containerPort: 6123 diff --git a/theodolite-benchmarks/docker-test/uc1-flink/docker-compose.yml b/theodolite-benchmarks/docker-test/uc1-flink/docker-compose.yml index 55e359665..ee6cb06cc 100755 --- a/theodolite-benchmarks/docker-test/uc1-flink/docker-compose.yml +++ b/theodolite-benchmarks/docker-test/uc1-flink/docker-compose.yml @@ -52,7 +52,7 @@ services: image: ghcr.io/cau-se/theodolite-uc1-flink:${THEODOLITE_TAG:-latest} #ports: # - "8080:8081" - command: standalone-job --job-classname theodolite.uc1.application.HistoryServiceFlinkJob + command: standalone-job --job-classname rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob environment: - KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - SCHEMA_REGISTRY_URL=http://schema-registry:8081 diff --git a/theodolite-benchmarks/docker-test/uc2-flink/docker-compose.yml b/theodolite-benchmarks/docker-test/uc2-flink/docker-compose.yml index 1397c8ab0..a68b80846 100755 --- a/theodolite-benchmarks/docker-test/uc2-flink/docker-compose.yml +++ b/theodolite-benchmarks/docker-test/uc2-flink/docker-compose.yml @@ -52,7 +52,7 @@ services: image: ghcr.io/cau-se/theodolite-uc2-flink:${THEODOLITE_TAG:-latest} #ports: # - "8080:8081" - command: standalone-job --job-classname theodolite.uc2.application.HistoryServiceFlinkJob + command: standalone-job --job-classname rocks.theodolite.benchmarks.uc2.flink.HistoryServiceFlinkJob environment: - KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - SCHEMA_REGISTRY_URL=http://schema-registry:8081 diff --git a/theodolite-benchmarks/docker-test/uc3-flink/docker-compose.yml b/theodolite-benchmarks/docker-test/uc3-flink/docker-compose.yml index 0c83d8a25..3c5aadd8f 100755 --- a/theodolite-benchmarks/docker-test/uc3-flink/docker-compose.yml +++ b/theodolite-benchmarks/docker-test/uc3-flink/docker-compose.yml @@ -52,7 +52,7 @@ services: image: ghcr.io/cau-se/theodolite-uc3-flink:${THEODOLITE_TAG:-latest} #ports: # - "8080:8081" - command: standalone-job --job-classname theodolite.uc3.application.HistoryServiceFlinkJob + command: standalone-job --job-classname rocks.theodolite.benchmarks.uc3.flink.HistoryServiceFlinkJob environment: - KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - SCHEMA_REGISTRY_URL=http://schema-registry:8081 diff --git a/theodolite-benchmarks/docker-test/uc4-flink/docker-compose.yml b/theodolite-benchmarks/docker-test/uc4-flink/docker-compose.yml index 24e5acdf9..c3fe0502f 100755 --- a/theodolite-benchmarks/docker-test/uc4-flink/docker-compose.yml +++ b/theodolite-benchmarks/docker-test/uc4-flink/docker-compose.yml @@ -53,7 +53,7 @@ services: image: ghcr.io/cau-se/theodolite-uc4-flink:${THEODOLITE_TAG:-latest} #ports: # - "8080:8081" - command: standalone-job --job-classname theodolite.uc4.application.AggregationServiceFlinkJob + command: standalone-job --job-classname rocks.theodolite.benchmarks.uc4.flink.AggregationServiceFlinkJob environment: - KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - SCHEMA_REGISTRY_URL=http://schema-registry:8081 diff --git a/theodolite-benchmarks/uc1-flink/build.gradle b/theodolite-benchmarks/uc1-flink/build.gradle index 681effe9a..4eb96987e 100644 --- a/theodolite-benchmarks/uc1-flink/build.gradle +++ b/theodolite-benchmarks/uc1-flink/build.gradle @@ -6,4 +6,4 @@ dependencies { implementation project(':uc1-commons') } -mainClassName = "theodolite.uc1.application.HistoryServiceFlinkJob" +mainClassName = "rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob" diff --git a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/ConfigurationKeys.java b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/ConfigurationKeys.java similarity index 93% rename from theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/ConfigurationKeys.java rename to theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/ConfigurationKeys.java index 382525cfe..d2235e069 100644 --- a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/ConfigurationKeys.java +++ b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/ConfigurationKeys.java @@ -1,4 +1,4 @@ -package theodolite.uc1.application; +package rocks.theodolite.benchmarks.uc1.flink; /** * Keys to access configuration parameters. diff --git a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/ConverterAdapter.java b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/ConverterAdapter.java similarity index 94% rename from theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/ConverterAdapter.java rename to theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/ConverterAdapter.java index af0a0b1cf..064b8afbb 100644 --- a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/ConverterAdapter.java +++ b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/ConverterAdapter.java @@ -1,4 +1,4 @@ -package theodolite.uc1.application; +package rocks.theodolite.benchmarks.uc1.flink; import org.apache.flink.api.common.functions.MapFunction; import rocks.theodolite.benchmarks.uc1.commons.RecordConverter; diff --git a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/HistoryServiceFlinkJob.java b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/HistoryServiceFlinkJob.java similarity index 98% rename from theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/HistoryServiceFlinkJob.java rename to theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/HistoryServiceFlinkJob.java index 2167a0c9d..d674effac 100644 --- a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/HistoryServiceFlinkJob.java +++ b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/HistoryServiceFlinkJob.java @@ -1,4 +1,4 @@ -package theodolite.uc1.application; +package rocks.theodolite.benchmarks.uc1.flink; import org.apache.commons.configuration2.Configuration; import org.apache.flink.api.common.typeinfo.Types; diff --git a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/WriterAdapter.java b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/WriterAdapter.java similarity index 94% rename from theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/WriterAdapter.java rename to theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/WriterAdapter.java index b2f375ec5..4ead8d8c6 100644 --- a/theodolite-benchmarks/uc1-flink/src/main/java/theodolite/uc1/application/WriterAdapter.java +++ b/theodolite-benchmarks/uc1-flink/src/main/java/rocks/theodolite/benchmarks/uc1/flink/WriterAdapter.java @@ -1,4 +1,4 @@ -package theodolite.uc1.application; +package rocks.theodolite.benchmarks.uc1.flink; import org.apache.flink.api.common.functions.FlatMapFunction; import org.apache.flink.util.Collector; diff --git a/theodolite-benchmarks/uc2-flink/build.gradle b/theodolite-benchmarks/uc2-flink/build.gradle index 0be6f3773..0c50937f3 100644 --- a/theodolite-benchmarks/uc2-flink/build.gradle +++ b/theodolite-benchmarks/uc2-flink/build.gradle @@ -2,4 +2,4 @@ plugins { id 'theodolite.flink' } -mainClassName = "theodolite.uc2.application.HistoryServiceFlinkJob" +mainClassName = "rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob" diff --git a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/ConfigurationKeys.java b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/ConfigurationKeys.java similarity index 96% rename from theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/ConfigurationKeys.java rename to theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/ConfigurationKeys.java index e82610626..bcb15b7d6 100644 --- a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/ConfigurationKeys.java +++ b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/ConfigurationKeys.java @@ -1,4 +1,4 @@ -package theodolite.uc2.application; +package rocks.theodolite.benchmarks.uc2.flink; /** * Keys to access configuration parameters. diff --git a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/HistoryServiceFlinkJob.java b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/HistoryServiceFlinkJob.java similarity index 99% rename from theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/HistoryServiceFlinkJob.java rename to theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/HistoryServiceFlinkJob.java index 20563f6fa..7e67be897 100644 --- a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/HistoryServiceFlinkJob.java +++ b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/HistoryServiceFlinkJob.java @@ -1,4 +1,4 @@ -package theodolite.uc2.application; +package rocks.theodolite.benchmarks.uc2.flink; import com.google.common.math.Stats; import org.apache.commons.configuration2.Configuration; diff --git a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/StatsAggregateFunction.java b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/StatsAggregateFunction.java similarity index 90% rename from theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/StatsAggregateFunction.java rename to theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/StatsAggregateFunction.java index 7bd090de8..b2a9e5f53 100644 --- a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/StatsAggregateFunction.java +++ b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/StatsAggregateFunction.java @@ -1,9 +1,9 @@ -package theodolite.uc2.application; +package rocks.theodolite.benchmarks.uc2.flink; import com.google.common.math.Stats; import com.google.common.math.StatsAccumulator; import org.apache.flink.api.common.functions.AggregateFunction; -import theodolite.uc2.application.util.StatsFactory; +import rocks.theodolite.benchmarks.uc2.flink.util.StatsFactory; import titan.ccp.model.records.ActivePowerRecord; /** diff --git a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/StatsProcessWindowFunction.java b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/StatsProcessWindowFunction.java similarity index 94% rename from theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/StatsProcessWindowFunction.java rename to theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/StatsProcessWindowFunction.java index d422c37b6..a8451a41a 100644 --- a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/StatsProcessWindowFunction.java +++ b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/StatsProcessWindowFunction.java @@ -1,4 +1,4 @@ -package theodolite.uc2.application; +package rocks.theodolite.benchmarks.uc2.flink; import com.google.common.math.Stats; import org.apache.flink.api.java.tuple.Tuple2; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsFactory.java b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/util/StatsFactory.java similarity index 91% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsFactory.java rename to theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/util/StatsFactory.java index b7880be4e..9fbddcc6d 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsFactory.java +++ b/theodolite-benchmarks/uc2-flink/src/main/java/rocks/theodolite/benchmarks/uc2/flink/util/StatsFactory.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc2.flink.util; import com.google.common.math.Stats; import com.google.common.math.StatsAccumulator; diff --git a/theodolite-benchmarks/uc3-flink/build.gradle b/theodolite-benchmarks/uc3-flink/build.gradle index b8bb79bc1..b6eb06740 100644 --- a/theodolite-benchmarks/uc3-flink/build.gradle +++ b/theodolite-benchmarks/uc3-flink/build.gradle @@ -2,4 +2,4 @@ plugins { id 'theodolite.flink' } -mainClassName = "theodolite.uc3.application.HistoryServiceFlinkJob" +mainClassName = "rocks.theodolite.benchmarks.uc3.flink.HistoryServiceFlinkJob" diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/ConfigurationKeys.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/ConfigurationKeys.java similarity index 96% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/ConfigurationKeys.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/ConfigurationKeys.java index bc4e0b9d2..980f07b9b 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/ConfigurationKeys.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/ConfigurationKeys.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application; +package rocks.theodolite.benchmarks.uc3.flink; /** * Keys to access configuration parameters. diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/HistoryServiceFlinkJob.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/HistoryServiceFlinkJob.java similarity index 95% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/HistoryServiceFlinkJob.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/HistoryServiceFlinkJob.java index 499e2e3f8..4cf7ed080 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/HistoryServiceFlinkJob.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/HistoryServiceFlinkJob.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application; +package rocks.theodolite.benchmarks.uc3.flink; import com.google.common.math.Stats; import java.time.Instant; @@ -20,10 +20,10 @@ import org.slf4j.LoggerFactory; import rocks.theodolite.benchmarks.commons.flink.KafkaConnectorFactory; import rocks.theodolite.benchmarks.commons.flink.StateBackends; import rocks.theodolite.benchmarks.commons.flink.serialization.StatsSerializer; -import theodolite.uc3.application.util.HourOfDayKey; -import theodolite.uc3.application.util.HourOfDayKeyFactory; -import theodolite.uc3.application.util.HourOfDayKeySerde; -import theodolite.uc3.application.util.StatsKeyFactory; +import rocks.theodolite.benchmarks.uc3.flink.util.HourOfDayKey; +import rocks.theodolite.benchmarks.uc3.flink.util.HourOfDayKeyFactory; +import rocks.theodolite.benchmarks.uc3.flink.util.HourOfDayKeySerde; +import rocks.theodolite.benchmarks.uc3.flink.util.StatsKeyFactory; import titan.ccp.common.configuration.ServiceConfigurations; import titan.ccp.model.records.ActivePowerRecord; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/HourOfDayProcessWindowFunction.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/HourOfDayProcessWindowFunction.java similarity index 89% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/HourOfDayProcessWindowFunction.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/HourOfDayProcessWindowFunction.java index 349c63413..9c70ef9da 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/HourOfDayProcessWindowFunction.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/HourOfDayProcessWindowFunction.java @@ -1,11 +1,11 @@ -package theodolite.uc3.application; +package rocks.theodolite.benchmarks.uc3.flink; import com.google.common.math.Stats; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.streaming.api.functions.windowing.ProcessWindowFunction; import org.apache.flink.streaming.api.windowing.windows.TimeWindow; import org.apache.flink.util.Collector; -import theodolite.uc3.application.util.HourOfDayKey; +import rocks.theodolite.benchmarks.uc3.flink.util.HourOfDayKey; /** * A {@link ProcessWindowFunction} that forwards a computed {@link Stats} object along with its diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/StatsAggregateFunction.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/StatsAggregateFunction.java similarity index 90% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/StatsAggregateFunction.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/StatsAggregateFunction.java index 4706da0a9..38d277dac 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/StatsAggregateFunction.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/StatsAggregateFunction.java @@ -1,9 +1,9 @@ -package theodolite.uc3.application; +package rocks.theodolite.benchmarks.uc3.flink; import com.google.common.math.Stats; import com.google.common.math.StatsAccumulator; import org.apache.flink.api.common.functions.AggregateFunction; -import theodolite.uc3.application.util.StatsFactory; +import rocks.theodolite.benchmarks.uc3.flink.util.StatsFactory; import titan.ccp.model.records.ActivePowerRecord; /** diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKey.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKey.java similarity index 97% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKey.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKey.java index 5def88b40..d5cf47bfb 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKey.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKey.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import java.nio.ByteBuffer; import java.nio.ByteOrder; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKeyFactory.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKeyFactory.java similarity index 91% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKeyFactory.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKeyFactory.java index bd67b2508..91e4afb04 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKeyFactory.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKeyFactory.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import java.io.Serializable; import java.time.LocalDateTime; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKeySerde.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKeySerde.java similarity index 97% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKeySerde.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKeySerde.java index 6e3ae9f75..2c5bd40fe 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayKeySerde.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayKeySerde.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayRecordFactory.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayRecordFactory.java similarity index 93% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayRecordFactory.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayRecordFactory.java index d8a42b74e..5c52a446e 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/HourOfDayRecordFactory.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/HourOfDayRecordFactory.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import com.google.common.math.Stats; import org.apache.kafka.streams.kstream.Windowed; diff --git a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/util/StatsFactory.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsFactory.java similarity index 91% rename from theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/util/StatsFactory.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsFactory.java index 9697108eb..71955acdf 100644 --- a/theodolite-benchmarks/uc2-flink/src/main/java/theodolite/uc2/application/util/StatsFactory.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsFactory.java @@ -1,4 +1,4 @@ -package theodolite.uc2.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import com.google.common.math.Stats; import com.google.common.math.StatsAccumulator; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsKeyFactory.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsKeyFactory.java similarity index 86% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsKeyFactory.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsKeyFactory.java index fdebccaa2..23ffed974 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsKeyFactory.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsKeyFactory.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import java.time.LocalDateTime; diff --git a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsRecordFactory.java b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsRecordFactory.java similarity index 93% rename from theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsRecordFactory.java rename to theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsRecordFactory.java index 61333c999..f67187e4b 100644 --- a/theodolite-benchmarks/uc3-flink/src/main/java/theodolite/uc3/application/util/StatsRecordFactory.java +++ b/theodolite-benchmarks/uc3-flink/src/main/java/rocks/theodolite/benchmarks/uc3/flink/util/StatsRecordFactory.java @@ -1,4 +1,4 @@ -package theodolite.uc3.application.util; +package rocks.theodolite.benchmarks.uc3.flink.util; import com.google.common.math.Stats; import org.apache.avro.specific.SpecificRecord; diff --git a/theodolite-benchmarks/uc4-beam/src/main/java/application/GenerateParentsFn.java b/theodolite-benchmarks/uc4-beam/src/main/java/application/GenerateParentsFn.java index 68cf551af..081d9e212 100644 --- a/theodolite-benchmarks/uc4-beam/src/main/java/application/GenerateParentsFn.java +++ b/theodolite-benchmarks/uc4-beam/src/main/java/application/GenerateParentsFn.java @@ -8,8 +8,6 @@ import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.beam.sdk.transforms.DoFn; import org.apache.beam.sdk.values.KV; -// import theodolite.uc2.streamprocessing.KeyValue; -// import theodolite.uc2.streamprocessing.KeyValueIterator; import titan.ccp.configuration.events.Event; import titan.ccp.model.sensorregistry.AggregatedSensor; import titan.ccp.model.sensorregistry.Sensor; diff --git a/theodolite-benchmarks/uc4-flink/build.gradle b/theodolite-benchmarks/uc4-flink/build.gradle index ebc7ca5f3..c095c4126 100644 --- a/theodolite-benchmarks/uc4-flink/build.gradle +++ b/theodolite-benchmarks/uc4-flink/build.gradle @@ -2,4 +2,4 @@ plugins { id 'theodolite.flink' } -mainClassName = "theodolite.uc4.application.AggregationServiceFlinkJob" +mainClassName = "rocks.theodolite.benchmarks.uc2.flink.AggregationServiceFlinkJob" diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/AggregationServiceFlinkJob.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/AggregationServiceFlinkJob.java similarity index 96% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/AggregationServiceFlinkJob.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/AggregationServiceFlinkJob.java index 15aea5eef..726a7f590 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/AggregationServiceFlinkJob.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/AggregationServiceFlinkJob.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application; // NOPMD Imports required +package rocks.theodolite.benchmarks.uc4.flink; // NOPMD Imports required import java.time.Duration; import java.util.Set; @@ -22,10 +22,10 @@ import org.slf4j.LoggerFactory; import rocks.theodolite.benchmarks.commons.flink.KafkaConnectorFactory; import rocks.theodolite.benchmarks.commons.flink.StateBackends; import rocks.theodolite.benchmarks.commons.flink.TupleType; -import theodolite.uc4.application.util.ImmutableSensorRegistrySerializer; -import theodolite.uc4.application.util.ImmutableSetSerializer; -import theodolite.uc4.application.util.SensorParentKey; -import theodolite.uc4.application.util.SensorParentKeySerializer; +import rocks.theodolite.benchmarks.uc4.flink.util.ImmutableSensorRegistrySerializer; +import rocks.theodolite.benchmarks.uc4.flink.util.ImmutableSetSerializer; +import rocks.theodolite.benchmarks.uc4.flink.util.SensorParentKey; +import rocks.theodolite.benchmarks.uc4.flink.util.SensorParentKeySerializer; import titan.ccp.common.configuration.ServiceConfigurations; import titan.ccp.common.kafka.avro.SchemaRegistryAvroSerdeFactory; import titan.ccp.configuration.events.Event; diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/ChildParentsFlatMapFunction.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/ChildParentsFlatMapFunction.java similarity index 98% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/ChildParentsFlatMapFunction.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/ChildParentsFlatMapFunction.java index 910dc359f..c439df1e4 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/ChildParentsFlatMapFunction.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/ChildParentsFlatMapFunction.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application; +package rocks.theodolite.benchmarks.uc4.flink; import java.util.Iterator; import java.util.Map; diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/ConfigurationKeys.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/ConfigurationKeys.java similarity index 96% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/ConfigurationKeys.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/ConfigurationKeys.java index 448e8b095..290f43419 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/ConfigurationKeys.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/ConfigurationKeys.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application; +package rocks.theodolite.benchmarks.uc4.flink; /** * Keys to access configuration parameters. diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/JoinAndDuplicateCoFlatMapFunction.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/JoinAndDuplicateCoFlatMapFunction.java similarity index 95% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/JoinAndDuplicateCoFlatMapFunction.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/JoinAndDuplicateCoFlatMapFunction.java index 6ef9a72e9..624327a69 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/JoinAndDuplicateCoFlatMapFunction.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/JoinAndDuplicateCoFlatMapFunction.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application; +package rocks.theodolite.benchmarks.uc4.flink; import java.util.Set; import org.apache.flink.api.common.state.MapState; @@ -9,7 +9,7 @@ import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.configuration.Configuration; import org.apache.flink.streaming.api.functions.co.RichCoFlatMapFunction; import org.apache.flink.util.Collector; -import theodolite.uc4.application.util.SensorParentKey; +import rocks.theodolite.benchmarks.uc4.flink.util.SensorParentKey; import titan.ccp.model.records.ActivePowerRecord; /** diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/RecordAggregationProcessWindowFunction.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/RecordAggregationProcessWindowFunction.java similarity index 97% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/RecordAggregationProcessWindowFunction.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/RecordAggregationProcessWindowFunction.java index 45d4a09d1..29e1ea322 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/RecordAggregationProcessWindowFunction.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/RecordAggregationProcessWindowFunction.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application; +package rocks.theodolite.benchmarks.uc4.flink; import org.apache.flink.api.common.state.MapState; import org.apache.flink.api.common.state.MapStateDescriptor; @@ -11,7 +11,7 @@ import org.apache.flink.configuration.Configuration; import org.apache.flink.streaming.api.functions.windowing.ProcessWindowFunction; import org.apache.flink.streaming.api.windowing.windows.TimeWindow; import org.apache.flink.util.Collector; -import theodolite.uc4.application.util.SensorParentKey; +import rocks.theodolite.benchmarks.uc4.flink.util.SensorParentKey; import titan.ccp.model.records.ActivePowerRecord; import titan.ccp.model.records.AggregatedActivePowerRecord; diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/ImmutableSensorRegistrySerializer.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/ImmutableSensorRegistrySerializer.java similarity index 94% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/ImmutableSensorRegistrySerializer.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/ImmutableSensorRegistrySerializer.java index e157f35c8..54d882690 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/ImmutableSensorRegistrySerializer.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/ImmutableSensorRegistrySerializer.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application.util; +package rocks.theodolite.benchmarks.uc4.flink.util; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/ImmutableSetSerializer.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/ImmutableSetSerializer.java similarity index 96% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/ImmutableSetSerializer.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/ImmutableSetSerializer.java index 6b2dbcdfb..4c23ffefc 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/ImmutableSetSerializer.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/ImmutableSetSerializer.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application.util; +package rocks.theodolite.benchmarks.uc4.flink.util; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/SensorParentKey.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/SensorParentKey.java similarity index 95% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/SensorParentKey.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/SensorParentKey.java index 903b66dd1..af67c35ce 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/SensorParentKey.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/SensorParentKey.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application.util; +package rocks.theodolite.benchmarks.uc4.flink.util; import java.util.Objects; diff --git a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/SensorParentKeySerializer.java b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/SensorParentKeySerializer.java similarity index 94% rename from theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/SensorParentKeySerializer.java rename to theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/SensorParentKeySerializer.java index bdd403a05..c18709436 100644 --- a/theodolite-benchmarks/uc4-flink/src/main/java/theodolite/uc4/application/util/SensorParentKeySerializer.java +++ b/theodolite-benchmarks/uc4-flink/src/main/java/rocks/theodolite/benchmarks/uc4/flink/util/SensorParentKeySerializer.java @@ -1,4 +1,4 @@ -package theodolite.uc4.application.util; +package rocks.theodolite.benchmarks.uc4.flink.util; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; -- GitLab