File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
main/kotlin/org/opensearch/commons
test/kotlin/org/opensearch/commons Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 55package org.opensearch.commons.alerting
66
77import org.opensearch.action.search.SearchResponse
8- import org.opensearch.client.node.NodeClient
98import org.opensearch.commons.alerting.action.AcknowledgeAlertRequest
109import org.opensearch.commons.alerting.action.AcknowledgeAlertResponse
1110import org.opensearch.commons.alerting.action.AcknowledgeChainedAlertRequest
@@ -37,6 +36,7 @@ import org.opensearch.core.action.ActionListener
3736import org.opensearch.core.action.ActionResponse
3837import org.opensearch.core.common.io.stream.NamedWriteableRegistry
3938import org.opensearch.core.common.io.stream.Writeable
39+ import org.opensearch.transport.client.node.NodeClient
4040
4141/* *
4242 * All the transport action plugin interfaces for the Alerting plugin
Original file line number Diff line number Diff line change 44 */
55package org.opensearch.commons.notifications
66
7- import org.opensearch.client.node.NodeClient
87import org.opensearch.commons.ConfigConstants.OPENSEARCH_SECURITY_USER_INFO_THREAD_CONTEXT
98import org.opensearch.commons.notifications.action.BaseResponse
109import org.opensearch.commons.notifications.action.CreateNotificationConfigRequest
@@ -38,6 +37,7 @@ import org.opensearch.commons.utils.recreateObject
3837import org.opensearch.core.action.ActionListener
3938import org.opensearch.core.action.ActionResponse
4039import org.opensearch.core.common.io.stream.Writeable
40+ import org.opensearch.transport.client.node.NodeClient
4141
4242/* *
4343 * All the transport action plugin interfaces for the Notification plugin
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ import org.opensearch.action.termvectors.TermVectorsRequest
3434import org.opensearch.action.termvectors.TermVectorsResponse
3535import org.opensearch.action.update.UpdateRequest
3636import org.opensearch.action.update.UpdateResponse
37- import org.opensearch.client.Client
3837import org.opensearch.common.action.ActionFuture
3938import org.opensearch.common.util.concurrent.ThreadContext
4039import org.opensearch.core.action.ActionListener
4140import org.opensearch.core.action.ActionResponse
41+ import org.opensearch.transport.client.Client
4242
4343/* *
4444 * Wrapper class on [Client] with security context removed.
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import org.mockito.Mockito.mock
1111import org.mockito.junit.jupiter.MockitoExtension
1212import org.opensearch.action.ActionType
1313import org.opensearch.action.search.SearchResponse
14- import org.opensearch.client.node.NodeClient
1514import org.opensearch.common.settings.Settings
1615import org.opensearch.commons.alerting.action.AcknowledgeAlertRequest
1716import org.opensearch.commons.alerting.action.AcknowledgeAlertResponse
@@ -46,6 +45,7 @@ import org.opensearch.core.common.io.stream.NamedWriteableRegistry
4645import org.opensearch.core.rest.RestStatus
4746import org.opensearch.index.seqno.SequenceNumbers
4847import org.opensearch.search.SearchModule
48+ import org.opensearch.transport.client.node.NodeClient
4949
5050@Suppress(" UNCHECKED_CAST" )
5151@ExtendWith(MockitoExtension ::class )
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import org.mockito.Mockito.times
1818import org.mockito.Mockito.verify
1919import org.mockito.junit.jupiter.MockitoExtension
2020import org.opensearch.action.ActionType
21- import org.opensearch.client.node.NodeClient
2221import org.opensearch.commons.destination.response.LegacyDestinationResponse
2322import org.opensearch.commons.notifications.action.CreateNotificationConfigRequest
2423import org.opensearch.commons.notifications.action.CreateNotificationConfigResponse
@@ -50,6 +49,7 @@ import org.opensearch.commons.notifications.model.SeverityType
5049import org.opensearch.commons.notifications.model.Slack
5150import org.opensearch.core.action.ActionListener
5251import org.opensearch.core.rest.RestStatus
52+ import org.opensearch.transport.client.node.NodeClient
5353import java.time.Instant
5454
5555@Suppress(" UNCHECKED_CAST" )
You can’t perform that action at this time.
0 commit comments