Change in ovirt-engine[ovirt-engine-3.5]: services: add proxy servlet

tnisan at redhat.com tnisan at redhat.com
Wed Sep 3 08:55:06 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: services: add proxy servlet
......................................................................


services: add proxy servlet

a proxy servlet that proxy into url appending query string.

example of usage:

<servlet>
  <servlet-name>google1</servlet-name>
  <servlet-class>org.ovirt.engine.core.services.ProxyServlet</servlet-class>
  <init-param>
    <param-name>url</param-name>
    <param-value>https://www.google.com/</param-value>
  </init-param>
  <init-param>
    <param-name>trustStoreType</param-name>
    <param-value>%{ENGINE_PKI_TRUST_STORE_TYPE}</param-value>
  </init-param>
  <init-param>
    <param-name>trustStore</param-name>
    <param-value>%{ENGINE_PKI_TRUST_STORE}</param-value>
  </init-param>
  <init-param>
    <param-name>trustStorePassword</param-name>
    <param-value>%{ENGINE_PKI_TRUST_STORE_PASSWORD}</param-value>
  </init-param>
</servlet>
<servlet-mapping>
  <servlet-name>google1</servlet-name>
  <url-pattern>/google1</url-pattern>
</servlet-mapping>

Change-Id: Ia26768ec7a0e06a20f657cae40f6a51303970b44
Bug-Url: https://bugzilla.redhat.com/1116851
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
A backend/manager/modules/services/src/main/java/org/ovirt/engine/core/services/ProxyServlet.java
M backend/manager/modules/uutils/pom.xml
A backend/manager/modules/uutils/src/main/java/org/ovirt/engine/core/uutils/servlet/ProxyServletBase.java
M backend/manager/modules/uutils/src/main/modules/org/ovirt/engine/core/uutils/main/module.xml
4 files changed, 295 insertions(+), 0 deletions(-)

Approvals:
  Alon Bar-Lev: Verified; Looks good to me, but someone else must approve
  Ravi Nori: Verified
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia26768ec7a0e06a20f657cae40f6a51303970b44
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list