- May 30, 2020
-
-
Björn Vonheiden authored
Replace the kieker records for reading and writing to/from kafka with the avro records from Titan.
-
Björn Vonheiden authored
To allow using the schema registry kafka streams builder takes an URL for using late the avor schema regitstry factory.
-
- May 28, 2020
-
-
Sören Henning authored
Clean up execution See merge request !12
-
Sören Henning authored
-
Sören Henning authored
Separate analysis scripts from execution framework See merge request !10
-
Sören Henning authored
-
Sören Henning authored
-
- May 27, 2020
-
-
Sören Henning authored
-
Sören Henning authored
-
Sören Henning authored
-
Sören Henning authored
Rename Java Packages, Projects etc. to Theodolite Closes #36 See merge request !8
-
Björn Vonheiden authored
The Project is renamed to theodolite and therefore all packages should be renamed likewise.
-
Björn Vonheiden authored
Disable this checks, becaus the main project has no implmentaions. Further the execution of the checks yield to errors in eclipse.
-
Björn Vonheiden authored
-
- May 25, 2020
-
-
Sören Henning authored
-
- May 22, 2020
-
-
Sören Henning authored
Feature/cleanup kafka streams Closes #15 See merge request she/spesb!4
-
- May 18, 2020
-
-
Sören Henning authored
Resolve "Add dashboard and data source provisioning for Grafana" See merge request she/spesb!5
-
Benedikt Wetzel authored
-
Benedikt Wetzel authored
-
Benedikt Wetzel authored
-
Sören Henning authored
-
Sören Henning authored
-
Sören Henning authored
-
- May 15, 2020
-
-
Sören Henning authored
-
- May 14, 2020
-
-
Björn Vonheiden authored
The use cases extend the KafkaStreamsBuilder and only configure project specific stuff for the Kafaka streams application. This reduces in the KafkaStremBuilder classes the redundancy.
-
Björn Vonheiden authored
This allows the usecases to create its own Properties object if needed.
-
Björn Vonheiden authored
- Define variables for commons projects and uc projects - Add different dependencies to the different subprojects - Apply application plugin only to ucs - allow uc to use the commons project as dependency diff --git a/build.gradle b/build.gradle index 6827860..694a127 100644 --- a/build.gradle +++ b/build.gradle @@ -10,20 +10,27 @@ buildscript { } } -// Plugins for all projects +// Variables used to distinct different subprojects +def useCaseProjects = subprojects.findAll {it -> it.name.matches('uc(.)*')} +def commonProjects = subprojects.findAll {it -> it.name.matches('(.)*commons(.)*')} + + +// Plugins allprojects { apply plugin: 'eclipse' } -// Plugins for subprojects subprojects { - apply plugin: 'application' apply plugin: 'checkstyle' apply plugin: 'pmd' apply plugin: 'com.github.spotbugs' apply plugin: 'java-library' } +configure(useCaseProjects){ + apply plugin: 'application' +} + // Java version for all subprojects subprojects { java { @@ -47,8 +54,8 @@ allprojects { } } -// Dependencies -subprojects { +// Dependencies for all use cases +configure(useCaseProjects) { dependencies { // These dependencies is exported to consumers, that is to say found on their compile classpath. api('org.industrial-devops:titan-ccp-common:0.0.3-SNAPSHOT') { changing = true } @@ -60,6 +67,22 @@ subprojects { implementation 'com.google.guava:guava:24.1-jre' implementation 'org.jctools:jctools-core:2.1.1' implementation 'org.slf4j:slf4j-simple:1.6.1' + implementation project(':application-kafkastreams-commons') + + // Use JUnit test framework + testImplementation 'junit:junit:4.12' + } +} + +// Dependencies for all commons +configure(commonProjects) { + dependencies { + // These dependencies is exported to consumers, that is to say found on their compile classpath. + api 'org.apache.kafka:kafka-clients:2.4.0' + + // These dependencies are used internally, and not exposed to consumers on their own compile classpath. + implementation 'org.slf4j:slf4j-simple:1.6.1' + implementation('org.industrial-devops:titan-ccp-common:0.0.3-SNAPSHOT') { changing = true } // Use JUnit test framework testImplementation 'junit:junit:4.12'
-
Björn Vonheiden authored
Create an abstract KafkaStreamsBuilder class that can be used in kafka streams use cases. This should reduce the redundancy for reconfigure the properties in every streams application. Now only the topology needs to be defined by the use cases.
-
Björn Vonheiden authored
- Added application-kafkastreams-common project - modified root gradle project - configure eclipse quality tools and formatting
-
Björn Vonheiden authored
- Remove DayOfWeek classes - Remove HourOfWeek classes
-
Björn Vonheiden authored
- add application name and version as a property - checkstyle cleanups
-
Sören Henning authored
Add top-level package for Java implementation Closes #6 See merge request she/spesb!3
-
Björn Vonheiden authored
-
Björn Vonheiden authored
Add the spesb prefix to all self implemented java packages of the project. Because this changes the fully qualified class name of the main classes the build.gradle files need to adopt to this.
-
Sören Henning authored
Gradle + CI improvements Closes #7 See merge request she/spesb!2
-
Björn Vonheiden authored
-
Björn Vonheiden authored
-
Björn Vonheiden authored
-
Björn Vonheiden authored
-
Björn Vonheiden authored
-