Change in ovirt-engine[master]: utils: ServletUtils: support ETag for static content

yzaslavs at redhat.com yzaslavs at redhat.com
Wed Jun 26 10:11:33 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: utils: ServletUtils: support ETag for static content
......................................................................


utils: ServletUtils: support ETag for static content

Move modified ETag logic from BrandingServlet into the ServletUtils, so
we can reuse it in different implementations.

Cleanup a bit the BrandingServlet to relay on ServletUtils validations.

Change-Id: I9b6c30f1ff8f51c5370074de1186a3f7a7cfeac7
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/servlet/ServletUtils.java
M backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/servlet/ServletUtilsTest.java
M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/BrandingServlet.java
M frontend/webadmin/modules/frontend/src/test/java/org/ovirt/engine/ui/frontend/server/gwt/BrandingServletTest.java
4 files changed, 139 insertions(+), 96 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9b6c30f1ff8f51c5370074de1186a3f7a7cfeac7
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list