Gilad Chaplik has uploaded a new change for review. Change subject: restapi: missing links in scheduling policies resource ......................................................................
restapi: missing links in scheduling policies resource Change-Id: I693e228efc3aeac1cee9f0d7342248713f1c5432 Bug-Url: https://bugzilla.redhat.com/1113482 Signed-off-by: Gilad Chaplik <[email protected]> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendSchedulingPoliciesResource.java 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/99/29399/1 diff --git a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendSchedulingPoliciesResource.java b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendSchedulingPoliciesResource.java index 38dab2d..ad16da1 100644 --- a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendSchedulingPoliciesResource.java +++ b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendSchedulingPoliciesResource.java @@ -7,8 +7,8 @@ import org.ovirt.engine.api.model.SchedulingPolicies; import org.ovirt.engine.api.model.SchedulingPolicy; -import org.ovirt.engine.api.resource.SchedulingPolicyResource; import org.ovirt.engine.api.resource.SchedulingPoliciesResource; +import org.ovirt.engine.api.resource.SchedulingPolicyResource; import org.ovirt.engine.core.common.action.VdcActionType; import org.ovirt.engine.core.common.queries.IdQueryParameters; import org.ovirt.engine.core.common.queries.VdcQueryParametersBase; @@ -19,7 +19,7 @@ public class BackendSchedulingPoliciesResource extends AbstractBackendCollectionResource<SchedulingPolicy, ClusterPolicy> implements SchedulingPoliciesResource { - static final String[] SUB_COLLECTIONS = {}; + static final String[] SUB_COLLECTIONS = { "filters", "weights", "balances", "clusters" }; public BackendSchedulingPoliciesResource() { super(SchedulingPolicy.class, ClusterPolicy.class, SUB_COLLECTIONS); -- To view, visit http://gerrit.ovirt.org/29399 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I693e228efc3aeac1cee9f0d7342248713f1c5432 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Gilad Chaplik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
