From 1b6b95bb9ab164de5660775702cc683baac72e0a Mon Sep 17 00:00:00 2001 From: mposolda Date: Wed, 1 Oct 2014 11:52:16 +0200 Subject: [PATCH] Added distributable to customer-portal in cluster test --- .../customer-app/src/main/webapp/customers/session.jsp | 4 ++-- testsuite/docker-cluster/wildfly/deploy-examples.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/demo-template/customer-app/src/main/webapp/customers/session.jsp b/examples/demo-template/customer-app/src/main/webapp/customers/session.jsp index 07f99a1bc2..ba8583dff9 100644 --- a/examples/demo-template/customer-app/src/main/webapp/customers/session.jsp +++ b/examples/demo-template/customer-app/src/main/webapp/customers/session.jsp @@ -9,8 +9,8 @@ Customer Session Page -

Your hostname: <%= UriUtils.getHostName() %>

-

Your session ID: <%= request.getSession().getId() %>

+

Your hostname: <%= UriUtils.getHostName() %>

+

Your session ID: <%= request.getSession().getId() %>

You visited this page <%= CustomerDatabaseClient.increaseAndGetCounter(request) %> times.



diff --git a/testsuite/docker-cluster/wildfly/deploy-examples.sh b/testsuite/docker-cluster/wildfly/deploy-examples.sh index f2173370ba..7da2946bca 100644 --- a/testsuite/docker-cluster/wildfly/deploy-examples.sh +++ b/testsuite/docker-cluster/wildfly/deploy-examples.sh @@ -28,4 +28,7 @@ for I in *.war/WEB-INF/keycloak.json; do sed -i -e 's/\"use-hostname-for-local-requests\": false/\"use-hostname-for-local-requests\": true/' $I; done; +# Enable distributable for customer-portal +sed -i -e 's/<\/module-name>/&\n /' customer-portal.war/WEB-INF/web.xml +