Skip to content
Snippets Groups Projects
Commit bcc0833f authored by Sören Henning's avatar Sören Henning
Browse files

Refactor package names for Flink

parent 3d1a2cd4
No related branches found
No related tags found
1 merge request!249Align package structure among all benchmark implementations
Pipeline #6750 passed
Showing
with 21 additions and 21 deletions
...@@ -46,7 +46,7 @@ spec: ...@@ -46,7 +46,7 @@ spec:
limits: limits:
memory: 4Gi memory: 4Gi
cpu: 1000m 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'] #command: ['sleep', '60m']
ports: ports:
- containerPort: 6123 - containerPort: 6123
......
...@@ -46,7 +46,7 @@ spec: ...@@ -46,7 +46,7 @@ spec:
limits: limits:
memory: 4Gi memory: 4Gi
cpu: 1000m 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'] #command: ['sleep', '60m']
ports: ports:
- containerPort: 6123 - containerPort: 6123
......
...@@ -46,7 +46,7 @@ spec: ...@@ -46,7 +46,7 @@ spec:
limits: limits:
memory: 4Gi memory: 4Gi
cpu: 1000m 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'] #command: ['sleep', '60m']
ports: ports:
- containerPort: 6123 - containerPort: 6123
......
...@@ -46,7 +46,7 @@ spec: ...@@ -46,7 +46,7 @@ spec:
limits: limits:
memory: 4Gi memory: 4Gi
cpu: 1000m 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'] #command: ['sleep', '60m']
ports: ports:
- containerPort: 6123 - containerPort: 6123
......
...@@ -52,7 +52,7 @@ services: ...@@ -52,7 +52,7 @@ services:
image: ghcr.io/cau-se/theodolite-uc1-flink:${THEODOLITE_TAG:-latest} image: ghcr.io/cau-se/theodolite-uc1-flink:${THEODOLITE_TAG:-latest}
#ports: #ports:
# - "8080:8081" # - "8080:8081"
command: standalone-job --job-classname theodolite.uc1.application.HistoryServiceFlinkJob command: standalone-job --job-classname rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob
environment: environment:
- KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - KAFKA_BOOTSTRAP_SERVERS=kafka:9092
- SCHEMA_REGISTRY_URL=http://schema-registry:8081 - SCHEMA_REGISTRY_URL=http://schema-registry:8081
......
...@@ -52,7 +52,7 @@ services: ...@@ -52,7 +52,7 @@ services:
image: ghcr.io/cau-se/theodolite-uc2-flink:${THEODOLITE_TAG:-latest} image: ghcr.io/cau-se/theodolite-uc2-flink:${THEODOLITE_TAG:-latest}
#ports: #ports:
# - "8080:8081" # - "8080:8081"
command: standalone-job --job-classname theodolite.uc2.application.HistoryServiceFlinkJob command: standalone-job --job-classname rocks.theodolite.benchmarks.uc2.flink.HistoryServiceFlinkJob
environment: environment:
- KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - KAFKA_BOOTSTRAP_SERVERS=kafka:9092
- SCHEMA_REGISTRY_URL=http://schema-registry:8081 - SCHEMA_REGISTRY_URL=http://schema-registry:8081
......
...@@ -52,7 +52,7 @@ services: ...@@ -52,7 +52,7 @@ services:
image: ghcr.io/cau-se/theodolite-uc3-flink:${THEODOLITE_TAG:-latest} image: ghcr.io/cau-se/theodolite-uc3-flink:${THEODOLITE_TAG:-latest}
#ports: #ports:
# - "8080:8081" # - "8080:8081"
command: standalone-job --job-classname theodolite.uc3.application.HistoryServiceFlinkJob command: standalone-job --job-classname rocks.theodolite.benchmarks.uc3.flink.HistoryServiceFlinkJob
environment: environment:
- KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - KAFKA_BOOTSTRAP_SERVERS=kafka:9092
- SCHEMA_REGISTRY_URL=http://schema-registry:8081 - SCHEMA_REGISTRY_URL=http://schema-registry:8081
......
...@@ -53,7 +53,7 @@ services: ...@@ -53,7 +53,7 @@ services:
image: ghcr.io/cau-se/theodolite-uc4-flink:${THEODOLITE_TAG:-latest} image: ghcr.io/cau-se/theodolite-uc4-flink:${THEODOLITE_TAG:-latest}
#ports: #ports:
# - "8080:8081" # - "8080:8081"
command: standalone-job --job-classname theodolite.uc4.application.AggregationServiceFlinkJob command: standalone-job --job-classname rocks.theodolite.benchmarks.uc4.flink.AggregationServiceFlinkJob
environment: environment:
- KAFKA_BOOTSTRAP_SERVERS=kafka:9092 - KAFKA_BOOTSTRAP_SERVERS=kafka:9092
- SCHEMA_REGISTRY_URL=http://schema-registry:8081 - SCHEMA_REGISTRY_URL=http://schema-registry:8081
......
...@@ -6,4 +6,4 @@ dependencies { ...@@ -6,4 +6,4 @@ dependencies {
implementation project(':uc1-commons') implementation project(':uc1-commons')
} }
mainClassName = "theodolite.uc1.application.HistoryServiceFlinkJob" mainClassName = "rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob"
package theodolite.uc1.application; package rocks.theodolite.benchmarks.uc1.flink;
/** /**
* Keys to access configuration parameters. * Keys to access configuration parameters.
......
package theodolite.uc1.application; package rocks.theodolite.benchmarks.uc1.flink;
import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.common.functions.MapFunction;
import rocks.theodolite.benchmarks.uc1.commons.RecordConverter; import rocks.theodolite.benchmarks.uc1.commons.RecordConverter;
......
package theodolite.uc1.application; package rocks.theodolite.benchmarks.uc1.flink;
import org.apache.commons.configuration2.Configuration; import org.apache.commons.configuration2.Configuration;
import org.apache.flink.api.common.typeinfo.Types; import org.apache.flink.api.common.typeinfo.Types;
......
package theodolite.uc1.application; package rocks.theodolite.benchmarks.uc1.flink;
import org.apache.flink.api.common.functions.FlatMapFunction; import org.apache.flink.api.common.functions.FlatMapFunction;
import org.apache.flink.util.Collector; import org.apache.flink.util.Collector;
......
...@@ -2,4 +2,4 @@ plugins { ...@@ -2,4 +2,4 @@ plugins {
id 'theodolite.flink' id 'theodolite.flink'
} }
mainClassName = "theodolite.uc2.application.HistoryServiceFlinkJob" mainClassName = "rocks.theodolite.benchmarks.uc1.flink.HistoryServiceFlinkJob"
package theodolite.uc2.application; package rocks.theodolite.benchmarks.uc2.flink;
/** /**
* Keys to access configuration parameters. * Keys to access configuration parameters.
......
package theodolite.uc2.application; package rocks.theodolite.benchmarks.uc2.flink;
import com.google.common.math.Stats; import com.google.common.math.Stats;
import org.apache.commons.configuration2.Configuration; import org.apache.commons.configuration2.Configuration;
......
package theodolite.uc3.application; package rocks.theodolite.benchmarks.uc2.flink;
import com.google.common.math.Stats; import com.google.common.math.Stats;
import com.google.common.math.StatsAccumulator; import com.google.common.math.StatsAccumulator;
import org.apache.flink.api.common.functions.AggregateFunction; import org.apache.flink.api.common.functions.AggregateFunction;
import theodolite.uc3.application.util.StatsFactory; import rocks.theodolite.benchmarks.uc2.flink.util.StatsFactory;
import titan.ccp.model.records.ActivePowerRecord; import titan.ccp.model.records.ActivePowerRecord;
/** /**
......
package theodolite.uc2.application; package rocks.theodolite.benchmarks.uc2.flink;
import com.google.common.math.Stats; import com.google.common.math.Stats;
import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.api.java.tuple.Tuple2;
......
package theodolite.uc3.application.util; package rocks.theodolite.benchmarks.uc2.flink.util;
import com.google.common.math.Stats; import com.google.common.math.Stats;
import com.google.common.math.StatsAccumulator; import com.google.common.math.StatsAccumulator;
......
...@@ -2,4 +2,4 @@ plugins { ...@@ -2,4 +2,4 @@ plugins {
id 'theodolite.flink' id 'theodolite.flink'
} }
mainClassName = "theodolite.uc3.application.HistoryServiceFlinkJob" mainClassName = "rocks.theodolite.benchmarks.uc3.flink.HistoryServiceFlinkJob"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment