You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/05/10 15:06:12 UTC
[jira] [Commented] (AMBARI-16277) Alert Targets Should Be Allowed
To Be Disabled Without Deleting Them
[ https://issues.apache.org/jira/browse/AMBARI-16277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278238#comment-15278238 ]
Hudson commented on AMBARI-16277:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4815 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4815/])
AMBARI-16277 - Alert Targets Should Be Allowed To Be Disabled Without (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c39996a572d8018dd96d85613f5b411e998d8e2a])
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertStateChangedEventTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity_.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertStateChangedListener.java
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertTarget.java
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
> Alert Targets Should Be Allowed To Be Disabled Without Deleting Them
> --------------------------------------------------------------------
>
> Key: AMBARI-16277
> URL: https://issues.apache.org/jira/browse/AMBARI-16277
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.4.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Fix For: 2.4.0
>
> Attachments: AMBARI-16277.patch
>
>
> Alert targets cannot currently be disabled. In order to temporarily stop alerts, the following actions are required:
> - Deleting the alert target
> - Removing all states from an alert target
> - Changing the properties of an alert target to make it invalid
> - Placing the entire cluster into Maintenance Mode
> In each case, the state of the system is being changed to achieve a side-effect.
> Alert targets should support being disabled as a first class action.
> {code}
> PUT api/v1/alert_targets/1
> {
> "AlertTarget": {
> "enabled": false
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)