flag = ProcessRules(req, ref, pol.getServiceLevelAggrements().getSLA().get(i).getRule()); long time = System.currentTimeMillis(); try { log.log(Level.INFO, "SLA violation for the service at " + pol.getURL() + " Transaction ID: " + transactionid + " " + ref.get()); SLACommon.RecordSLAFault(ref, pol.getURL(), transactionid, time, incident, true); SLACommon.ProcessAlerts(ref.get(), ref.get() + "<br>" + GenerateLink(props.getProperty("fgsms.GUI.URL"), pol.getURL(), transactionid), pol.getURL(), transactionid, time, incident, true, false, pol.getServiceLevelAggrements().getSLA().get(i).getAction().getSLAAction(), pol.getServiceLevelAggrements().getSLA().get(i).getGuid(), pol, AlertType.Performance);
if (t) { try { p.ProcessNewTransaction(req.get(i), tid); } catch (Exception ex) { log.log(Level.ERROR, "error caught processing SLAs", ex);
AndOrNot x = (AndOrNot) rule; if (x.getFlag() == JoiningType.AND) { return ProcessRules(get, faultMsg, x.getLHS()) && ProcessRules(get, faultMsg, x.getRHS()); return ProcessRules(get, faultMsg, x.getLHS()) || ProcessRules(get, faultMsg, x.getRHS()); return !ProcessRules(get, faultMsg, x.getLHS());
res.setStatus(DataResponseStatus.SUCCESS); try { p.ProcessNewTransaction(req, tid); } catch (Exception ex) { log.log(Level.ERROR, "error caught processing SLAs", ex);