Change in ovirt-engine[master]: packaging: api: redirect /api to /ovirt-engine/api by duplic...

mpastern at redhat.com mpastern at redhat.com
Thu Dec 12 09:29:51 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: packaging: api: redirect /api to /ovirt-engine/api by duplicating war installation
......................................................................


packaging: api: redirect /api to /ovirt-engine/api by duplicating war installation

Using forward servlet is not a complete solution as there is some
limitation of sharing context.

So java based solution is not easily possible.

Jboss rewrite rules cannot be used as it ignores the matrix ';' suffix.

Using apache has side effect is a redirect between /api and /api/ as apache
must normalize the directory due to internal limitation.

We end up installing war twice one per context.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1031597
Change-Id: I021c98bb6b5dcd0812db2b130967ebea27fad4e9
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M Makefile
M backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
M ear/pom.xml
M ovirt-engine.spec.in
M packaging/conf/ovirt-engine-proxy.conf.v2.in
M packaging/setup/plugins/ovirt-engine-setup/apache/ovirt_engine.py
6 files changed, 10 insertions(+), 24 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I021c98bb6b5dcd0812db2b130967ebea27fad4e9
Gerrit-PatchSet: 3
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: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list