Skip to content

Commit

Permalink
Remove xpack and related client package (opensearch-project#1)
Browse files Browse the repository at this point in the history
* Remove xpack api/info/usage package

* Remove async_search package

* Remove eql package

* Remove ml package

* Remove sql package

* Remove ccr package

* Remove security package

* Removed autoscaling package

* Removed monitoring package

* Remove slm package

* Remove ssl package

* Remove migration package

* Remove rollup package

* Remove searchable_snapshots package

* Remove graph package

* Remove enrich package

* Remove license package

* Remove text_structure package

* Remove logstash package

Signed-off-by: Mital Awachat <mitalawachat@users.noreply.github.com>
  • Loading branch information
mitalawachat authored and imRishN committed Feb 2, 2022
1 parent 2fd25e6 commit 5dfe813
Show file tree
Hide file tree
Showing 695 changed files with 0 additions and 164,745 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
import co.elastic.clients.ApiClient;
import co.elastic.clients.elasticsearch._types.ElasticsearchException;
import co.elastic.clients.elasticsearch._types.ErrorResponse;
import co.elastic.clients.elasticsearch.async_search.ElasticsearchAsyncSearchAsyncClient;
import co.elastic.clients.elasticsearch.autoscaling.ElasticsearchAutoscalingAsyncClient;
import co.elastic.clients.elasticsearch.cat.ElasticsearchCatAsyncClient;
import co.elastic.clients.elasticsearch.ccr.ElasticsearchCcrAsyncClient;
import co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterAsyncClient;
import co.elastic.clients.elasticsearch.core.BulkRequest;
import co.elastic.clients.elasticsearch.core.BulkResponse;
Expand Down Expand Up @@ -111,31 +108,16 @@
import co.elastic.clients.elasticsearch.core.UpdateRequest;
import co.elastic.clients.elasticsearch.core.UpdateResponse;
import co.elastic.clients.elasticsearch.dangling_indices.ElasticsearchDanglingIndicesAsyncClient;
import co.elastic.clients.elasticsearch.enrich.ElasticsearchEnrichAsyncClient;
import co.elastic.clients.elasticsearch.eql.ElasticsearchEqlAsyncClient;
import co.elastic.clients.elasticsearch.features.ElasticsearchFeaturesAsyncClient;
import co.elastic.clients.elasticsearch.graph.ElasticsearchGraphAsyncClient;
import co.elastic.clients.elasticsearch.ilm.ElasticsearchIlmAsyncClient;
import co.elastic.clients.elasticsearch.indices.ElasticsearchIndicesAsyncClient;
import co.elastic.clients.elasticsearch.ingest.ElasticsearchIngestAsyncClient;
import co.elastic.clients.elasticsearch.license.ElasticsearchLicenseAsyncClient;
import co.elastic.clients.elasticsearch.logstash.ElasticsearchLogstashAsyncClient;
import co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationAsyncClient;
import co.elastic.clients.elasticsearch.ml.ElasticsearchMlAsyncClient;
import co.elastic.clients.elasticsearch.monitoring.ElasticsearchMonitoringAsyncClient;
import co.elastic.clients.elasticsearch.nodes.ElasticsearchNodesAsyncClient;
import co.elastic.clients.elasticsearch.rollup.ElasticsearchRollupAsyncClient;
import co.elastic.clients.elasticsearch.searchable_snapshots.ElasticsearchSearchableSnapshotsAsyncClient;
import co.elastic.clients.elasticsearch.security.ElasticsearchSecurityAsyncClient;
import co.elastic.clients.elasticsearch.shutdown.ElasticsearchShutdownAsyncClient;
import co.elastic.clients.elasticsearch.slm.ElasticsearchSlmAsyncClient;
import co.elastic.clients.elasticsearch.snapshot.ElasticsearchSnapshotAsyncClient;
import co.elastic.clients.elasticsearch.sql.ElasticsearchSqlAsyncClient;
import co.elastic.clients.elasticsearch.ssl.ElasticsearchSslAsyncClient;
import co.elastic.clients.elasticsearch.tasks.ElasticsearchTasksAsyncClient;
import co.elastic.clients.elasticsearch.transform.ElasticsearchTransformAsyncClient;
import co.elastic.clients.elasticsearch.watcher.ElasticsearchWatcherAsyncClient;
import co.elastic.clients.elasticsearch.xpack.ElasticsearchXpackAsyncClient;
import co.elastic.clients.transport.ElasticsearchTransport;
import co.elastic.clients.transport.Endpoint;
import co.elastic.clients.transport.JsonEndpoint;
Expand Down Expand Up @@ -169,21 +151,10 @@ public ElasticsearchAsyncClient withTransportOptions(@Nullable TransportOptions

// ----- Child clients

public ElasticsearchAsyncSearchAsyncClient asyncSearch() {
return new ElasticsearchAsyncSearchAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchAutoscalingAsyncClient autoscaling() {
return new ElasticsearchAutoscalingAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchCatAsyncClient cat() {
return new ElasticsearchCatAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchCcrAsyncClient ccr() {
return new ElasticsearchCcrAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchClusterAsyncClient cluster() {
return new ElasticsearchClusterAsyncClient(this.transport, this.transportOptions);
Expand All @@ -193,22 +164,10 @@ public ElasticsearchDanglingIndicesAsyncClient danglingIndices() {
return new ElasticsearchDanglingIndicesAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchEnrichAsyncClient enrich() {
return new ElasticsearchEnrichAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchEqlAsyncClient eql() {
return new ElasticsearchEqlAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchFeaturesAsyncClient features() {
return new ElasticsearchFeaturesAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchGraphAsyncClient graph() {
return new ElasticsearchGraphAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchIlmAsyncClient ilm() {
return new ElasticsearchIlmAsyncClient(this.transport, this.transportOptions);
}
Expand All @@ -221,62 +180,18 @@ public ElasticsearchIngestAsyncClient ingest() {
return new ElasticsearchIngestAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchLicenseAsyncClient license() {
return new ElasticsearchLicenseAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchLogstashAsyncClient logstash() {
return new ElasticsearchLogstashAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchMigrationAsyncClient migration() {
return new ElasticsearchMigrationAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchMlAsyncClient ml() {
return new ElasticsearchMlAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchMonitoringAsyncClient monitoring() {
return new ElasticsearchMonitoringAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchNodesAsyncClient nodes() {
return new ElasticsearchNodesAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchRollupAsyncClient rollup() {
return new ElasticsearchRollupAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchSearchableSnapshotsAsyncClient searchableSnapshots() {
return new ElasticsearchSearchableSnapshotsAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchSecurityAsyncClient security() {
return new ElasticsearchSecurityAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchShutdownAsyncClient shutdown() {
return new ElasticsearchShutdownAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchSlmAsyncClient slm() {
return new ElasticsearchSlmAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchSnapshotAsyncClient snapshot() {
return new ElasticsearchSnapshotAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchSqlAsyncClient sql() {
return new ElasticsearchSqlAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchSslAsyncClient ssl() {
return new ElasticsearchSslAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchTasksAsyncClient tasks() {
return new ElasticsearchTasksAsyncClient(this.transport, this.transportOptions);
}
Expand All @@ -289,10 +204,6 @@ public ElasticsearchWatcherAsyncClient watcher() {
return new ElasticsearchWatcherAsyncClient(this.transport, this.transportOptions);
}

public ElasticsearchXpackAsyncClient xpack() {
return new ElasticsearchXpackAsyncClient(this.transport, this.transportOptions);
}

// ----- Endpoint: bulk

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
import co.elastic.clients.ApiClient;
import co.elastic.clients.elasticsearch._types.ElasticsearchException;
import co.elastic.clients.elasticsearch._types.ErrorResponse;
import co.elastic.clients.elasticsearch.async_search.ElasticsearchAsyncSearchClient;
import co.elastic.clients.elasticsearch.autoscaling.ElasticsearchAutoscalingClient;
import co.elastic.clients.elasticsearch.cat.ElasticsearchCatClient;
import co.elastic.clients.elasticsearch.ccr.ElasticsearchCcrClient;
import co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient;
import co.elastic.clients.elasticsearch.core.BulkRequest;
import co.elastic.clients.elasticsearch.core.BulkResponse;
Expand Down Expand Up @@ -111,31 +108,16 @@
import co.elastic.clients.elasticsearch.core.UpdateRequest;
import co.elastic.clients.elasticsearch.core.UpdateResponse;
import co.elastic.clients.elasticsearch.dangling_indices.ElasticsearchDanglingIndicesClient;
import co.elastic.clients.elasticsearch.enrich.ElasticsearchEnrichClient;
import co.elastic.clients.elasticsearch.eql.ElasticsearchEqlClient;
import co.elastic.clients.elasticsearch.features.ElasticsearchFeaturesClient;
import co.elastic.clients.elasticsearch.graph.ElasticsearchGraphClient;
import co.elastic.clients.elasticsearch.ilm.ElasticsearchIlmClient;
import co.elastic.clients.elasticsearch.indices.ElasticsearchIndicesClient;
import co.elastic.clients.elasticsearch.ingest.ElasticsearchIngestClient;
import co.elastic.clients.elasticsearch.license.ElasticsearchLicenseClient;
import co.elastic.clients.elasticsearch.logstash.ElasticsearchLogstashClient;
import co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationClient;
import co.elastic.clients.elasticsearch.ml.ElasticsearchMlClient;
import co.elastic.clients.elasticsearch.monitoring.ElasticsearchMonitoringClient;
import co.elastic.clients.elasticsearch.nodes.ElasticsearchNodesClient;
import co.elastic.clients.elasticsearch.rollup.ElasticsearchRollupClient;
import co.elastic.clients.elasticsearch.searchable_snapshots.ElasticsearchSearchableSnapshotsClient;
import co.elastic.clients.elasticsearch.security.ElasticsearchSecurityClient;
import co.elastic.clients.elasticsearch.shutdown.ElasticsearchShutdownClient;
import co.elastic.clients.elasticsearch.slm.ElasticsearchSlmClient;
import co.elastic.clients.elasticsearch.snapshot.ElasticsearchSnapshotClient;
import co.elastic.clients.elasticsearch.sql.ElasticsearchSqlClient;
import co.elastic.clients.elasticsearch.ssl.ElasticsearchSslClient;
import co.elastic.clients.elasticsearch.tasks.ElasticsearchTasksClient;
import co.elastic.clients.elasticsearch.transform.ElasticsearchTransformClient;
import co.elastic.clients.elasticsearch.watcher.ElasticsearchWatcherClient;
import co.elastic.clients.elasticsearch.xpack.ElasticsearchXpackClient;
import co.elastic.clients.transport.ElasticsearchTransport;
import co.elastic.clients.transport.Endpoint;
import co.elastic.clients.transport.JsonEndpoint;
Expand Down Expand Up @@ -168,22 +150,10 @@ public ElasticsearchClient withTransportOptions(@Nullable TransportOptions trans

// ----- Child clients

public ElasticsearchAsyncSearchClient asyncSearch() {
return new ElasticsearchAsyncSearchClient(this.transport, this.transportOptions);
}

public ElasticsearchAutoscalingClient autoscaling() {
return new ElasticsearchAutoscalingClient(this.transport, this.transportOptions);
}

public ElasticsearchCatClient cat() {
return new ElasticsearchCatClient(this.transport, this.transportOptions);
}

public ElasticsearchCcrClient ccr() {
return new ElasticsearchCcrClient(this.transport, this.transportOptions);
}

public ElasticsearchClusterClient cluster() {
return new ElasticsearchClusterClient(this.transport, this.transportOptions);
}
Expand All @@ -192,22 +162,10 @@ public ElasticsearchDanglingIndicesClient danglingIndices() {
return new ElasticsearchDanglingIndicesClient(this.transport, this.transportOptions);
}

public ElasticsearchEnrichClient enrich() {
return new ElasticsearchEnrichClient(this.transport, this.transportOptions);
}

public ElasticsearchEqlClient eql() {
return new ElasticsearchEqlClient(this.transport, this.transportOptions);
}

public ElasticsearchFeaturesClient features() {
return new ElasticsearchFeaturesClient(this.transport, this.transportOptions);
}

public ElasticsearchGraphClient graph() {
return new ElasticsearchGraphClient(this.transport, this.transportOptions);
}

public ElasticsearchIlmClient ilm() {
return new ElasticsearchIlmClient(this.transport, this.transportOptions);
}
Expand All @@ -220,62 +178,18 @@ public ElasticsearchIngestClient ingest() {
return new ElasticsearchIngestClient(this.transport, this.transportOptions);
}

public ElasticsearchLicenseClient license() {
return new ElasticsearchLicenseClient(this.transport, this.transportOptions);
}

public ElasticsearchLogstashClient logstash() {
return new ElasticsearchLogstashClient(this.transport, this.transportOptions);
}

public ElasticsearchMigrationClient migration() {
return new ElasticsearchMigrationClient(this.transport, this.transportOptions);
}

public ElasticsearchMlClient ml() {
return new ElasticsearchMlClient(this.transport, this.transportOptions);
}

public ElasticsearchMonitoringClient monitoring() {
return new ElasticsearchMonitoringClient(this.transport, this.transportOptions);
}

public ElasticsearchNodesClient nodes() {
return new ElasticsearchNodesClient(this.transport, this.transportOptions);
}

public ElasticsearchRollupClient rollup() {
return new ElasticsearchRollupClient(this.transport, this.transportOptions);
}

public ElasticsearchSearchableSnapshotsClient searchableSnapshots() {
return new ElasticsearchSearchableSnapshotsClient(this.transport, this.transportOptions);
}

public ElasticsearchSecurityClient security() {
return new ElasticsearchSecurityClient(this.transport, this.transportOptions);
}

public ElasticsearchShutdownClient shutdown() {
return new ElasticsearchShutdownClient(this.transport, this.transportOptions);
}

public ElasticsearchSlmClient slm() {
return new ElasticsearchSlmClient(this.transport, this.transportOptions);
}

public ElasticsearchSnapshotClient snapshot() {
return new ElasticsearchSnapshotClient(this.transport, this.transportOptions);
}

public ElasticsearchSqlClient sql() {
return new ElasticsearchSqlClient(this.transport, this.transportOptions);
}

public ElasticsearchSslClient ssl() {
return new ElasticsearchSslClient(this.transport, this.transportOptions);
}

public ElasticsearchTasksClient tasks() {
return new ElasticsearchTasksClient(this.transport, this.transportOptions);
}
Expand All @@ -288,10 +202,6 @@ public ElasticsearchWatcherClient watcher() {
return new ElasticsearchWatcherClient(this.transport, this.transportOptions);
}

public ElasticsearchXpackClient xpack() {
return new ElasticsearchXpackClient(this.transport, this.transportOptions);
}

// ----- Endpoint: bulk

/**
Expand Down
Loading

0 comments on commit 5dfe813

Please sign in to comment.