Change in ovirt-engine[master]: restapi: backward compatibility for cluster's scheduling pol...

Gilad Chaplik has submitted this change and it was merged. Change subject: restapi: backward compatibility for cluster's scheduling policy ...................................................................... restapi: backward compatibility for cluster's scheduling policy The engine implementation for cluster policy has changed, thus changing the cluster mapper to handle it, without breaking compatibility. * scheduling_policy_type will be mapped to cluster_policy_name and vice-versa. * thresholds will be mapped to properties map and vice-versa. * also, currently in case of 'none' policy, user will see: <scheduling_policy/> altered the mapper to show 'none' instead of empty entity. Change-Id: I4edd7313401670ca225b32d19dd7ad961ccd1b6a Signed-off-by: Gilad Chaplik <gchaplik@redhat.com> --- M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/ClusterMapperTest.java 2 files changed, 40 insertions(+), 49 deletions(-) Approvals: Gilad Chaplik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/16607 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4edd7313401670ca225b32d19dd7ad961ccd1b6a Gerrit-PatchSet: 20 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Gilad Chaplik <gchaplik@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfediuck@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchaplik@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpastern@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
gchaplik@redhat.com