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/03/18 18:45:33 UTC
[jira] [Commented] (AMBARI-15445) Alerts: Allow alerts to emit a
structured response
[ https://issues.apache.org/jira/browse/AMBARI-15445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201852#comment-15201852 ]
Hudson commented on AMBARI-15445:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #4509 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4509/])
AMBARI-15445. Alerts: Allow alerts to emit a structured (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=711e64ac0b01a134bd46f1527931827a030a9a2b])
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinition.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProviderTest.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity_.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionFactory.java
> Alerts: Allow alerts to emit a structured response
> --------------------------------------------------
>
> Key: AMBARI-15445
> URL: https://issues.apache.org/jira/browse/AMBARI-15445
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Fix For: 2.4.0
>
> Attachments: AMBARI-15445.patch
>
>
> For some alerts, having the ability to include a link in the response would be incredibly beneficial. Having a structured response format would allow alert creators to add links that operators could click on to help give more context around an alert, or point to a remediation step. Something like:
> {code}
> {
> "response": "There were more than 5 soft limits reached in the past 10 minutes. Please click the link to see the log file.",
> "href": "http://some.server/other/stuff"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)