Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Rename actions #256

Merged
merged 3 commits into from
Sep 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ import org.elasticsearch.action.ActionType
class AcknowledgeAlertAction private constructor() : ActionType<AcknowledgeAlertResponse>(NAME, ::AcknowledgeAlertResponse) {
companion object {
val INSTANCE = AcknowledgeAlertAction()
val NAME = "cluster:admin/alerting/alerts/ack"
val NAME = "cluster:admin/opendistro/alerting/alerts/ack"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ import org.elasticsearch.action.delete.DeleteResponse
class DeleteDestinationAction private constructor() : ActionType<DeleteResponse>(NAME, ::DeleteResponse) {
companion object {
val INSTANCE = DeleteDestinationAction()
val NAME = "cluster:admin/alerting/destination/delete"
val NAME = "cluster:admin/opendistro/alerting/destination/delete"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ import org.elasticsearch.action.delete.DeleteResponse
class DeleteMonitorAction private constructor() : ActionType<DeleteResponse>(NAME, ::DeleteResponse) {
companion object {
val INSTANCE = DeleteMonitorAction()
val NAME = "cluster:admin/alerting/monitor/delete"
val NAME = "cluster:admin/opendistro/alerting/monitor/delete"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ import org.elasticsearch.action.ActionType
class ExecuteMonitorAction private constructor() : ActionType<ExecuteMonitorResponse>(NAME, ::ExecuteMonitorResponse) {
companion object {
val INSTANCE = ExecuteMonitorAction()
val NAME = "cluster:admin/alerting/monitor/execute"
val NAME = "cluster:admin/opendistro/alerting/monitor/execute"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ import org.elasticsearch.action.ActionType
class GetMonitorAction private constructor() : ActionType<GetMonitorResponse>(NAME, ::GetMonitorResponse) {
companion object {
val INSTANCE = GetMonitorAction()
val NAME = "cluster:admin/alerting/monitor/get"
val NAME = "cluster:admin/opendistro/alerting/monitor/get"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ import org.elasticsearch.action.ActionType
class IndexDestinationAction private constructor() : ActionType<IndexDestinationResponse>(NAME, ::IndexDestinationResponse) {
companion object {
val INSTANCE = IndexDestinationAction()
val NAME = "cluster:admin/alerting/destination/write"
val NAME = "cluster:admin/opendistro/alerting/destination/write"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ import org.elasticsearch.action.ActionType
class IndexMonitorAction private constructor() : ActionType<IndexMonitorResponse>(NAME, ::IndexMonitorResponse) {
companion object {
val INSTANCE = IndexMonitorAction()
val NAME = "cluster:admin/alerting/monitor/write"
val NAME = "cluster:admin/opendistro/alerting/monitor/write"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ import org.elasticsearch.action.search.SearchResponse
class SearchMonitorAction private constructor() : ActionType<SearchResponse>(NAME, ::SearchResponse) {
companion object {
val INSTANCE = SearchMonitorAction()
val NAME = "cluster:admin/alerting/monitor/search"
val NAME = "cluster:admin/opendistro/alerting/monitor/search"
}
}