Skip to content

Commit

Permalink
fix kafka CVE-2023-25194, update kafka client to 3.4.0 (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#2484)

Signed-off-by: Shujian Xie <xiesj@live.com>

Signed-off-by: Peter Nied <peternied@hotmail.com>
(cherry picked from commit 7547d03)
  • Loading branch information
xie-shujian authored and DarshitChanpura committed Feb 27, 2023
1 parent 5f4cbc4 commit 8a8fe92
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ext {
buildVersionQualifier = System.getProperty("build.version_qualifier", "")
version_tokens = opensearch_version.tokenize('-')
opensearch_build = version_tokens[0] + '.0'
kafka_version = '3.0.2'
kafka_version = '3.4.0'

if (buildVersionQualifier) {
opensearch_build += "-${buildVersionQualifier}"
Expand Down Expand Up @@ -132,7 +132,7 @@ dependencies {
testImplementation 'junit:junit:4.13.1'
testImplementation 'org.apache.httpcomponents:fluent-hc:4.5.13'
testImplementation 'org.mockito:mockito-core:2.23.0'
testImplementation 'org.springframework.kafka:spring-kafka-test:2.8.6'
testImplementation 'org.springframework.kafka:spring-kafka-test:2.9.6'
testImplementation 'javax.servlet:servlet-api:2.5'
testImplementation 'com.unboundid:unboundid-ldapsdk:4.0.9'
testImplementation 'com.github.stephenc.jcip:jcip-annotations:1.0-1'
Expand Down Expand Up @@ -327,12 +327,12 @@ task bundleSecurityAdminStandaloneTarGz(dependsOn: jar, type: Tar) {

task createPluginDescriptor() {
List<String> descriptorProperties = [
"description=Provide access control related features for OpenSearch",
"version=${version}",
"name=opensearch-security",
"classname=org.opensearch.security.OpenSearchSecurityPlugin",
"java.version=${java.targetCompatibility}",
"opensearch.version=${version_tokens[0]}",
"description=Provide access control related features for OpenSearch",
"version=${version}",
"name=opensearch-security",
"classname=org.opensearch.security.OpenSearchSecurityPlugin",
"java.version=${java.targetCompatibility}",
"opensearch.version=${version_tokens[0]}",
]

new File("plugin-descriptor.properties").text = descriptorProperties.join ("\n")
Expand Down

0 comments on commit 8a8fe92

Please sign in to comment.