修复jdbc多环境资源

This commit is contained in:
shuzheng 2017-06-13 14:16:06 +08:00
parent 9e9860a9a6
commit dd89c86ea8
17 changed files with 136 additions and 136 deletions

View File

@ -1,8 +1,8 @@
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}
master.jdbc.driver=${datasource.master.jdbc.driver}
master.jdbc.url=${datasource.master.jdbc.url}
master.jdbc.username=${datasource.master.jdbc.username}
master.jdbc.password=${datasource.master.jdbc.password}
slave.jdbc.driver=${datasource.slave.jdbc.driver}
slave.jdbc.url=${datasource.slave.jdbc.url}
slave.jdbc.username=${datasource.slave.jdbc.username}
slave.jdbc.password=${datasource.slave.jdbc.password}

View File

@ -2,14 +2,14 @@ app.name=zheng-cms-rpc-service
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-cms-rpc-service
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-cms-rpc-service
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -1,8 +1,8 @@
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}
master.jdbc.driver=${datasource.master.jdbc.driver}
master.jdbc.url=${datasource.master.jdbc.url}
master.jdbc.username=${datasource.master.jdbc.username}
master.jdbc.password=${datasource.master.jdbc.password}
slave.jdbc.driver=${datasource.slave.jdbc.driver}
slave.jdbc.url=${datasource.slave.jdbc.url}
slave.jdbc.username=${datasource.slave.jdbc.username}
slave.jdbc.password=${datasource.slave.jdbc.password}

View File

@ -2,14 +2,14 @@ app.name=zheng-pay-rpc-service
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-pay-rpc-service
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-pay-rpc-service
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -1,8 +1,8 @@
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}
master.jdbc.driver=${datasource.master.jdbc.driver}
master.jdbc.url=${datasource.master.jdbc.url}
master.jdbc.username=${datasource.master.jdbc.username}
master.jdbc.password=${datasource.master.jdbc.password}
slave.jdbc.driver=${datasource.slave.jdbc.driver}
slave.jdbc.url=${datasource.slave.jdbc.url}
slave.jdbc.username=${datasource.slave.jdbc.username}
slave.jdbc.password=${datasource.slave.jdbc.password}

View File

@ -2,14 +2,14 @@ app.name=zheng-ucenter-rpc-service
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-ucenter-rpc-service
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-ucenter-rpc-service
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -1,8 +1,8 @@
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}
master.jdbc.driver=${datasource.master.jdbc.driver}
master.jdbc.url=${datasource.master.jdbc.url}
master.jdbc.username=${datasource.master.jdbc.username}
master.jdbc.password=${datasource.master.jdbc.password}
slave.jdbc.driver=${datasource.slave.jdbc.driver}
slave.jdbc.url=${datasource.slave.jdbc.url}
slave.jdbc.username=${datasource.slave.jdbc.username}
slave.jdbc.password=${datasource.slave.jdbc.password}

View File

@ -2,14 +2,14 @@ app.name=zheng-upms-rpc-service
profile.env=dev
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-upms-rpc-service
profile.env=prod
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -2,14 +2,14 @@ app.name=zheng-upms-rpc-service
profile.env=test
##### jdbc #####
master.jdbc.driver=com.mysql.jdbc.Driver
master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
master.jdbc.username=root
master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
slave.jdbc.driver=com.mysql.jdbc.Driver
slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
slave.jdbc.username=root
slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.master.jdbc.driver=com.mysql.jdbc.Driver
datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.master.jdbc.username=root
datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
datasource.slave.jdbc.driver=com.mysql.jdbc.Driver
datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
datasource.slave.jdbc.username=root
datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g==
##### redis #####
master.redis.ip=127.0.0.1

View File

@ -1,8 +1,8 @@
master.jdbc.driver=${master.jdbc.driver}
master.jdbc.url=${master.jdbc.url}
master.jdbc.username=${master.jdbc.username}
master.jdbc.password=${master.jdbc.password}
slave.jdbc.driver=${slave.jdbc.driver}
slave.jdbc.url=${slave.jdbc.url}
slave.jdbc.username=${slave.jdbc.username}
slave.jdbc.password=${slave.jdbc.password}
master.jdbc.driver=${datasource.master.jdbc.driver}
master.jdbc.url=${datasource.master.jdbc.url}
master.jdbc.username=${datasource.master.jdbc.username}
master.jdbc.password=${datasource.master.jdbc.password}
slave.jdbc.driver=${datasource.slave.jdbc.driver}
slave.jdbc.url=${datasource.slave.jdbc.url}
slave.jdbc.username=${datasource.slave.jdbc.username}
slave.jdbc.password=${datasource.slave.jdbc.password}