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

tnisan at redhat.com tnisan at redhat.com
Sun Jan 17 12:49:16 UTC 2016


Tal Nisan 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
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I707349d9db85f9ff5d1d77af89f2b2ff50ee5579
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list