|
|
|
@ -3,17 +3,26 @@ value_port='8081'
|
|
|
|
|
value_db_url='jdbc:mysql://localhost:3306/EN_MI'
|
|
|
|
|
value_db_username='root'
|
|
|
|
|
value_db_password='root'
|
|
|
|
|
value_hikari_maximum_pool_size='10' #default value 10
|
|
|
|
|
value_tomcat_maximum_thread_pool_size='200' #default value 200
|
|
|
|
|
value_tomcat_connection_timeout='60000' #default value 60s (=60000)
|
|
|
|
|
|
|
|
|
|
property_port='--server.port='
|
|
|
|
|
property_db_url='--spring.datasource.url='
|
|
|
|
|
property_db_username='--spring.datasource.username='
|
|
|
|
|
property_db_password='--spring.datasource.password='
|
|
|
|
|
property_log_path='--logging.file.path='
|
|
|
|
|
property_hikari_maximum_pool_size='--spring.datasource.hikari.maximum-pool-size='
|
|
|
|
|
property_tomcat_maximum_thread_pool_size='--server.tomcat.threads.max='
|
|
|
|
|
property_tomcat_connection_timeout='--server.tomcat.connection-timeout='
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs=($property_port$value_port \
|
|
|
|
|
$property_db_url$value_db_url \
|
|
|
|
|
$property_db_username$value_db_username \
|
|
|
|
|
$property_db_password$value_db_password)
|
|
|
|
|
$property_db_password$value_db_password \
|
|
|
|
|
$property_hikari_maximum_pool_size$value_hikari_maximum_pool_size \
|
|
|
|
|
$property_tomcat_maximum_thread_pool_size$value_tomcat_maximum_thread_pool_size \
|
|
|
|
|
$property_tomcat_connection_timeout$value_tomcat_connection_timeout)
|
|
|
|
|
|
|
|
|
|
for config in "${configs[@]}"; do
|
|
|
|
|
config_str="${config_str} ${config}"
|
|
|
|
|