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

oourfali at redhat.com oourfali at redhat.com
Tue Sep 2 16:59:33 UTC 2014


Oved Ourfali 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
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
  Ravi Nori: Verified; Looks good to me, but someone else must approve
  Alexander Wels: Looks good to me, but someone else must approve
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia26768ec7a0e06a20f657cae40f6a51303970b44
Gerrit-PatchSet: 9
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: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list