Skip to content

Commit

Permalink
[PURIFY] remove all trace of x-pack index lifecycle management (#20)
Browse files Browse the repository at this point in the history
This commit removes all trace of Elastic licensed ILM.
  • Loading branch information
nknize authored Jan 30, 2021
1 parent e1d4d79 commit 055d5ca
Show file tree
Hide file tree
Showing 81 changed files with 2 additions and 8,110 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,7 @@ public ElasticsearchNode singleNode() {
private void addWaitForClusterHealth() {
waitConditions.put("cluster health yellow", (node) -> {
try {
WaitForHttpResource wait = new WaitForHttpResource(
"http",
getFirstNode().getHttpSocketURI(),
nodes.size()
);
WaitForHttpResource wait = new WaitForHttpResource("http", getFirstNode().getHttpSocketURI(), nodes.size());

List<Map<String, String>> credentials = getFirstNode().getCredentials();
if (getFirstNode().getCredentials().isEmpty() == false) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import org.elasticsearch.gradle.ReaperService;
import org.elasticsearch.gradle.Version;
import org.elasticsearch.gradle.VersionProperties;
import org.elasticsearch.gradle.http.WaitForHttpResource;
import org.elasticsearch.gradle.info.BuildParams;
import org.gradle.api.Action;
import org.gradle.api.Named;
Expand Down Expand Up @@ -72,7 +71,6 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ public class RestHighLevelClient implements Closeable {
private final SnapshotClient snapshotClient = new SnapshotClient(this);
private final TasksClient tasksClient = new TasksClient(this);
private final WatcherClient watcherClient = new WatcherClient(this);
private final IndexLifecycleClient ilmClient = new IndexLifecycleClient(this);
private final TransformClient transformClient = new TransformClient(this);

/**
Expand Down Expand Up @@ -363,17 +362,6 @@ public final TasksClient tasks() {
*/
public WatcherClient watcher() { return watcherClient; }

/**
* A wrapper for the {@link RestHighLevelClient} that provides methods for
* accessing the Elastic Index Lifecycle APIs.
* <p>
* See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management-api.html"> X-Pack APIs
* on elastic.co</a> for more information.
*/
public IndexLifecycleClient indexLifecycle() {
return ilmClient;
}

/**
* Provides methods for accessing the Elastic Licensed Data Frame APIs that
* are shipped with the Elastic Stack distribution of Elasticsearch. All of
Expand Down
Loading

0 comments on commit 055d5ca

Please sign in to comment.