[Rename] o.e.action.support subpackages (#291)
This commit refactors the remaining o.e.action.support subpackages to o.opensearch.support. All references throughout the codebase are also refactored Signed-off-by: Nicholas Knize <nknize@amazon.com>
This commit is contained in:
parent
51e0ec9c17
commit
bbaf705ffc
|
@ -26,7 +26,7 @@ import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsResponse;
|
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsResponse;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.cluster.RemoteInfoRequest;
|
import org.elasticsearch.client.cluster.RemoteInfoRequest;
|
||||||
import org.elasticsearch.client.cluster.RemoteInfoResponse;
|
import org.elasticsearch.client.cluster.RemoteInfoResponse;
|
||||||
import org.elasticsearch.client.indices.ComponentTemplatesExistRequest;
|
import org.elasticsearch.client.indices.ComponentTemplatesExistRequest;
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.opensearch.action.admin.indices.settings.put.UpdateSettingsRequest;
|
||||||
import org.opensearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest;
|
import org.opensearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest;
|
||||||
import org.opensearch.action.admin.indices.validate.query.ValidateQueryRequest;
|
import org.opensearch.action.admin.indices.validate.query.ValidateQueryRequest;
|
||||||
import org.opensearch.action.admin.indices.validate.query.ValidateQueryResponse;
|
import org.opensearch.action.admin.indices.validate.query.ValidateQueryResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.indices.AnalyzeRequest;
|
import org.elasticsearch.client.indices.AnalyzeRequest;
|
||||||
import org.elasticsearch.client.indices.AnalyzeResponse;
|
import org.elasticsearch.client.indices.AnalyzeResponse;
|
||||||
import org.elasticsearch.client.indices.CloseIndexRequest;
|
import org.elasticsearch.client.indices.CloseIndexRequest;
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.elasticsearch.action.ingest.GetPipelineResponse;
|
||||||
import org.elasticsearch.action.ingest.PutPipelineRequest;
|
import org.elasticsearch.action.ingest.PutPipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineResponse;
|
import org.elasticsearch.action.ingest.SimulatePipelineResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
package org.elasticsearch.client;
|
package org.elasticsearch.client;
|
||||||
|
|
||||||
import org.opensearch.OpenSearchException;
|
import org.opensearch.OpenSearchException;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesResponse;
|
import org.opensearch.action.support.nodes.BaseNodesResponse;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
||||||
|
|
|
@ -51,7 +51,7 @@ import org.elasticsearch.action.search.MultiSearchResponse;
|
||||||
import org.elasticsearch.action.search.SearchRequest;
|
import org.elasticsearch.action.search.SearchRequest;
|
||||||
import org.elasticsearch.action.search.SearchResponse;
|
import org.elasticsearch.action.search.SearchResponse;
|
||||||
import org.elasticsearch.action.search.SearchScrollRequest;
|
import org.elasticsearch.action.search.SearchScrollRequest;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.action.update.UpdateRequest;
|
import org.elasticsearch.action.update.UpdateRequest;
|
||||||
import org.elasticsearch.action.update.UpdateResponse;
|
import org.elasticsearch.action.update.UpdateResponse;
|
||||||
import org.elasticsearch.client.core.CountRequest;
|
import org.elasticsearch.client.core.CountRequest;
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotRequ
|
||||||
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
|
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusResponse;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ package org.elasticsearch.client.indices;
|
||||||
|
|
||||||
import org.opensearch.OpenSearchException;
|
import org.opensearch.OpenSearchException;
|
||||||
import org.opensearch.action.support.DefaultShardOperationFailedException;
|
import org.opensearch.action.support.DefaultShardOperationFailedException;
|
||||||
import org.elasticsearch.action.support.master.ShardsAcknowledgedResponse;
|
import org.opensearch.action.support.master.ShardsAcknowledgedResponse;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.elasticsearch.client.indices;
|
package org.elasticsearch.client.indices;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.master.ShardsAcknowledgedResponse;
|
import org.opensearch.action.support.master.ShardsAcknowledgedResponse;
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
||||||
import org.elasticsearch.common.xcontent.ObjectParser;
|
import org.elasticsearch.common.xcontent.ObjectParser;
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.opensearch.action.IndicesRequest;
|
import org.opensearch.action.IndicesRequest;
|
||||||
import org.opensearch.action.admin.indices.alias.Alias;
|
import org.opensearch.action.admin.indices.alias.Alias;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeRequest;
|
import org.opensearch.action.support.master.MasterNodeRequest;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.bytes.BytesArray;
|
import org.elasticsearch.common.bytes.BytesArray;
|
||||||
import org.elasticsearch.common.bytes.BytesReference;
|
import org.elasticsearch.common.bytes.BytesReference;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.elasticsearch.client.indices.rollover;
|
package org.elasticsearch.client.indices.rollover;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.master.ShardsAcknowledgedResponse;
|
import org.opensearch.action.support.master.ShardsAcknowledgedResponse;
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
|
||||||
import org.elasticsearch.common.xcontent.XContentParser;
|
import org.elasticsearch.common.xcontent.XContentParser;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsResponse;
|
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsResponse;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.cluster.RemoteConnectionInfo;
|
import org.elasticsearch.client.cluster.RemoteConnectionInfo;
|
||||||
import org.elasticsearch.client.cluster.RemoteInfoRequest;
|
import org.elasticsearch.client.cluster.RemoteInfoRequest;
|
||||||
import org.elasticsearch.client.cluster.RemoteInfoResponse;
|
import org.elasticsearch.client.cluster.RemoteInfoResponse;
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.opensearch.action.admin.cluster.health.ClusterHealthRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsRequest;
|
import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
||||||
import org.opensearch.action.support.ActiveShardCount;
|
import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.client.cluster.RemoteInfoRequest;
|
import org.elasticsearch.client.cluster.RemoteInfoRequest;
|
||||||
import org.opensearch.cluster.health.ClusterHealthStatus;
|
import org.opensearch.cluster.health.ClusterHealthStatus;
|
||||||
import org.elasticsearch.common.Priority;
|
import org.elasticsearch.common.Priority;
|
||||||
|
|
|
@ -52,8 +52,8 @@ import org.opensearch.action.admin.indices.validate.query.ValidateQueryResponse;
|
||||||
import org.elasticsearch.action.index.IndexRequest;
|
import org.elasticsearch.action.index.IndexRequest;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.opensearch.action.support.WriteRequest;
|
import org.opensearch.action.support.WriteRequest;
|
||||||
import org.elasticsearch.action.support.broadcast.BroadcastResponse;
|
import org.opensearch.action.support.broadcast.BroadcastResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.indices.AnalyzeRequest;
|
import org.elasticsearch.client.indices.AnalyzeRequest;
|
||||||
import org.elasticsearch.client.indices.AnalyzeResponse;
|
import org.elasticsearch.client.indices.AnalyzeResponse;
|
||||||
import org.elasticsearch.client.indices.CloseIndexRequest;
|
import org.elasticsearch.client.indices.CloseIndexRequest;
|
||||||
|
|
|
@ -41,7 +41,7 @@ import org.opensearch.action.admin.indices.settings.put.UpdateSettingsRequest;
|
||||||
import org.opensearch.action.admin.indices.shrink.ResizeType;
|
import org.opensearch.action.admin.indices.shrink.ResizeType;
|
||||||
import org.opensearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest;
|
import org.opensearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest;
|
||||||
import org.opensearch.action.admin.indices.validate.query.ValidateQueryRequest;
|
import org.opensearch.action.admin.indices.validate.query.ValidateQueryRequest;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.client.indices.AnalyzeRequest;
|
import org.elasticsearch.client.indices.AnalyzeRequest;
|
||||||
import org.elasticsearch.client.indices.CloseIndexRequest;
|
import org.elasticsearch.client.indices.CloseIndexRequest;
|
||||||
import org.elasticsearch.client.indices.CreateDataStreamRequest;
|
import org.elasticsearch.client.indices.CreateDataStreamRequest;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.elasticsearch.action.ingest.SimulateDocumentResult;
|
||||||
import org.elasticsearch.action.ingest.SimulateDocumentVerboseResult;
|
import org.elasticsearch.action.ingest.SimulateDocumentVerboseResult;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineResponse;
|
import org.elasticsearch.action.ingest.SimulatePipelineResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.common.bytes.BytesReference;
|
import org.elasticsearch.common.bytes.BytesReference;
|
||||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.elasticsearch.action.ingest.DeletePipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.GetPipelineRequest;
|
import org.elasticsearch.action.ingest.GetPipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.PutPipelineRequest;
|
import org.elasticsearch.action.ingest.PutPipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.common.bytes.BytesArray;
|
import org.elasticsearch.common.bytes.BytesArray;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
import org.elasticsearch.test.ESTestCase;
|
import org.elasticsearch.test.ESTestCase;
|
||||||
|
|
|
@ -47,9 +47,9 @@ import org.elasticsearch.action.search.SearchType;
|
||||||
import org.opensearch.action.support.ActiveShardCount;
|
import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.opensearch.action.support.WriteRequest;
|
import org.opensearch.action.support.WriteRequest;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeRequest;
|
import org.opensearch.action.support.master.MasterNodeRequest;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationRequest;
|
import org.opensearch.action.support.replication.ReplicationRequest;
|
||||||
import org.elasticsearch.action.update.UpdateRequest;
|
import org.elasticsearch.action.update.UpdateRequest;
|
||||||
import org.elasticsearch.client.RequestConverters.EndpointBuilder;
|
import org.elasticsearch.client.RequestConverters.EndpointBuilder;
|
||||||
import org.elasticsearch.client.core.CountRequest;
|
import org.elasticsearch.client.core.CountRequest;
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotRequ
|
||||||
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
|
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusResponse;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.opensearch.cluster.metadata.IndexMetadata;
|
import org.opensearch.cluster.metadata.IndexMetadata;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
|
|
|
@ -32,7 +32,7 @@ import org.opensearch.action.admin.cluster.snapshots.delete.DeleteSnapshotReques
|
||||||
import org.opensearch.action.admin.cluster.snapshots.get.GetSnapshotsRequest;
|
import org.opensearch.action.admin.cluster.snapshots.get.GetSnapshotsRequest;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotRequest;
|
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotRequest;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.common.io.PathUtils;
|
import org.elasticsearch.common.io.PathUtils;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.common.unit.ByteSizeUnit;
|
import org.elasticsearch.common.unit.ByteSizeUnit;
|
||||||
|
|
|
@ -26,12 +26,12 @@ import java.io.IOException;
|
||||||
|
|
||||||
import static org.hamcrest.Matchers.is;
|
import static org.hamcrest.Matchers.is;
|
||||||
|
|
||||||
public class AcknowledgedResponseTests extends AbstractResponseTestCase<org.elasticsearch.action.support.master.AcknowledgedResponse,
|
public class AcknowledgedResponseTests extends AbstractResponseTestCase<org.opensearch.action.support.master.AcknowledgedResponse,
|
||||||
AcknowledgedResponse> {
|
AcknowledgedResponse> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected org.elasticsearch.action.support.master.AcknowledgedResponse createServerTestInstance(XContentType xContentType) {
|
protected org.opensearch.action.support.master.AcknowledgedResponse createServerTestInstance(XContentType xContentType) {
|
||||||
return new org.elasticsearch.action.support.master.AcknowledgedResponse(randomBoolean());
|
return new org.opensearch.action.support.master.AcknowledgedResponse(randomBoolean());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -40,7 +40,7 @@ public class AcknowledgedResponseTests extends AbstractResponseTestCase<org.elas
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void assertInstances(org.elasticsearch.action.support.master.AcknowledgedResponse serverTestInstance,
|
protected void assertInstances(org.opensearch.action.support.master.AcknowledgedResponse serverTestInstance,
|
||||||
AcknowledgedResponse clientInstance) {
|
AcknowledgedResponse clientInstance) {
|
||||||
assertThat(clientInstance.isAcknowledged(), is(serverTestInstance.isAcknowledged()));
|
assertThat(clientInstance.isAcknowledged(), is(serverTestInstance.isAcknowledged()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ import static org.hamcrest.Matchers.equalTo;
|
||||||
import static org.hamcrest.Matchers.hasSize;
|
import static org.hamcrest.Matchers.hasSize;
|
||||||
import static org.hamcrest.Matchers.in;
|
import static org.hamcrest.Matchers.in;
|
||||||
|
|
||||||
public class BroadcastResponseTests extends AbstractResponseTestCase<org.elasticsearch.action.support.broadcast.BroadcastResponse,
|
public class BroadcastResponseTests extends AbstractResponseTestCase<org.opensearch.action.support.broadcast.BroadcastResponse,
|
||||||
BroadcastResponse> {
|
BroadcastResponse> {
|
||||||
|
|
||||||
private String index;
|
private String index;
|
||||||
|
@ -44,7 +44,7 @@ public class BroadcastResponseTests extends AbstractResponseTestCase<org.elastic
|
||||||
private Set<Integer> shardIds;
|
private Set<Integer> shardIds;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected org.elasticsearch.action.support.broadcast.BroadcastResponse createServerTestInstance(XContentType xContentType) {
|
protected org.opensearch.action.support.broadcast.BroadcastResponse createServerTestInstance(XContentType xContentType) {
|
||||||
index = randomAlphaOfLength(8);
|
index = randomAlphaOfLength(8);
|
||||||
id = randomAlphaOfLength(8);
|
id = randomAlphaOfLength(8);
|
||||||
final int total = randomIntBetween(1, 16);
|
final int total = randomIntBetween(1, 16);
|
||||||
|
@ -61,7 +61,7 @@ public class BroadcastResponseTests extends AbstractResponseTestCase<org.elastic
|
||||||
shardIds.add(failure.shardId());
|
shardIds.add(failure.shardId());
|
||||||
}
|
}
|
||||||
|
|
||||||
return new org.elasticsearch.action.support.broadcast.BroadcastResponse(total, successful, failed, failures);
|
return new org.opensearch.action.support.broadcast.BroadcastResponse(total, successful, failed, failures);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -70,7 +70,7 @@ public class BroadcastResponseTests extends AbstractResponseTestCase<org.elastic
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void assertInstances(org.elasticsearch.action.support.broadcast.BroadcastResponse serverTestInstance,
|
protected void assertInstances(org.opensearch.action.support.broadcast.BroadcastResponse serverTestInstance,
|
||||||
BroadcastResponse clientInstance) {
|
BroadcastResponse clientInstance) {
|
||||||
assertThat(clientInstance.shards().total(), equalTo(serverTestInstance.getTotalShards()));
|
assertThat(clientInstance.shards().total(), equalTo(serverTestInstance.getTotalShards()));
|
||||||
assertThat(clientInstance.shards().successful(), equalTo(serverTestInstance.getSuccessfulShards()));
|
assertThat(clientInstance.shards().successful(), equalTo(serverTestInstance.getSuccessfulShards()));
|
||||||
|
|
|
@ -44,7 +44,7 @@ import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.opensearch.action.support.WriteRequest;
|
import org.opensearch.action.support.WriteRequest;
|
||||||
import org.opensearch.action.support.WriteRequest.RefreshPolicy;
|
import org.opensearch.action.support.WriteRequest.RefreshPolicy;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationResponse;
|
import org.opensearch.action.support.replication.ReplicationResponse;
|
||||||
import org.elasticsearch.action.update.UpdateRequest;
|
import org.elasticsearch.action.update.UpdateRequest;
|
||||||
import org.elasticsearch.action.update.UpdateResponse;
|
import org.elasticsearch.action.update.UpdateResponse;
|
||||||
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.opensearch.action.admin.cluster.settings.ClusterGetSettingsResponse;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest;
|
||||||
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
|
import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse;
|
||||||
import org.opensearch.action.support.ActiveShardCount;
|
import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
||||||
import org.elasticsearch.client.RequestOptions;
|
import org.elasticsearch.client.RequestOptions;
|
||||||
import org.elasticsearch.client.RestHighLevelClient;
|
import org.elasticsearch.client.RestHighLevelClient;
|
||||||
|
|
|
@ -51,7 +51,7 @@ import org.opensearch.action.admin.indices.validate.query.ValidateQueryResponse;
|
||||||
import org.opensearch.action.support.ActiveShardCount;
|
import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.opensearch.action.support.DefaultShardOperationFailedException;
|
import org.opensearch.action.support.DefaultShardOperationFailedException;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
||||||
import org.elasticsearch.client.GetAliasesResponse;
|
import org.elasticsearch.client.GetAliasesResponse;
|
||||||
import org.elasticsearch.client.RequestOptions;
|
import org.elasticsearch.client.RequestOptions;
|
||||||
|
|
|
@ -31,7 +31,7 @@ import org.elasticsearch.action.ingest.SimulateDocumentVerboseResult;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
import org.elasticsearch.action.ingest.SimulatePipelineRequest;
|
||||||
import org.elasticsearch.action.ingest.SimulatePipelineResponse;
|
import org.elasticsearch.action.ingest.SimulatePipelineResponse;
|
||||||
import org.elasticsearch.action.ingest.SimulateProcessorResult;
|
import org.elasticsearch.action.ingest.SimulateProcessorResult;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
||||||
import org.elasticsearch.client.RequestOptions;
|
import org.elasticsearch.client.RequestOptions;
|
||||||
import org.elasticsearch.client.RestHighLevelClient;
|
import org.elasticsearch.client.RestHighLevelClient;
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.opensearch.action.admin.cluster.snapshots.status.SnapshotStatus;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusRequest;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusResponse;
|
import org.opensearch.action.admin.cluster.snapshots.status.SnapshotsStatusResponse;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
||||||
import org.elasticsearch.client.Request;
|
import org.elasticsearch.client.Request;
|
||||||
import org.elasticsearch.client.RequestOptions;
|
import org.elasticsearch.client.RequestOptions;
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.opensearch.action.admin.cluster.storedscripts.DeleteStoredScriptReque
|
||||||
import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptRequest;
|
import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptRequest;
|
||||||
import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptResponse;
|
import org.opensearch.action.admin.cluster.storedscripts.GetStoredScriptResponse;
|
||||||
import org.opensearch.action.admin.cluster.storedscripts.PutStoredScriptRequest;
|
import org.opensearch.action.admin.cluster.storedscripts.PutStoredScriptRequest;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
import org.elasticsearch.client.ESRestHighLevelClientTestCase;
|
||||||
import org.elasticsearch.client.RequestOptions;
|
import org.elasticsearch.client.RequestOptions;
|
||||||
import org.elasticsearch.client.RestHighLevelClient;
|
import org.elasticsearch.client.RestHighLevelClient;
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
package org.elasticsearch.client.indices;
|
package org.elasticsearch.client.indices;
|
||||||
|
|
||||||
import org.opensearch.OpenSearchStatusException;
|
import org.opensearch.OpenSearchStatusException;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.action.support.master.ShardsAcknowledgedResponse;
|
import org.opensearch.action.support.master.ShardsAcknowledgedResponse;
|
||||||
import org.elasticsearch.client.AbstractResponseTestCase;
|
import org.elasticsearch.client.AbstractResponseTestCase;
|
||||||
import org.elasticsearch.common.bytes.BytesReference;
|
import org.elasticsearch.common.bytes.BytesReference;
|
||||||
import org.elasticsearch.common.xcontent.LoggingDeprecationHandler;
|
import org.elasticsearch.common.xcontent.LoggingDeprecationHandler;
|
||||||
|
@ -29,8 +29,8 @@ import org.elasticsearch.common.xcontent.XContent;
|
||||||
import org.elasticsearch.common.xcontent.XContentFactory;
|
import org.elasticsearch.common.xcontent.XContentFactory;
|
||||||
import org.elasticsearch.common.xcontent.XContentParser;
|
import org.elasticsearch.common.xcontent.XContentParser;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
import org.elasticsearch.index.Index;
|
import org.opensearch.index.Index;
|
||||||
import org.elasticsearch.index.IndexNotFoundException;
|
import org.opensearch.index.IndexNotFoundException;
|
||||||
import org.opensearch.rest.RestStatus;
|
import org.opensearch.rest.RestStatus;
|
||||||
import org.opensearch.transport.ActionNotFoundTransportException;
|
import org.opensearch.transport.ActionNotFoundTransportException;
|
||||||
|
|
||||||
|
|
|
@ -37,8 +37,8 @@ import org.opensearch.action.ActionResponse;
|
||||||
import org.opensearch.action.ActionType;
|
import org.opensearch.action.ActionType;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardRequest;
|
import org.opensearch.action.support.single.shard.SingleShardRequest;
|
||||||
import org.elasticsearch.action.support.single.shard.TransportSingleShardAction;
|
import org.opensearch.action.support.single.shard.TransportSingleShardAction;
|
||||||
import org.opensearch.client.node.NodeClient;
|
import org.opensearch.client.node.NodeClient;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.block.ClusterBlockException;
|
import org.opensearch.cluster.block.ClusterBlockException;
|
||||||
|
@ -60,15 +60,15 @@ import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.common.xcontent.XContentHelper;
|
import org.elasticsearch.common.xcontent.XContentHelper;
|
||||||
import org.elasticsearch.common.xcontent.XContentParser;
|
import org.elasticsearch.common.xcontent.XContentParser;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
import org.elasticsearch.index.Index;
|
import org.opensearch.index.Index;
|
||||||
import org.elasticsearch.index.IndexService;
|
import org.opensearch.index.IndexService;
|
||||||
import org.elasticsearch.index.mapper.ParsedDocument;
|
import org.opensearch.index.mapper.ParsedDocument;
|
||||||
import org.elasticsearch.index.mapper.SourceToParse;
|
import org.opensearch.index.mapper.SourceToParse;
|
||||||
import org.elasticsearch.index.query.AbstractQueryBuilder;
|
import org.opensearch.index.query.AbstractQueryBuilder;
|
||||||
import org.elasticsearch.index.query.QueryBuilder;
|
import org.opensearch.index.query.QueryBuilder;
|
||||||
import org.elasticsearch.index.query.QueryShardContext;
|
import org.opensearch.index.query.QueryShardContext;
|
||||||
import org.elasticsearch.index.shard.ShardId;
|
import org.opensearch.index.shard.ShardId;
|
||||||
import org.elasticsearch.indices.IndicesService;
|
import org.opensearch.indices.IndicesService;
|
||||||
import org.opensearch.rest.BaseRestHandler;
|
import org.opensearch.rest.BaseRestHandler;
|
||||||
import org.opensearch.rest.RestRequest;
|
import org.opensearch.rest.RestRequest;
|
||||||
import org.opensearch.rest.action.RestToXContentListener;
|
import org.opensearch.rest.action.RestToXContentListener;
|
||||||
|
|
|
@ -20,12 +20,12 @@
|
||||||
package org.opensearch.index.reindex;
|
package org.opensearch.index.reindex;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.tasks.BaseTasksRequest;
|
import org.opensearch.action.support.tasks.BaseTasksRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import org.elasticsearch.index.reindex.DeleteByQueryAction;
|
import org.opensearch.index.reindex.DeleteByQueryAction;
|
||||||
import org.elasticsearch.index.reindex.ReindexAction;
|
import org.opensearch.index.reindex.ReindexAction;
|
||||||
import org.elasticsearch.index.reindex.UpdateByQueryAction;
|
import org.opensearch.index.reindex.UpdateByQueryAction;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.opensearch.index.reindex;
|
||||||
|
|
||||||
import org.opensearch.action.ActionType;
|
import org.opensearch.action.ActionType;
|
||||||
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
||||||
import org.elasticsearch.action.support.tasks.TasksRequestBuilder;
|
import org.opensearch.action.support.tasks.TasksRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -25,14 +25,14 @@ import org.opensearch.action.FailedNodeException;
|
||||||
import org.opensearch.action.TaskOperationFailure;
|
import org.opensearch.action.TaskOperationFailure;
|
||||||
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.tasks.TransportTasksAction;
|
import org.opensearch.action.support.tasks.TransportTasksAction;
|
||||||
import org.opensearch.client.Client;
|
import org.opensearch.client.Client;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.elasticsearch.index.reindex.BulkByScrollTask;
|
import org.opensearch.index.reindex.BulkByScrollTask;
|
||||||
import org.elasticsearch.index.reindex.LeaderBulkByScrollTaskState;
|
import org.opensearch.index.reindex.LeaderBulkByScrollTaskState;
|
||||||
import org.elasticsearch.tasks.TaskId;
|
import org.opensearch.tasks.TaskId;
|
||||||
import org.elasticsearch.tasks.TaskInfo;
|
import org.opensearch.tasks.TaskInfo;
|
||||||
import org.opensearch.threadpool.ThreadPool;
|
import org.opensearch.threadpool.ThreadPool;
|
||||||
import org.opensearch.transport.TransportService;
|
import org.opensearch.transport.TransportService;
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,12 @@ package org.opensearch.repositories.url;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.create.CreateSnapshotResponse;
|
import org.opensearch.action.admin.cluster.snapshots.create.CreateSnapshotResponse;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse;
|
import org.opensearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse;
|
||||||
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
|
import org.opensearch.action.admin.cluster.snapshots.restore.RestoreSnapshotResponse;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.opensearch.client.Client;
|
import org.opensearch.client.Client;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.common.unit.ByteSizeUnit;
|
import org.elasticsearch.common.unit.ByteSizeUnit;
|
||||||
import org.opensearch.plugin.repository.url.URLRepositoryPlugin;
|
import org.opensearch.plugin.repository.url.URLRepositoryPlugin;
|
||||||
import org.elasticsearch.plugins.Plugin;
|
import org.opensearch.plugins.Plugin;
|
||||||
import org.opensearch.repositories.fs.FsRepository;
|
import org.opensearch.repositories.fs.FsRepository;
|
||||||
import org.opensearch.snapshots.SnapshotState;
|
import org.opensearch.snapshots.SnapshotState;
|
||||||
import org.elasticsearch.test.ESIntegTestCase;
|
import org.elasticsearch.test.ESIntegTestCase;
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.elasticsearch.Version;
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.opensearch.action.CompositeIndicesRequest;
|
import org.opensearch.action.CompositeIndicesRequest;
|
||||||
import org.opensearch.action.DocWriteRequest;
|
import org.opensearch.action.DocWriteRequest;
|
||||||
import org.elasticsearch.action.support.replication.ReplicatedWriteRequest;
|
import org.opensearch.action.support.replication.ReplicatedWriteRequest;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -20,10 +20,10 @@
|
||||||
package org.elasticsearch.action.delete;
|
package org.elasticsearch.action.delete;
|
||||||
|
|
||||||
import org.opensearch.action.support.WriteRequestBuilder;
|
import org.opensearch.action.support.WriteRequestBuilder;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationRequestBuilder;
|
import org.opensearch.action.support.replication.ReplicationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.index.VersionType;
|
import org.opensearch.index.VersionType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A delete document action request builder.
|
* A delete document action request builder.
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.elasticsearch.action.explain;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.opensearch.action.ValidateActions;
|
import org.opensearch.action.ValidateActions;
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardRequest;
|
import org.opensearch.action.support.single.shard.SingleShardRequest;
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
package org.elasticsearch.action.explain;
|
package org.elasticsearch.action.explain;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardOperationRequestBuilder;
|
import org.opensearch.action.support.single.shard.SingleShardOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.index.query.QueryBuilder;
|
import org.opensearch.index.query.QueryBuilder;
|
||||||
import org.elasticsearch.search.fetch.subphase.FetchSourceContext;
|
import org.elasticsearch.search.fetch.subphase.FetchSourceContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.elasticsearch.OpenSearchException;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.RoutingMissingException;
|
import org.opensearch.action.RoutingMissingException;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.single.shard.TransportSingleShardAction;
|
import org.opensearch.action.support.single.shard.TransportSingleShardAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||||
import org.elasticsearch.cluster.routing.ShardIterator;
|
import org.elasticsearch.cluster.routing.ShardIterator;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.elasticsearch.Version;
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.opensearch.action.RealtimeRequest;
|
import org.opensearch.action.RealtimeRequest;
|
||||||
import org.opensearch.action.ValidateActions;
|
import org.opensearch.action.ValidateActions;
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardRequest;
|
import org.opensearch.action.support.single.shard.SingleShardRequest;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
|
|
||||||
package org.elasticsearch.action.get;
|
package org.elasticsearch.action.get;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardOperationRequestBuilder;
|
import org.opensearch.action.support.single.shard.SingleShardOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.index.VersionType;
|
import org.opensearch.index.VersionType;
|
||||||
import org.elasticsearch.search.fetch.subphase.FetchSourceContext;
|
import org.elasticsearch.search.fetch.subphase.FetchSourceContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.elasticsearch.action.get;
|
||||||
|
|
||||||
import com.carrotsearch.hppc.IntArrayList;
|
import com.carrotsearch.hppc.IntArrayList;
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardRequest;
|
import org.opensearch.action.support.single.shard.SingleShardRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ package org.elasticsearch.action.get;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.RoutingMissingException;
|
import org.opensearch.action.RoutingMissingException;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.single.shard.TransportSingleShardAction;
|
import org.opensearch.action.support.single.shard.TransportSingleShardAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||||
import org.elasticsearch.cluster.routing.ShardIterator;
|
import org.elasticsearch.cluster.routing.ShardIterator;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.logging.log4j.message.ParameterizedMessage;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.opensearch.action.support.TransportActions;
|
import org.opensearch.action.support.TransportActions;
|
||||||
import org.elasticsearch.action.support.single.shard.TransportSingleShardAction;
|
import org.opensearch.action.support.single.shard.TransportSingleShardAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||||
import org.elasticsearch.cluster.routing.ShardIterator;
|
import org.elasticsearch.cluster.routing.ShardIterator;
|
||||||
|
|
|
@ -20,14 +20,14 @@
|
||||||
package org.elasticsearch.action.index;
|
package org.elasticsearch.action.index;
|
||||||
|
|
||||||
import org.apache.lucene.util.RamUsageEstimator;
|
import org.apache.lucene.util.RamUsageEstimator;
|
||||||
import org.elasticsearch.OpenSearchGenerationException;
|
import org.opensearch.OpenSearchGenerationException;
|
||||||
import org.elasticsearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.opensearch.action.CompositeIndicesRequest;
|
import org.opensearch.action.CompositeIndicesRequest;
|
||||||
import org.opensearch.action.DocWriteRequest;
|
import org.opensearch.action.DocWriteRequest;
|
||||||
import org.opensearch.action.RoutingMissingException;
|
import org.opensearch.action.RoutingMissingException;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.replication.ReplicatedWriteRequest;
|
import org.opensearch.action.support.replication.ReplicatedWriteRequest;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationRequest;
|
import org.elasticsearch.action.support.replication.ReplicationRequest;
|
||||||
import org.opensearch.client.Requests;
|
import org.opensearch.client.Requests;
|
||||||
import org.opensearch.cluster.metadata.MappingMetadata;
|
import org.opensearch.cluster.metadata.MappingMetadata;
|
||||||
|
@ -45,9 +45,9 @@ import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.common.xcontent.XContentFactory;
|
import org.elasticsearch.common.xcontent.XContentFactory;
|
||||||
import org.elasticsearch.common.xcontent.XContentHelper;
|
import org.elasticsearch.common.xcontent.XContentHelper;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
import org.elasticsearch.index.VersionType;
|
import org.opensearch.index.VersionType;
|
||||||
import org.elasticsearch.index.mapper.MapperService;
|
import org.opensearch.index.mapper.MapperService;
|
||||||
import org.elasticsearch.index.shard.ShardId;
|
import org.opensearch.index.shard.ShardId;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
@ -56,8 +56,8 @@ import java.util.Map;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import static org.opensearch.action.ValidateActions.addValidationError;
|
import static org.opensearch.action.ValidateActions.addValidationError;
|
||||||
import static org.elasticsearch.index.seqno.SequenceNumbers.UNASSIGNED_PRIMARY_TERM;
|
import static org.opensearch.index.seqno.SequenceNumbers.UNASSIGNED_PRIMARY_TERM;
|
||||||
import static org.elasticsearch.index.seqno.SequenceNumbers.UNASSIGNED_SEQ_NO;
|
import static org.opensearch.index.seqno.SequenceNumbers.UNASSIGNED_SEQ_NO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Index request to index a typed JSON document into a specific index and make it searchable. Best
|
* Index request to index a typed JSON document into a specific index and make it searchable. Best
|
||||||
|
|
|
@ -21,13 +21,13 @@ package org.elasticsearch.action.index;
|
||||||
|
|
||||||
import org.opensearch.action.DocWriteRequest;
|
import org.opensearch.action.DocWriteRequest;
|
||||||
import org.opensearch.action.support.WriteRequestBuilder;
|
import org.opensearch.action.support.WriteRequestBuilder;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationRequestBuilder;
|
import org.opensearch.action.support.replication.ReplicationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.bytes.BytesReference;
|
import org.elasticsearch.common.bytes.BytesReference;
|
||||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
import org.elasticsearch.index.VersionType;
|
import org.opensearch.index.VersionType;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionType;
|
import org.opensearch.action.ActionType;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
|
|
||||||
public class DeletePipelineAction extends ActionType<AcknowledgedResponse> {
|
public class DeletePipelineAction extends ActionType<AcknowledgedResponse> {
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestBuilder;
|
import org.opensearch.action.ActionRequestBuilder;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
public class DeletePipelineRequestBuilder extends ActionRequestBuilder<DeletePipelineRequest, AcknowledgedResponse> {
|
public class DeletePipelineRequestBuilder extends ActionRequestBuilder<DeletePipelineRequest, AcknowledgedResponse> {
|
||||||
|
|
|
@ -21,8 +21,8 @@ package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeAction;
|
import org.opensearch.action.support.master.TransportMasterNodeAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.block.ClusterBlockException;
|
import org.opensearch.cluster.block.ClusterBlockException;
|
||||||
import org.opensearch.cluster.block.ClusterBlockLevel;
|
import org.opensearch.cluster.block.ClusterBlockLevel;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeReadRequest;
|
import org.opensearch.action.support.master.MasterNodeReadRequest;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
|
import org.opensearch.action.support.master.MasterNodeReadOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
public class GetPipelineRequestBuilder
|
public class GetPipelineRequestBuilder
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeReadAction;
|
import org.opensearch.action.support.master.TransportMasterNodeReadAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.block.ClusterBlockException;
|
import org.opensearch.cluster.block.ClusterBlockException;
|
||||||
import org.opensearch.cluster.block.ClusterBlockLevel;
|
import org.opensearch.cluster.block.ClusterBlockLevel;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionType;
|
import org.opensearch.action.ActionType;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
|
|
||||||
public class PutPipelineAction extends ActionType<AcknowledgedResponse> {
|
public class PutPipelineAction extends ActionType<AcknowledgedResponse> {
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedRequest;
|
import org.opensearch.action.support.master.AcknowledgedRequest;
|
||||||
import org.elasticsearch.common.bytes.BytesReference;
|
import org.elasticsearch.common.bytes.BytesReference;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.elasticsearch.action.ingest;
|
package org.elasticsearch.action.ingest;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestBuilder;
|
import org.opensearch.action.ActionRequestBuilder;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.bytes.BytesReference;
|
import org.elasticsearch.common.bytes.BytesReference;
|
||||||
import org.elasticsearch.common.xcontent.XContentType;
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
|
|
|
@ -23,8 +23,8 @@ import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.admin.cluster.node.info.NodeInfo;
|
import org.opensearch.action.admin.cluster.node.info.NodeInfo;
|
||||||
import org.opensearch.action.admin.cluster.node.info.NodesInfoRequest;
|
import org.opensearch.action.admin.cluster.node.info.NodesInfoRequest;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
import org.opensearch.action.support.master.AcknowledgedResponse;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeAction;
|
import org.opensearch.action.support.master.TransportMasterNodeAction;
|
||||||
import org.opensearch.client.OriginSettingClient;
|
import org.opensearch.client.OriginSettingClient;
|
||||||
import org.opensearch.client.node.NodeClient;
|
import org.opensearch.client.node.NodeClient;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
|
@ -34,8 +34,8 @@ import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.ingest.IngestInfo;
|
import org.opensearch.ingest.IngestInfo;
|
||||||
import org.elasticsearch.ingest.IngestService;
|
import org.opensearch.ingest.IngestService;
|
||||||
import org.opensearch.threadpool.ThreadPool;
|
import org.opensearch.threadpool.ThreadPool;
|
||||||
import org.opensearch.transport.TransportService;
|
import org.opensearch.transport.TransportService;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
package org.elasticsearch.action.resync;
|
package org.elasticsearch.action.resync;
|
||||||
|
|
||||||
import org.opensearch.action.support.WriteResponse;
|
import org.opensearch.action.support.WriteResponse;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationResponse;
|
import org.opensearch.action.support.replication.ReplicationResponse;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -21,10 +21,10 @@ package org.elasticsearch.action.resync;
|
||||||
import org.apache.logging.log4j.message.ParameterizedMessage;
|
import org.apache.logging.log4j.message.ParameterizedMessage;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationOperation;
|
import org.opensearch.action.support.replication.ReplicationOperation;
|
||||||
import org.elasticsearch.action.support.replication.ReplicationResponse;
|
import org.opensearch.action.support.replication.ReplicationResponse;
|
||||||
import org.elasticsearch.action.support.replication.TransportReplicationAction;
|
import org.opensearch.action.support.replication.TransportReplicationAction;
|
||||||
import org.elasticsearch.action.support.replication.TransportWriteAction;
|
import org.opensearch.action.support.replication.TransportWriteAction;
|
||||||
import org.opensearch.cluster.action.shard.ShardStateAction;
|
import org.opensearch.cluster.action.shard.ShardStateAction;
|
||||||
import org.opensearch.cluster.block.ClusterBlockLevel;
|
import org.opensearch.cluster.block.ClusterBlockLevel;
|
||||||
import org.elasticsearch.cluster.routing.ShardRouting;
|
import org.elasticsearch.cluster.routing.ShardRouting;
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.elasticsearch.action.termvectors;
|
||||||
|
|
||||||
import com.carrotsearch.hppc.IntArrayList;
|
import com.carrotsearch.hppc.IntArrayList;
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.single.shard.SingleShardRequest;
|
import org.opensearch.action.support.single.shard.SingleShardRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ package org.elasticsearch.action.termvectors;
|
||||||
import org.apache.logging.log4j.message.ParameterizedMessage;
|
import org.apache.logging.log4j.message.ParameterizedMessage;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.opensearch.action.support.TransportActions;
|
import org.opensearch.action.support.TransportActions;
|
||||||
import org.elasticsearch.action.support.single.shard.TransportSingleShardAction;
|
import org.opensearch.action.support.single.shard.TransportSingleShardAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||||
import org.elasticsearch.cluster.routing.ShardIterator;
|
import org.elasticsearch.cluster.routing.ShardIterator;
|
||||||
|
|
|
@ -22,7 +22,7 @@ package org.elasticsearch.action.termvectors;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.RoutingMissingException;
|
import org.opensearch.action.RoutingMissingException;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.single.shard.TransportSingleShardAction;
|
import org.opensearch.action.support.single.shard.TransportSingleShardAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
|
||||||
import org.elasticsearch.cluster.routing.GroupShardsIterator;
|
import org.elasticsearch.cluster.routing.GroupShardsIterator;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.elasticsearch.common.network;
|
package org.elasticsearch.common.network;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.replication.ReplicationTask;
|
import org.opensearch.action.support.replication.ReplicationTask;
|
||||||
import org.elasticsearch.cluster.routing.allocation.command.AllocateEmptyPrimaryAllocationCommand;
|
import org.elasticsearch.cluster.routing.allocation.command.AllocateEmptyPrimaryAllocationCommand;
|
||||||
import org.elasticsearch.cluster.routing.allocation.command.AllocateReplicaAllocationCommand;
|
import org.elasticsearch.cluster.routing.allocation.command.AllocateReplicaAllocationCommand;
|
||||||
import org.elasticsearch.cluster.routing.allocation.command.AllocateStalePrimaryAllocationCommand;
|
import org.elasticsearch.cluster.routing.allocation.command.AllocateStalePrimaryAllocationCommand;
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.elasticsearch.index.IndexingPressure;
|
||||||
import org.elasticsearch.action.search.TransportSearchAction;
|
import org.elasticsearch.action.search.TransportSearchAction;
|
||||||
import org.elasticsearch.action.support.AutoCreateIndex;
|
import org.elasticsearch.action.support.AutoCreateIndex;
|
||||||
import org.elasticsearch.action.support.DestructiveOperations;
|
import org.elasticsearch.action.support.DestructiveOperations;
|
||||||
import org.elasticsearch.action.support.replication.TransportReplicationAction;
|
import org.opensearch.action.support.replication.TransportReplicationAction;
|
||||||
import org.elasticsearch.bootstrap.BootstrapSettings;
|
import org.elasticsearch.bootstrap.BootstrapSettings;
|
||||||
import org.opensearch.client.Client;
|
import org.opensearch.client.Client;
|
||||||
import org.opensearch.client.transport.TransportClient;
|
import org.opensearch.client.transport.TransportClient;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch;
|
package org.opensearch;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.replication.ReplicationOperation;
|
import org.opensearch.action.support.replication.ReplicationOperation;
|
||||||
import org.opensearch.cluster.action.shard.ShardStateAction;
|
import org.opensearch.cluster.action.shard.ShardStateAction;
|
||||||
import org.elasticsearch.common.CheckedFunction;
|
import org.elasticsearch.common.CheckedFunction;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
|
@ -768,8 +768,8 @@ public class OpenSearchException extends RuntimeException implements ToXContentF
|
||||||
org.elasticsearch.index.IndexNotFoundException::new, 16, UNKNOWN_VERSION_ADDED),
|
org.elasticsearch.index.IndexNotFoundException::new, 16, UNKNOWN_VERSION_ADDED),
|
||||||
ILLEGAL_SHARD_ROUTING_STATE_EXCEPTION(org.elasticsearch.cluster.routing.IllegalShardRoutingStateException.class,
|
ILLEGAL_SHARD_ROUTING_STATE_EXCEPTION(org.elasticsearch.cluster.routing.IllegalShardRoutingStateException.class,
|
||||||
org.elasticsearch.cluster.routing.IllegalShardRoutingStateException::new, 17, UNKNOWN_VERSION_ADDED),
|
org.elasticsearch.cluster.routing.IllegalShardRoutingStateException::new, 17, UNKNOWN_VERSION_ADDED),
|
||||||
BROADCAST_SHARD_OPERATION_FAILED_EXCEPTION(org.elasticsearch.action.support.broadcast.BroadcastShardOperationFailedException.class,
|
BROADCAST_SHARD_OPERATION_FAILED_EXCEPTION(org.opensearch.action.support.broadcast.BroadcastShardOperationFailedException.class,
|
||||||
org.elasticsearch.action.support.broadcast.BroadcastShardOperationFailedException::new, 18, UNKNOWN_VERSION_ADDED),
|
org.opensearch.action.support.broadcast.BroadcastShardOperationFailedException::new, 18, UNKNOWN_VERSION_ADDED),
|
||||||
RESOURCE_NOT_FOUND_EXCEPTION(org.elasticsearch.ResourceNotFoundException.class,
|
RESOURCE_NOT_FOUND_EXCEPTION(org.elasticsearch.ResourceNotFoundException.class,
|
||||||
org.elasticsearch.ResourceNotFoundException::new, 19, UNKNOWN_VERSION_ADDED),
|
org.elasticsearch.ResourceNotFoundException::new, 19, UNKNOWN_VERSION_ADDED),
|
||||||
ACTION_TRANSPORT_EXCEPTION(org.opensearch.transport.ActionTransportException.class,
|
ACTION_TRANSPORT_EXCEPTION(org.opensearch.transport.ActionTransportException.class,
|
||||||
|
@ -978,8 +978,8 @@ public class OpenSearchException extends RuntimeException implements ToXContentF
|
||||||
org.opensearch.transport.NodeNotConnectedException::new, 134, UNKNOWN_VERSION_ADDED),
|
org.opensearch.transport.NodeNotConnectedException::new, 134, UNKNOWN_VERSION_ADDED),
|
||||||
STRICT_DYNAMIC_MAPPING_EXCEPTION(org.elasticsearch.index.mapper.StrictDynamicMappingException.class,
|
STRICT_DYNAMIC_MAPPING_EXCEPTION(org.elasticsearch.index.mapper.StrictDynamicMappingException.class,
|
||||||
org.elasticsearch.index.mapper.StrictDynamicMappingException::new, 135, UNKNOWN_VERSION_ADDED),
|
org.elasticsearch.index.mapper.StrictDynamicMappingException::new, 135, UNKNOWN_VERSION_ADDED),
|
||||||
RETRY_ON_REPLICA_EXCEPTION(org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException.class,
|
RETRY_ON_REPLICA_EXCEPTION(org.opensearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException.class,
|
||||||
org.elasticsearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException::new, 136,
|
org.opensearch.action.support.replication.TransportReplicationAction.RetryOnReplicaException::new, 136,
|
||||||
UNKNOWN_VERSION_ADDED),
|
UNKNOWN_VERSION_ADDED),
|
||||||
TYPE_MISSING_EXCEPTION(org.opensearch.indices.TypeMissingException.class,
|
TYPE_MISSING_EXCEPTION(org.opensearch.indices.TypeMissingException.class,
|
||||||
org.opensearch.indices.TypeMissingException::new, 137, UNKNOWN_VERSION_ADDED),
|
org.opensearch.indices.TypeMissingException::new, 137, UNKNOWN_VERSION_ADDED),
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.allocation;
|
package org.opensearch.action.admin.cluster.allocation;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeRequest;
|
import org.opensearch.action.support.master.MasterNodeRequest;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.ParseField;
|
import org.elasticsearch.common.ParseField;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.allocation;
|
package org.opensearch.action.admin.cluster.allocation;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder;
|
import org.opensearch.action.support.master.MasterNodeOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.logging.log4j.LogManager;
|
||||||
import org.apache.logging.log4j.Logger;
|
import org.apache.logging.log4j.Logger;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeAction;
|
import org.opensearch.action.support.master.TransportMasterNodeAction;
|
||||||
import org.opensearch.cluster.ClusterInfo;
|
import org.opensearch.cluster.ClusterInfo;
|
||||||
import org.opensearch.cluster.ClusterInfoService;
|
import org.opensearch.cluster.ClusterInfoService;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
|
|
|
@ -20,7 +20,7 @@ package org.opensearch.action.admin.cluster.configuration;
|
||||||
|
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeRequest;
|
import org.opensearch.action.support.master.MasterNodeRequest;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.coordination.CoordinationMetadata.VotingConfigExclusion;
|
import org.opensearch.cluster.coordination.CoordinationMetadata.VotingConfigExclusion;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
package org.opensearch.action.admin.cluster.configuration;
|
package org.opensearch.action.admin.cluster.configuration;
|
||||||
|
|
||||||
import org.opensearch.action.ActionRequestValidationException;
|
import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeRequest;
|
import org.opensearch.action.support.master.MasterNodeRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import org.elasticsearch.common.unit.TimeValue;
|
import org.elasticsearch.common.unit.TimeValue;
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.elasticsearch.OpenSearchException;
|
||||||
import org.elasticsearch.OpenSearchTimeoutException;
|
import org.elasticsearch.OpenSearchTimeoutException;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeAction;
|
import org.opensearch.action.support.master.TransportMasterNodeAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.ClusterStateObserver;
|
import org.opensearch.cluster.ClusterStateObserver;
|
||||||
import org.opensearch.cluster.ClusterStateObserver.Listener;
|
import org.opensearch.cluster.ClusterStateObserver.Listener;
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.elasticsearch.OpenSearchException;
|
||||||
import org.elasticsearch.OpenSearchTimeoutException;
|
import org.elasticsearch.OpenSearchTimeoutException;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeAction;
|
import org.opensearch.action.support.master.TransportMasterNodeAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.ClusterStateObserver;
|
import org.opensearch.cluster.ClusterStateObserver;
|
||||||
import org.opensearch.cluster.ClusterStateObserver.Listener;
|
import org.opensearch.cluster.ClusterStateObserver.Listener;
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.opensearch.action.ActionRequestValidationException;
|
||||||
import org.opensearch.action.IndicesRequest;
|
import org.opensearch.action.IndicesRequest;
|
||||||
import org.opensearch.action.support.ActiveShardCount;
|
import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeReadRequest;
|
import org.opensearch.action.support.master.MasterNodeReadRequest;
|
||||||
import org.opensearch.cluster.health.ClusterHealthStatus;
|
import org.opensearch.cluster.health.ClusterHealthStatus;
|
||||||
import org.elasticsearch.common.Priority;
|
import org.elasticsearch.common.Priority;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.opensearch.action.admin.cluster.health;
|
||||||
|
|
||||||
import org.opensearch.action.support.ActiveShardCount;
|
import org.opensearch.action.support.ActiveShardCount;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
|
import org.opensearch.action.support.master.MasterNodeReadOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.opensearch.cluster.health.ClusterHealthStatus;
|
import org.opensearch.cluster.health.ClusterHealthStatus;
|
||||||
import org.elasticsearch.common.Priority;
|
import org.elasticsearch.common.Priority;
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.opensearch.action.ActionListener;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.ActiveShardCount;
|
import org.elasticsearch.action.support.ActiveShardCount;
|
||||||
import org.opensearch.action.support.IndicesOptions;
|
import org.opensearch.action.support.IndicesOptions;
|
||||||
import org.elasticsearch.action.support.master.TransportMasterNodeReadAction;
|
import org.opensearch.action.support.master.TransportMasterNodeReadAction;
|
||||||
import org.opensearch.cluster.ClusterState;
|
import org.opensearch.cluster.ClusterState;
|
||||||
import org.opensearch.cluster.ClusterStateObserver;
|
import org.opensearch.cluster.ClusterStateObserver;
|
||||||
import org.opensearch.cluster.ClusterStateUpdateTask;
|
import org.opensearch.cluster.ClusterStateUpdateTask;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.hotthreads;
|
package org.opensearch.action.admin.cluster.node.hotthreads;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeResponse;
|
import org.opensearch.action.support.nodes.BaseNodeResponse;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.hotthreads;
|
package org.opensearch.action.admin.cluster.node.hotthreads;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesRequest;
|
import org.opensearch.action.support.nodes.BaseNodesRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import org.elasticsearch.common.unit.TimeValue;
|
import org.elasticsearch.common.unit.TimeValue;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.hotthreads;
|
package org.opensearch.action.admin.cluster.node.hotthreads;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
|
import org.opensearch.action.support.nodes.NodesOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.unit.TimeValue;
|
import org.elasticsearch.common.unit.TimeValue;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.hotthreads;
|
package org.opensearch.action.admin.cluster.node.hotthreads;
|
||||||
|
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesResponse;
|
import org.opensearch.action.support.nodes.BaseNodesResponse;
|
||||||
import org.opensearch.cluster.ClusterName;
|
import org.opensearch.cluster.ClusterName;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
|
@ -22,8 +22,8 @@ package org.opensearch.action.admin.cluster.node.hotthreads;
|
||||||
import org.elasticsearch.OpenSearchException;
|
import org.elasticsearch.OpenSearchException;
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeRequest;
|
import org.opensearch.action.support.nodes.BaseNodeRequest;
|
||||||
import org.elasticsearch.action.support.nodes.TransportNodesAction;
|
import org.opensearch.action.support.nodes.TransportNodesAction;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -21,14 +21,14 @@ package org.opensearch.action.admin.cluster.node.info;
|
||||||
|
|
||||||
import org.elasticsearch.Build;
|
import org.elasticsearch.Build;
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeResponse;
|
import org.opensearch.action.support.nodes.BaseNodeResponse;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.common.unit.ByteSizeValue;
|
import org.elasticsearch.common.unit.ByteSizeValue;
|
||||||
import org.elasticsearch.http.HttpInfo;
|
import org.opensearch.http.HttpInfo;
|
||||||
import org.opensearch.ingest.IngestInfo;
|
import org.opensearch.ingest.IngestInfo;
|
||||||
import org.opensearch.monitor.jvm.JvmInfo;
|
import org.opensearch.monitor.jvm.JvmInfo;
|
||||||
import org.opensearch.monitor.os.OsInfo;
|
import org.opensearch.monitor.os.OsInfo;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.info;
|
package org.opensearch.action.admin.cluster.node.info;
|
||||||
|
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesRequest;
|
import org.opensearch.action.support.nodes.BaseNodesRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.info;
|
package org.opensearch.action.admin.cluster.node.info;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
|
import org.opensearch.action.support.nodes.NodesOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
public class NodesInfoRequestBuilder extends NodesOperationRequestBuilder<NodesInfoRequest, NodesInfoResponse, NodesInfoRequestBuilder> {
|
public class NodesInfoRequestBuilder extends NodesOperationRequestBuilder<NodesInfoRequest, NodesInfoResponse, NodesInfoRequestBuilder> {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.info;
|
package org.opensearch.action.admin.cluster.node.info;
|
||||||
|
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesResponse;
|
import org.opensearch.action.support.nodes.BaseNodesResponse;
|
||||||
import org.opensearch.cluster.ClusterName;
|
import org.opensearch.cluster.ClusterName;
|
||||||
import org.opensearch.cluster.node.DiscoveryNodeRole;
|
import org.opensearch.cluster.node.DiscoveryNodeRole;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
|
|
|
@ -21,8 +21,8 @@ package org.opensearch.action.admin.cluster.node.info;
|
||||||
|
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeRequest;
|
import org.opensearch.action.support.nodes.BaseNodeRequest;
|
||||||
import org.elasticsearch.action.support.nodes.TransportNodesAction;
|
import org.opensearch.action.support.nodes.TransportNodesAction;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.reload;
|
package org.opensearch.action.admin.cluster.node.reload;
|
||||||
|
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesRequest;
|
import org.opensearch.action.support.nodes.BaseNodesRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.reload;
|
package org.opensearch.action.admin.cluster.node.reload;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
|
import org.opensearch.action.support.nodes.NodesOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
import org.elasticsearch.common.settings.SecureString;
|
import org.elasticsearch.common.settings.SecureString;
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@ package org.opensearch.action.admin.cluster.node.reload;
|
||||||
|
|
||||||
import org.elasticsearch.OpenSearchException;
|
import org.elasticsearch.OpenSearchException;
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeResponse;
|
import org.opensearch.action.support.nodes.BaseNodeResponse;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesResponse;
|
import org.opensearch.action.support.nodes.BaseNodesResponse;
|
||||||
import org.opensearch.cluster.ClusterName;
|
import org.opensearch.cluster.ClusterName;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
|
|
|
@ -21,13 +21,13 @@ package org.opensearch.action.admin.cluster.node.reload;
|
||||||
|
|
||||||
import org.apache.logging.log4j.message.ParameterizedMessage;
|
import org.apache.logging.log4j.message.ParameterizedMessage;
|
||||||
import org.apache.logging.log4j.util.Supplier;
|
import org.apache.logging.log4j.util.Supplier;
|
||||||
import org.elasticsearch.OpenSearchException;
|
import org.opensearch.OpenSearchException;
|
||||||
import org.elasticsearch.ExceptionsHelper;
|
import org.elasticsearch.ExceptionsHelper;
|
||||||
import org.opensearch.action.ActionListener;
|
import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeRequest;
|
import org.opensearch.action.support.nodes.BaseNodeRequest;
|
||||||
import org.elasticsearch.action.support.nodes.TransportNodesAction;
|
import org.opensearch.action.support.nodes.TransportNodesAction;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
|
@ -37,8 +37,8 @@ import org.elasticsearch.common.settings.KeyStoreWrapper;
|
||||||
import org.elasticsearch.common.settings.SecureString;
|
import org.elasticsearch.common.settings.SecureString;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.env.Environment;
|
import org.elasticsearch.env.Environment;
|
||||||
import org.elasticsearch.plugins.PluginsService;
|
import org.opensearch.plugins.PluginsService;
|
||||||
import org.elasticsearch.plugins.ReloadablePlugin;
|
import org.opensearch.plugins.ReloadablePlugin;
|
||||||
import org.opensearch.tasks.Task;
|
import org.opensearch.tasks.Task;
|
||||||
import org.opensearch.threadpool.ThreadPool;
|
import org.opensearch.threadpool.ThreadPool;
|
||||||
import org.opensearch.transport.TransportService;
|
import org.opensearch.transport.TransportService;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.stats;
|
package org.opensearch.action.admin.cluster.node.stats;
|
||||||
|
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeResponse;
|
import org.opensearch.action.support.nodes.BaseNodeResponse;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.opensearch.cluster.node.DiscoveryNodeRole;
|
import org.opensearch.cluster.node.DiscoveryNodeRole;
|
||||||
import org.elasticsearch.common.Nullable;
|
import org.elasticsearch.common.Nullable;
|
||||||
|
@ -29,16 +29,16 @@ import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import org.elasticsearch.common.xcontent.ToXContentFragment;
|
import org.elasticsearch.common.xcontent.ToXContentFragment;
|
||||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||||
import org.elasticsearch.discovery.DiscoveryStats;
|
import org.elasticsearch.discovery.DiscoveryStats;
|
||||||
import org.elasticsearch.http.HttpStats;
|
import org.opensearch.http.HttpStats;
|
||||||
import org.elasticsearch.index.stats.IndexingPressureStats;
|
import org.opensearch.index.stats.IndexingPressureStats;
|
||||||
import org.elasticsearch.indices.NodeIndicesStats;
|
import org.opensearch.indices.NodeIndicesStats;
|
||||||
import org.elasticsearch.indices.breaker.AllCircuitBreakerStats;
|
import org.opensearch.indices.breaker.AllCircuitBreakerStats;
|
||||||
import org.elasticsearch.ingest.IngestStats;
|
import org.opensearch.ingest.IngestStats;
|
||||||
import org.elasticsearch.monitor.fs.FsInfo;
|
import org.opensearch.monitor.fs.FsInfo;
|
||||||
import org.elasticsearch.monitor.jvm.JvmStats;
|
import org.opensearch.monitor.jvm.JvmStats;
|
||||||
import org.elasticsearch.monitor.os.OsStats;
|
import org.opensearch.monitor.os.OsStats;
|
||||||
import org.elasticsearch.monitor.process.ProcessStats;
|
import org.opensearch.monitor.process.ProcessStats;
|
||||||
import org.elasticsearch.node.AdaptiveSelectionStats;
|
import org.opensearch.node.AdaptiveSelectionStats;
|
||||||
import org.opensearch.script.ScriptCacheStats;
|
import org.opensearch.script.ScriptCacheStats;
|
||||||
import org.opensearch.script.ScriptStats;
|
import org.opensearch.script.ScriptStats;
|
||||||
import org.opensearch.threadpool.ThreadPoolStats;
|
import org.opensearch.threadpool.ThreadPoolStats;
|
||||||
|
|
|
@ -21,7 +21,7 @@ package org.opensearch.action.admin.cluster.node.stats;
|
||||||
|
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.opensearch.action.admin.indices.stats.CommonStatsFlags;
|
import org.opensearch.action.admin.indices.stats.CommonStatsFlags;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesRequest;
|
import org.opensearch.action.support.nodes.BaseNodesRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.stats;
|
package org.opensearch.action.admin.cluster.node.stats;
|
||||||
|
|
||||||
import org.opensearch.action.admin.indices.stats.CommonStatsFlags;
|
import org.opensearch.action.admin.indices.stats.CommonStatsFlags;
|
||||||
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
|
import org.opensearch.action.support.nodes.NodesOperationRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
public class NodesStatsRequestBuilder
|
public class NodesStatsRequestBuilder
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.stats;
|
package org.opensearch.action.admin.cluster.node.stats;
|
||||||
|
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodesResponse;
|
import org.opensearch.action.support.nodes.BaseNodesResponse;
|
||||||
import org.opensearch.cluster.ClusterName;
|
import org.opensearch.cluster.ClusterName;
|
||||||
import org.elasticsearch.common.Strings;
|
import org.elasticsearch.common.Strings;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -21,8 +21,8 @@ package org.opensearch.action.admin.cluster.node.stats;
|
||||||
|
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.elasticsearch.action.support.ActionFilters;
|
import org.elasticsearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.nodes.BaseNodeRequest;
|
import org.opensearch.action.support.nodes.BaseNodeRequest;
|
||||||
import org.elasticsearch.action.support.nodes.TransportNodesAction;
|
import org.opensearch.action.support.nodes.TransportNodesAction;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
package org.opensearch.action.admin.cluster.node.tasks.cancel;
|
package org.opensearch.action.admin.cluster.node.tasks.cancel;
|
||||||
|
|
||||||
import org.opensearch.Version;
|
import org.opensearch.Version;
|
||||||
import org.elasticsearch.action.support.tasks.BaseTasksRequest;
|
import org.opensearch.action.support.tasks.BaseTasksRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
import org.opensearch.tasks.CancellableTask;
|
import org.opensearch.tasks.CancellableTask;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.tasks.cancel;
|
package org.opensearch.action.admin.cluster.node.tasks.cancel;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.tasks.TasksRequestBuilder;
|
import org.opensearch.action.support.tasks.TasksRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.opensearch.action.TaskOperationFailure;
|
import org.opensearch.action.TaskOperationFailure;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.tasks.TransportTasksAction;
|
import org.opensearch.action.support.tasks.TransportTasksAction;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.opensearch.tasks.CancellableTask;
|
import org.opensearch.tasks.CancellableTask;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.tasks.list;
|
package org.opensearch.action.admin.cluster.node.tasks.list;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.tasks.BaseTasksRequest;
|
import org.opensearch.action.support.tasks.BaseTasksRequest;
|
||||||
import org.elasticsearch.common.io.stream.StreamInput;
|
import org.elasticsearch.common.io.stream.StreamInput;
|
||||||
import org.elasticsearch.common.io.stream.StreamOutput;
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.tasks.list;
|
package org.opensearch.action.admin.cluster.node.tasks.list;
|
||||||
|
|
||||||
import org.elasticsearch.action.support.tasks.TasksRequestBuilder;
|
import org.opensearch.action.support.tasks.TasksRequestBuilder;
|
||||||
import org.opensearch.client.OpenSearchClient;
|
import org.opensearch.client.OpenSearchClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
|
|
||||||
package org.opensearch.action.admin.cluster.node.tasks.list;
|
package org.opensearch.action.admin.cluster.node.tasks.list;
|
||||||
|
|
||||||
import org.elasticsearch.OpenSearchException;
|
import org.opensearch.OpenSearchException;
|
||||||
import org.opensearch.action.TaskOperationFailure;
|
import org.opensearch.action.TaskOperationFailure;
|
||||||
import org.elasticsearch.action.support.tasks.BaseTasksResponse;
|
import org.opensearch.action.support.tasks.BaseTasksResponse;
|
||||||
import org.opensearch.cluster.node.DiscoveryNode;
|
import org.opensearch.cluster.node.DiscoveryNode;
|
||||||
import org.opensearch.cluster.node.DiscoveryNodeRole;
|
import org.opensearch.cluster.node.DiscoveryNodeRole;
|
||||||
import org.opensearch.cluster.node.DiscoveryNodes;
|
import org.opensearch.cluster.node.DiscoveryNodes;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.opensearch.action.ActionListener;
|
||||||
import org.opensearch.action.FailedNodeException;
|
import org.opensearch.action.FailedNodeException;
|
||||||
import org.opensearch.action.TaskOperationFailure;
|
import org.opensearch.action.TaskOperationFailure;
|
||||||
import org.opensearch.action.support.ActionFilters;
|
import org.opensearch.action.support.ActionFilters;
|
||||||
import org.elasticsearch.action.support.tasks.TransportTasksAction;
|
import org.opensearch.action.support.tasks.TransportTasksAction;
|
||||||
import org.elasticsearch.cluster.service.ClusterService;
|
import org.elasticsearch.cluster.service.ClusterService;
|
||||||
import org.elasticsearch.common.inject.Inject;
|
import org.elasticsearch.common.inject.Inject;
|
||||||
import org.elasticsearch.common.unit.TimeValue;
|
import org.elasticsearch.common.unit.TimeValue;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue