Change in ovirt-engine[ovirt-engine-3.3]: engine: policy unit should contain single logic

dfediuck at redhat.com dfediuck at redhat.com
Wed Aug 28 11:22:32 UTC 2013


Doron Fediuck has submitted this change and it was merged.

Change subject: engine: policy unit should contain single logic
......................................................................


engine: policy unit should contain single logic

Utill now policy unit could hold logic for filtering, weighing or
balancing (one or more). in this patch each policy unit could hold a
single logic, according to a type field (enum) added to the entity.

Change-Id: Ia6f1d88c7c9bbc600dba0199a7cab27d914c68f4
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/PolicyUnitImpl.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/commands/ClusterPolicyCRUDCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/scheduling/PolicyUnit.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/scheduling/PolicyUnitType.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/scheduling/ClusterPolicyDaoImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/scheduling/PolicyUnitDaoImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/PolicyUnitDaoTest.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/scheduling/ClusterPolicyListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/scheduling/NewClusterPolicyModel.java
M packaging/dbscripts/cluster_policy_sp.sql
A packaging/dbscripts/upgrade/03_03_0650_allow_single_logic_for_policy_unit.sql
12 files changed, 112 insertions(+), 148 deletions(-)

Approvals:
  Doron Fediuck: Looks good to me, approved
  Gilad Chaplik: Verified



-- 
To view, visit http://gerrit.ovirt.org/18549
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6f1d88c7c9bbc600dba0199a7cab27d914c68f4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>



More information about the Engine-commits mailing list