Roy Golan has posted comments on this change. Change subject: core: Make DwhHeartBeat a BackendService and a CDI bean ......................................................................
Patch Set 3: (1 comment) https://gerrit.ovirt.org/#/c/41038/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/dwh/DwhHeartBeat.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/dwh/DwhHeartBeat.java: Line 43: @OnTimerMethodAnnotation(DWH_HEART_BEAT_METHOD) Line 44: public void engineIsRunningNotification() { Line 45: try { Line 46: heartBeatVar.setDateTime(new Date()); Line 47: DbFacade.getInstance().getDwhHistoryTimekeepingDao().save(heartBeatVar); > Can DAO also be injected? I'm not sure about current status of injecting ob indeed Line 48: } catch (Exception ex) { Line 49: log.error("Error updating DWH Heart Beat: {}", ex.getMessage()); Line 50: log.debug("Exception", ex); Line 51: } -- To view, visit https://gerrit.ovirt.org/41038 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I53589a48f302d6b3711afa144b666a1e1694406e Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <[email protected]> Gerrit-Reviewer: Arik Hadas <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Peřina <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: Roy Golan <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
