LN0739_FM_FR8: relaxing the active alarm and alarm history restrictions
[ric-plt/alarm-go.git] / manager / cmd / types.go
index 68b9e0d..40a110f 100755 (executable)
@@ -27,15 +27,18 @@ import (
 )
 
 type AlarmManager struct {
-       amHost        string
-       amBaseUrl     string
-       amSchemes     []string
-       alertInterval int
-       activeAlarms  []alarm.AlarmMessage
-       alarmHistory  []alarm.AlarmMessage
-       mutex         sync.Mutex
-       rmrReady      bool
-       postClear     bool
+       amHost          string
+       amBaseUrl       string
+       amSchemes       []string
+       alertInterval   int
+       activeAlarms    []alarm.AlarmMessage
+       alarmHistory    []alarm.AlarmMessage
+       mutex           sync.Mutex
+       rmrReady        bool
+       postClear       bool
+       maxActiveAlarms int
+       maxAlarmHistory int
+       alarmClient     *alarm.RICAlarm
 }
 
 type AlertStatus string
@@ -47,3 +50,4 @@ const (
 
 var Version string
 var Hash string
+