diff --git a/theodolite-benchmarks/uc1-beam-samza/build.gradle b/theodolite-benchmarks/uc1-beam-samza/build.gradle index 54c070d967d17ccd41c85f90486655c9fd56b65b..7489af605cf0d67cf18dd81f2122cf3db9cc912f 100644 --- a/theodolite-benchmarks/uc1-beam-samza/build.gradle +++ b/theodolite-benchmarks/uc1-beam-samza/build.gradle @@ -6,5 +6,14 @@ dependencies { implementation project(':uc1-beam') } +sourceSets { + main { + resources { + srcDirs += [ + project(':uc1-beam').sourceSets.main.resources + ] + } + } +} mainClassName = "application.Uc1BeamSamza" diff --git a/theodolite-benchmarks/uc2-beam-flink/build.gradle b/theodolite-benchmarks/uc2-beam-flink/build.gradle index 9ab898cd465abe20e855d06ebf85373e46ab12e2..d7a89fd59d7d5b3e0f37613eb2350dc1c9f00e28 100644 --- a/theodolite-benchmarks/uc2-beam-flink/build.gradle +++ b/theodolite-benchmarks/uc2-beam-flink/build.gradle @@ -2,9 +2,18 @@ plugins { id 'theodolite.beam.flink' } - dependencies { implementation project(':uc2-beam') } +sourceSets { + main { + resources { + srcDirs += [ + project(':uc2-beam').sourceSets.main.resources + ] + } + } +} + mainClassName = "application.Uc2BeamFlink" diff --git a/theodolite-benchmarks/uc2-beam-samza/build.gradle b/theodolite-benchmarks/uc2-beam-samza/build.gradle index 29d7f9ac0c22c421072646ca665b3849c558d56f..67df31321148e5edd058959dce69d0d59f9751c2 100644 --- a/theodolite-benchmarks/uc2-beam-samza/build.gradle +++ b/theodolite-benchmarks/uc2-beam-samza/build.gradle @@ -2,9 +2,18 @@ plugins { id 'theodolite.beam.samza' } - dependencies { implementation project(':uc2-beam') } +sourceSets { + main { + resources { + srcDirs += [ + project(':uc2-beam').sourceSets.main.resources + ] + } + } +} + mainClassName = "application.Uc2BeamSamza" diff --git a/theodolite-benchmarks/uc2-beam-samza/src/main/resources/META-INF/application.properties b/theodolite-benchmarks/uc2-beam-samza/src/main/resources/META-INF/application.properties deleted file mode 100644 index 1545a0f6630c8ea51d694f4056ca3aa750463f5b..0000000000000000000000000000000000000000 --- a/theodolite-benchmarks/uc2-beam-samza/src/main/resources/META-INF/application.properties +++ /dev/null @@ -1,17 +0,0 @@ -application.name=theodolite-uc2-application -application.version=0.0.1 - -kafka.bootstrap.servers=localhost:9092 -kafka.input.topic=input -kafka.output.topic=output -kafka.window.duration.minutes=1 - -schema.registry.url=http://localhost:8081 - -num.threads=1 -commit.interval.ms=1000 -cache.max.bytes.buffering=-1 - -specific.avro.reader=True -enable.auto.commit.config=True -auto.offset.reset.config=earliest \ No newline at end of file diff --git a/theodolite-benchmarks/uc2-beam-flink/src/main/resources/META-INF/application.properties b/theodolite-benchmarks/uc2-beam/src/main/resources/META-INF/application.properties similarity index 100% rename from theodolite-benchmarks/uc2-beam-flink/src/main/resources/META-INF/application.properties rename to theodolite-benchmarks/uc2-beam/src/main/resources/META-INF/application.properties diff --git a/theodolite-benchmarks/uc3-beam-flink/build.gradle b/theodolite-benchmarks/uc3-beam-flink/build.gradle index 8f047c6dce50636f01a7cdf645722aa5f7ac9ce9..f3083d10b09bea6c8611809318b5b20650d3fbf6 100644 --- a/theodolite-benchmarks/uc3-beam-flink/build.gradle +++ b/theodolite-benchmarks/uc3-beam-flink/build.gradle @@ -2,11 +2,18 @@ plugins { id 'theodolite.beam.flink' } - dependencies { implementation project(':uc3-beam') } +sourceSets { + main { + resources { + srcDirs += [ + project(':uc3-beam').sourceSets.main.resources + ] + } + } +} -// This is the path of the main class, stored within ./src/main/java/ mainClassName = 'application.Uc3BeamFlink' diff --git a/theodolite-benchmarks/uc3-beam-samza/build.gradle b/theodolite-benchmarks/uc3-beam-samza/build.gradle index 513b850330f4f71f440ad5da4ecea95f092f5ccc..849a010336939f27a60ee6cbaab680a6a5d2d60d 100644 --- a/theodolite-benchmarks/uc3-beam-samza/build.gradle +++ b/theodolite-benchmarks/uc3-beam-samza/build.gradle @@ -2,9 +2,18 @@ plugins { id 'theodolite.beam.samza' } - dependencies { implementation project(':uc3-beam') } -mainClassName = "application.Uc3BeamSamza" \ No newline at end of file +sourceSets { + main { + resources { + srcDirs += [ + project(':uc3-beam').sourceSets.main.resources + ] + } + } +} + +mainClassName = "application.Uc3BeamSamza" diff --git a/theodolite-benchmarks/uc3-beam-samza/src/main/resources/META-INF/application.properties b/theodolite-benchmarks/uc3-beam-samza/src/main/resources/META-INF/application.properties deleted file mode 100644 index 2db723927eaee10d39e02a6b2d369a06af7711fc..0000000000000000000000000000000000000000 --- a/theodolite-benchmarks/uc3-beam-samza/src/main/resources/META-INF/application.properties +++ /dev/null @@ -1,22 +0,0 @@ -application.name=theodolite-uc3-application -application.version=0.0.1 - -kafka.bootstrap.servers=localhost:9092 -kafka.input.topic=input -kafka.output.topic=output -kafka.window.duration.minutes=1 - -schema.registry.url=http://localhost:8081 - -aggregation.duration.days=30 -aggregation.advance.days=1 - -trigger.interval=15 - -num.threads=1 -commit.interval.ms=1000 -cache.max.bytes.buffering=-1 - -specific.avro.reader=True -enable.auto.commit.config=True -auto.offset.reset.config=earliest \ No newline at end of file diff --git a/theodolite-benchmarks/uc3-beam-flink/src/main/resources/META-INF/application.properties b/theodolite-benchmarks/uc3-beam/src/main/resources/META-INF/application.properties similarity index 100% rename from theodolite-benchmarks/uc3-beam-flink/src/main/resources/META-INF/application.properties rename to theodolite-benchmarks/uc3-beam/src/main/resources/META-INF/application.properties diff --git a/theodolite-benchmarks/uc4-beam-flink/build.gradle b/theodolite-benchmarks/uc4-beam-flink/build.gradle index 7ace89a2275e29e22186f7b67dcb7816cc7a85d0..56cff477d1b67681f21f4d6a0a63818c68b482de 100644 --- a/theodolite-benchmarks/uc4-beam-flink/build.gradle +++ b/theodolite-benchmarks/uc4-beam-flink/build.gradle @@ -2,9 +2,18 @@ plugins { id 'theodolite.beam.flink' } - dependencies { implementation project(':uc4-beam') } -mainClassName = 'application.Uc4BeamFlink' \ No newline at end of file +sourceSets { + main { + resources { + srcDirs += [ + project(':uc4-beam').sourceSets.main.resources + ] + } + } +} + +mainClassName = 'application.Uc4BeamFlink' diff --git a/theodolite-benchmarks/uc4-beam-samza/build.gradle b/theodolite-benchmarks/uc4-beam-samza/build.gradle index 90dcc76b0cae5aeca61f76d0cb73347b2407408b..8aecf1ea83c2f9d943400779bbba50cef71ef149 100644 --- a/theodolite-benchmarks/uc4-beam-samza/build.gradle +++ b/theodolite-benchmarks/uc4-beam-samza/build.gradle @@ -6,5 +6,14 @@ dependencies { implementation project(':uc4-beam') } +sourceSets { + main { + resources { + srcDirs += [ + project(':uc4-beam').sourceSets.main.resources + ] + } + } +} mainClassName = "application.Uc4BeamSamza" diff --git a/theodolite-benchmarks/uc4-beam-samza/src/main/resources/META-INF/application.properties b/theodolite-benchmarks/uc4-beam-samza/src/main/resources/META-INF/application.properties deleted file mode 100644 index bc679580dadf969e181b6787e8287066426be7e2..0000000000000000000000000000000000000000 --- a/theodolite-benchmarks/uc4-beam-samza/src/main/resources/META-INF/application.properties +++ /dev/null @@ -1,25 +0,0 @@ -application.name=theodolite-uc4-application -application.version=0.0.1 - -kafka.bootstrap.servers=localhost:9092 -kafka.input.topic=input -kafka.output.topic=output -kafka.configuration.topic=configuration -kafka.feedback.topic=aggregation-feedback -kafka.window.duration.minutes=1 - -schema.registry.url=http://localhost:8081 - -aggregation.duration.days=30 -aggregation.advance.days=1 - -trigger.interval=15 -grace.period.ms=270 - -num.threads=1 -commit.interval.ms=1000 -cache.max.bytes.buffering=-1 - -specific.avro.reader=True -enable.auto.commit.config=True -auto.offset.reset.config=earliest \ No newline at end of file diff --git a/theodolite-benchmarks/uc4-beam-flink/src/main/resources/META-INF/application.properties b/theodolite-benchmarks/uc4-beam/src/main/resources/META-INF/application.properties similarity index 100% rename from theodolite-benchmarks/uc4-beam-flink/src/main/resources/META-INF/application.properties rename to theodolite-benchmarks/uc4-beam/src/main/resources/META-INF/application.properties