Commit 906a6778882f04a3962395c9b41605c6f8a7507e
1 parent
70f02fc0
服务标准化 redis 单机化
Showing
4 changed files
with
76 additions
and
76 deletions
class-service.yml
| ... | ... | @@ -13,7 +13,7 @@ spring: |
| 13 | 13 | coreDatasource: |
| 14 | 14 | write: |
| 15 | 15 | name: gxb_core |
| 16 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 16 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 17 | 17 | username: test |
| 18 | 18 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 19 | 19 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -27,7 +27,7 @@ spring: |
| 27 | 27 | test-while-idle: true |
| 28 | 28 | read1: |
| 29 | 29 | name: gxb_core |
| 30 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 30 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 31 | 31 | username: test |
| 32 | 32 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 33 | 33 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -42,7 +42,7 @@ spring: |
| 42 | 42 | |
| 43 | 43 | secondDatasource: |
| 44 | 44 | name: gxb_core |
| 45 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 | |
| 45 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 | |
| 46 | 46 | username: test |
| 47 | 47 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 48 | 48 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -56,7 +56,7 @@ spring: |
| 56 | 56 | test-while-idle: true |
| 57 | 57 | redis: |
| 58 | 58 | database: 0 |
| 59 | - host: redis-server | |
| 59 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 60 | 60 | port: 6379 |
| 61 | 61 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 62 | 62 | pool: |
| ... | ... | @@ -64,9 +64,9 @@ spring: |
| 64 | 64 | min-idle: 10 |
| 65 | 65 | max-active: 1000 |
| 66 | 66 | max-wait: 100000 |
| 67 | - sentinel: | |
| 68 | - master: mymaster1 | |
| 69 | - nodes: redis-server:16379,redis-server:16379 | |
| 67 | + #sentinel: | |
| 68 | + #master: mymaster1 | |
| 69 | + #nodes: redis-server:16379,redis-server:16379 | |
| 70 | 70 | |
| 71 | 71 | |
| 72 | 72 | mybatis: |
| ... | ... | @@ -122,7 +122,7 @@ ribbon: |
| 122 | 122 | |
| 123 | 123 | # 一些公共的常量配置 |
| 124 | 124 | apiConfig: |
| 125 | - resourceGaoXiaoBangUrl: https://resource.gaoxiaobang.com | |
| 125 | + resourceGaoXiaoBangUrl: https://resource.gaoxiaobang.com/12344444 | |
| 126 | 126 | usrLocalTomcatTempLocation: /usr/local/tomcat/temp |
| 127 | 127 | gxbApiUrl: http://gxb-api:8080/gxb-api |
| 128 | 128 | gxbBiApiUrl: http://bi-api:8080/bi-api |
| ... | ... | @@ -142,7 +142,7 @@ spring: |
| 142 | 142 | coreDatasource: |
| 143 | 143 | write: |
| 144 | 144 | name: gxb_core |
| 145 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 145 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 146 | 146 | username: test |
| 147 | 147 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 148 | 148 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -156,7 +156,7 @@ spring: |
| 156 | 156 | test-while-idle: true |
| 157 | 157 | read1: |
| 158 | 158 | name: gxb_core |
| 159 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 159 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 160 | 160 | username: test |
| 161 | 161 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 162 | 162 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -171,7 +171,7 @@ spring: |
| 171 | 171 | |
| 172 | 172 | secondDatasource: |
| 173 | 173 | name: gxb_core |
| 174 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 | |
| 174 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 | |
| 175 | 175 | username: rd |
| 176 | 176 | password: ENC(5860760736a5c5fbbcbeab1cf6c72b38) |
| 177 | 177 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -185,7 +185,7 @@ spring: |
| 185 | 185 | test-while-idle: true |
| 186 | 186 | redis: |
| 187 | 187 | database: 0 |
| 188 | - host: redis-server | |
| 188 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 189 | 189 | port: 6379 |
| 190 | 190 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 191 | 191 | pool: |
| ... | ... | @@ -193,9 +193,9 @@ spring: |
| 193 | 193 | min-idle: 10 |
| 194 | 194 | max-active: 1000 |
| 195 | 195 | max-wait: 100000 |
| 196 | - sentinel: | |
| 197 | - master: mymaster1 | |
| 198 | - nodes: redis-server:16379,redis-server:16379 | |
| 196 | + #sentinel: | |
| 197 | + #master: mymaster1 | |
| 198 | + #nodes: redis-server:16379,redis-server:16379 | |
| 199 | 199 | |
| 200 | 200 | mybatis: |
| 201 | 201 | mapperLocations: classpath:/mybatis/*.xml |
| ... | ... | @@ -263,7 +263,7 @@ spring: |
| 263 | 263 | coreDatasource: |
| 264 | 264 | write: |
| 265 | 265 | name: gxb_core |
| 266 | - url: jdbc:mysql://emysql3:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 266 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 267 | 267 | username: postgres |
| 268 | 268 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 269 | 269 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -277,7 +277,7 @@ spring: |
| 277 | 277 | test-while-idle: true |
| 278 | 278 | read1: |
| 279 | 279 | name: gxb_core |
| 280 | - url: jdbc:mysql://db3:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 280 | + url: jdbc:mysql://db-slave.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 281 | 281 | username: postgres |
| 282 | 282 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 283 | 283 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -292,7 +292,7 @@ spring: |
| 292 | 292 | |
| 293 | 293 | secondDatasource: |
| 294 | 294 | name: gxb_core |
| 295 | - url: jdbc:mysql://emysql3:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 | |
| 295 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 | |
| 296 | 296 | username: postgres |
| 297 | 297 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 298 | 298 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -306,17 +306,17 @@ spring: |
| 306 | 306 | test-while-idle: true |
| 307 | 307 | redis: |
| 308 | 308 | database: 0 |
| 309 | - host: redis1 | |
| 309 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 310 | 310 | port: 6379 |
| 311 | - password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050) | |
| 311 | + password: ENC(263159d39cfeec890c46a4a51f13906ed438bacccea9fce79961c0b0eceac428) | |
| 312 | 312 | pool: |
| 313 | 313 | max-idle: 100 |
| 314 | 314 | min-idle: 10 |
| 315 | 315 | max-active: 1000 |
| 316 | 316 | max-wait: 100000 |
| 317 | - sentinel: | |
| 318 | - master: mymaster1 | |
| 319 | - nodes: redis1:16379,redis2:16379 | |
| 317 | + #sentinel: | |
| 318 | + #master: mymaster1 | |
| 319 | + #nodes: redis1:16379,redis2:16379 | |
| 320 | 320 | |
| 321 | 321 | mybatis: |
| 322 | 322 | mapperLocations: classpath:/mybatis/*.xml | ... | ... |
cxcy-service.yml
| ... | ... | @@ -13,7 +13,7 @@ spring: |
| 13 | 13 | coreDatasource: |
| 14 | 14 | write: |
| 15 | 15 | name: cxcy |
| 16 | - url: jdbc:mysql://testdb-master:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 16 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 17 | 17 | username: test |
| 18 | 18 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 19 | 19 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -27,7 +27,7 @@ spring: |
| 27 | 27 | test-while-idle: true |
| 28 | 28 | read1: |
| 29 | 29 | name: cxcy |
| 30 | - url: jdbc:mysql://testdb-master:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 30 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 31 | 31 | username: test |
| 32 | 32 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 33 | 33 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -42,7 +42,7 @@ spring: |
| 42 | 42 | |
| 43 | 43 | secondDatasource: |
| 44 | 44 | name: cxcy |
| 45 | - url: jdbc:mysql://testdb-master:3306/cxcy?useUnicode=true&characterEncoding=UTF-8 | |
| 45 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8 | |
| 46 | 46 | username: test |
| 47 | 47 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 48 | 48 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -56,7 +56,7 @@ spring: |
| 56 | 56 | test-while-idle: true |
| 57 | 57 | redis: |
| 58 | 58 | database: 0 |
| 59 | - host: redis-server | |
| 59 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 60 | 60 | port: 6379 |
| 61 | 61 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 62 | 62 | pool: |
| ... | ... | @@ -64,9 +64,9 @@ spring: |
| 64 | 64 | min-idle: 10 |
| 65 | 65 | max-active: 1000 |
| 66 | 66 | max-wait: 100000 |
| 67 | - sentinel: | |
| 68 | - master: mymaster1 | |
| 69 | - nodes: redis-server:16379,redis-server:16379 | |
| 67 | + #sentinel: | |
| 68 | + #master: mymaster1 | |
| 69 | + #nodes: redis-server:16379,redis-server:16379 | |
| 70 | 70 | |
| 71 | 71 | mybatis: |
| 72 | 72 | mapperLocations: classpath:/mybatis/*.xml |
| ... | ... | @@ -138,7 +138,7 @@ spring: |
| 138 | 138 | coreDatasource: |
| 139 | 139 | write: |
| 140 | 140 | name: cxcy |
| 141 | - url: jdbc:mysql://testdb-master:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 141 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 142 | 142 | username: test |
| 143 | 143 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 144 | 144 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -152,7 +152,7 @@ spring: |
| 152 | 152 | test-while-idle: true |
| 153 | 153 | read1: |
| 154 | 154 | name: cxcy |
| 155 | - url: jdbc:mysql://testdb-master:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 155 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 156 | 156 | username: test |
| 157 | 157 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 158 | 158 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -167,7 +167,7 @@ spring: |
| 167 | 167 | |
| 168 | 168 | secondDatasource: |
| 169 | 169 | name: cxcy |
| 170 | - url: jdbc:mysql://testdb-master:3306/cxcy?useUnicode=true&characterEncoding=UTF-8 | |
| 170 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8 | |
| 171 | 171 | username: rd |
| 172 | 172 | password: ENC(5860760736a5c5fbbcbeab1cf6c72b38) |
| 173 | 173 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -181,7 +181,7 @@ spring: |
| 181 | 181 | test-while-idle: true |
| 182 | 182 | redis: |
| 183 | 183 | database: 0 |
| 184 | - host: redis-server | |
| 184 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 185 | 185 | port: 6379 |
| 186 | 186 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 187 | 187 | pool: |
| ... | ... | @@ -189,9 +189,9 @@ spring: |
| 189 | 189 | min-idle: 10 |
| 190 | 190 | max-active: 1000 |
| 191 | 191 | max-wait: 100000 |
| 192 | - sentinel: | |
| 193 | - master: mymaster1 | |
| 194 | - nodes: redis-server:16379,redis-server:16379 | |
| 192 | + #sentinel: | |
| 193 | + #master: mymaster1 | |
| 194 | + #nodes: redis-server:16379,redis-server:16379 | |
| 195 | 195 | |
| 196 | 196 | mybatis: |
| 197 | 197 | mapperLocations: classpath:/mybatis/*.xml |
| ... | ... | @@ -257,7 +257,7 @@ spring: |
| 257 | 257 | coreDatasource: |
| 258 | 258 | write: |
| 259 | 259 | name: cxcy |
| 260 | - url: jdbc:mysql://emysql3:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 260 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 261 | 261 | username: postgres |
| 262 | 262 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 263 | 263 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -271,7 +271,7 @@ spring: |
| 271 | 271 | test-while-idle: true |
| 272 | 272 | read1: |
| 273 | 273 | name: cxcy |
| 274 | - url: jdbc:mysql://db3:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 274 | + url: jdbc:mysql://db-slave.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 275 | 275 | username: postgres |
| 276 | 276 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 277 | 277 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -286,7 +286,7 @@ spring: |
| 286 | 286 | |
| 287 | 287 | secondDatasource: |
| 288 | 288 | name: cxcy |
| 289 | - url: jdbc:mysql://emysql3:3306/cxcy?useUnicode=true&characterEncoding=UTF-8 | |
| 289 | + url: jdbc:mysql://db-master.gxb-base:3306/cxcy?useUnicode=true&characterEncoding=UTF-8 | |
| 290 | 290 | username: postgres |
| 291 | 291 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 292 | 292 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -300,17 +300,17 @@ spring: |
| 300 | 300 | test-while-idle: true |
| 301 | 301 | redis: |
| 302 | 302 | database: 0 |
| 303 | - host: redis1 | |
| 303 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 304 | 304 | port: 6379 |
| 305 | - password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050) | |
| 305 | + password: ENC(263159d39cfeec890c46a4a51f13906ed438bacccea9fce79961c0b0eceac428) | |
| 306 | 306 | pool: |
| 307 | 307 | max-idle: 100 |
| 308 | 308 | min-idle: 10 |
| 309 | 309 | max-active: 1000 |
| 310 | 310 | max-wait: 100000 |
| 311 | - sentinel: | |
| 312 | - master: mymaster1 | |
| 313 | - nodes: redis1:16379,redis2:16379 | |
| 311 | + #sentinel: | |
| 312 | + #master: mymaster1 | |
| 313 | + #nodes: redis1:16379,redis2:16379 | |
| 314 | 314 | |
| 315 | 315 | mybatis: |
| 316 | 316 | mapperLocations: classpath:/mybatis/*.xml | ... | ... |
gateway.yml
| ... | ... | @@ -10,7 +10,7 @@ spring: |
| 10 | 10 | |
| 11 | 11 | redis: |
| 12 | 12 | database: 0 |
| 13 | - host: redis-server | |
| 13 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 14 | 14 | port: 6379 |
| 15 | 15 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 16 | 16 | pool: |
| ... | ... | @@ -18,9 +18,9 @@ spring: |
| 18 | 18 | min-idle: 10 |
| 19 | 19 | max-active: 1000 |
| 20 | 20 | max-wait: 100000 |
| 21 | - sentinel: | |
| 22 | - master: mymaster1 | |
| 23 | - nodes: redis-server:16379,redis-server:16379 | |
| 21 | + #sentinel: | |
| 22 | + #master: mymaster1 | |
| 23 | + #nodes: redis-server:16379,redis-server:16379 | |
| 24 | 24 | |
| 25 | 25 | endpoints: |
| 26 | 26 | restart: |
| ... | ... | @@ -121,7 +121,7 @@ spring: |
| 121 | 121 | |
| 122 | 122 | redis: |
| 123 | 123 | database: 0 |
| 124 | - host: redis-server | |
| 124 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 125 | 125 | port: 6379 |
| 126 | 126 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 127 | 127 | pool: |
| ... | ... | @@ -129,9 +129,9 @@ spring: |
| 129 | 129 | min-idle: 10 |
| 130 | 130 | max-active: 1000 |
| 131 | 131 | max-wait: 100000 |
| 132 | - sentinel: | |
| 133 | - master: mymaster1 | |
| 134 | - nodes: redis-server:16379,redis-server:16379 | |
| 132 | + #sentinel: | |
| 133 | + #master: mymaster1 | |
| 134 | + #nodes: redis-server:16379,redis-server:16379 | |
| 135 | 135 | |
| 136 | 136 | endpoints: |
| 137 | 137 | restart: |
| ... | ... | @@ -216,17 +216,17 @@ spring: |
| 216 | 216 | |
| 217 | 217 | redis: |
| 218 | 218 | database: 0 |
| 219 | - host: redis1 | |
| 219 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 220 | 220 | port: 6379 |
| 221 | - password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050) | |
| 221 | + password: ENC(263159d39cfeec890c46a4a51f13906ed438bacccea9fce79961c0b0eceac428) | |
| 222 | 222 | pool: |
| 223 | 223 | max-idle: 100 |
| 224 | 224 | min-idle: 10 |
| 225 | 225 | max-active: 1000 |
| 226 | 226 | max-wait: 100000 |
| 227 | - sentinel: | |
| 228 | - master: mymaster1 | |
| 229 | - nodes: redis1:16379,redis2:16379 | |
| 227 | + #sentinel: | |
| 228 | + #master: mymaster1 | |
| 229 | + #nodes: redis1:16379,redis2:16379 | |
| 230 | 230 | |
| 231 | 231 | endpoints: |
| 232 | 232 | restart: | ... | ... |
user-service.yml
| ... | ... | @@ -9,7 +9,7 @@ spring: |
| 9 | 9 | enabled: true |
| 10 | 10 | datasource: |
| 11 | 11 | name: gxb_core |
| 12 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true | |
| 12 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true | |
| 13 | 13 | username: test |
| 14 | 14 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 15 | 15 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -23,7 +23,7 @@ spring: |
| 23 | 23 | test-while-idle: true |
| 24 | 24 | redis: |
| 25 | 25 | database: 0 |
| 26 | - host: redis-server | |
| 26 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 27 | 27 | port: 6379 |
| 28 | 28 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 29 | 29 | pool: |
| ... | ... | @@ -31,12 +31,12 @@ spring: |
| 31 | 31 | min-idle: 10 |
| 32 | 32 | max-active: 1000 |
| 33 | 33 | max-wait: 100000 |
| 34 | - sentinel: | |
| 35 | - master: mymaster1 | |
| 36 | - nodes: redis-server:16379,redis-server:16379 | |
| 34 | + #sentinel: | |
| 35 | + #master: mymaster1 | |
| 36 | + #nodes: redis-server:16379,redis-server:16379 | |
| 37 | 37 | |
| 38 | 38 | activemq: |
| 39 | - broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers | |
| 39 | + broker-url: failover:(tcp://mq-server.gxb-base:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers | |
| 40 | 40 | inMemory: true |
| 41 | 41 | pool: |
| 42 | 42 | enabled: true |
| ... | ... | @@ -98,7 +98,7 @@ spring: |
| 98 | 98 | enabled: true |
| 99 | 99 | datasource: |
| 100 | 100 | name: gxb_core |
| 101 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true | |
| 101 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true | |
| 102 | 102 | username: test |
| 103 | 103 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 104 | 104 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -112,7 +112,7 @@ spring: |
| 112 | 112 | test-while-idle: true |
| 113 | 113 | redis: |
| 114 | 114 | database: 0 |
| 115 | - host: redis-server | |
| 115 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 116 | 116 | port: 6379 |
| 117 | 117 | password: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 118 | 118 | pool: |
| ... | ... | @@ -120,9 +120,9 @@ spring: |
| 120 | 120 | min-idle: 10 |
| 121 | 121 | max-active: 1000 |
| 122 | 122 | max-wait: 100000 |
| 123 | - sentinel: | |
| 124 | - master: mymaster1 | |
| 125 | - nodes: redis-server:16379,redis-server:16379 | |
| 123 | + #sentinel: | |
| 124 | + #master: mymaster1 | |
| 125 | + #nodes: redis-server:16379,redis-server:16379 | |
| 126 | 126 | |
| 127 | 127 | mybatis: |
| 128 | 128 | mapperLocations: classpath:/mybatis/*.xml |
| ... | ... | @@ -171,7 +171,7 @@ spring: |
| 171 | 171 | enabled: true |
| 172 | 172 | datasource: |
| 173 | 173 | name: gxb_core |
| 174 | - url: jdbc:mysql://emysql3:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true | |
| 174 | + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true | |
| 175 | 175 | username: postgres |
| 176 | 176 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 177 | 177 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -185,20 +185,20 @@ spring: |
| 185 | 185 | test-while-idle: true |
| 186 | 186 | redis: |
| 187 | 187 | database: 0 |
| 188 | - host: redis1 | |
| 188 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 189 | 189 | port: 6379 |
| 190 | - password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050) | |
| 190 | + password: ENC(263159d39cfeec890c46a4a51f13906ed438bacccea9fce79961c0b0eceac428) | |
| 191 | 191 | pool: |
| 192 | 192 | max-idle: 100 |
| 193 | 193 | min-idle: 10 |
| 194 | 194 | max-active: 1000 |
| 195 | 195 | max-wait: 100000 |
| 196 | - sentinel: | |
| 197 | - master: mymaster1 | |
| 198 | - nodes: redis1:16379,redis2:16379 | |
| 196 | + #sentinel: | |
| 197 | + #master: mymaster1 | |
| 198 | + #nodes: redis1:16379,redis2:16379 | |
| 199 | 199 | |
| 200 | 200 | activemq: |
| 201 | - broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers | |
| 201 | + broker-url: failover:(tcp://mq-server.gxb-base:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers | |
| 202 | 202 | inMemory: true |
| 203 | 203 | pool: |
| 204 | 204 | enabled: true | ... | ... |