Change in ovirt-engine[master]: core: make OsRepository injectable using @Inject

rgolan at redhat.com rgolan at redhat.com
Mon Jan 11 13:37:30 UTC 2016


Roy Golan has submitted this change and it was merged.

Change subject: core: make OsRepository injectable using @Inject
......................................................................


core: make OsRepository injectable using @Inject

Created a producer method to retun the sole enum member implementing the
interface.

This is to reduce usage and stream line tests of OsRepository
dependents and limit the use of SimpleDependencyInjector

Change-Id: I707349d9db85f9ff5d1d77af89f2b2ff50ee5579
Bug-Url: https://bugzilla.redhat.com/1158096
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/OsRepositoryProducer.java
1 file changed, 15 insertions(+), 0 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Roy Golan: Verified; Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/51220
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I707349d9db85f9ff5d1d77af89f2b2ff50ee5579
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list