<br><font size=2 face="sans-serif">Hi Vitrages,</font>
<br>
<br><font size=2 face="sans-serif">Currently there are four aodh alarm
notifications we need to handle:</font>
<br><font size=2 face="Courier New"><i>'alarm.creation'</i></font><font size=3><b><i>,
</i></b></font><font size=2 face="Courier New"><i>'alarm.rule_change'</i></font><font size=3><b><i>,
</i></b></font><font size=2 face="Courier New"><i>'alarm.state_transition'</i></font><font size=3><b><i>,
</i></b></font><font size=2 face="Courier New"><i>'alarm.deletion'</i></font>
<br>
<br><font size=2 face="Courier New">Only the alarm.creation notification
carries the alarm detail info. </font>
<br><font size=2 face="Courier New">So we need to cache the alarm info.</font>
<br><font size=2 face="Courier New">When we receive other notifications,
we can fill all fields from the cache.</font>
<br>
<br><font size=2 face="Courier New">But if the alarm creates before vitrage
servies startup, we can't get the alarm.creation notification.</font>
<br><font size=2 face="Courier New">So we need to get_all when vitrage
services startup.</font>
<br><font size=2 face="Courier New">As `SnapshotsService` will get all
alarms info when it startup.</font>
<br><font size=2 face="Courier New">But `SnapshotsService` and <b>`</b>ListenerService`
are two services, </font>
<br><font size=2 face="Courier New">they can't share the cache data unless
they communicate with each other.</font>
<br><font size=2 face="Courier New">This wil be a big change. </font>
<br>
<br><font size=2 face="Courier New">Are there any other better solutions?
I need some help, thanks :)</font>
<br>
<br><font size=2 face="Courier New">BR,</font>
<br><font size=2 face="Courier New">dwj</font>