-var RICAlarmDefinitions = map[int]AlarmDefinition{
- RIC_RT_DISTRIBUTION_FAILED: AlarmDefinition{
- AlarmId: RIC_RT_DISTRIBUTION_FAILED,
- AlarmText: "RIC ROUTING TABLE DISTRIBUTION FAILED",
- EventType: "Processing error",
- OperationInstructions: "Not defined",
- },
- TCP_CONNECTIVITY_LOST_TO_DBAAS: AlarmDefinition{
- AlarmId: TCP_CONNECTIVITY_LOST_TO_DBAAS,
- AlarmText: "TCP CONNECTIVITY LOST TO DBAAS",
- EventType: "Communication error",
- OperationInstructions: "Not defined",
- },
- E2_CONNECTIVITY_LOST_TO_GNODEB: AlarmDefinition{
- AlarmId: E2_CONNECTIVITY_LOST_TO_GNODEB,
- AlarmText: "E2 CONNECTIVITY LOST TO G-NODEB",
- EventType: "Communication error",
- OperationInstructions: "Not defined",
- },
- E2_CONNECTIVITY_LOST_TO_ENODEB: AlarmDefinition{
- AlarmId: E2_CONNECTIVITY_LOST_TO_ENODEB,
- AlarmText: "E2 CONNECTIVITY LOST TO E-NODEB",
- EventType: "Communication error",
- OperationInstructions: "Not defined",
- },
-}
+var RICAlarmDefinitions map[int]*AlarmDefinition
+var RICPerfAlarmObjects map[int]*Alarm
+
+var (
+ namespace = os.Getenv("PLT_NAMESPACE")
+ ALARM_MANAGER_HTTP_URL string = fmt.Sprintf("http://service-%s-alarmmanager-http.%s:8080", namespace, namespace)
+ ALARM_MANAGER_RMR_URL string = fmt.Sprintf("service-%s-alarmmanager-rmr.%s:4560", namespace, namespace)
+)