Change in ovirt-engine[master]: restapi: Added scheduling properties to cluster

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Sep 5 15:03:34 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Added scheduling properties to cluster
......................................................................


restapi: Added scheduling properties to cluster

Custom scheduling policy properties added to cluster
in order to support update/add/get operations of these properties and
store them correctly at the back end.

See examples below:

GET /clusters/{cluster:id} :
<cluster>
    <custom_scheduling_policy_properties/>
      <property>
        <name>{name}</name>
        <value>{value}</value>
      </property>
      ...
     <custom_scheduling_policy_properties/>
</cluster>

PUT /clusters/{cluster:id}
<cluster>
    <custom_scheduling_policy_properties/>
      <property>
        <name>{name}</name>
        <value>{value}</value>
      </property>
      ...
    </custom_scheduling_policy_properties>
</cluster>

Change-Id: Ib1f3fad300e9fc79690b15159ca780ba7f97449a
Bug-Url: https://bugzilla.redhat.com/1351576
Signed-off-by: yquinn <yquinn at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
1 file changed, 21 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Yanir Quinn: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1f3fad300e9fc79690b15159ca780ba7f97449a
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <jtokar at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbailey at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list