-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove $jira::use_connection_pooling and use a common template for db…
…config.xml This removes the use_connection_pooling parameter since for most databases, it does nothing useful anyway, and with PostgreSQL it should always be enabled.
- Loading branch information
Showing
8 changed files
with
67 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<%# Some default are set in jira::config based on DB -%> | ||
<jira-database-config> | ||
<name>defaultDS</name> | ||
<delegator-name>default</delegator-name> | ||
<database-type><%= $jira::dbtype_real %></database-type> | ||
<% if $jira::config::dbschema { -%> | ||
<schema-name><%= $jira::config::dbschema %></schema-name> | ||
<% } -%> | ||
<jdbc-datasource> | ||
<url><%= $jira::dburl_real %></url> | ||
<driver-class><%= $jira::dbdriver_real %></driver-class> | ||
<username><%= $jira::dbuser %></username> | ||
<password><%= $jira::dbpassword %></password> | ||
<pool-size><%= $jira::poolsize %></pool-size> | ||
<pool-min-size><%= $jira::pool_min_size %></pool-min-size> | ||
<pool-max-size><%= $jira::pool_max_size %></pool-max-size> | ||
<pool-max-wait><%= $jira::pool_max_wait %></pool-max-wait> | ||
<min-evictable-idle-time-millis><%= $jira::min_evictable_idle_time %></min-evictable-idle-time-millis> | ||
<pool-max-idle><%= $jira::pool_max_idle %></pool-max-idle> | ||
<pool-remove-abandoned><%= $jira::pool_remove_abandoned %></pool-remove-abandoned> | ||
<pool-remove-abandoned-timeout><%= $jira::pool_remove_abandoned_timeout %></pool-remove-abandoned-timeout> | ||
<pool-test-while-idle><%= $jira::pool_test_while_idle %></pool-test-while-idle> | ||
<pool-test-on-borrow><%= $jira::pool_test_on_borrow %></pool-test-on-borrow> | ||
<validation-query><%= $jira::config::validation_query %></validation-query> | ||
<% if $jira::config::validation_query_timeout { -%> | ||
<validation-query-timeout><%= $jira::config::validation_query_timeout %></validation-query-timeout> | ||
<% } -%> | ||
<time-between-eviction-runs-millis><%= $jira::config::time_between_eviction_runs %></time-between-eviction-runs-millis> | ||
</jdbc-datasource> | ||
</jira-database-config> |