-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add trap desc mapping and change alert_lists sequence_number to match_key #543
Conversation
add trap desc mapping and change alert_lists sequence_number to match…
Codecov Report
@@ Coverage Diff @@
## master #543 +/- ##
==========================================
+ Coverage 71.06% 71.08% +0.01%
==========================================
Files 137 138 +1
Lines 10622 10629 +7
Branches 1190 1191 +1
==========================================
+ Hits 7549 7556 +7
Misses 2692 2692
Partials 381 381
|
@@ -119,13 +125,14 @@ def parse_queried_alerts(self, alert_model_list, alert_dict, query_para): | |||
constants.Severity.INFORMATIONAL) | |||
alert_model['category'] = constants.Category.FAULT | |||
alert_model['type'] = constants.EventType.EQUIPMENT_ALARM | |||
alert_model['sequence_number'] = content.get('id') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please keep sequense_number here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Merge pull request #58 from tanjiangyu-ghca/unity0401
add trap desc mapping and add match_key to unity alert
add trap desc mapping and add match_key to unity alert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does / why we need it:
1.add trap desc mapping;
2. change alert_lists sequence_number to match_ke.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: