Liran Zelkha has posted comments on this change. Change subject: core: make DbFacade a CDI singleton ......................................................................
Patch Set 15: (1 comment) http://gerrit.ovirt.org/#/c/34814/15/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/DbFacadeLocator.java File backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/DbFacadeLocator.java: Line 16: import org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator; Line 17: Line 18: /** Line 19: * A locator singleton for looking up (and initializing) DbFacade instance Line 20: */ > Done Without it the unit test doesn't recognize the bean. any suggestions? Line 21: @Named Line 22: @Singleton Line 23: public class DbFacadeLocator { Line 24: private static final Logger log = LoggerFactory.getLogger(DbFacadeLocator.class); -- To view, visit http://gerrit.ovirt.org/34814 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic9e57710ce8353af020cb5ae53e43b127276d6c6 Gerrit-PatchSet: 15 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches