This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hawkular-464 Deployment Failure Event Alerting
Add alert generation for failed deployments. - New src-deps versions for component enhancements to support this - with mazz, enhanced bus-commons with better classloading/deserialization support for MDBs - with mazz, enhanced command-gateway to support multiple commands on ws responses, now can notify UI and put a response on the bus - enhanced alerts to consume ws deploy app response messages on bus and generate events - Added new trigger definition on app-servers to fire on a failed deployment event - note, also storing successful deployment events for future use/display - Added new UI support for 'Event' trigger-type and DEPLOYMENT_FAIL alert-type Also: - fixed time-window bug in getAlerts query for some trigger types - make bus-commons dep provided (by nest) for pinger - make bus-commons dep provided (by nest) for avail-creator - up src revision slightly for accounts to get the longer grace period for c* connection
- Loading branch information
Showing
15 changed files
with
382 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
console/src/main/scripts/plugins/metrics/html/triggers/event.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<div class="hk-alert-center-detail"> | ||
|
||
<div class="hk-screen-top-nav"> | ||
<div class="container"> | ||
<div class="row hk-top-row"> | ||
<div class="col-xs-6"> | ||
<a href="/hawkular-ui/alerts-center-triggers" class="back">« All Definitions</a> | ||
</div> | ||
</div> | ||
<div class="hk-heading"> | ||
<h1 class="offset-panels">Alert Definition Details</h1> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
|
||
<div class="row"> | ||
<div class="col-lg-9 col-md-8"> | ||
<div class="panel panel-default clearfix"> | ||
<div class="panel-heading"> | ||
<h2>{{tc.adm.trigger.name}}</h2> | ||
</div> | ||
<div class="panel-body"> | ||
<form class="form-horizontal"> | ||
<div ng-include="'plugins/metrics/html/partials/trigger-general-setup.html'"></div> | ||
|
||
<h3>Alert Settings</h3> | ||
|
||
<fieldset> | ||
{{tc.adm.trigger.conditionContext.description !== '' ? | ||
tc.adm.trigger.conditionContext.description : "Event"}} | ||
</fieldset> | ||
|
||
<hk-fieldset-notification hk-alert-email="tc.adm.trigger.email"></hk-fieldset-notification> | ||
</form> | ||
|
||
<div class="form-actions hk-form-actions-separator text-right"> | ||
<a type="button" class="btn btn-default" ng-href="{{tc.cancel()}}" class="button">Cancel</a> | ||
<button type="button" class="btn btn-primary" ng-click="tc.save()" | ||
ng-disabled="tc.saveProgress || !tc.isSettingChange"> | ||
<div ng-show="tc.saveProgress" class="spinner spinner-xs hk-modal-spinner"></div> | ||
Save | ||
</button> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
<div ng-include="'plugins/metrics/html/partials/trigger-alerts-sidebar.html'"></div> | ||
|
||
</div> <!-- row --> | ||
|
||
</div> <!-- container --> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.