public String firePushEventAction(HttpServletRequest request, HttpServletResponse response) {
String dataSourceId = null;
try {
dataSourceId = request.getParameter("dataSourceId");
PushContext pushContext = PushContext.getInstance(request.getSession().getServletContext());
pushContext.push(dataSourceId);
response.setStatus(HttpServletResponse.SC_OK);
} catch (Exception e) {
log.error("error while firing Push Event for dataSourceId: " + dataSourceId, e);
response.setStatus(HttpServletResponse.SC_CONFLICT);
}