Skip to content

Commit a31c54c

Browse files
committed
feat: downgrade Elasticsearch client to 7.10.2 for open source compliance
Downgraded elasticsearch-rest-high-level-client from 7.17.13 to 7.10.2 to maintain Apache 2.0 open source licensing compliance.
1 parent 51d81c7 commit a31c54c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jobs-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
<dependency>
161161
<groupId>org.elasticsearch.client</groupId>
162162
<artifactId>elasticsearch-rest-high-level-client</artifactId>
163-
<version>7.17.13</version>
163+
<version>7.10.2</version>
164164
</dependency>
165165
<dependency>
166166
<groupId>com.twitter</groupId>

jobs-core/src/main/scala/org/sunbird/job/util/ElasticSearchUtil.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import org.elasticsearch.action.update.UpdateRequest
1414
import org.elasticsearch.client.indices.{CreateIndexRequest, CreateIndexResponse}
1515
import org.elasticsearch.client.{Request, RequestOptions, Response, RestClient, RestClientBuilder, RestHighLevelClient}
1616
import org.elasticsearch.common.settings.Settings
17-
import org.elasticsearch.xcontent.XContentType
17+
import org.elasticsearch.common.xcontent.XContentType;
1818
import org.slf4j.LoggerFactory
1919

2020
import java.io.IOException

0 commit comments

Comments
 (0)