Change in ovirt-engine[master]: engine: fix gluster hook conten-type detection

kmayilsa at redhat.com kmayilsa at redhat.com
Sun Jun 16 16:59:39 UTC 2013


Kanagaraj M has submitted this change and it was merged.

Change subject: engine: fix gluster hook conten-type detection
......................................................................


engine: fix gluster hook conten-type detection

The hook will be considered as human readable('TEXT')
if mime-type has 'text' in type part. And the sub-type part will be ignored.

Modified the GlusterHookContentQuery to check server hook's content
type if serverId is provided.

Change-Id: I191d8f233c965c6b34a652fa07b2c60ef5ee6194
Bug-Url: https://bugzilla.redhat.com/973091
Signed-off-by: Kanagaraj M <kmayilsa at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GetGlusterHookContentQuery.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/gluster/GlusterHookContentType.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHooksListReturnForXmlRpc.java
3 files changed, 31 insertions(+), 15 deletions(-)

Approvals:
  Kanagaraj M: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I191d8f233c965c6b34a652fa07b2c60ef5ee6194
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel 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