forked from opensearch-project/data-prepper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
124ea9d
commit d9dbbf6
Showing
87 changed files
with
149 additions
and
205 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# These are explicitly windows files and should use crlf | ||
*.bat text eol=crlf |
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,7 @@ | ||
# Ignore Gradle project-specific cache directory | ||
.DS_Store | ||
.idea | ||
.gradle | ||
|
||
# Ignore Gradle build output directory | ||
build |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,12 @@ | ||
plugins { | ||
id 'java' | ||
id 'jacoco' | ||
} | ||
|
||
dependencies { | ||
compile project(':situp-api') | ||
compile project(':situp-plugins:common') | ||
implementation 'io.netty:netty-all:4.1.51.Final' | ||
implementation "com.fasterxml.jackson.core:jackson-databind:${versionMap.jackson_databind}" | ||
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${versionMap.jackson_dataformat_yaml}" | ||
} |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...source/apmtracesource/ApmTraceSource.java → ...source/apmtracesource/ApmTraceSource.java
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,79 +0,0 @@ | ||
buildscript { | ||
ext { | ||
es_version = System.getProperty("es.version", "7.8.0") | ||
es_group = "org.elasticsearch" | ||
distribution = 'oss-zip' | ||
} | ||
|
||
repositories { | ||
maven { url "https://plugins.gradle.org/m2/" } | ||
} | ||
|
||
dependencies { | ||
classpath "${es_group}.gradle:build-tools:${es_version}" | ||
//Uncomment below dependency for publishing | ||
//classpath 'com.amazonaws:aws-java-sdk-core:1.11.5' | ||
} | ||
} | ||
|
||
plugins { | ||
id 'java' | ||
id 'jacoco' | ||
} | ||
apply plugin: 'elasticsearch.testclusters' | ||
apply plugin: 'elasticsearch.build' | ||
apply plugin: 'elasticsearch.rest-test' | ||
|
||
// To pass elasticsearch plugin check | ||
ext { | ||
licenseFile = rootProject.file('LICENSE.TXT') | ||
noticeFile = rootProject.file('NOTICE.TXT') | ||
} | ||
|
||
dependencies { | ||
compile project(':situp-api') | ||
implementation 'io.netty:netty-all:4.1.51.Final' | ||
implementation "org.elasticsearch.client:elasticsearch-rest-client:${es_version}" | ||
implementation "org.elasticsearch:elasticsearch:${es_version}" | ||
implementation "com.fasterxml.jackson.core:jackson-databind:${versionMap.jackson_databind}" | ||
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${versionMap.jackson_dataformat_yaml}" | ||
implementation "org.reflections:reflections:${versionMap.reflections}" | ||
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' | ||
testImplementation("junit:junit:${versionMap.junit}") { | ||
exclude group:'org.hamcrest' // workaround for jarHell | ||
} | ||
testImplementation "org.elasticsearch.test:framework:${es_version}" | ||
} | ||
// Workaround for Werror | ||
compileJava.options.warnings = false | ||
|
||
// Resolve dependency conflict between ES sink and main project | ||
configurations.all { | ||
resolutionStrategy { | ||
force 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.1' | ||
force 'com.fasterxml.jackson.core:jackson-databind:2.11.1' | ||
force 'com.fasterxml.jackson.core:jackson-core:2.11.1' | ||
force 'com.google.guava:guava:29.0-jre' | ||
force 'org.apache.bval:bval-jsr:2.0.4' | ||
force 'junit:junit:4.13' | ||
} | ||
} | ||
|
||
integTest {} | ||
|
||
testClusters.integTest { | ||
testDistribution = "OSS" | ||
} | ||
|
||
integTest.runner { | ||
systemProperty 'tests.security.manager', 'false' | ||
} | ||
|
||
checkstyleMain.ignoreFailures = true | ||
checkstyleTest.ignoreFailures = true | ||
forbiddenApis.ignoreFailures = true | ||
testingConventions.enabled = false | ||
licenseHeaders.enabled = false | ||
dependencyLicenses.enabled = false | ||
thirdPartyAudit.enabled = false | ||
validateNebulaPom.enabled = false | ||
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,11 @@ | ||
plugins { | ||
id 'java' | ||
id 'jacoco' | ||
} | ||
dependencies { | ||
compile project(':situp-api') | ||
implementation "com.fasterxml.jackson.core:jackson-databind:${versionMap.jackson_databind}" | ||
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${versionMap.jackson_dataformat_yaml}" | ||
implementation "org.reflections:reflections:${versionMap.reflections}" | ||
testImplementation "junit:junit:${versionMap.junit}" | ||
} |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ugins/buffer/UnboundedInMemoryBuffer.java → ...ugins/buffer/UnboundedInMemoryBuffer.java
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
4 changes: 2 additions & 2 deletions
4
...itup/plugins/processor/NoOpProcessor.java → ...itup/plugins/processor/NoOpProcessor.java
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
2 changes: 1 addition & 1 deletion
2
...p/plugins/processor/ProcessorFactory.java → ...p/plugins/processor/ProcessorFactory.java
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
7 changes: 4 additions & 3 deletions
7
...or/StatelessServiceMapTraceProcessor.java → ...or/StatelessServiceMapTraceProcessor.java
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
4 changes: 2 additions & 2 deletions
4
...up/plugins/processor/StringProcessor.java → ...up/plugins/processor/StringProcessor.java
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
4 changes: 2 additions & 2 deletions
4
...m/amazon/situp/plugins/sink/FileSink.java → ...m/amazon/situp/plugins/sink/FileSink.java
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
2 changes: 1 addition & 1 deletion
2
...mazon/situp/plugins/sink/SinkFactory.java → ...mazon/situp/plugins/sink/SinkFactory.java
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
4 changes: 2 additions & 2 deletions
4
...amazon/situp/plugins/sink/StdOutSink.java → ...amazon/situp/plugins/sink/StdOutSink.java
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 |
---|---|---|
|
@@ -62,4 +62,4 @@ public void start(final Buffer<Record<String>> buffer) { | |
public void stop() { | ||
isStopRequested = 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 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 |
---|---|---|
|
@@ -52,4 +52,4 @@ public void start(final Buffer<Record<String>> buffer) { | |
public void stop() { | ||
isStopRequested = true; | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...tup/plugins/ConstructorLessComponent.java → ...tup/plugins/ConstructorLessComponent.java
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...gins/processor/ProcessorFactoryTests.java → ...gins/processor/ProcessorFactoryTests.java
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
2 changes: 1 addition & 1 deletion
2
.../situp/plugins/sink/SinkFactoryTests.java → .../situp/plugins/sink/SinkFactoryTests.java
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
4 changes: 2 additions & 2 deletions
4
...m/amazon/situp/plugins/sink/TestSink.java → ...m/amazon/situp/plugins/sink/TestSink.java
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
2 changes: 1 addition & 1 deletion
2
...up/plugins/source/SourceFactoryTests.java → ...up/plugins/source/SourceFactoryTests.java
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
4 changes: 2 additions & 2 deletions
4
...azon/situp/plugins/source/TestSource.java → ...azon/situp/plugins/source/TestSource.java
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.