GitHub user haoch opened a pull request:
https://github.com/apache/incubator-eagle/pull/493
[EAGLE-556] Install/Update Alert Topology Metadata when start alert engine
Currently alert engine requires additional metadata like TopologyMeta,
which in fact could be automatically generated during starting alert engine.
*Changes*
* Add "ApplicationListener" in ApplicationProvider to support extensible
application lifecycle management callback listener
* Implement AlertUnitTopologyAppListener to add topology metadata when
topology is running and remove topology metadata when topology is stopped
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/haoch/incubator-eagle EAGLE-556
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/493.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #493
----
commit aa88bea11a4b7cb0b488c4b4defcac5b7a27aee4
Author: Hao Chen <[email protected]>
Date: 2016-10-11T08:46:25Z
Add application listener
commit bce38f0c8625761b7c1d33bea4a3ec0c203694c2
Author: Hao Chen <[email protected]>
Date: 2016-10-11T08:47:21Z
Fix conflict on executable flag
commit 6c2dae7744baf7796fa9c01119cd132a6c986b6f
Author: Hao Chen <[email protected]>
Date: 2016-10-11T09:37:39Z
Integrate ApplicationListener with ApplicationManagementService
commit 84bff0330c6a8371d57f9737f3564c6c274bc090
Author: Hao Chen <[email protected]>
Date: 2016-10-11T15:41:21Z
Add application listener framework and support setup topology metadata
* Add topology metadata when topology is running
* Remove topology metadata when topology is stopped
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---