Change in ovirt-engine[ovirt-engine-3.6]: restapi: Support policy tag in ClusterPolicy

tnisan at redhat.com tnisan at redhat.com
Mon Nov 9 12:09:20 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Support policy tag in ClusterPolicy
......................................................................


restapi: Support policy tag in ClusterPolicy

For backward compatibility allow to set the policy tag as an alternative
to the name tag. Name will always be preferred if both are provided.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1176820
Change-Id: I159b412bdea4b58701ffa1c4fc921503f0e776b5
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/SchedulingPolicyMapper.java
M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/SchedulingPolicyMapperTest.java
2 files changed, 20 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, approved
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I159b412bdea4b58701ffa1c4fc921503f0e776b5
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list