diff --git a/TrafficCapture/README.md b/TrafficCapture/README.md index e51026746..8d7c81799 100644 --- a/TrafficCapture/README.md +++ b/TrafficCapture/README.md @@ -172,7 +172,14 @@ jsonMessageTransformers nettyWireLogging openSearch23PlusTargetTransformerProvider replayerPlugins +testUtilities trafficCaptureProxyServer trafficCaptureProxyServerTest trafficReplayer +``` + +To include a testFixture dependency, define the import like + +```groovy +testImplementation testFixtures('org.opensearch.migrations.trafficcapture:trafficReplayer:0.1.0-SNAPSHOT') ``` \ No newline at end of file diff --git a/TrafficCapture/build.gradle b/TrafficCapture/build.gradle index 223230055..dba36c155 100644 --- a/TrafficCapture/build.gradle +++ b/TrafficCapture/build.gradle @@ -15,18 +15,14 @@ subprojects { def excludedProjects = [ 'buildSrc', 'dockerSolution', - // TODO: Get testFixtures exported to Maven - 'testUtilities', ] if (!(project.name in excludedProjects)) { publishing { publications { mavenJava(MavenPublication) { - artifactId = project.name - from components.java - groupId = 'org.opensearch.migrations.trafficcapture' + group = 'org.opensearch.migrations.trafficcapture' version = '0.1.0-SNAPSHOT' // Suppress POM metadata warnings for test fixtures