From a469e33911a3f0d533f46059c13b78cf14d9a976 Mon Sep 17 00:00:00 2001 From: Kiran Prakash Date: Sat, 31 Aug 2024 09:38:43 +0530 Subject: [PATCH] change imports Signed-off-by: Kiran Prakash --- .../opensearch/wlm/cancellation/DefaultTaskCancellation.java | 2 +- .../wlm/cancellation/DefaultTaskSelectionStrategy.java | 2 +- .../wlm/cancellation/DefaultTaskCancellationTests.java | 2 +- .../wlm/cancellation/DefaultTaskSelectionStrategyTests.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskCancellation.java b/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskCancellation.java index 12e4fbc595e6d..e4c6f187781df 100644 --- a/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskCancellation.java +++ b/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskCancellation.java @@ -11,7 +11,7 @@ import org.opensearch.cluster.metadata.QueryGroup; import org.opensearch.monitor.jvm.JvmStats; import org.opensearch.monitor.process.ProcessProbe; -import org.opensearch.search.ResourceType; +import org.opensearch.wlm.ResourceType; import org.opensearch.tasks.CancellableTask; import org.opensearch.tasks.Task; import org.opensearch.tasks.TaskCancellation; diff --git a/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategy.java b/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategy.java index 33b854ce5d760..66f5fdb0dcb9d 100644 --- a/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategy.java +++ b/server/src/main/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategy.java @@ -8,7 +8,7 @@ package org.opensearch.wlm.cancellation; -import org.opensearch.search.ResourceType; +import org.opensearch.wlm.ResourceType; import org.opensearch.tasks.CancellableTask; import org.opensearch.tasks.Task; import org.opensearch.tasks.TaskCancellation; diff --git a/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskCancellationTests.java b/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskCancellationTests.java index 5c77c5c7f7a55..5f93a3757ced9 100644 --- a/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskCancellationTests.java +++ b/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskCancellationTests.java @@ -12,7 +12,7 @@ import org.opensearch.action.search.SearchTask; import org.opensearch.cluster.metadata.QueryGroup; import org.opensearch.core.tasks.TaskId; -import org.opensearch.search.ResourceType; +import org.opensearch.wlm.ResourceType; import org.opensearch.tasks.Task; import org.opensearch.tasks.TaskCancellation; import org.opensearch.test.OpenSearchTestCase; diff --git a/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategyTests.java b/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategyTests.java index fc2b7e42406cb..9f6a47fc5ddb5 100644 --- a/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategyTests.java +++ b/server/src/test/java/org/opensearch/wlm/cancellation/DefaultTaskSelectionStrategyTests.java @@ -14,7 +14,7 @@ import org.opensearch.core.tasks.resourcetracker.ResourceStats; import org.opensearch.core.tasks.resourcetracker.ResourceStatsType; import org.opensearch.core.tasks.resourcetracker.ResourceUsageMetric; -import org.opensearch.search.ResourceType; +import org.opensearch.wlm.ResourceType; import org.opensearch.tasks.Task; import org.opensearch.test.OpenSearchTestCase;