test_class.declarator: TEXT_NOTE_SEPERATOR = "; "
test_class.modifier: private static final
test_class.original_string: private static final String TEXT_NOTE_SEPERATOR = "; ";
test_class.type: String
test_class.var_name: TEXT_NOTE_SEPERATOR
test_class.declarator: SUBJECT_SUFFIX_OPEN_EVENT = " is violated."
test_class.modifier: private static final
test_class.original_string: private static final String SUBJECT_SUFFIX_OPEN_EVENT = " is violated.";
test_class.type: String
test_class.var_name: SUBJECT_SUFFIX_OPEN_EVENT
test_class.declarator: SUBJECT_SUFFIX_CLOSE_EVENT = " recovered."
test_class.modifier: private static final
test_class.original_string: private static final String SUBJECT_SUFFIX_CLOSE_EVENT = " recovered.";
test_class.type: String
test_class.var_name: SUBJECT_SUFFIX_CLOSE_EVENT
test_class.declarator: MOCK_CI_CLASS_NAME = "bom.Lb"
test_class.modifier: private static final
test_class.original_string: private static final String MOCK_CI_CLASS_NAME = "bom.Lb";
test_class.type: String
test_class.var_name: MOCK_CI_CLASS_NAME
test_class.declarator: CI_NAME = "mock-ci-name"
test_class.modifier: private static final
test_class.original_string: private static final String CI_NAME = "mock-ci-name";
test_class.type: String
test_class.var_name: CI_NAME
test_class.declarator: antennaClientMock
test_class.modifier: private
test_class.original_string: private ReliableExecutor<NotificationMessage> antennaClientMock;
test_class.type: ReliableExecutor<NotificationMessage>
test_class.var_name: antennaClientMock
test_class.declarator: cmProcessorMock
test_class.modifier: private
test_class.original_string: private CmsCmProcessor cmProcessorMock;
test_class.type: CmsCmProcessor
test_class.var_name: cmProcessorMock
test_class.declarator: envProcessorMock
test_class.modifier: private
test_class.original_string: private EnvPropsProcessor envProcessorMock;
test_class.type: EnvPropsProcessor
test_class.var_name: envProcessorMock
test_class.declarator: CMS_KEY = 123
test_class.modifier: private static final
test_class.original_string: private static final long CMS_KEY = 123;
test_class.type: long
test_class.var_name: CMS_KEY
test_class.declarator: NOT_FOUND_KEY = 13
test_class.modifier: private static final
test_class.original_string: private static final long NOT_FOUND_KEY = 13;
test_class.type: long
test_class.var_name: NOT_FOUND_KEY
test_class.declarator: NOT_CLOSE = "BAD"
test_class.modifier: private static final
test_class.original_string: private static final String NOT_CLOSE = "BAD";
test_class.type: String
test_class.var_name: NOT_CLOSE
test_class.declarator: EXISTING = "existing"
test_class.modifier: private static final
test_class.original_string: private static final String EXISTING = "existing";
test_class.type: String
test_class.var_name: EXISTING
test_class.declarator: NOTIFY = "notify"
test_class.modifier: private static final
test_class.original_string: private static final String NOTIFY = "notify";
test_class.type: String
test_class.var_name: NOTIFY
test_class.declarator: CLOSE = "close"
test_class.modifier: private static final
test_class.original_string: private static final String CLOSE = "close";
test_class.type: String
test_class.var_name: CLOSE
test_class.declarator: NEW = "new"
test_class.modifier: private static final
test_class.original_string: private static final String NEW = "new";
test_class.type: String
test_class.var_name: NEW
test_class.declarator: OPEN = "open"
test_class.modifier: private static final
test_class.original_string: private static final String OPEN = "open";
test_class.type: String
test_class.var_name: OPEN
test_class.declarator: UNHEALTHY = "unhealthy"
test_class.modifier: private static final
test_class.original_string: private static final String UNHEALTHY = "unhealthy";
test_class.type: String
test_class.var_name: UNHEALTHY
test_class.declarator: UNDERUTILIZED = "underutilized"
test_class.modifier: private static final
test_class.original_string: private static final String UNDERUTILIZED = "underutilized";
test_class.type: String
test_class.var_name: UNDERUTILIZED
test_class.declarator: OVERUTILIZED = "overutilized"
test_class.modifier: private static final
test_class.original_string: private static final String OVERUTILIZED = "overutilized";
test_class.type: String
test_class.var_name: OVERUTILIZED
test_class.declarator: GOOD = "good"
test_class.modifier: private static final
test_class.original_string: private static final String GOOD = "good";
test_class.type: String
test_class.var_name: GOOD
test_class.file: opamp/src/test/java/com/oneops/opamp/service/NotificationsTest.java
test_class.identifier: NotificationsTest
test_case.body: @Test
      public void testSendDependsOnUnhealthyNotification(){
  		Notifications noti = new Notifications();
  		noti.setAntennaClient(antennaClientMock);
  		noti.setCmProcessor(cmProcessorMock);
  		noti.setEnvProcessor(envProcessorMock);
  		EventUtil eventUtil = new EventUtil();
  		eventUtil.setGson(new Gson());
  		noti.setEventUtil(eventUtil);
  		CiChangeStateEvent event = getCiChangeEvent(UNHEALTHY, NOTIFY, OPEN, NEW);
  		OpsBaseEvent opsEvent = eventUtil.getOpsEvent(event);
  		NotificationMessage message = noti.sendDependsOnUnhealthyNotification(event);
  		String subject = message.getSubject();
  		String text = message.getText();
  		Assert.assertEquals(subject, getSubjPrefix()+opsEvent.getName()+SUBJECT_SUFFIX_OPEN_EVENT);
  		Assert.assertEquals(text, CI_NAME +" is in "+event.getNewState()+" state"+TEXT_NOTE_SEPERATOR+Notifications.WAITING_ON_DEPENDENT_REPAIR);
  		Assert.assertEquals(message.getSource(),"ops");
  		Assert.assertEquals(message.getPayload().get(Notifications.CLASS_NAME),MOCK_CI_CLASS_NAME);
  		Assert.assertEquals(message.getPayload().get(Notifications.OLD_STATE),NOTIFY);
  		Assert.assertEquals(message.getPayload().get(Notifications.NEW_STATE),UNHEALTHY);
  		Assert.assertEquals(message.getPayload().get(Notifications.STATUS),NEW);
  		Assert.assertEquals(message.getSeverity(), NotificationSeverity.warning);
  		Assert.assertEquals(message.getPayload().get(Notifications.STATE),OPEN);
  	}
