Change in ovirt-engine[master]: restapi: Corrected the resolve action for copy mode

kmayilsa at redhat.com kmayilsa at redhat.com
Tue Dec 3 05:35:05 UTC 2013


Kanagaraj M has submitted this change and it was merged.

Change subject: restapi: Corrected the resolve action for copy mode
......................................................................


restapi: Corrected the resolve action for copy mode

Modified to correctly copy the hook content from a provided node to
others in case of resolve from host content option.
Earlier it was always copying the engine version of the hook content to
all the nodes in case a resolve from a specific node was executed.

Usage:
    api/clusters/<cluster-id>/glusterhooks/<hook-id>/resolve

Input Parameters:
    <action>
        <resolution_type>COPY</resolution_type>
        <host id="<Host-Id>"/>
    </action>

    or

    <action>
        <resolution_type>COPY</resolution_type>
        <host>
            <name>Host-Name</name>
        </host>
    </action>

Change-Id: I412e582addc2bcb8d7176634db7eafaa4686668b
Bug-Url: https://bugzilla.redhat.com/1033772
Signed-off-by: Shubhendu Tripathi <shtripat at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterHookResource.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Shubhendu Tripathi: Verified
  Kanagaraj M: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21773
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I412e582addc2bcb8d7176634db7eafaa4686668b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list