From b98a485fa84df02af467a05f2259908304a2e5b7 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Tue, 7 May 2019 09:04:17 +1000 Subject: [PATCH] DCD-224: Fixes to the server.xml template. --- roles/jira_config/defaults/main.yml | 2 +- .../molecule/default/tests/test_default.py | 11 ++++ roles/jira_config/templates/server.xml.j2 | 53 +++++++++---------- 3 files changed, 36 insertions(+), 30 deletions(-) diff --git a/roles/jira_config/defaults/main.yml b/roles/jira_config/defaults/main.yml index 02f6366..cce3242 100644 --- a/roles/jira_config/defaults/main.yml +++ b/roles/jira_config/defaults/main.yml @@ -17,7 +17,7 @@ atl_tomcat_port: "8080" atl_tomcat_mgmt_port: "8005" atl_tomcat_acceptcount: "10" atl_tomcat_connectiontimeout: "20000" -atl_tomcat_contextpath: "false" +atl_tomcat_contextpath: "" atl_tomcat_maxthreads: "200" atl_tomcat_minsparethreads: "10" atl_tomcat_protocol: "HTTP/1.1" diff --git a/roles/jira_config/molecule/default/tests/test_default.py b/roles/jira_config/molecule/default/tests/test_default.py index 583e9fb..d11a2e4 100644 --- a/roles/jira_config/molecule/default/tests/test_default.py +++ b/roles/jira_config/molecule/default/tests/test_default.py @@ -31,4 +31,15 @@ def test_server_file(host): assert f.exists assert f.contains('Connector port="8080"') assert f.contains('Server port="8005"') + assert f.contains(' + relaxedPathChars="[]|" + relaxedQueryChars="[]|{}^\`"<>" + bindOnInit="false" + maxHttpHeaderSize="8192" + useBodyEncodingForURI="true" + disableUploadTimeout="true" /> - - - - - - - - - +