[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:
Rabi Panda 2021-03-11 12:45:20 -08:00 committed by Nick Knize
parent 16c3b54639
commit d268d82d85
9 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;