-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple additive templates (#49)
* Allow multiple additive templates * Drop fat application jars * Bug fix: actually skip when not a KafkaTopic Acl
- Loading branch information
1 parent
f81e6ac
commit 6e1b6c0
Showing
16 changed files
with
128 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
FROM eclipse-temurin:18 | ||
WORKDIR /home/ | ||
ADD ./hoptimator-cli/run.sh ./hoptimator | ||
ADD ./hoptimator-operator/run.sh ./hoptimator-operator | ||
ADD ./hoptimator-cli/build/libs/hoptimator-cli-all.jar ./hoptimator-cli-all.jar | ||
ADD ./hoptimator-operator/build/libs/hoptimator-operator-all.jar ./hoptimator-operator-all.jar | ||
ADD ./hoptimator-cli-integration/build/distributions/hoptimator-cli-integration.tar ./ | ||
ADD ./hoptimator-operator-integration/build/distributions/hoptimator-operator-integration.tar ./ | ||
ADD ./etc/* ./ | ||
ENTRYPOINT ["/bin/sh", "-c"] | ||
CMD ["./hoptimator -n '' -p '' -u jdbc:calcite:model=model.yaml"] | ||
CMD ["./hoptimator-cli-integration/bin/hoptimator-cli-integration -n '' -p '' -u jdbc:calcite:model=model.yaml"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
|
||
kubectl exec -it hoptimator -c hoptimator -- ./hoptimator -n "" -p "" -u "jdbc:calcite:model=/etc/config/model.yaml" "$@" | ||
kubectl exec -it hoptimator -c hoptimator -- ./hoptimator-cli-integration/bin/hoptimator-cli-integration -n "" -p "" -u "jdbc:calcite:model=/etc/config/model.yaml" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
plugins { | ||
id 'java' | ||
id 'application' | ||
id 'idea' | ||
} | ||
|
||
dependencies { | ||
implementation project(path: ':hoptimator-cli', configuration: 'shadow') | ||
|
||
// include adapters for integration tests | ||
implementation project(':hoptimator-kafka-adapter') | ||
implementation project(':hoptimator-mysql-adapter') | ||
implementation project(':hoptimator-flink-adapter') | ||
implementation libs.flinkCsv | ||
implementation libs.flinkConnectorKafka | ||
implementation libs.slf4jSimple | ||
} | ||
|
||
application { | ||
mainClassName = 'com.linkedin.hoptimator.HoptimatorCliApp' | ||
applicationDefaultJvmArgs = [ | ||
"--add-opens", "java.base/java.lang=ALL-UNNAMED", | ||
"--add-opens", "java.base/java.util=ALL-UNNAMED", | ||
"--add-opens", "java.base/java.time=ALL-UNNAMED" ] | ||
} | ||
|
||
java { | ||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
idea { | ||
module { | ||
downloadJavadoc = true | ||
downloadSources = true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
plugins { | ||
id 'java' | ||
id 'application' | ||
id 'idea' | ||
} | ||
|
||
dependencies { | ||
implementation project(':hoptimator-operator') | ||
|
||
// include adapters in integration tests | ||
implementation project(':hoptimator-kafka-adapter') | ||
implementation project(':hoptimator-mysql-adapter') | ||
implementation project(':hoptimator-flink-adapter') | ||
implementation libs.slf4jSimple | ||
|
||
implementation libs.calciteCore | ||
implementation libs.kubernetesClient | ||
implementation libs.kubernetesExtendedClient | ||
implementation libs.slf4jApi | ||
implementation libs.commonsCli | ||
implementation libs.avro | ||
|
||
testImplementation libs.junit | ||
testImplementation libs.assertj | ||
} | ||
|
||
application { | ||
mainClassName = 'com.linkedin.hoptimator.operator.HoptimatorOperatorApp' | ||
} | ||
|
||
idea { | ||
module { | ||
downloadJavadoc = true | ||
downloadSources = true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.