Fix the alarm exception about the alarmDefinition 47/13147/1 2.0.4
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Mon, 1 Jul 2024 15:19:44 +0000 (23:19 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Tue, 2 Jul 2024 02:49:27 +0000 (10:49 +0800)
commit6748085fe78a9ab979d9f29cde6440f7da63d711
treed8c2f2f10d23d14640ca8084d13753a489c9246b
parentdefeb292d90ce07556f0dc6d5f9ab0d16d760e42
Fix the alarm exception about the alarmDefinition

When the alarm is inserted into the database, the alarmDefinition does
not exist a definition to mapping with alarm. It will throw an
exception.

This commit will add the new alarm definitions.

Test Case:
PASS - Test a new alarm without definition before, it worked as
       expect.

Issue-ID: INF-478

Change-Id: I201806298270f0df5ca035768d08efb1add1ab8e
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
configs/events.yaml [changed mode: 0755->0644]