diff --git a/TrafficCapture/build.gradle b/TrafficCapture/build.gradle index bc38b456d..506d9a33d 100644 --- a/TrafficCapture/build.gradle +++ b/TrafficCapture/build.gradle @@ -12,6 +12,15 @@ allprojects { subprojects { apply plugin: 'java' apply plugin: 'maven-publish' + task javadocJar(type: Jar, dependsOn: javadoc) { + archiveClassifier.set('javadoc') + from javadoc.destinationDir + } + task sourcesJar(type: Jar) { + archiveClassifier.set('sources') + from sourceSets.main.allSource + duplicatesStrategy = DuplicatesStrategy.EXCLUDE + } def excludedProjects = [ 'buildSrc', 'dockerSolution', @@ -21,6 +30,9 @@ subprojects { publications { mavenJava(MavenPublication) { from components.java + artifact javadocJar + artifact sourcesJar + group = 'org.opensearch.migrations.trafficcapture' version = '0.1.0' @@ -48,6 +60,11 @@ subprojects { url = "https://github.com/opensearch-project/opensearch-migrations" } } + scm { + connection = "scm:git@github.com:opensearch-project/opensearch-migrations.git" + developerConnection = "scm:git@github.com:opensearch-project/opensearch-migrations.git" + url = "git@github.com:opensearch-project/opensearch-migrations.git" + } } // Suppress POM metadata warnings for test fixtures diff --git a/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/http/NettyJsonContentStreamToByteBufHandler.java b/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/http/NettyJsonContentStreamToByteBufHandler.java index b81453deb..185a91f74 100644 --- a/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/http/NettyJsonContentStreamToByteBufHandler.java +++ b/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/http/NettyJsonContentStreamToByteBufHandler.java @@ -25,7 +25,7 @@ * responsibility to serialize that for the final HTTP Request. * * Notice that this class will emit ByteBufs and the next handler in the pipeline, - * @NettyJsonToByteBufHandler will simply pass those ByteBufs through, while repackaging HttpContent + * NettyJsonToByteBufHandler will simply pass those ByteBufs through, while repackaging HttpContent * messages, seemingly similar to what this class does! However, these two handlers have slightly * calling contexts. This handler will only be utilized when there needed to be a material change * on the incoming HttpContent objects from the original request. The next handler will be called