Unify the open-source application.conf with internal ones so we don't need to maintain both.

This commit is contained in:
Mars Lan 2017-04-19 16:51:33 -07:00
parent fda572dd8a
commit 2499ee0116
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ WHZ_SECRET=
WHZ_MASTER_KEY=
# Database Connection
WHZ_DB_DRIVER=
WHZ_DB_USERNAME=
WHZ_DB_PASSWORD=
# Fully qualified jdbc url

View File

@ -38,7 +38,7 @@ application.global=shared.Global
# By convention, the default datasource is named `default`
#
# connection to wherehows mysql database
db.wherehows.driver = com.mysql.jdbc.Driver
db.wherehows.driver = ${WHZ_DB_DRIVER}
db.wherehows.url = ${WHZ_DB_URL}
db.wherehows.username = ${WHZ_DB_USERNAME}
db.wherehows.password = ${WHZ_DB_PASSWORD}
@ -57,7 +57,7 @@ db.wherehows.password = ${WHZ_DB_PASSWORD}
# if does not have this variable, every job will run
# if have this varialbe, only the id in this list will be scheduled
scheduler.jobid.whitelist = ${WHZ_ETL_JOB_IDS}
scheduler.check.interval=10
scheduler.check.interval = 5
scheduler.check.interval=${?WHZ_SCHEDULER_CHECK_INTERVAL}
# start the following list of kafka consumer etl jobs
# kafka.consumer.etl.jobid = ${WHZ_KAFKA_JOB_IDS}