Skip to content

Commit 0dd4f9f

Browse files
nknizepeternied
authored andcommitted
[PURIFY] remove all trace of x-pack ccr (opensearch-project#11)
This committ removes all trace of Elastic licensed CCR. Signed-off-by: Peter Nied <petern@amazon.com>
1 parent 479dd4b commit 0dd4f9f

40 files changed

+2
-5484
lines changed

client/rest-high-level/src/main/java/org/elasticsearch/client/CcrClient.java

-631
This file was deleted.

client/rest-high-level/src/main/java/org/elasticsearch/client/CcrRequestConverters.java

-164
This file was deleted.

client/rest-high-level/src/main/java/org/elasticsearch/client/RestHighLevelClient.java

-15
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ public class RestHighLevelClient implements Closeable {
269269
private final SecurityClient securityClient = new SecurityClient(this);
270270
private final IndexLifecycleClient ilmClient = new IndexLifecycleClient(this);
271271
private final RollupClient rollupClient = new RollupClient(this);
272-
private final CcrClient ccrClient = new CcrClient(this);
273272
private final TransformClient transformClient = new TransformClient(this);
274273

275274
/**
@@ -364,20 +363,6 @@ public RollupClient rollup() {
364363
return rollupClient;
365364
}
366365

367-
/**
368-
* Provides methods for accessing the Elastic Licensed CCR APIs that
369-
* are shipped with the Elastic Stack distribution of Elasticsearch. All of
370-
* these APIs will 404 if run against the OSS distribution of Elasticsearch.
371-
* <p>
372-
* See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-api.html">
373-
* CCR APIs on elastic.co</a> for more information.
374-
*
375-
* @return the client wrapper for making CCR API calls
376-
*/
377-
public final CcrClient ccr() {
378-
return ccrClient;
379-
}
380-
381366
/**
382367
* Provides a {@link TasksClient} which can be used to access the Tasks API.
383368
*

client/rest-high-level/src/main/java/org/elasticsearch/client/ccr/AutoFollowStats.java

-157
This file was deleted.

client/rest-high-level/src/main/java/org/elasticsearch/client/ccr/CcrStatsRequest.java

-25
This file was deleted.

0 commit comments

Comments
 (0)