Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Revert "Add the PATCH method for the monitoring API""
[pti/o2.git]
/
o2ims
/
service
/
event
/
alarm_event.py
diff --git
a/o2ims/service/event/alarm_event.py
b/o2ims/service/event/alarm_event.py
index
ff005d6
..
5e80668
100644
(file)
--- a/
o2ims/service/event/alarm_event.py
+++ b/
o2ims/service/event/alarm_event.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2021
-2024
Wind River Systems, Inc.
+# Copyright (C) 2021 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-28,13
+28,3
@@
def notify_alarm_event_change(
publish("AlarmEventChanged", event)
logger.debug("published Alarm Event Changed: {}".format(
event.id))
publish("AlarmEventChanged", event)
logger.debug("published Alarm Event Changed: {}".format(
event.id))
-
-
-def notify_alarm_event_purge(
- event: events.AlarmEventPurged,
- publish: Callable,
-):
- logger.debug('In notify_alarm_event_purge')
- publish("AlarmEventPurged", event)
- logger.debug("published Alarm Event Purged: {}".format(
- event.id))