X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=o2ims%2Fviews%2Falarm_route.py;h=e7a642564c648ed534fc010d3f872a2edc15f87a;hb=6841e2e68f72068374d333723f5b5275bfb98933;hp=8b0af04b85f08ab83ea1359690505fbe1446436b;hpb=e00040ca7c6149995c5883bcd9dd81e02b25d0da;p=pti%2Fo2.git diff --git a/o2ims/views/alarm_route.py b/o2ims/views/alarm_route.py index 8b0af04..e7a6425 100644 --- a/o2ims/views/alarm_route.py +++ b/o2ims/views/alarm_route.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. @@ -140,15 +140,6 @@ class AlarmGetRouter(Resource): raise NotFoundException( "Alarm Event Record {} doesn't exist".format(alarmEventRecordId)) - @api_monitoring_v1.doc('Patch Alarm Event Record Information') - @api_monitoring_v1.marshal_with(model) - def patch(self, alarmEventRecordId): - result = alarm_view.alarm_event_record_ack(alarmEventRecordId, bus.uow) - if result is not None: - return result - raise NotFoundException( - "Alarm Event Record {} doesn't exist".format(alarmEventRecordId)) - # ---------- Alarm Subscriptions ---------- # @api_monitoring_v1.route("/v1/alarmSubscriptions")