Change in ovirt-engine[master]: restapi: Remove "bricks.replica_count" and "bricks.stripe_co...

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 29 20:41:35 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Remove "bricks.replica_count" and "bricks.stripe_count"
......................................................................


restapi: Remove "bricks.replica_count" and "bricks.stripe_count"

These elements aren't really part of the representation of a collection
of bricks, but parameters of the operations to add and remove bricks.
They have now been removed, and replaced by a new "replica_count" and
"stripe_count" matrix parameters:

  POST .../bricks;replica_count=3;stripe_count=2

  DELETE .../bricks;replica_count=3

Change-Id: Ib3d21f95efc9e2278a4b2b0d281e9dc50dbbaa5b
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/README.md
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBricksResource.java
4 files changed, 41 insertions(+), 12 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib3d21f95efc9e2278a4b2b0d281e9dc50dbbaa5b
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: automation at ovirt.org



More information about the Engine-commits mailing list