Skip to content

Commit

Permalink
Remove unsupported namespaces
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Dec 18, 2024
1 parent 773b200 commit b81a933
Show file tree
Hide file tree
Showing 31 changed files with 2 additions and 3,984 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ This section is for maintaining a changelog for all breaking changes for the cli
- Deprecate RestClientTransport ([#536](https://github.com/opensearch-project/opensearch-java/pull/536))

### Removed
- Removed the `features` and `shutdown` namespaces as they're not supported by OpenSearch ([#]())
- Removed the `indices.diskUsage` operation as it's not supported by OpenSearch ([#]())

### Fixed
- Fix version and build ([#254](https://github.com/opensearch-project/opensearch-java/pull/254))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,8 @@
import org.opensearch.client.opensearch.core.pit.DeletePitResponse;
import org.opensearch.client.opensearch.core.pit.ListAllPitRequest;
import org.opensearch.client.opensearch.core.pit.ListAllPitResponse;
import org.opensearch.client.opensearch.features.OpenSearchFeaturesAsyncClient;
import org.opensearch.client.opensearch.ingest.OpenSearchIngestAsyncClient;
import org.opensearch.client.opensearch.nodes.OpenSearchNodesAsyncClient;
import org.opensearch.client.opensearch.shutdown.OpenSearchShutdownAsyncClient;
import org.opensearch.client.opensearch.snapshot.OpenSearchSnapshotAsyncClient;
import org.opensearch.client.transport.JsonEndpoint;
import org.opensearch.client.transport.OpenSearchTransport;
import org.opensearch.client.transport.TransportOptions;
Expand Down Expand Up @@ -158,10 +155,6 @@ public OpenSearchClusterAsyncClient cluster() {
return new OpenSearchClusterAsyncClient(this.transport, this.transportOptions);
}

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

public OpenSearchIngestAsyncClient ingest() {
return new OpenSearchIngestAsyncClient(this.transport, this.transportOptions);
}
Expand All @@ -170,14 +163,6 @@ public OpenSearchNodesAsyncClient nodes() {
return new OpenSearchNodesAsyncClient(this.transport, this.transportOptions);
}

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

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

// ----- Endpoint: bulk

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,9 @@
import org.opensearch.client.opensearch.core.pit.DeletePitResponse;
import org.opensearch.client.opensearch.core.pit.ListAllPitRequest;
import org.opensearch.client.opensearch.core.pit.ListAllPitResponse;
import org.opensearch.client.opensearch.features.OpenSearchFeaturesClient;
import org.opensearch.client.opensearch.generic.OpenSearchGenericClient;
import org.opensearch.client.opensearch.ingest.OpenSearchIngestClient;
import org.opensearch.client.opensearch.nodes.OpenSearchNodesClient;
import org.opensearch.client.opensearch.shutdown.OpenSearchShutdownClient;
import org.opensearch.client.opensearch.snapshot.OpenSearchSnapshotClient;
import org.opensearch.client.transport.JsonEndpoint;
import org.opensearch.client.transport.OpenSearchTransport;
import org.opensearch.client.transport.TransportOptions;
Expand Down Expand Up @@ -161,10 +158,6 @@ public OpenSearchClusterClient cluster() {
return new OpenSearchClusterClient(this.transport, this.transportOptions);
}

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

public OpenSearchIngestClient ingest() {
return new OpenSearchIngestClient(this.transport, this.transportOptions);
}
Expand All @@ -173,14 +166,6 @@ public OpenSearchNodesClient nodes() {
return new OpenSearchNodesClient(this.transport, this.transportOptions);
}

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

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

// ----- Endpoint: bulk

/**
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit b81a933

Please sign in to comment.