From fbb3afea77fc8d4b5b4df7eda985ff552e1f00e5 Mon Sep 17 00:00:00 2001 From: Nick Knize Date: Tue, 16 Mar 2021 17:05:07 -0500 Subject: [PATCH] [Rename] o.e.action.ingest,termvectors (#343) This commit refactors o.e.action.ingest and o.e.action.termvectors to o.opensearch.action namespace. All references throughout the codebase are also refactored. Signed-off-by: Nicholas Walter Knize --- .../org/opensearch/client/IngestClient.java | 12 ++--- .../client/IngestRequestConverters.java | 8 ++-- .../org/opensearch/client/IngestClientIT.java | 18 ++++---- .../client/IngestRequestConvertersTests.java | 8 ++-- ...OpenSearchRestHighLevelClientTestCase.java | 3 +- .../IngestClientDocumentationIT.java | 20 ++++----- .../geoip/GeoIpProcessorNonIngestNodeIT.java | 2 +- .../opensearch/index/reindex/CancelTests.java | 2 +- .../org/opensearch/action/ActionModule.java | 26 +++++------ .../action/bulk/TransportBulkAction.java | 2 +- .../action/ingest/DeletePipelineAction.java | 4 +- .../action/ingest/DeletePipelineRequest.java | 4 +- .../ingest/DeletePipelineRequestBuilder.java | 4 +- .../ingest/DeletePipelineTransportAction.java | 4 +- .../action/ingest/GetPipelineAction.java | 4 +- .../action/ingest/GetPipelineRequest.java | 4 +- .../ingest/GetPipelineRequestBuilder.java | 4 +- .../action/ingest/GetPipelineResponse.java | 4 +- .../ingest/GetPipelineTransportAction.java | 4 +- .../action/ingest/IngestActionForwarder.java | 4 +- .../action/ingest/PutPipelineAction.java | 4 +- .../action/ingest/PutPipelineRequest.java | 4 +- .../ingest/PutPipelineRequestBuilder.java | 4 +- .../ingest/PutPipelineTransportAction.java | 4 +- .../ingest/SimulateDocumentBaseResult.java | 4 +- .../action/ingest/SimulateDocumentResult.java | 4 +- .../ingest/SimulateDocumentVerboseResult.java | 4 +- .../ingest/SimulateExecutionService.java | 4 +- .../action/ingest/SimulatePipelineAction.java | 4 +- .../ingest/SimulatePipelineRequest.java | 4 +- .../SimulatePipelineRequestBuilder.java | 4 +- .../ingest/SimulatePipelineResponse.java | 4 +- .../SimulatePipelineTransportAction.java | 4 +- .../ingest/SimulateProcessorResult.java | 4 +- .../ingest/WriteableIngestDocument.java | 4 +- .../termvectors/MultiTermVectorsAction.java | 4 +- .../MultiTermVectorsItemResponse.java | 4 +- .../termvectors/MultiTermVectorsRequest.java | 4 +- .../MultiTermVectorsRequestBuilder.java | 4 +- .../termvectors/MultiTermVectorsResponse.java | 4 +- .../MultiTermVectorsShardRequest.java | 4 +- .../MultiTermVectorsShardResponse.java | 4 +- .../action/termvectors/TermVectorsAction.java | 4 +- .../action/termvectors/TermVectorsFields.java | 4 +- .../action/termvectors/TermVectorsFilter.java | 4 +- .../termvectors/TermVectorsRequest.java | 4 +- .../TermVectorsRequestBuilder.java | 4 +- .../termvectors/TermVectorsResponse.java | 9 ++-- .../action/termvectors/TermVectorsWriter.java | 6 +-- .../TransportMultiTermVectorsAction.java | 4 +- .../TransportShardMultiTermsVectorAction.java | 4 +- .../TransportTermVectorsAction.java | 4 +- .../action/termvectors/package-info.java | 4 +- .../java/org/opensearch/client/Client.java | 12 ++--- .../opensearch/client/ClusterAdminClient.java | 20 ++++----- .../client/support/AbstractClient.java | 44 +++++++++---------- .../document/RestMultiTermVectorsAction.java | 4 +- .../document/RestTermVectorsAction.java | 2 +- .../ingest/RestDeletePipelineAction.java | 2 +- .../action/ingest/RestGetPipelineAction.java | 2 +- .../action/ingest/RestPutPipelineAction.java | 2 +- .../ingest/RestSimulatePipelineAction.java | 2 +- .../query/MoreLikeThisQueryBuilderTests.java | 10 ++--- .../termvectors/TermVectorsServiceTests.java | 4 +- .../test/AbstractBuilderTestCase.java | 4 +- 65 files changed, 193 insertions(+), 195 deletions(-) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/DeletePipelineAction.java (92%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/DeletePipelineRequest.java (95%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/DeletePipelineRequestBuilder.java (94%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/DeletePipelineTransportAction.java (96%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/GetPipelineAction.java (92%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/GetPipelineRequest.java (95%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/GetPipelineRequestBuilder.java (93%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/GetPipelineResponse.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/GetPipelineTransportAction.java (96%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/IngestActionForwarder.java (96%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/PutPipelineAction.java (92%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/PutPipelineRequest.java (97%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/PutPipelineRequestBuilder.java (94%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/PutPipelineTransportAction.java (97%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulateDocumentBaseResult.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulateDocumentResult.java (91%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulateDocumentVerboseResult.java (97%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulateExecutionService.java (97%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulatePipelineAction.java (92%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulatePipelineRequest.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulatePipelineRequestBuilder.java (95%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulatePipelineResponse.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulatePipelineTransportAction.java (96%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/SimulateProcessorResult.java (99%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/ingest/WriteableIngestDocument.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsAction.java (92%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsItemResponse.java (96%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsRequest.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsRequestBuilder.java (94%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsResponse.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsShardRequest.java (97%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/MultiTermVectorsShardResponse.java (97%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsAction.java (91%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsFields.java (99%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsFilter.java (99%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsRequest.java (99%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsRequestBuilder.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsResponse.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TermVectorsWriter.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TransportMultiTermVectorsAction.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TransportShardMultiTermsVectorAction.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/TransportTermVectorsAction.java (98%) rename server/src/main/java/org/{elasticsearch => opensearch}/action/termvectors/package-info.java (89%) diff --git a/client/rest-high-level/src/main/java/org/opensearch/client/IngestClient.java b/client/rest-high-level/src/main/java/org/opensearch/client/IngestClient.java index 4e32ddf9a03..6883183e6af 100644 --- a/client/rest-high-level/src/main/java/org/opensearch/client/IngestClient.java +++ b/client/rest-high-level/src/main/java/org/opensearch/client/IngestClient.java @@ -22,12 +22,12 @@ package org.opensearch.client; import org.elasticsearch.client.Cancellable; import org.elasticsearch.client.RequestOptions; import org.opensearch.action.ActionListener; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineResponse; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineResponse; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.GetPipelineResponse; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineResponse; import org.opensearch.action.support.master.AcknowledgedResponse; import java.io.IOException; diff --git a/client/rest-high-level/src/main/java/org/opensearch/client/IngestRequestConverters.java b/client/rest-high-level/src/main/java/org/opensearch/client/IngestRequestConverters.java index 31f0f46ab67..cd9c74667e6 100644 --- a/client/rest-high-level/src/main/java/org/opensearch/client/IngestRequestConverters.java +++ b/client/rest-high-level/src/main/java/org/opensearch/client/IngestRequestConverters.java @@ -23,10 +23,10 @@ import org.apache.http.client.methods.HttpDelete; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPut; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineRequest; import org.elasticsearch.client.Request; import java.io.IOException; diff --git a/client/rest-high-level/src/test/java/org/opensearch/client/IngestClientIT.java b/client/rest-high-level/src/test/java/org/opensearch/client/IngestClientIT.java index f932665dbfb..e5faa18467b 100644 --- a/client/rest-high-level/src/test/java/org/opensearch/client/IngestClientIT.java +++ b/client/rest-high-level/src/test/java/org/opensearch/client/IngestClientIT.java @@ -19,15 +19,15 @@ package org.opensearch.client; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineResponse; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.SimulateDocumentBaseResult; -import org.elasticsearch.action.ingest.SimulateDocumentResult; -import org.elasticsearch.action.ingest.SimulateDocumentVerboseResult; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineResponse; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.GetPipelineResponse; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.SimulateDocumentBaseResult; +import org.opensearch.action.ingest.SimulateDocumentResult; +import org.opensearch.action.ingest.SimulateDocumentVerboseResult; +import org.opensearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineResponse; import org.opensearch.action.support.master.AcknowledgedResponse; import org.opensearch.common.bytes.BytesReference; import org.elasticsearch.common.xcontent.XContentBuilder; diff --git a/client/rest-high-level/src/test/java/org/opensearch/client/IngestRequestConvertersTests.java b/client/rest-high-level/src/test/java/org/opensearch/client/IngestRequestConvertersTests.java index f6c417e5263..6e66e7d4f41 100644 --- a/client/rest-high-level/src/test/java/org/opensearch/client/IngestRequestConvertersTests.java +++ b/client/rest-high-level/src/test/java/org/opensearch/client/IngestRequestConvertersTests.java @@ -23,10 +23,10 @@ import org.apache.http.client.methods.HttpDelete; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPut; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineRequest; import org.elasticsearch.client.Request; import org.opensearch.action.support.master.AcknowledgedRequest; import org.opensearch.common.bytes.BytesArray; diff --git a/client/rest-high-level/src/test/java/org/opensearch/client/OpenSearchRestHighLevelClientTestCase.java b/client/rest-high-level/src/test/java/org/opensearch/client/OpenSearchRestHighLevelClientTestCase.java index 274bf233ba4..1ee1d672fa4 100644 --- a/client/rest-high-level/src/test/java/org/opensearch/client/OpenSearchRestHighLevelClientTestCase.java +++ b/client/rest-high-level/src/test/java/org/opensearch/client/OpenSearchRestHighLevelClientTestCase.java @@ -30,11 +30,10 @@ import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse; import org.opensearch.action.admin.cluster.node.tasks.list.TaskGroup; import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsRequest; import org.opensearch.action.admin.cluster.settings.ClusterUpdateSettingsResponse; -import org.elasticsearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequest; import org.elasticsearch.action.search.SearchRequest; import org.elasticsearch.action.search.SearchResponse; import org.opensearch.action.support.PlainActionFuture; -import org.opensearch.client.RestHighLevelClient; import org.opensearch.client.cluster.RemoteInfoRequest; import org.opensearch.client.cluster.RemoteInfoResponse; import org.opensearch.client.indices.CreateIndexRequest; diff --git a/client/rest-high-level/src/test/java/org/opensearch/client/documentation/IngestClientDocumentationIT.java b/client/rest-high-level/src/test/java/org/opensearch/client/documentation/IngestClientDocumentationIT.java index a9eb296b05f..34d0e0932e6 100644 --- a/client/rest-high-level/src/test/java/org/opensearch/client/documentation/IngestClientDocumentationIT.java +++ b/client/rest-high-level/src/test/java/org/opensearch/client/documentation/IngestClientDocumentationIT.java @@ -21,16 +21,16 @@ package org.opensearch.client.documentation; import org.opensearch.action.ActionListener; import org.opensearch.action.LatchedActionListener; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineResponse; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.SimulateDocumentBaseResult; -import org.elasticsearch.action.ingest.SimulateDocumentResult; -import org.elasticsearch.action.ingest.SimulateDocumentVerboseResult; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineResponse; -import org.elasticsearch.action.ingest.SimulateProcessorResult; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.GetPipelineResponse; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.SimulateDocumentBaseResult; +import org.opensearch.action.ingest.SimulateDocumentResult; +import org.opensearch.action.ingest.SimulateDocumentVerboseResult; +import org.opensearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineResponse; +import org.opensearch.action.ingest.SimulateProcessorResult; import org.opensearch.action.support.master.AcknowledgedResponse; import org.opensearch.client.OpenSearchRestHighLevelClientTestCase; import org.opensearch.client.RequestOptions; diff --git a/modules/ingest-geoip/src/internalClusterTest/java/org/opensearch/ingest/geoip/GeoIpProcessorNonIngestNodeIT.java b/modules/ingest-geoip/src/internalClusterTest/java/org/opensearch/ingest/geoip/GeoIpProcessorNonIngestNodeIT.java index f08bbdc7685..342b4fb7bcf 100644 --- a/modules/ingest-geoip/src/internalClusterTest/java/org/opensearch/ingest/geoip/GeoIpProcessorNonIngestNodeIT.java +++ b/modules/ingest-geoip/src/internalClusterTest/java/org/opensearch/ingest/geoip/GeoIpProcessorNonIngestNodeIT.java @@ -22,7 +22,7 @@ package org.opensearch.ingest.geoip; import org.apache.lucene.util.Constants; import org.elasticsearch.action.index.IndexRequest; import org.elasticsearch.action.index.IndexResponse; -import org.elasticsearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequest; import org.opensearch.common.bytes.BytesReference; import org.elasticsearch.common.settings.Setting; import org.elasticsearch.common.settings.Settings; diff --git a/modules/reindex/src/test/java/org/opensearch/index/reindex/CancelTests.java b/modules/reindex/src/test/java/org/opensearch/index/reindex/CancelTests.java index 85801ae57b9..840f00eb053 100644 --- a/modules/reindex/src/test/java/org/opensearch/index/reindex/CancelTests.java +++ b/modules/reindex/src/test/java/org/opensearch/index/reindex/CancelTests.java @@ -25,7 +25,7 @@ import org.elasticsearch.ExceptionsHelper; import org.opensearch.action.ActionFuture; import org.opensearch.action.admin.cluster.node.tasks.cancel.CancelTasksRequest; import org.opensearch.action.admin.cluster.node.tasks.list.ListTasksResponse; -import org.elasticsearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.DeletePipelineRequest; import org.opensearch.common.bytes.BytesArray; import org.opensearch.common.bytes.BytesReference; import org.elasticsearch.common.xcontent.XContentType; diff --git a/server/src/main/java/org/opensearch/action/ActionModule.java b/server/src/main/java/org/opensearch/action/ActionModule.java index 747e085dcc1..4982a4015f2 100644 --- a/server/src/main/java/org/opensearch/action/ActionModule.java +++ b/server/src/main/java/org/opensearch/action/ActionModule.java @@ -214,14 +214,14 @@ import org.elasticsearch.action.get.TransportMultiGetAction; import org.elasticsearch.action.get.TransportShardMultiGetAction; import org.elasticsearch.action.index.IndexAction; import org.elasticsearch.action.index.TransportIndexAction; -import org.elasticsearch.action.ingest.DeletePipelineAction; -import org.elasticsearch.action.ingest.DeletePipelineTransportAction; -import org.elasticsearch.action.ingest.GetPipelineAction; -import org.elasticsearch.action.ingest.GetPipelineTransportAction; -import org.elasticsearch.action.ingest.PutPipelineAction; -import org.elasticsearch.action.ingest.PutPipelineTransportAction; -import org.elasticsearch.action.ingest.SimulatePipelineAction; -import org.elasticsearch.action.ingest.SimulatePipelineTransportAction; +import org.opensearch.action.ingest.DeletePipelineAction; +import org.opensearch.action.ingest.DeletePipelineTransportAction; +import org.opensearch.action.ingest.GetPipelineAction; +import org.opensearch.action.ingest.GetPipelineTransportAction; +import org.opensearch.action.ingest.PutPipelineAction; +import org.opensearch.action.ingest.PutPipelineTransportAction; +import org.opensearch.action.ingest.SimulatePipelineAction; +import org.opensearch.action.ingest.SimulatePipelineTransportAction; import org.elasticsearch.action.main.MainAction; import org.elasticsearch.action.main.TransportMainAction; import org.elasticsearch.action.search.ClearScrollAction; @@ -236,11 +236,11 @@ import org.opensearch.action.support.ActionFilters; import org.opensearch.action.support.AutoCreateIndex; import org.opensearch.action.support.DestructiveOperations; import org.opensearch.action.support.TransportAction; -import org.elasticsearch.action.termvectors.MultiTermVectorsAction; -import org.elasticsearch.action.termvectors.TermVectorsAction; -import org.elasticsearch.action.termvectors.TransportMultiTermVectorsAction; -import org.elasticsearch.action.termvectors.TransportShardMultiTermsVectorAction; -import org.elasticsearch.action.termvectors.TransportTermVectorsAction; +import org.opensearch.action.termvectors.MultiTermVectorsAction; +import org.opensearch.action.termvectors.TermVectorsAction; +import org.opensearch.action.termvectors.TransportMultiTermVectorsAction; +import org.opensearch.action.termvectors.TransportShardMultiTermsVectorAction; +import org.opensearch.action.termvectors.TransportTermVectorsAction; import org.elasticsearch.action.update.TransportUpdateAction; import org.elasticsearch.action.update.UpdateAction; import org.opensearch.client.node.NodeClient; diff --git a/server/src/main/java/org/opensearch/action/bulk/TransportBulkAction.java b/server/src/main/java/org/opensearch/action/bulk/TransportBulkAction.java index ce371242897..9ab65cf132c 100644 --- a/server/src/main/java/org/opensearch/action/bulk/TransportBulkAction.java +++ b/server/src/main/java/org/opensearch/action/bulk/TransportBulkAction.java @@ -36,7 +36,7 @@ import org.opensearch.action.admin.indices.create.AutoCreateAction; import org.opensearch.action.admin.indices.create.CreateIndexRequest; import org.opensearch.action.admin.indices.create.CreateIndexResponse; import org.elasticsearch.action.index.IndexRequest; -import org.elasticsearch.action.ingest.IngestActionForwarder; +import org.opensearch.action.ingest.IngestActionForwarder; import org.opensearch.action.support.ActionFilters; import org.opensearch.action.support.AutoCreateIndex; import org.opensearch.action.support.HandledTransportAction; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineAction.java b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineAction.java similarity index 92% rename from server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineAction.java rename to server/src/main/java/org/opensearch/action/ingest/DeletePipelineAction.java index c21c7ba33c2..86649e65c6c 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionType; import org.opensearch.action.support.master.AcknowledgedResponse; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineRequest.java b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineRequest.java similarity index 95% rename from server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineRequest.java rename to server/src/main/java/org/opensearch/action/ingest/DeletePipelineRequest.java index d03ae68bc5f..8660dd84979 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineRequest.java +++ b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequestValidationException; import org.opensearch.action.support.master.AcknowledgedRequest; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineRequestBuilder.java b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineRequestBuilder.java similarity index 94% rename from server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineRequestBuilder.java rename to server/src/main/java/org/opensearch/action/ingest/DeletePipelineRequestBuilder.java index d51d0ce4e31..efb67377c7f 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineRequestBuilder.java +++ b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineRequestBuilder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequestBuilder; import org.opensearch.action.support.master.AcknowledgedResponse; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineTransportAction.java b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineTransportAction.java similarity index 96% rename from server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineTransportAction.java rename to server/src/main/java/org/opensearch/action/ingest/DeletePipelineTransportAction.java index c747a2fba88..133c55ac5f3 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/DeletePipelineTransportAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/DeletePipelineTransportAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionListener; import org.opensearch.action.support.ActionFilters; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineAction.java b/server/src/main/java/org/opensearch/action/ingest/GetPipelineAction.java similarity index 92% rename from server/src/main/java/org/elasticsearch/action/ingest/GetPipelineAction.java rename to server/src/main/java/org/opensearch/action/ingest/GetPipelineAction.java index 54463e48630..7142caae52a 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/GetPipelineAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionType; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineRequest.java b/server/src/main/java/org/opensearch/action/ingest/GetPipelineRequest.java similarity index 95% rename from server/src/main/java/org/elasticsearch/action/ingest/GetPipelineRequest.java rename to server/src/main/java/org/opensearch/action/ingest/GetPipelineRequest.java index 5908d1845d8..6a3ed8c3aed 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineRequest.java +++ b/server/src/main/java/org/opensearch/action/ingest/GetPipelineRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequestValidationException; import org.opensearch.action.support.master.MasterNodeReadRequest; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineRequestBuilder.java b/server/src/main/java/org/opensearch/action/ingest/GetPipelineRequestBuilder.java similarity index 93% rename from server/src/main/java/org/elasticsearch/action/ingest/GetPipelineRequestBuilder.java rename to server/src/main/java/org/opensearch/action/ingest/GetPipelineRequestBuilder.java index 24e4641fdaf..5a81e45c7e3 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineRequestBuilder.java +++ b/server/src/main/java/org/opensearch/action/ingest/GetPipelineRequestBuilder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.support.master.MasterNodeReadOperationRequestBuilder; import org.opensearch.client.OpenSearchClient; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineResponse.java b/server/src/main/java/org/opensearch/action/ingest/GetPipelineResponse.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/ingest/GetPipelineResponse.java rename to server/src/main/java/org/opensearch/action/ingest/GetPipelineResponse.java index 5f938f221f6..6de06fa83d4 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineResponse.java +++ b/server/src/main/java/org/opensearch/action/ingest/GetPipelineResponse.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionResponse; import org.opensearch.common.Strings; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineTransportAction.java b/server/src/main/java/org/opensearch/action/ingest/GetPipelineTransportAction.java similarity index 96% rename from server/src/main/java/org/elasticsearch/action/ingest/GetPipelineTransportAction.java rename to server/src/main/java/org/opensearch/action/ingest/GetPipelineTransportAction.java index eb900389189..9cc5a2a09ff 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/GetPipelineTransportAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/GetPipelineTransportAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionListener; import org.opensearch.action.support.ActionFilters; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/IngestActionForwarder.java b/server/src/main/java/org/opensearch/action/ingest/IngestActionForwarder.java similarity index 96% rename from server/src/main/java/org/elasticsearch/action/ingest/IngestActionForwarder.java rename to server/src/main/java/org/opensearch/action/ingest/IngestActionForwarder.java index bd94d12d02f..f341958852c 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/IngestActionForwarder.java +++ b/server/src/main/java/org/opensearch/action/ingest/IngestActionForwarder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionType; import org.opensearch.action.ActionListener; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineAction.java b/server/src/main/java/org/opensearch/action/ingest/PutPipelineAction.java similarity index 92% rename from server/src/main/java/org/elasticsearch/action/ingest/PutPipelineAction.java rename to server/src/main/java/org/opensearch/action/ingest/PutPipelineAction.java index 7d0ba697292..868538a9995 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/PutPipelineAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionType; import org.opensearch.action.support.master.AcknowledgedResponse; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineRequest.java b/server/src/main/java/org/opensearch/action/ingest/PutPipelineRequest.java similarity index 97% rename from server/src/main/java/org/elasticsearch/action/ingest/PutPipelineRequest.java rename to server/src/main/java/org/opensearch/action/ingest/PutPipelineRequest.java index 5648489c68c..98fafa5fc3e 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineRequest.java +++ b/server/src/main/java/org/opensearch/action/ingest/PutPipelineRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequestValidationException; import org.opensearch.action.support.master.AcknowledgedRequest; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineRequestBuilder.java b/server/src/main/java/org/opensearch/action/ingest/PutPipelineRequestBuilder.java similarity index 94% rename from server/src/main/java/org/elasticsearch/action/ingest/PutPipelineRequestBuilder.java rename to server/src/main/java/org/opensearch/action/ingest/PutPipelineRequestBuilder.java index 1d8bcc9a53a..747e04b4b80 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineRequestBuilder.java +++ b/server/src/main/java/org/opensearch/action/ingest/PutPipelineRequestBuilder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequestBuilder; import org.opensearch.action.support.master.AcknowledgedResponse; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineTransportAction.java b/server/src/main/java/org/opensearch/action/ingest/PutPipelineTransportAction.java similarity index 97% rename from server/src/main/java/org/elasticsearch/action/ingest/PutPipelineTransportAction.java rename to server/src/main/java/org/opensearch/action/ingest/PutPipelineTransportAction.java index c62b34f8754..c76025fe869 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/PutPipelineTransportAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/PutPipelineTransportAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionListener; import org.opensearch.action.admin.cluster.node.info.NodeInfo; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentBaseResult.java b/server/src/main/java/org/opensearch/action/ingest/SimulateDocumentBaseResult.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentBaseResult.java rename to server/src/main/java/org/opensearch/action/ingest/SimulateDocumentBaseResult.java index cd633218105..4673dd87056 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentBaseResult.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulateDocumentBaseResult.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.OpenSearchException; import org.opensearch.Version; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentResult.java b/server/src/main/java/org/opensearch/action/ingest/SimulateDocumentResult.java similarity index 91% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentResult.java rename to server/src/main/java/org/opensearch/action/ingest/SimulateDocumentResult.java index b867ddfebf7..36734b0ce89 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentResult.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulateDocumentResult.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.common.io.stream.Writeable; import org.elasticsearch.common.xcontent.ToXContentObject; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentVerboseResult.java b/server/src/main/java/org/opensearch/action/ingest/SimulateDocumentVerboseResult.java similarity index 97% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentVerboseResult.java rename to server/src/main/java/org/opensearch/action/ingest/SimulateDocumentVerboseResult.java index bf0e3cdce73..0299159b466 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulateDocumentVerboseResult.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulateDocumentVerboseResult.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.elasticsearch.common.ParseField; import org.opensearch.common.io.stream.StreamInput; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulateExecutionService.java b/server/src/main/java/org/opensearch/action/ingest/SimulateExecutionService.java similarity index 97% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulateExecutionService.java rename to server/src/main/java/org/opensearch/action/ingest/SimulateExecutionService.java index 81ae1545629..c97cddfc026 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulateExecutionService.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulateExecutionService.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionListener; import org.opensearch.action.ActionRunnable; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineAction.java b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineAction.java similarity index 92% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineAction.java rename to server/src/main/java/org/opensearch/action/ingest/SimulatePipelineAction.java index 3da59f448e9..4c40d8a205a 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionType; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequest.java b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequest.java rename to server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java index 7c8f825181f..af22cc189d7 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequest.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequest; import org.opensearch.action.ActionRequestValidationException; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequestBuilder.java b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequestBuilder.java similarity index 95% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequestBuilder.java rename to server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequestBuilder.java index 292532b3fbf..2927198824e 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequestBuilder.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequestBuilder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionRequestBuilder; import org.opensearch.client.OpenSearchClient; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineResponse.java b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineResponse.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineResponse.java rename to server/src/main/java/org/opensearch/action/ingest/SimulatePipelineResponse.java index 259569ba708..d27da2d283c 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineResponse.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineResponse.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.OpenSearchException; import org.opensearch.action.ActionResponse; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineTransportAction.java b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineTransportAction.java similarity index 96% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineTransportAction.java rename to server/src/main/java/org/opensearch/action/ingest/SimulatePipelineTransportAction.java index f9fe65bc7ef..bb09e14cc4a 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineTransportAction.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulatePipelineTransportAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.action.ActionListener; import org.opensearch.action.support.ActionFilters; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/SimulateProcessorResult.java b/server/src/main/java/org/opensearch/action/ingest/SimulateProcessorResult.java similarity index 99% rename from server/src/main/java/org/elasticsearch/action/ingest/SimulateProcessorResult.java rename to server/src/main/java/org/opensearch/action/ingest/SimulateProcessorResult.java index b6cfcde6f07..2979789dec5 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/SimulateProcessorResult.java +++ b/server/src/main/java/org/opensearch/action/ingest/SimulateProcessorResult.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.OpenSearchException; import org.opensearch.Version; diff --git a/server/src/main/java/org/elasticsearch/action/ingest/WriteableIngestDocument.java b/server/src/main/java/org/opensearch/action/ingest/WriteableIngestDocument.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/ingest/WriteableIngestDocument.java rename to server/src/main/java/org/opensearch/action/ingest/WriteableIngestDocument.java index a55c5373500..19c56be09c8 100644 --- a/server/src/main/java/org/elasticsearch/action/ingest/WriteableIngestDocument.java +++ b/server/src/main/java/org/opensearch/action/ingest/WriteableIngestDocument.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.ingest; +package org.opensearch.action.ingest; import org.opensearch.Version; import org.elasticsearch.common.ParseField; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsAction.java similarity index 92% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsAction.java index 250984cc170..48b9d8b85c3 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.action.ActionType; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsItemResponse.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsItemResponse.java similarity index 96% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsItemResponse.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsItemResponse.java index 0076f1a3a3b..3a6529affd3 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsItemResponse.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsItemResponse.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.common.io.stream.StreamInput; import org.opensearch.common.io.stream.StreamOutput; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequest.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsRequest.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequest.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsRequest.java index c5d6a79dd4d..9ce965c6757 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequest.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.elasticsearch.OpenSearchParseException; import org.opensearch.action.ActionRequest; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequestBuilder.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsRequestBuilder.java similarity index 94% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequestBuilder.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsRequestBuilder.java index 80ea8dba8ef..12bbc1df3fa 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequestBuilder.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsRequestBuilder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.action.ActionRequestBuilder; import org.opensearch.client.OpenSearchClient; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsResponse.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsResponse.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsResponse.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsResponse.java index 9f4df7d64de..6494aa33ec6 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsResponse.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsResponse.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.OpenSearchException; import org.opensearch.action.ActionResponse; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsShardRequest.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsShardRequest.java similarity index 97% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsShardRequest.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsShardRequest.java index e5b0f645101..05e10bd7cc8 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsShardRequest.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsShardRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import com.carrotsearch.hppc.IntArrayList; import org.opensearch.action.ActionRequestValidationException; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsShardResponse.java b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsShardResponse.java similarity index 97% rename from server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsShardResponse.java rename to server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsShardResponse.java index ba342d18342..bab6b300dbd 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsShardResponse.java +++ b/server/src/main/java/org/opensearch/action/termvectors/MultiTermVectorsShardResponse.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import com.carrotsearch.hppc.IntArrayList; import org.opensearch.action.ActionResponse; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsAction.java similarity index 91% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsAction.java index 95c7e04dd7e..b604547ae24 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.action.ActionType; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsFields.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsFields.java similarity index 99% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsFields.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsFields.java index 3e7bf5403c9..9d60e75c8cf 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsFields.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsFields.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import com.carrotsearch.hppc.ObjectLongHashMap; import com.carrotsearch.hppc.cursors.ObjectLongCursor; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsFilter.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsFilter.java similarity index 99% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsFilter.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsFilter.java index 03ae54bfdb1..b1be70e9005 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsFilter.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsFilter.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.apache.lucene.index.Fields; import org.apache.lucene.index.PostingsEnum; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsRequest.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsRequest.java similarity index 99% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsRequest.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsRequest.java index 90f061ef49f..e707ddc079e 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsRequest.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsRequest.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.elasticsearch.OpenSearchParseException; import org.opensearch.Version; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsRequestBuilder.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsRequestBuilder.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsRequestBuilder.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsRequestBuilder.java index e02ec5a24b5..606babe102c 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsRequestBuilder.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsRequestBuilder.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.action.ActionRequestBuilder; import org.opensearch.client.OpenSearchClient; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsResponse.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsResponse.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsResponse.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsResponse.java index e3b0ee073af..efa426df37f 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsResponse.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsResponse.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.apache.lucene.index.Fields; import org.apache.lucene.index.PostingsEnum; @@ -28,7 +28,6 @@ import org.apache.lucene.util.ArrayUtil; import org.apache.lucene.util.BytesRef; import org.apache.lucene.util.CharsRefBuilder; import org.opensearch.action.ActionResponse; -import org.elasticsearch.action.termvectors.TermVectorsRequest.Flag; import org.opensearch.common.bytes.BytesArray; import org.opensearch.common.bytes.BytesReference; import org.opensearch.common.io.stream.BytesStreamOutput; @@ -350,11 +349,11 @@ public class TermVectorsResponse extends ActionResponse implements ToXContentObj } public void setFields(Fields termVectorsByField, Set selectedFields, - EnumSet flags, Fields topLevelFields) throws IOException { + EnumSet flags, Fields topLevelFields) throws IOException { setFields(termVectorsByField, selectedFields, flags, topLevelFields, null); } - public void setFields(Fields termVectorsByField, Set selectedFields, EnumSet flags, + public void setFields(Fields termVectorsByField, Set selectedFields, EnumSet flags, Fields topLevelFields, TermVectorsFilter termVectorsFilter) throws IOException { TermVectorsWriter tvw = new TermVectorsWriter(this); diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsWriter.java b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsWriter.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsWriter.java rename to server/src/main/java/org/opensearch/action/termvectors/TermVectorsWriter.java index 7dcbea11cc5..c169947432d 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TermVectorsWriter.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TermVectorsWriter.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.apache.lucene.index.Fields; import org.apache.lucene.index.PostingsEnum; @@ -25,7 +25,7 @@ import org.apache.lucene.index.Terms; import org.apache.lucene.index.TermsEnum; import org.apache.lucene.search.DocIdSetIterator; import org.apache.lucene.util.BytesRef; -import org.elasticsearch.action.termvectors.TermVectorsRequest.Flag; +import org.opensearch.action.termvectors.TermVectorsRequest.Flag; import org.elasticsearch.common.Nullable; import org.opensearch.common.bytes.BytesReference; import org.opensearch.common.io.stream.BytesStreamOutput; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TransportMultiTermVectorsAction.java b/server/src/main/java/org/opensearch/action/termvectors/TransportMultiTermVectorsAction.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/TransportMultiTermVectorsAction.java rename to server/src/main/java/org/opensearch/action/termvectors/TransportMultiTermVectorsAction.java index b8193160a5c..aaf19e25a2c 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TransportMultiTermVectorsAction.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TransportMultiTermVectorsAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.action.ActionListener; import org.opensearch.action.RoutingMissingException; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TransportShardMultiTermsVectorAction.java b/server/src/main/java/org/opensearch/action/termvectors/TransportShardMultiTermsVectorAction.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/TransportShardMultiTermsVectorAction.java rename to server/src/main/java/org/opensearch/action/termvectors/TransportShardMultiTermsVectorAction.java index 7b78e76f31f..5db9bceb43a 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TransportShardMultiTermsVectorAction.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TransportShardMultiTermsVectorAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.apache.logging.log4j.message.ParameterizedMessage; import org.opensearch.action.support.ActionFilters; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java b/server/src/main/java/org/opensearch/action/termvectors/TransportTermVectorsAction.java similarity index 98% rename from server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java rename to server/src/main/java/org/opensearch/action/termvectors/TransportTermVectorsAction.java index ef7bd7a1742..f9590bede51 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java +++ b/server/src/main/java/org/opensearch/action/termvectors/TransportTermVectorsAction.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.action.termvectors; +package org.opensearch.action.termvectors; import org.opensearch.action.ActionListener; import org.opensearch.action.RoutingMissingException; diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/package-info.java b/server/src/main/java/org/opensearch/action/termvectors/package-info.java similarity index 89% rename from server/src/main/java/org/elasticsearch/action/termvectors/package-info.java rename to server/src/main/java/org/opensearch/action/termvectors/package-info.java index 000c9898b0b..cb9f07808aa 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/package-info.java +++ b/server/src/main/java/org/opensearch/action/termvectors/package-info.java @@ -7,7 +7,7 @@ * not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an @@ -20,4 +20,4 @@ /** * Get the term vector for a specific document. */ -package org.elasticsearch.action.termvectors; \ No newline at end of file +package org.opensearch.action.termvectors; diff --git a/server/src/main/java/org/opensearch/client/Client.java b/server/src/main/java/org/opensearch/client/Client.java index fe86a51d5e6..fd5308b8c99 100644 --- a/server/src/main/java/org/opensearch/client/Client.java +++ b/server/src/main/java/org/opensearch/client/Client.java @@ -53,12 +53,12 @@ import org.elasticsearch.action.search.SearchRequestBuilder; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.action.search.SearchScrollRequest; import org.elasticsearch.action.search.SearchScrollRequestBuilder; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequest; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequestBuilder; -import org.elasticsearch.action.termvectors.MultiTermVectorsResponse; -import org.elasticsearch.action.termvectors.TermVectorsRequest; -import org.elasticsearch.action.termvectors.TermVectorsRequestBuilder; -import org.elasticsearch.action.termvectors.TermVectorsResponse; +import org.opensearch.action.termvectors.MultiTermVectorsRequest; +import org.opensearch.action.termvectors.MultiTermVectorsRequestBuilder; +import org.opensearch.action.termvectors.MultiTermVectorsResponse; +import org.opensearch.action.termvectors.TermVectorsRequest; +import org.opensearch.action.termvectors.TermVectorsRequestBuilder; +import org.opensearch.action.termvectors.TermVectorsResponse; import org.elasticsearch.action.update.UpdateRequest; import org.elasticsearch.action.update.UpdateRequestBuilder; import org.elasticsearch.action.update.UpdateResponse; diff --git a/server/src/main/java/org/opensearch/client/ClusterAdminClient.java b/server/src/main/java/org/opensearch/client/ClusterAdminClient.java index 18bafe857d8..6e0a3dfcf95 100644 --- a/server/src/main/java/org/opensearch/client/ClusterAdminClient.java +++ b/server/src/main/java/org/opensearch/client/ClusterAdminClient.java @@ -107,16 +107,16 @@ import org.opensearch.action.admin.indices.dangling.delete.DeleteDanglingIndexRe import org.opensearch.action.admin.indices.dangling.import_index.ImportDanglingIndexRequest; import org.opensearch.action.admin.indices.dangling.list.ListDanglingIndicesRequest; import org.opensearch.action.admin.indices.dangling.list.ListDanglingIndicesResponse; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.DeletePipelineRequestBuilder; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequestBuilder; -import org.elasticsearch.action.ingest.GetPipelineResponse; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.PutPipelineRequestBuilder; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineRequestBuilder; -import org.elasticsearch.action.ingest.SimulatePipelineResponse; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.DeletePipelineRequestBuilder; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequestBuilder; +import org.opensearch.action.ingest.GetPipelineResponse; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequestBuilder; +import org.opensearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineRequestBuilder; +import org.opensearch.action.ingest.SimulatePipelineResponse; import org.elasticsearch.action.support.master.AcknowledgedResponse; import org.opensearch.common.bytes.BytesReference; import org.elasticsearch.common.xcontent.XContentType; diff --git a/server/src/main/java/org/opensearch/client/support/AbstractClient.java b/server/src/main/java/org/opensearch/client/support/AbstractClient.java index a50fb40ac13..54758b38ae4 100644 --- a/server/src/main/java/org/opensearch/client/support/AbstractClient.java +++ b/server/src/main/java/org/opensearch/client/support/AbstractClient.java @@ -304,20 +304,20 @@ import org.elasticsearch.action.index.IndexAction; import org.elasticsearch.action.index.IndexRequest; import org.elasticsearch.action.index.IndexRequestBuilder; import org.elasticsearch.action.index.IndexResponse; -import org.elasticsearch.action.ingest.DeletePipelineAction; -import org.elasticsearch.action.ingest.DeletePipelineRequest; -import org.elasticsearch.action.ingest.DeletePipelineRequestBuilder; -import org.elasticsearch.action.ingest.GetPipelineAction; -import org.elasticsearch.action.ingest.GetPipelineRequest; -import org.elasticsearch.action.ingest.GetPipelineRequestBuilder; -import org.elasticsearch.action.ingest.GetPipelineResponse; -import org.elasticsearch.action.ingest.PutPipelineAction; -import org.elasticsearch.action.ingest.PutPipelineRequest; -import org.elasticsearch.action.ingest.PutPipelineRequestBuilder; -import org.elasticsearch.action.ingest.SimulatePipelineAction; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; -import org.elasticsearch.action.ingest.SimulatePipelineRequestBuilder; -import org.elasticsearch.action.ingest.SimulatePipelineResponse; +import org.opensearch.action.ingest.DeletePipelineAction; +import org.opensearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.DeletePipelineRequestBuilder; +import org.opensearch.action.ingest.GetPipelineAction; +import org.opensearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequestBuilder; +import org.opensearch.action.ingest.GetPipelineResponse; +import org.opensearch.action.ingest.PutPipelineAction; +import org.opensearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequestBuilder; +import org.opensearch.action.ingest.SimulatePipelineAction; +import org.opensearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineRequestBuilder; +import org.opensearch.action.ingest.SimulatePipelineResponse; import org.elasticsearch.action.search.ClearScrollAction; import org.elasticsearch.action.search.ClearScrollRequest; import org.elasticsearch.action.search.ClearScrollRequestBuilder; @@ -336,14 +336,14 @@ import org.elasticsearch.action.search.SearchScrollRequestBuilder; import org.opensearch.action.support.PlainActionFuture; import org.opensearch.action.support.ThreadedActionListener; import org.elasticsearch.action.support.master.AcknowledgedResponse; -import org.elasticsearch.action.termvectors.MultiTermVectorsAction; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequest; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequestBuilder; -import org.elasticsearch.action.termvectors.MultiTermVectorsResponse; -import org.elasticsearch.action.termvectors.TermVectorsAction; -import org.elasticsearch.action.termvectors.TermVectorsRequest; -import org.elasticsearch.action.termvectors.TermVectorsRequestBuilder; -import org.elasticsearch.action.termvectors.TermVectorsResponse; +import org.opensearch.action.termvectors.MultiTermVectorsAction; +import org.opensearch.action.termvectors.MultiTermVectorsRequest; +import org.opensearch.action.termvectors.MultiTermVectorsRequestBuilder; +import org.opensearch.action.termvectors.MultiTermVectorsResponse; +import org.opensearch.action.termvectors.TermVectorsAction; +import org.opensearch.action.termvectors.TermVectorsRequest; +import org.opensearch.action.termvectors.TermVectorsRequestBuilder; +import org.opensearch.action.termvectors.TermVectorsResponse; import org.elasticsearch.action.update.UpdateAction; import org.elasticsearch.action.update.UpdateRequest; import org.elasticsearch.action.update.UpdateRequestBuilder; diff --git a/server/src/main/java/org/opensearch/rest/action/document/RestMultiTermVectorsAction.java b/server/src/main/java/org/opensearch/rest/action/document/RestMultiTermVectorsAction.java index df7e00a2595..2e55dd56d5a 100644 --- a/server/src/main/java/org/opensearch/rest/action/document/RestMultiTermVectorsAction.java +++ b/server/src/main/java/org/opensearch/rest/action/document/RestMultiTermVectorsAction.java @@ -19,8 +19,8 @@ package org.opensearch.rest.action.document; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequest; -import org.elasticsearch.action.termvectors.TermVectorsRequest; +import org.opensearch.action.termvectors.MultiTermVectorsRequest; +import org.opensearch.action.termvectors.TermVectorsRequest; import org.opensearch.client.node.NodeClient; import org.opensearch.common.Strings; import org.elasticsearch.common.logging.DeprecationLogger; diff --git a/server/src/main/java/org/opensearch/rest/action/document/RestTermVectorsAction.java b/server/src/main/java/org/opensearch/rest/action/document/RestTermVectorsAction.java index 7941f6fa90c..413f31f0e2f 100644 --- a/server/src/main/java/org/opensearch/rest/action/document/RestTermVectorsAction.java +++ b/server/src/main/java/org/opensearch/rest/action/document/RestTermVectorsAction.java @@ -19,7 +19,7 @@ package org.opensearch.rest.action.document; -import org.elasticsearch.action.termvectors.TermVectorsRequest; +import org.opensearch.action.termvectors.TermVectorsRequest; import org.opensearch.client.node.NodeClient; import org.opensearch.common.Strings; import org.elasticsearch.common.logging.DeprecationLogger; diff --git a/server/src/main/java/org/opensearch/rest/action/ingest/RestDeletePipelineAction.java b/server/src/main/java/org/opensearch/rest/action/ingest/RestDeletePipelineAction.java index a3e7f24f307..15596d8f416 100644 --- a/server/src/main/java/org/opensearch/rest/action/ingest/RestDeletePipelineAction.java +++ b/server/src/main/java/org/opensearch/rest/action/ingest/RestDeletePipelineAction.java @@ -19,7 +19,7 @@ package org.opensearch.rest.action.ingest; -import org.elasticsearch.action.ingest.DeletePipelineRequest; +import org.opensearch.action.ingest.DeletePipelineRequest; import org.opensearch.client.node.NodeClient; import org.opensearch.rest.BaseRestHandler; import org.opensearch.rest.RestRequest; diff --git a/server/src/main/java/org/opensearch/rest/action/ingest/RestGetPipelineAction.java b/server/src/main/java/org/opensearch/rest/action/ingest/RestGetPipelineAction.java index f7b87ae135c..0f32df93e75 100644 --- a/server/src/main/java/org/opensearch/rest/action/ingest/RestGetPipelineAction.java +++ b/server/src/main/java/org/opensearch/rest/action/ingest/RestGetPipelineAction.java @@ -19,7 +19,7 @@ package org.opensearch.rest.action.ingest; -import org.elasticsearch.action.ingest.GetPipelineRequest; +import org.opensearch.action.ingest.GetPipelineRequest; import org.opensearch.client.node.NodeClient; import org.opensearch.common.Strings; import org.opensearch.rest.BaseRestHandler; diff --git a/server/src/main/java/org/opensearch/rest/action/ingest/RestPutPipelineAction.java b/server/src/main/java/org/opensearch/rest/action/ingest/RestPutPipelineAction.java index 51f04163c27..6baee2c00ec 100644 --- a/server/src/main/java/org/opensearch/rest/action/ingest/RestPutPipelineAction.java +++ b/server/src/main/java/org/opensearch/rest/action/ingest/RestPutPipelineAction.java @@ -19,7 +19,7 @@ package org.opensearch.rest.action.ingest; -import org.elasticsearch.action.ingest.PutPipelineRequest; +import org.opensearch.action.ingest.PutPipelineRequest; import org.opensearch.client.node.NodeClient; import org.opensearch.common.bytes.BytesReference; import org.elasticsearch.common.collect.Tuple; diff --git a/server/src/main/java/org/opensearch/rest/action/ingest/RestSimulatePipelineAction.java b/server/src/main/java/org/opensearch/rest/action/ingest/RestSimulatePipelineAction.java index 2af46e40693..cd18657cb25 100644 --- a/server/src/main/java/org/opensearch/rest/action/ingest/RestSimulatePipelineAction.java +++ b/server/src/main/java/org/opensearch/rest/action/ingest/RestSimulatePipelineAction.java @@ -19,7 +19,7 @@ package org.opensearch.rest.action.ingest; -import org.elasticsearch.action.ingest.SimulatePipelineRequest; +import org.opensearch.action.ingest.SimulatePipelineRequest; import org.opensearch.client.node.NodeClient; import org.opensearch.common.bytes.BytesReference; import org.elasticsearch.common.collect.Tuple; diff --git a/server/src/test/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilderTests.java b/server/src/test/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilderTests.java index 4356a07f541..ce052b0d740 100644 --- a/server/src/test/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilderTests.java +++ b/server/src/test/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilderTests.java @@ -26,11 +26,11 @@ import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.Query; import org.opensearch.OpenSearchException; -import org.elasticsearch.action.termvectors.MultiTermVectorsItemResponse; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequest; -import org.elasticsearch.action.termvectors.MultiTermVectorsResponse; -import org.elasticsearch.action.termvectors.TermVectorsRequest; -import org.elasticsearch.action.termvectors.TermVectorsResponse; +import org.opensearch.action.termvectors.MultiTermVectorsItemResponse; +import org.opensearch.action.termvectors.MultiTermVectorsRequest; +import org.opensearch.action.termvectors.MultiTermVectorsResponse; +import org.opensearch.action.termvectors.TermVectorsRequest; +import org.opensearch.action.termvectors.TermVectorsResponse; import org.opensearch.cluster.metadata.IndexMetadata; import org.opensearch.common.Strings; import org.opensearch.common.bytes.BytesReference; diff --git a/server/src/test/java/org/elasticsearch/index/termvectors/TermVectorsServiceTests.java b/server/src/test/java/org/elasticsearch/index/termvectors/TermVectorsServiceTests.java index 1a982c0504d..97f59cfa4b1 100644 --- a/server/src/test/java/org/elasticsearch/index/termvectors/TermVectorsServiceTests.java +++ b/server/src/test/java/org/elasticsearch/index/termvectors/TermVectorsServiceTests.java @@ -22,8 +22,8 @@ package org.elasticsearch.index.termvectors; import org.apache.lucene.index.Terms; import org.apache.lucene.index.TermsEnum; import org.opensearch.action.bulk.BulkRequestBuilder; -import org.elasticsearch.action.termvectors.TermVectorsRequest; -import org.elasticsearch.action.termvectors.TermVectorsResponse; +import org.opensearch.action.termvectors.TermVectorsRequest; +import org.opensearch.action.termvectors.TermVectorsResponse; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.index.IndexService; diff --git a/test/framework/src/main/java/org/elasticsearch/test/AbstractBuilderTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/AbstractBuilderTestCase.java index e5196386c2a..48afec4ef43 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/AbstractBuilderTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/AbstractBuilderTestCase.java @@ -30,8 +30,8 @@ import org.opensearch.action.admin.indices.mapping.put.PutMappingRequest; import org.elasticsearch.action.get.GetRequest; import org.elasticsearch.action.get.GetResponse; import org.opensearch.action.support.PlainActionFuture; -import org.elasticsearch.action.termvectors.MultiTermVectorsRequest; -import org.elasticsearch.action.termvectors.MultiTermVectorsResponse; +import org.opensearch.action.termvectors.MultiTermVectorsRequest; +import org.opensearch.action.termvectors.MultiTermVectorsResponse; import org.opensearch.client.Client; import org.opensearch.cluster.metadata.IndexMetadata; import org.opensearch.common.Strings;