mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
crowd
This commit is contained in:
2
roles/crowd_config/templates/cluster.properties.j2
Normal file
2
roles/crowd_config/templates/cluster.properties.j2
Normal file
@@ -0,0 +1,2 @@
|
||||
crowd.node.id = {{ atl_cluster_node_id }}
|
||||
crowd.shared.home = {{ atl_product_home_shared }}
|
||||
28
roles/crowd_config/templates/dbconfig.xml.j2
Normal file
28
roles/crowd_config/templates/dbconfig.xml.j2
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<jira-database-config>
|
||||
<name>defaultDS</name>
|
||||
<delegator-name>default</delegator-name>
|
||||
<database-type>postgres72</database-type>
|
||||
<schema-name>public</schema-name>
|
||||
<jdbc-datasource>
|
||||
<url>{{ atl_jdbc_url }}</url>
|
||||
<username>{{ atl_jdbc_user }}</username>
|
||||
<password>{{ atl_jdbc_password }}</password>
|
||||
<driver-class>{{ atl_db_driver }}</driver-class>
|
||||
|
||||
<pool-min-size>{{ atl_db_poolminsize }}</pool-min-size>
|
||||
<pool-max-size>{{ atl_db_poolmaxsize }}</pool-max-size>
|
||||
<pool-min-idle>{{ atl_db_minidle }}</pool-min-idle>
|
||||
<pool-max-idle>{{ atl_db_maxidle }}</pool-max-idle>
|
||||
|
||||
<pool-max-wait>{{ atl_db_maxwaitmillis }}</pool-max-wait>
|
||||
<validation-query>select 1</validation-query>
|
||||
<time-between-eviction-runs-millis>{{ atl_db_timebetweenevictionrunsmillis }}</time-between-eviction-runs-millis>
|
||||
<min-evictable-idle-time-millis>{{ atl_db_minevictableidletimemillis }}</min-evictable-idle-time-millis>
|
||||
<pool-remove-abandoned>{{ atl_db_removeabandoned }}</pool-remove-abandoned>
|
||||
<pool-remove-abandoned-timeout>{{ atl_db_removeabandonedtimeout }}</pool-remove-abandoned-timeout>
|
||||
<pool-test-while-idle>{{ atl_db_testwhileidle }}</pool-test-while-idle>
|
||||
<pool-test-on-borrow>{{ atl_db_testonborrow }}</pool-test-on-borrow>
|
||||
</jdbc-datasource>
|
||||
</jira-database-config>
|
||||
28
roles/crowd_config/templates/server.xml.j2
Normal file
28
roles/crowd_config/templates/server.xml.j2
Normal file
@@ -0,0 +1,28 @@
|
||||
<Server port="{{ atl_tomcat_mgmt_port }}" shutdown="SHUTDOWN">
|
||||
|
||||
<Service name="Catalina">
|
||||
|
||||
<Connector acceptCount="{{ atl_tomcat_acceptcount }}" connectionTimeout="{{ atl_tomcat_connectiontimeout }}" disableUploadTimeout="true" enableLookups="{{ atl_tomcat_enablelookups }}" maxHttpHeaderSize="8192" maxThreads="{{ atl_tomcat_maxthreads }}" minSpareThreads="{{ atl_tomcat_minsparethreads }}" port="{{ atl_tomcat_port }}" redirectPort="{{ atl_tomcat_redirectport }}" useBodyEncodingForURI="true" URIEncoding="UTF-8" compression="on" sendReasonPhrase="true" compressableMimeType="text/html,text/xml,application/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" secure="{{ atl_tomcat_secure }}" scheme="{{ atl_tomcat_scheme }}" proxyName="{{ atl_proxy_name }}" proxyPort="{{ atl_proxy_port }}" protocol="{{ atl_tomcat_protocol }}"></Connector>
|
||||
|
||||
<Engine defaultHost="localhost" name="Catalina">
|
||||
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"><Context path="{{ atl_tomcat_contextpath }}" docBase="${catalina.home}/atlassian-crowd" debug="0"><Manager pathname=""></Manager></Context></Host>
|
||||
</Engine>
|
||||
|
||||
<!-- To connect to an external web server (typically Apache) -->
|
||||
<!-- Define an AJP 1.3 Connector on port 8009 -->
|
||||
<!--
|
||||
<Connector port="8009" enableLookups="{{ atl_tomcat_enablelookups }}" redirectPort="{{ atl_tomcat_redirectport }}" protocol=""AJP/1.3"" />
|
||||
-->
|
||||
<Connector port="{{ atl_tomcat_redirectport }}" protocol="{{ atl_tomcat_protocol }}" relaxedPathChars="[]|" relaxedQueryChars='[]|{}^\`"<>' maxHttpHeaderSize="65536" URIEncoding="UTF-8" connectionTimeout="{{ atl_tomcat_connectiontimeout }}" useBodyEncodingForURI="true" compression="on" compressableMimeType="text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript"></Connector></Service>
|
||||
|
||||
<!-- Security listener. Documentation at /docs/config/listeners.html
|
||||
<Listener className="org.apache.catalina.security.SecurityListener" />
|
||||
-->
|
||||
<!--APR library loader. Documentation at /docs/apr.html -->
|
||||
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on"></Listener>
|
||||
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
||||
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"></Listener>
|
||||
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"></Listener>
|
||||
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"></Listener>
|
||||
|
||||
</Server>
|
||||
Reference in New Issue
Block a user