[Rename] refactor `o.e.usage` package in server module. (#269)
Refactor the `org.elasticsearch.usage` package in the server module to rename it to `org.opensearch.usage`. Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
parent
16c3b54639
commit
d268d82d85
|
@ -395,7 +395,7 @@ import org.opensearch.rest.action.search.RestSearchAction;
|
|||
import org.opensearch.rest.action.search.RestSearchScrollAction;
|
||||
import org.opensearch.tasks.Task;
|
||||
import org.opensearch.threadpool.ThreadPool;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.elasticsearch.common.io.stream.StreamOutput;
|
|||
import org.elasticsearch.search.aggregations.support.AggregationUsageService;
|
||||
import org.opensearch.threadpool.ThreadPool;
|
||||
import org.elasticsearch.transport.TransportService;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.elasticsearch.common.xcontent.XContentType;
|
|||
import org.elasticsearch.core.internal.io.Streams;
|
||||
import org.elasticsearch.http.HttpServerTransport;
|
||||
import org.elasticsearch.indices.breaker.CircuitBreakerService;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.usage;
|
||||
package org.opensearch.usage;
|
||||
|
||||
import org.opensearch.action.admin.cluster.node.usage.NodeUsage;
|
||||
import org.opensearch.rest.BaseRestHandler;
|
|
@ -43,7 +43,7 @@ import org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService;
|
|||
import org.elasticsearch.test.ESTestCase;
|
||||
import org.elasticsearch.test.client.NoOpNodeClient;
|
||||
import org.elasticsearch.test.rest.FakeRestRequest;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.elasticsearch.indices.breaker.HierarchyCircuitBreakerService;
|
|||
import org.elasticsearch.test.ESTestCase;
|
||||
import org.elasticsearch.test.rest.FakeRestChannel;
|
||||
import org.elasticsearch.test.rest.FakeRestRequest;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.elasticsearch.test.rest.FakeRestChannel;
|
|||
import org.elasticsearch.test.rest.FakeRestRequest;
|
||||
import org.opensearch.threadpool.TestThreadPool;
|
||||
import org.opensearch.threadpool.ThreadPool;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.usage;
|
||||
package org.opensearch.usage;
|
||||
|
||||
import org.elasticsearch.client.node.NodeClient;
|
||||
import org.opensearch.rest.BaseRestHandler;
|
|
@ -32,7 +32,7 @@ import org.opensearch.tasks.Task;
|
|||
import org.opensearch.tasks.TaskListener;
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
import org.elasticsearch.test.client.NoOpNodeClient;
|
||||
import org.elasticsearch.usage.UsageService;
|
||||
import org.opensearch.usage.UsageService;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
|
||||
|
|
Loading…
Reference in New Issue