|
12 | 12 | <url><%= $jira::config::dburl %></url> |
13 | 13 | <driver-class><%= $jira::config::dbdriver %></driver-class> |
14 | 14 | <username><%= $jira::dbuser %></username> |
| 15 | + <%- if $jira::config::change_dbpassword { -%> |
15 | 16 | <password><%= $jira::dbpassword %></password> |
| 17 | + <%- } else { -%> |
| 18 | + <password>{ATL_SECURED}</password> |
| 19 | + <%- } -%> |
16 | 20 | <%# For most of these, Jira defaults are better... -%> |
17 | 21 | <% if $jira::config::pool_min_size != undef { -%> |
18 | 22 | <pool-min-size><%= $jira::config::pool_min_size %></pool-min-size> |
19 | 23 | <% } -%> |
20 | 24 | <% if $jira::config::pool_max_size != undef { -%> |
21 | 25 | <pool-max-size><%= $jira::config::pool_max_size %></pool-max-size> |
22 | 26 | <% } -%> |
23 | | -<% if $jira::config::pool_max_idle != undef { -%> |
24 | | - <pool-max-idle><%= $jira::config::pool_max_idle %></pool-max-idle> |
25 | | -<% } -%> |
26 | 27 | <% if $jira::config::pool_max_wait != undef { -%> |
27 | 28 | <pool-max-wait><%= $jira::config::pool_max_wait %></pool-max-wait> |
28 | 29 | <% } -%> |
| 30 | +<% if $jira::config::validation_query != undef { -%> |
| 31 | + <validation-query><%= $jira::config::validation_query %></validation-query> |
| 32 | +<% } -%> |
29 | 33 | <% if $jira::config::min_evictable_idle_time != undef { -%> |
30 | 34 | <min-evictable-idle-time-millis><%= $jira::config::min_evictable_idle_time %></min-evictable-idle-time-millis> |
31 | 35 | <% } -%> |
| 36 | +<% if $jira::config::time_between_eviction_runs != undef { -%> |
| 37 | + <time-between-eviction-runs-millis><%= $jira::config::time_between_eviction_runs %></time-between-eviction-runs-millis> |
| 38 | +<% } -%> |
| 39 | +<% if $jira::config::pool_max_idle != undef { -%> |
| 40 | + <pool-max-idle><%= $jira::config::pool_max_idle %></pool-max-idle> |
| 41 | +<% } -%> |
32 | 42 | <% if $jira::config::pool_remove_abandoned != undef { -%> |
33 | 43 | <pool-remove-abandoned><%= $jira::config::pool_remove_abandoned %></pool-remove-abandoned> |
34 | 44 | <% } -%> |
35 | 45 | <% if $jira::config::pool_remove_abandoned_timeout != undef { -%> |
36 | 46 | <pool-remove-abandoned-timeout><%= $jira::config::pool_remove_abandoned_timeout %></pool-remove-abandoned-timeout> |
37 | 47 | <% } -%> |
38 | | -<% if $jira::config::pool_test_while_idle != undef { -%> |
39 | | - <pool-test-while-idle><%= $jira::config::pool_test_while_idle %></pool-test-while-idle> |
40 | | -<% } -%> |
41 | 48 | <% if $jira::config::pool_test_on_borrow != undef { -%> |
42 | 49 | <pool-test-on-borrow><%= $jira::config::pool_test_on_borrow %></pool-test-on-borrow> |
43 | 50 | <% } -%> |
44 | | -<% if $jira::config::validation_query != undef { -%> |
45 | | - <validation-query><%= $jira::config::validation_query %></validation-query> |
| 51 | +<% if $jira::config::pool_test_while_idle != undef { -%> |
| 52 | + <pool-test-while-idle><%= $jira::config::pool_test_while_idle %></pool-test-while-idle> |
46 | 53 | <% } -%> |
47 | 54 | <% if $jira::config::validation_query_timeout != undef { -%> |
48 | 55 | <validation-query-timeout><%= $jira::config::validation_query_timeout %></validation-query-timeout> |
49 | 56 | <% } -%> |
50 | | -<% if $jira::config::time_between_eviction_runs != undef { -%> |
51 | | - <time-between-eviction-runs-millis><%= $jira::config::time_between_eviction_runs %></time-between-eviction-runs-millis> |
52 | | -<% } -%> |
53 | 57 | <% if $jira::config::connection_settings { -%> |
54 | 58 | <connection-properties><%= $jira::config::connection_settings %></connection-properties> |
55 | 59 | <% } -%> |
|
0 commit comments