Change in ovirt-engine[master]: restapi: V3 compatibility support for scheduling policies

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Feb 15 19:06:51 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: V3 compatibility support for scheduling policies
......................................................................


restapi: V3 compatibility support for scheduling policies

In version 4 of the API the support for specifying the scheduling policy
name and parameters as part of the cluster was removed. Instead of that
now it is necessary to specify the identifier of a previously created
scheduling policy. Now that the API supports multiple versions this
support can be rea-added without modifying the V4 implementation. If the
identifier of the scheduling policy isn't provided, the server will
automatically select a scheduling policy that is compatible with the
parameters given by the caller. If no such scheduling policy exists an
error response will be generated.

Change-Id: Ied469fb1b00130c5a2ea21409d3d4157bb844a73
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3ClusterOutAdapter.java
A backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/helpers/V3ClusterHelper.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3ClusterServer.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3ClustersServer.java
4 files changed, 230 insertions(+), 7 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ied469fb1b00130c5a2ea21409d3d4157bb844a73
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list