parent
0c19b80891
commit
b80e346bb3
@ -1,3 +1,23 @@
|
||||
#!/bin/bash
|
||||
value_port='8081'
|
||||
value_db_url='jdbc:mysql://localhost:3306/EN_MI'
|
||||
value_db_username='root'
|
||||
value_db_password='root'
|
||||
|
||||
java -jar migration-token-validator.jar
|
||||
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='
|
||||
|
||||
configs=($property_port$value_port \
|
||||
$property_db_url$value_db_url \
|
||||
$property_db_username$value_db_username \
|
||||
$property_db_password$value_db_password)
|
||||
|
||||
for config in "${configs[@]}"; do
|
||||
config_str="${config_str} ${config}"
|
||||
done
|
||||
|
||||
# starting the validation sever
|
||||
java -jar migration-token-validator.jar "$config_str"
|
@ -1,9 +1,9 @@
|
||||
server.port=3001
|
||||
server.port=8081
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/EN_MI
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
spring.jackson.property-naming-strategy=SNAKE_CASE
|
||||
logging.path=/var/log
|
||||
logging.file.max-history=5
|
||||
logging.file.name=../logs/validator.log
|
||||
spring.logging.file.max-history=5
|
Loading…
Reference in new issue