test_case.class_method_signature: NotificationsTest.testSendDependsOnUnhealthyNotification()
test_case.full_signature: @Test public void testSendDependsOnUnhealthyNotification()
test_case.identifier: testSendDependsOnUnhealthyNotification
test_case.invocations: setAntennaClient setCmProcessor setEnvProcessor setGson setEventUtil getCiChangeEvent getOpsEvent sendDependsOnUnhealthyNotification getSubject getText assertEquals getSubjPrefix getName assertEquals getNewState assertEquals getSource assertEquals get getPayload assertEquals get getPayload assertEquals get getPayload assertEquals get getPayload assertEquals getSeverity assertEquals get getPayload
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSendDependsOnUnhealthyNotification()
focal_class.declarator: THRESHOLD = "threshold"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String THRESHOLD = "threshold";
focal_class.type: String
focal_class.var_name: THRESHOLD
focal_class.declarator: COLON = ":"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String COLON = ":";
focal_class.type: String
focal_class.var_name: COLON
focal_class.declarator: ADMINSTATUS_ATTRIBUTE_NAME = "adminstatus"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String ADMINSTATUS_ATTRIBUTE_NAME = "adminstatus";
focal_class.type: String
focal_class.var_name: ADMINSTATUS_ATTRIBUTE_NAME
focal_class.declarator: PROFILE_ATTRIBUTE_NAME = "profile"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String PROFILE_ATTRIBUTE_NAME = "profile";
focal_class.type: String
focal_class.var_name: PROFILE_ATTRIBUTE_NAME
focal_class.declarator: STATE = "state"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String STATE = "state";
focal_class.type: String
focal_class.var_name: STATE
focal_class.declarator: CLASS_NAME = "className"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String CLASS_NAME = "className";
focal_class.type: String
focal_class.var_name: CLASS_NAME
focal_class.declarator: NEW_STATE = "newState"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String NEW_STATE = "newState";
focal_class.type: String
focal_class.var_name: NEW_STATE
focal_class.declarator: OLD_STATE = "oldState"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String OLD_STATE = "oldState";
focal_class.type: String
focal_class.var_name: OLD_STATE
focal_class.declarator: METRICS = "metrics"
focal_class.modifier: private static final
focal_class.original_string: private static final String METRICS = "metrics";
focal_class.type: String
focal_class.var_name: METRICS
focal_class.declarator: STATUS = "status"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String STATUS = "status";
focal_class.type: String
focal_class.var_name: STATUS
focal_class.declarator: CI_NAME = "ciName"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String CI_NAME = "ciName";
focal_class.type: String
focal_class.var_name: CI_NAME
focal_class.declarator: EVENT_NAME = "eventName"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String EVENT_NAME = "eventName";
focal_class.type: String
focal_class.var_name: EVENT_NAME
focal_class.declarator: MANAGED_VIA_IP = "IP"
focal_class.modifier: private static final
focal_class.original_string: private static final String MANAGED_VIA_IP = "IP";
focal_class.type: String
focal_class.var_name: MANAGED_VIA_IP
focal_class.declarator: REPAIR_IN_PROGRESS = "Starting repair"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REPAIR_IN_PROGRESS = "Starting repair";
focal_class.type: String
focal_class.var_name: REPAIR_IN_PROGRESS
focal_class.declarator: NOTIFICATION_SOURCE = "ops"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String NOTIFICATION_SOURCE = "ops";
focal_class.type: String
focal_class.var_name: NOTIFICATION_SOURCE
focal_class.declarator: REPAIR_POSTPONED = "Repair procedure postponed due to open release or another procedure."
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REPAIR_POSTPONED = "Repair procedure postponed due to open release or another procedure.";
focal_class.type: String
focal_class.var_name: REPAIR_POSTPONED
focal_class.declarator: REPLACE_NOTIFICATION = "Could not repair, attempting to replace."
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REPLACE_NOTIFICATION = "Could not repair, attempting to replace.";
focal_class.type: String
focal_class.var_name: REPLACE_NOTIFICATION
focal_class.declarator: WAITING_ON_DEPENDENT_REPAIR = "Waiting on dependency repair!"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String WAITING_ON_DEPENDENT_REPAIR = "Waiting on dependency repair!";
focal_class.type: String
focal_class.var_name: WAITING_ON_DEPENDENT_REPAIR
focal_class.declarator: REPAIR_NOT_PERFORMED_INACTIVE_CLOUD = "The Cloud is marked as inactive. No repair performed."
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REPAIR_NOT_PERFORMED_INACTIVE_CLOUD = "The Cloud is marked as inactive. No repair performed.";
focal_class.type: String
focal_class.var_name: REPAIR_NOT_PERFORMED_INACTIVE_CLOUD
focal_class.declarator: REPAIR_DISABLED_IN_THIS_ENVIRONMENT = "Auto-Repair is disabled. No repair performed."
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REPAIR_DISABLED_IN_THIS_ENVIRONMENT = "Auto-Repair is disabled. No repair performed.";
focal_class.type: String
focal_class.var_name: REPAIR_DISABLED_IN_THIS_ENVIRONMENT
focal_class.declarator: REPLACE_POSTPONED_NOTIFICATION = "Auto-replace will be postponed due to an open release or an ongoing deployment"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REPLACE_POSTPONED_NOTIFICATION = "Auto-replace will be postponed due to an open release or an ongoing deployment";
focal_class.type: String
focal_class.var_name: REPLACE_POSTPONED_NOTIFICATION
focal_class.declarator: logger = Logger.getLogger(Notifications.class)
focal_class.modifier: protected static
focal_class.original_string: protected static Logger logger = Logger.getLogger(Notifications.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: SUBJECT_SUFFIX_OPEN_EVENT = " is violated."
focal_class.modifier: protected static final
focal_class.original_string: protected static final String SUBJECT_SUFFIX_OPEN_EVENT = " is violated.";
focal_class.type: String
focal_class.var_name: SUBJECT_SUFFIX_OPEN_EVENT
focal_class.declarator: SUBJECT_SUFFIX_CLOSE_EVENT = " recovered."
focal_class.modifier: protected static final
focal_class.original_string: protected static final String SUBJECT_SUFFIX_CLOSE_EVENT = " recovered.";
focal_class.type: String
focal_class.var_name: SUBJECT_SUFFIX_CLOSE_EVENT
focal_class.declarator: CI_IN_DEFUNCT_STATE_NOTIFICATION = "This component is in defunct state. Trying to auto-replace."
focal_class.modifier: private static final
focal_class.original_string: private static final String CI_IN_DEFUNCT_STATE_NOTIFICATION = "This component is in defunct state. Trying to auto-replace.";
focal_class.type: String
focal_class.var_name: CI_IN_DEFUNCT_STATE_NOTIFICATION
focal_class.declarator: antennaClient
focal_class.modifier: private
focal_class.original_string: private ReliableExecutor<NotificationMessage> antennaClient;
focal_class.type: ReliableExecutor<NotificationMessage>
focal_class.var_name: antennaClient
focal_class.declarator: cmProcessor
focal_class.modifier: private
focal_class.original_string: private CmsCmProcessor cmProcessor;
focal_class.type: CmsCmProcessor
focal_class.var_name: cmProcessor
focal_class.declarator: envProcessor
focal_class.modifier: private
focal_class.original_string: private EnvPropsProcessor envProcessor;
focal_class.type: EnvPropsProcessor
focal_class.var_name: envProcessor
focal_class.declarator: eventUtil
focal_class.modifier: private
focal_class.original_string: private EventUtil eventUtil;
focal_class.type: EventUtil
focal_class.var_name: eventUtil
focal_class.declarator: gson = new Gson()
focal_class.modifier: private
focal_class.original_string: private Gson gson = new Gson();
focal_class.type: Gson
focal_class.var_name: gson
focal_class.file: opamp/src/main/java/com/oneops/opamp/service/Notifications.java
focal_class.identifier: Notifications
focal_class.class_method_signature: Notifications.sendOpsEventNotification(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendOpsEventNotification(CiChangeStateEvent event)
focal_class.identifier: sendOpsEventNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendOpsEventNotification(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.sendOpsEventNotification(
  			CiChangeStateEvent event, String note,
  			NotificationSeverity severity)
focal_class.full_signature: private NotificationMessage sendOpsEventNotification(
  			CiChangeStateEvent event, String note,
  			NotificationSeverity severity)
focal_class.identifier: sendOpsEventNotification
focal_class.modifiers: private
focal_class.parameters: (
  			CiChangeStateEvent event, String note,
  			NotificationSeverity severity)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendOpsEventNotification(
  			CiChangeStateEvent event, String note,
  			NotificationSeverity severity)
focal_class.class_method_signature: Notifications.sendOpsEventNotification(CiChangeStateEvent event, String note,
  			NotificationSeverity severity, Object object)
focal_class.full_signature: private NotificationMessage sendOpsEventNotification(CiChangeStateEvent event, String note,
  			NotificationSeverity severity, Object object)
focal_class.identifier: sendOpsEventNotification
focal_class.modifiers: private
focal_class.parameters: (CiChangeStateEvent event, String note,
  			NotificationSeverity severity, Object object)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendOpsEventNotification(CiChangeStateEvent event, String note,
  			NotificationSeverity severity, Object object)
focal_class.class_method_signature: Notifications.sendOpsEventNotification(CiChangeStateEvent event, String note, 
  			NotificationSeverity severity, String subject, String text, Map<String, Object> payloadEntries)
focal_class.full_signature: public NotificationMessage sendOpsEventNotification(CiChangeStateEvent event, String note, 
  			NotificationSeverity severity, String subject, String text, Map<String, Object> payloadEntries)
focal_class.identifier: sendOpsEventNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String note, 
  			NotificationSeverity severity, String subject, String text, Map<String, Object> payloadEntries)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendOpsEventNotification(CiChangeStateEvent event, String note, 
  			NotificationSeverity severity, String subject, String text, Map<String, Object> payloadEntries)
focal_class.class_method_signature: Notifications.addIpToNotification(CmsCI ci, NotificationMessage notificationMessage)
focal_class.full_signature: private void addIpToNotification(CmsCI ci, NotificationMessage notificationMessage)
focal_class.identifier: addIpToNotification
focal_class.modifiers: private
focal_class.parameters: (CmsCI ci, NotificationMessage notificationMessage)
focal_class.return: void
focal_class.signature: void addIpToNotification(CmsCI ci, NotificationMessage notificationMessage)
focal_class.class_method_signature: Notifications.sendUnhealthyNotificationNoRepair(OpsBaseEvent opsEvent)
focal_class.full_signature: public void sendUnhealthyNotificationNoRepair(OpsBaseEvent opsEvent)
focal_class.identifier: sendUnhealthyNotificationNoRepair
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent opsEvent)
focal_class.return: void
focal_class.signature: void sendUnhealthyNotificationNoRepair(OpsBaseEvent opsEvent)
focal_class.class_method_signature: Notifications.sendUnhealthyNotificationInactiveCloud(OpsBaseEvent opsEvent)
focal_class.full_signature: public void sendUnhealthyNotificationInactiveCloud(OpsBaseEvent opsEvent)
focal_class.identifier: sendUnhealthyNotificationInactiveCloud
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent opsEvent)
focal_class.return: void
focal_class.signature: void sendUnhealthyNotificationInactiveCloud(OpsBaseEvent opsEvent)
focal_class.class_method_signature: Notifications.sendFlexNotificationInactiveCloud(CiChangeStateEvent event, String state)
focal_class.full_signature: public void sendFlexNotificationInactiveCloud(CiChangeStateEvent event, String state)
focal_class.identifier: sendFlexNotificationInactiveCloud
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String state)
focal_class.return: void
focal_class.signature: void sendFlexNotificationInactiveCloud(CiChangeStateEvent event, String state)
focal_class.class_method_signature: Notifications.sendFlexNotificationNoRepair(CiChangeStateEvent event, String state)
focal_class.full_signature: public void sendFlexNotificationNoRepair(CiChangeStateEvent event, String state)
focal_class.identifier: sendFlexNotificationNoRepair
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String state)
focal_class.return: void
focal_class.signature: void sendFlexNotificationNoRepair(CiChangeStateEvent event, String state)
focal_class.class_method_signature: Notifications.sendFlexNotificationLimitIsReached(CiChangeStateEvent event, String state)
focal_class.full_signature: public void sendFlexNotificationLimitIsReached(CiChangeStateEvent event, String state)
focal_class.identifier: sendFlexNotificationLimitIsReached
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String state)
focal_class.return: void
focal_class.signature: void sendFlexNotificationLimitIsReached(CiChangeStateEvent event, String state)
focal_class.class_method_signature: Notifications.sendFlexNotificationProcessing(CiChangeStateEvent event, String state, int step)
focal_class.full_signature: public void sendFlexNotificationProcessing(CiChangeStateEvent event, String state, int step)
focal_class.identifier: sendFlexNotificationProcessing
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String state, int step)
focal_class.return: void
focal_class.signature: void sendFlexNotificationProcessing(CiChangeStateEvent event, String state, int step)
focal_class.class_method_signature: Notifications.sendFlexNotificationErrorProcessing(CiChangeStateEvent event, String state, String error)
focal_class.full_signature: public void sendFlexNotificationErrorProcessing(CiChangeStateEvent event, String state, String error)
focal_class.identifier: sendFlexNotificationErrorProcessing
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String state, String error)
focal_class.return: void
focal_class.signature: void sendFlexNotificationErrorProcessing(CiChangeStateEvent event, String state, String error)
focal_class.class_method_signature: Notifications.sendFlexNotificationPostponeProcessing(CiChangeStateEvent event, String state)
focal_class.full_signature: public void sendFlexNotificationPostponeProcessing(CiChangeStateEvent event, String state)
focal_class.identifier: sendFlexNotificationPostponeProcessing
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, String state)
focal_class.return: void
focal_class.signature: void sendFlexNotificationPostponeProcessing(CiChangeStateEvent event, String state)
focal_class.class_method_signature: Notifications.sendGoodNotification(CiChangeStateEvent event)
focal_class.full_signature: public void sendGoodNotification(CiChangeStateEvent event)
focal_class.identifier: sendGoodNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: void
focal_class.signature: void sendGoodNotification(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent)
focal_class.full_signature: public void sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent)
focal_class.identifier: sendDependsOnUnhealthyNotification
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent opsEvent)
focal_class.return: void
focal_class.signature: void sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent)
focal_class.class_method_signature: Notifications.sendRepairNotification(OpsBaseEvent opsEvent)
focal_class.full_signature: public void sendRepairNotification(OpsBaseEvent opsEvent)
focal_class.identifier: sendRepairNotification
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent opsEvent)
focal_class.return: void
focal_class.signature: void sendRepairNotification(OpsBaseEvent opsEvent)
focal_class.class_method_signature: Notifications.sendReplaceNotification(OpsBaseEvent opsEvent)
focal_class.full_signature: public void sendReplaceNotification(OpsBaseEvent opsEvent)
focal_class.identifier: sendReplaceNotification
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent opsEvent)
focal_class.return: void
focal_class.signature: void sendReplaceNotification(OpsBaseEvent opsEvent)
focal_class.class_method_signature: Notifications.sendPostponedRepairNotification(OpsBaseEvent event)
focal_class.full_signature: public void sendPostponedRepairNotification(OpsBaseEvent event)
focal_class.identifier: sendPostponedRepairNotification
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent event)
focal_class.return: void
focal_class.signature: void sendPostponedRepairNotification(OpsBaseEvent event)
focal_class.class_method_signature: Notifications.sendPostponedReplaceNotification(OpsBaseEvent event)
focal_class.full_signature: public void sendPostponedReplaceNotification(OpsBaseEvent event)
focal_class.identifier: sendPostponedReplaceNotification
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent event)
focal_class.return: void
focal_class.signature: void sendPostponedReplaceNotification(OpsBaseEvent event)
focal_class.class_method_signature: Notifications.sendSimpleCiNotification(CmsCI ci, NotificationSeverity severity, String subject, String text, String eventName, long manifestCiId)
focal_class.full_signature: private void sendSimpleCiNotification(CmsCI ci, NotificationSeverity severity, String subject, String text, String eventName, long manifestCiId)
focal_class.identifier: sendSimpleCiNotification
focal_class.modifiers: private
focal_class.parameters: (CmsCI ci, NotificationSeverity severity, String subject, String text, String eventName, long manifestCiId)
focal_class.return: void
focal_class.signature: void sendSimpleCiNotification(CmsCI ci, NotificationSeverity severity, String subject, String text, String eventName, long manifestCiId)
focal_class.class_method_signature: Notifications.buildNotificationPrefix(String nsPath)
focal_class.full_signature: private String buildNotificationPrefix(String nsPath)
focal_class.identifier: buildNotificationPrefix
focal_class.modifiers: private
focal_class.parameters: (String nsPath)
focal_class.return: String
focal_class.signature: String buildNotificationPrefix(String nsPath)
focal_class.class_method_signature: Notifications.sendRepairCriticalNotification(OpsBaseEvent opsEvent)
focal_class.full_signature: public void sendRepairCriticalNotification(OpsBaseEvent opsEvent)
focal_class.identifier: sendRepairCriticalNotification
focal_class.modifiers: public
focal_class.parameters: (OpsBaseEvent opsEvent)
focal_class.return: void
focal_class.signature: void sendRepairCriticalNotification(OpsBaseEvent opsEvent)
focal_class.class_method_signature: Notifications.sendRepairNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.full_signature: public NotificationMessage sendRepairNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.identifier: sendRepairNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendRepairNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.class_method_signature: Notifications.sendPostponedRepairNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.full_signature: public NotificationMessage sendPostponedRepairNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.identifier: sendPostponedRepairNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendPostponedRepairNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.class_method_signature: Notifications.sendDependsOnUnhealthyNotification(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendDependsOnUnhealthyNotification(CiChangeStateEvent event)
focal_class.identifier: sendDependsOnUnhealthyNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendDependsOnUnhealthyNotification(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.sendUnhealthyNotificationInactiveCloud(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendUnhealthyNotificationInactiveCloud(CiChangeStateEvent event)
focal_class.identifier: sendUnhealthyNotificationInactiveCloud
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendUnhealthyNotificationInactiveCloud(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.sendUnhealthyNotificationNoRepair(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendUnhealthyNotificationNoRepair(CiChangeStateEvent event)
focal_class.identifier: sendUnhealthyNotificationNoRepair
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendUnhealthyNotificationNoRepair(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.sendRepairCriticalNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.full_signature: public NotificationMessage sendRepairCriticalNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.identifier: sendRepairCriticalNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendRepairCriticalNotification(CiChangeStateEvent event, Map<String, String> payloadEntries)
focal_class.class_method_signature: Notifications.sendPostponedReplaceNotification(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendPostponedReplaceNotification(CiChangeStateEvent event)
focal_class.identifier: sendPostponedReplaceNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendPostponedReplaceNotification(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.sendReplaceNotification(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendReplaceNotification(CiChangeStateEvent event)
focal_class.identifier: sendReplaceNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendReplaceNotification(CiChangeStateEvent event)
focal_class.class_method_signature: Notifications.getEventUtil()
focal_class.full_signature: public EventUtil getEventUtil()
focal_class.identifier: getEventUtil
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EventUtil
focal_class.signature: EventUtil getEventUtil()
focal_class.class_method_signature: Notifications.setEventUtil(EventUtil eventUtil)
focal_class.full_signature: public void setEventUtil(EventUtil eventUtil)
focal_class.identifier: setEventUtil
focal_class.modifiers: public
focal_class.parameters: (EventUtil eventUtil)
focal_class.return: void
focal_class.signature: void setEventUtil(EventUtil eventUtil)
focal_class.class_method_signature: Notifications.setAntennaClient(ReliableExecutor<NotificationMessage> antennaClient)
focal_class.full_signature: public void setAntennaClient(ReliableExecutor<NotificationMessage> antennaClient)
focal_class.identifier: setAntennaClient
focal_class.modifiers: public
focal_class.parameters: (ReliableExecutor<NotificationMessage> antennaClient)
focal_class.return: void
focal_class.signature: void setAntennaClient(ReliableExecutor<NotificationMessage> antennaClient)
focal_class.class_method_signature: Notifications.setCmProcessor(CmsCmProcessor cmProcessor)
focal_class.full_signature: public void setCmProcessor(CmsCmProcessor cmProcessor)
focal_class.identifier: setCmProcessor
focal_class.modifiers: public
focal_class.parameters: (CmsCmProcessor cmProcessor)
focal_class.return: void
focal_class.signature: void setCmProcessor(CmsCmProcessor cmProcessor)
focal_class.class_method_signature: Notifications.getEnvProcessor()
focal_class.full_signature: public EnvPropsProcessor getEnvProcessor()
focal_class.identifier: getEnvProcessor
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EnvPropsProcessor
focal_class.signature: EnvPropsProcessor getEnvProcessor()
focal_class.class_method_signature: Notifications.setEnvProcessor(EnvPropsProcessor envProcessor)
focal_class.full_signature: public void setEnvProcessor(EnvPropsProcessor envProcessor)
focal_class.identifier: setEnvProcessor
focal_class.modifiers: public
focal_class.parameters: (EnvPropsProcessor envProcessor)
focal_class.return: void
focal_class.signature: void setEnvProcessor(EnvPropsProcessor envProcessor)
focal_class.class_method_signature: Notifications.sendDefunctNotification(CiChangeStateEvent event)
focal_class.full_signature: public NotificationMessage sendDefunctNotification(CiChangeStateEvent event)
focal_class.identifier: sendDefunctNotification
focal_class.modifiers: public
focal_class.parameters: (CiChangeStateEvent event)
focal_class.return: NotificationMessage
focal_class.signature: NotificationMessage sendDefunctNotification(CiChangeStateEvent event)
focal_method.body: public void sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent) {
  		long ciId = opsEvent.getCiId();
  		CmsCI ci = cmProcessor.getCiById(ciId);
  		if (ci == null) {
  			logger.error("Can not get CmsCI for id - " + ciId);
  			return;
  		}
  
  		String text = buildNotificationPrefix(ci.getNsPath()) + " ci: " + ci.getCiName() + " is unhealthy,  waiting on dependency repair!";
  		long manifestCiId = opsEvent.getManifestId();
  
  		sendSimpleCiNotification(ci, NotificationSeverity.warning, ci.getCiName() + " is unhealthy!", text, (opsEvent != null) ? opsEvent.getSource() : null, manifestCiId);
  	}
focal_method.class_method_signature: Notifications.sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent)
focal_method.full_signature: public void sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent)
focal_method.identifier: sendDependsOnUnhealthyNotification
focal_method.invocations: getCiId getCiById error buildNotificationPrefix getNsPath getCiName getManifestId sendSimpleCiNotification getCiName getSource
focal_method.modifiers: public
focal_method.parameters: (OpsBaseEvent opsEvent)
focal_method.return: void
focal_method.signature: void sendDependsOnUnhealthyNotification(OpsBaseEvent opsEvent)