{{ atl_setup_step | default('setupstart') }} {{ atl_setup_type | default('custom') }} {{ atl_build_number | default('0') }} database-type-standard ${localHome}/temp ${localHome}/temp ${confluenceHome}/attachments {{ atl_lucene_index_dir | default('${confluenceHome}/index') }} {# We need mappings for "oracle12c" and "oracle" to remain backwards compatible with Confluence 7.3.0 and earlier. Oracle 19c support was added in Confluence 7.3.1 and changed the database type name for oracle databases from "oracle12c" to "oracle" #} {% if atl_jdbc_url is defined %} {% set databases = { "mysql": ["com.mysql.jdbc.Driver", "MySQLDialect"], "postgresql": ["org.postgresql.Driver", "PostgreSQLDialect"], "mssql": ["com.microsoft.sqlserver.jdbc.SQLServerDriver", "SQLServerDialect"], "oracle12c": ["oracle.jdbc.driver.OracleDriver", "OracleDialect"], "oracle": ["oracle.jdbc.driver.OracleDriver", "OracleDialect"] } %} {{ atl_db_type }} {{ atl_jdbc_url }} {{ atl_jdbc_user }} {{ atl_jdbc_password }} {{ databases[atl_db_type][0] }} com.atlassian.confluence.impl.hibernate.dialect.{{ databases[atl_db_type][1] }} {# Confluence versions 7.13 and newer #} {% if (confluence_version.split(".")[0] | int() == 7 and confluence_version.split(".")[1] | int() <= 13) or confluence_version.split(".")[0] | int() < 7 %} {{ atl_db_poolminsize | default('20') }} {{ atl_db_poolmaxsize | default('100') }} {{ atl_db_timeout | default('30') }} {{ atl_db_idletestperiod | default('100') }} {{ atl_db_maxstatements | default('0') }} {{ atl_db_validate | default('true') }} {{ atl_db_acquireincrement | default('1') }} {{ atl_db_validationquery | default('select 1') }} {% else %} {{ (atl_db_timeout | default(30) | int) * 1000 }} {{ atl_db_poolmaxsize | default('100') }} {{ atl_db_poolminsize | default('20') }} true {{ atl_db_provider_class | default('com.atlassian.confluence.impl.hibernate.DelegatingHikariConnectionProvider') }} {% endif %} {% endif %} {% if atl_cluster_type is defined %} true {{ atl_cluster_name }} {{ atl_cluster_node_name }} {{ atl_product_home_shared | default(confluence_shared_home) | default('') }} {{ atl_product_home_shared | default(confluence_shared_home) | default('') }} {{ atl_cluster_type }} {% if atl_cluster_type == 'aws' %} {{ atl_hazelcast_network_aws_iam_role }} {{ atl_hazelcast_network_aws_iam_region }} {{ atl_hazelcast_network_aws_host_header }} {{ atl_hazelcast_network_aws_security_group }} {{ atl_hazelcast_network_aws_tag_key }} {{ atl_hazelcast_network_aws_tag_value }} {{ atl_cluster_ttl }} {% elif atl_cluster_type == 'tcp_ip' %} {{ atl_cluster_peers }} {% elif atl_cluster_type == 'multicast' %} {{ atl_cluster_address }} {{ atl_cluster_ttl }} {% endif %} {% endif %} {% if atl_license_key is defined %} {{ atl_license_key }} {% endif %} {% if atl_tomcat_contextpath is defined and atl_tomcat_contextpath != '' %} /{{ atl_tomcat_contextpath }} {% endif %} {% if atl_snapshot_used is defined %} true {% endif %}