diff --git a/infintech-executors/executor-collection-dispatcher/src/main/resources/generator/generatorConfig.xml b/infintech-executors/executor-collection-dispatcher/src/main/resources/code-generator/generatorConfig.xml similarity index 100% rename from infintech-executors/executor-collection-dispatcher/src/main/resources/generator/generatorConfig.xml rename to infintech-executors/executor-collection-dispatcher/src/main/resources/code-generator/generatorConfig.xml diff --git a/infintech-executors/executor-collection-dispatcher/src/main/resources/application.properties b/infintech-executors/executor-collection-dispatcher/src/main/resources/conf/PRD/application.properties similarity index 96% rename from infintech-executors/executor-collection-dispatcher/src/main/resources/application.properties rename to infintech-executors/executor-collection-dispatcher/src/main/resources/conf/PRD/application.properties index 1310d391..9788d78b 100644 --- a/infintech-executors/executor-collection-dispatcher/src/main/resources/application.properties +++ b/infintech-executors/executor-collection-dispatcher/src/main/resources/conf/PRD/application.properties @@ -15,9 +15,9 @@ spring.datasource.stats.driver-class-name=com.mysql.jdbc.Driver server.port=9001 # log config +logging.level.com.infincash.cron.collection.mapper=debug logging.config=classpath:logback.xml - ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02" xxl.job.admin.addresses=http://172.16.16.101:8090 #xxl.job.admin.addresses=http://dispatch-center.infincash.com diff --git a/infintech-executors/executor-collection-dispatcher/src/main/resources/conf/TEST/application.properties b/infintech-executors/executor-collection-dispatcher/src/main/resources/conf/TEST/application.properties new file mode 100644 index 00000000..4f60e4db --- /dev/null +++ b/infintech-executors/executor-collection-dispatcher/src/main/resources/conf/TEST/application.properties @@ -0,0 +1,36 @@ +spring.datasource.prd.url=jdbc:mysql://192.168.0.165:3306/microfinance?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false +spring.datasource.prd.username=root +spring.datasource.prd.password=123456 +spring.datasource.prd.driver-class-name=com.mysql.jdbc.Driver + +spring.datasource.stats.url=jdbc:mysql://192.168.0.165:3306/microfinance?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false +spring.datasource.stats.username=root +spring.datasource.stats.password=123456 +spring.datasource.stats.driver-class-name=com.mysql.jdbc.Driver + +# multi datasource no need declare here +#mybatis.mapper-locations=classpath:mapping/*.xml +#mybatis.type-aliases-package=com.infincash.statistics.risk.table +# web port +server.port=9001 + +# log config +logging.level.com.infincash.cron.collection.mapper=debug +logging.config=classpath:logback.xml + +### xxl-job admin address list, such as "http://address" or "http://address01,http://address02" +xxl.job.admin.addresses=http://127.0.0.1:100080 +#xxl.job.admin.addresses=http://dispatch-center.infincash.com + +### xxl-job executor address +xxl.job.executor.appname=executor-collection-dispatcher +xxl.job.executor.ip= +xxl.job.executor.port=9002 + +### xxl-job, access token +xxl.job.accessToken= + +### xxl-job log path +xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler +### xxl-job log retention days +xxl.job.executor.logretentiondays=-1