You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Data Prepper plugins have Gradle module names such as opensearch, common, kafka-plugins`, etc. These are good in Gradle. But, in the Docker image (and eventually on Maven), these names can be confusing.
In particular, I noticed this with the opensearch-2.9.0 jar file. I thought this was OpenSearch 2.9.0. This also caused vulnerability scans to detect that this had a vulnerability which is valid for OpenSearch 2.9.0, not Data Prepper's opensearch sink/source.
docker run opensearchproject/data-prepper:2.9.0 ls /usr/share/data-prepper/lib/opensearch-2.9.0.jar
/usr/share/data-prepper/lib/opensearch-2.9.0.jar
Running a jar listing reveals that this is Data Prepper's opensearch plugin.
docker run opensearchproject/data-prepper:2.9.0 jar tvf /usr/share/data-prepper/lib/opensearch-2.9.0.jar | grep Sink
3406 Wed Aug 28 15:35:36 UTC 2024 org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSinkConfiguration.class
47509 Wed Aug 28 15:35:36 UTC 2024 org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.class
Describe the solution you'd like
I'd like to rename the jar files that Data Prepper produces to start all Data Prepper plugins with data-prepper-plugin-.
At the same time, I'd like to keep the module names in Gradle the same. We can configure Gradle to change the way it produces output to help with this.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Data Prepper plugins have Gradle module names such as
opensearch
,common
, kafka-plugins`, etc. These are good in Gradle. But, in the Docker image (and eventually on Maven), these names can be confusing.In particular, I noticed this with the
opensearch-2.9.0
jar file. I thought this was OpenSearch 2.9.0. This also caused vulnerability scans to detect that this had a vulnerability which is valid for OpenSearch 2.9.0, not Data Prepper'sopensearch
sink/source.Running a jar listing reveals that this is Data Prepper's
opensearch
plugin.Describe the solution you'd like
I'd like to rename the jar files that Data Prepper produces to start all Data Prepper plugins with
data-prepper-plugin-
.At the same time, I'd like to keep the module names in Gradle the same. We can configure Gradle to change the way it produces output to help with this.
The text was updated successfully, but these errors were encountered: