Skip to content

Commit d042fc1

Browse files
Merge branch 'opensearch-project:main' into ccr-libs
2 parents 8d673ba + c28f96e commit d042fc1

File tree

6 files changed

+24
-5
lines changed

6 files changed

+24
-5
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Version 2.19.0.0 2025-02-03
2+
3+
Compatible with OpenSearch 2.19.0
4+
5+
### Maintenance
6+
* Increment version to 2.19.0-SNAPSHOT ([#749](https://github.com/opensearch-project/common-utils/pull/749))
7+
* Remove version workflow ([#455](https://github.com/opensearch-project/common-utils/pull/455))
8+
* Updates sample cert and admin keystore ([#598](https://github.com/opensearch-project/common-utils/pull/598))
9+
* Fix 2.x branch github CI workflow. ([#777](https://github.com/opensearch-project/common-utils/pull/777))
10+
11+
### Bug Fixes
12+
* Fix bucket selector aggregation writeable name. ([#773](https://github.com/opensearch-project/common-utils/pull/773))
13+
14+
### Refactoring
15+
* add should_create_single_alert_for_findings field to security-analytics ([#757](https://github.com/opensearch-project/common-utils/pull/757))
16+
* Monitor model changed to add an optional fanoutEnabled field ([#758](https://github.com/opensearch-project/common-utils/pull/758))
17+
18+
### Documentation
19+
* Added 2.19.0.0 release notes. ([#780](https://github.com/opensearch-project/common-utils/pull/780))

src/main/kotlin/org/opensearch/commons/alerting/AlertingPluginInterface.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
package org.opensearch.commons.alerting
66

77
import org.opensearch.action.search.SearchResponse
8-
import org.opensearch.client.node.NodeClient
98
import org.opensearch.commons.alerting.action.AcknowledgeAlertRequest
109
import org.opensearch.commons.alerting.action.AcknowledgeAlertResponse
1110
import org.opensearch.commons.alerting.action.AcknowledgeChainedAlertRequest
@@ -37,6 +36,7 @@ import org.opensearch.core.action.ActionListener
3736
import org.opensearch.core.action.ActionResponse
3837
import org.opensearch.core.common.io.stream.NamedWriteableRegistry
3938
import 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

src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
package org.opensearch.commons.notifications
66

7-
import org.opensearch.client.node.NodeClient
87
import org.opensearch.commons.ConfigConstants.OPENSEARCH_SECURITY_USER_INFO_THREAD_CONTEXT
98
import org.opensearch.commons.notifications.action.BaseResponse
109
import org.opensearch.commons.notifications.action.CreateNotificationConfigRequest
@@ -38,6 +37,7 @@ import org.opensearch.commons.utils.recreateObject
3837
import org.opensearch.core.action.ActionListener
3938
import org.opensearch.core.action.ActionResponse
4039
import 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

src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ import org.opensearch.action.termvectors.TermVectorsRequest
3434
import org.opensearch.action.termvectors.TermVectorsResponse
3535
import org.opensearch.action.update.UpdateRequest
3636
import org.opensearch.action.update.UpdateResponse
37-
import org.opensearch.client.Client
3837
import org.opensearch.common.action.ActionFuture
3938
import org.opensearch.common.util.concurrent.ThreadContext
4039
import org.opensearch.core.action.ActionListener
4140
import org.opensearch.core.action.ActionResponse
41+
import org.opensearch.transport.client.Client
4242

4343
/**
4444
* Wrapper class on [Client] with security context removed.

src/test/kotlin/org/opensearch/commons/alerting/AlertingPluginInterfaceTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import org.mockito.Mockito.mock
1111
import org.mockito.junit.jupiter.MockitoExtension
1212
import org.opensearch.action.ActionType
1313
import org.opensearch.action.search.SearchResponse
14-
import org.opensearch.client.node.NodeClient
1514
import org.opensearch.common.settings.Settings
1615
import org.opensearch.commons.alerting.action.AcknowledgeAlertRequest
1716
import org.opensearch.commons.alerting.action.AcknowledgeAlertResponse
@@ -46,6 +45,7 @@ import org.opensearch.core.common.io.stream.NamedWriteableRegistry
4645
import org.opensearch.core.rest.RestStatus
4746
import org.opensearch.index.seqno.SequenceNumbers
4847
import org.opensearch.search.SearchModule
48+
import org.opensearch.transport.client.node.NodeClient
4949

5050
@Suppress("UNCHECKED_CAST")
5151
@ExtendWith(MockitoExtension::class)

src/test/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterfaceTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import org.mockito.Mockito.times
1818
import org.mockito.Mockito.verify
1919
import org.mockito.junit.jupiter.MockitoExtension
2020
import org.opensearch.action.ActionType
21-
import org.opensearch.client.node.NodeClient
2221
import org.opensearch.commons.destination.response.LegacyDestinationResponse
2322
import org.opensearch.commons.notifications.action.CreateNotificationConfigRequest
2423
import org.opensearch.commons.notifications.action.CreateNotificationConfigResponse
@@ -50,6 +49,7 @@ import org.opensearch.commons.notifications.model.SeverityType
5049
import org.opensearch.commons.notifications.model.Slack
5150
import org.opensearch.core.action.ActionListener
5251
import org.opensearch.core.rest.RestStatus
52+
import org.opensearch.transport.client.node.NodeClient
5353
import java.time.Instant
5454

5555
@Suppress("UNCHECKED_CAST")

0 commit comments

Comments
 (0)