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 <alo...@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 <alo...@redhat.com> Gerrit-Reviewer: Alexander Wels <aw...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches