Browse Source

[MQ环境配置][修改]:TEST/RELEASE环境配置添加

release_toaliyun_real
Stormeye Wu 7 years ago
parent
commit
3a6a0fb877
13 changed files with 86 additions and 9 deletions
  1. +2
    -3
      mallinkAdmin/src/main/resources/application-dev.yml
  2. +8
    -2
      mallinkAdmin/src/main/resources/application-prod.yml
  3. +8
    -2
      mallinkAdmin/src/main/resources/application-test.yml
  4. +3
    -0
      mallinkAdmin/src/main/resources/application.yml
  5. +8
    -0
      mallinkBApi/src/main/resources/application-prod.yml
  6. +8
    -0
      mallinkBApi/src/main/resources/application-test.yml
  7. +8
    -0
      mallinkCApi/src/main/resources/application-prod.yml
  8. +8
    -0
      mallinkCApi/src/main/resources/application-test.yml
  9. +8
    -0
      mallinkMQConsumer/src/main/resources/application-prod.yml
  10. +8
    -0
      mallinkMQConsumer/src/main/resources/application-test.yml
  11. +1
    -2
      mallinkSchedule/src/main/java/com/iformall/schedule/WxAppVisitSchedule.java
  12. +8
    -0
      mallinkSchedule/src/main/resources/application-prod.yml
  13. +8
    -0
      mallinkSchedule/src/main/resources/application-test.yml

+ 2
- 3
mallinkAdmin/src/main/resources/application-dev.yml View File

@@ -24,9 +24,6 @@ spring:
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
#jackson: #jackson:
#date-format: yyyy-MM-dd HH:mm:ss #date-format: yyyy-MM-dd HH:mm:ss
flowable:
async-executor-activate: false

# REDIS # REDIS
redis: redis:
host: 202.165.179.86 host: 202.165.179.86
@@ -53,6 +50,7 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# ROCKETMQ
rocketmq: rocketmq:
nameServer: 127.0.0.1:9876 nameServer: 127.0.0.1:9876
producer: producer:
@@ -62,6 +60,7 @@ spring:
max-message-size: 4194304 max-message-size: 4194304
retry-another-broker-when-not-store-ok: false retry-another-broker-when-not-store-ok: false
retry-times-when-send-failed: 2 retry-times-when-send-failed: 2
# RABBITMQ
rabbitmq: rabbitmq:
host: 202.165.179.86 host: 202.165.179.86
port: 5672 port: 5672


+ 8
- 2
mallinkAdmin/src/main/resources/application-prod.yml View File

@@ -48,8 +48,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
flowable:
async-executor-activate: false
# RABBITMQ
rabbitmq:
host: localhost
port: 5672
username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 2
mallinkAdmin/src/main/resources/application-test.yml View File

@@ -48,8 +48,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
flowable:
async-executor-activate: false
# RABBITMQ
rabbitmq:
host: 127.0.0.1
port: 5672
username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 3
- 0
mallinkAdmin/src/main/resources/application.yml View File

@@ -37,6 +37,9 @@ spring:
password: guest password: guest
publisher-confirms: true publisher-confirms: true
virtual-host: / virtual-host: /
# FLOWABLE
flowable:
async-executor-activate: false




# @{link} https://github.com/abel533 # @{link} https://github.com/abel533


+ 8
- 0
mallinkBApi/src/main/resources/application-prod.yml View File

@@ -47,6 +47,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: localhost
port: 5672
username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 0
mallinkBApi/src/main/resources/application-test.yml View File

@@ -45,6 +45,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: 127.0.0.1
port: 5672
username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 0
mallinkCApi/src/main/resources/application-prod.yml View File

@@ -47,6 +47,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: localhost
port: 5672
username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 0
mallinkCApi/src/main/resources/application-test.yml View File

@@ -45,6 +45,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: 127.0.0.1
port: 5672
username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 0
mallinkMQConsumer/src/main/resources/application-prod.yml View File

@@ -48,6 +48,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: localhost
port: 5672
username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 0
mallinkMQConsumer/src/main/resources/application-test.yml View File

@@ -46,6 +46,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: 127.0.0.1
port: 5672
username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 1
- 2
mallinkSchedule/src/main/java/com/iformall/schedule/WxAppVisitSchedule.java View File

@@ -99,8 +99,7 @@ public class WxAppVisitSchedule {
WxMaService wxMaService = MaUtil.getWeappService(appInfo); WxMaService wxMaService = MaUtil.getWeappService(appInfo);
try { try {
List<WxMaVisitTrend> vtList = wxMaService.getAnalysisService().getDailyVisitTrend(lastDate, lastDate); List<WxMaVisitTrend> vtList = wxMaService.getAnalysisService().getDailyVisitTrend(lastDate, lastDate);

System.out.println(vtList.toString());
logger.info(vtList.toString());
for(WxMaVisitTrend maVisitTrend: vtList) { for(WxMaVisitTrend maVisitTrend: vtList) {
WxUserVisit v = new WxUserVisit(); WxUserVisit v = new WxUserVisit();
v.setAppId(appInfo.getAppId()); v.setAppId(appInfo.getAppId());


+ 8
- 0
mallinkSchedule/src/main/resources/application-prod.yml View File

@@ -48,6 +48,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: localhost
port: 5672
username: ENC(lRmLd6EzgeY1RT5ktcHv9g==)
password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


+ 8
- 0
mallinkSchedule/src/main/resources/application-test.yml View File

@@ -46,6 +46,14 @@ spring:
auth: true auth: true
starttls: starttls:
enable: true enable: true
# RABBITMQ
rabbitmq:
host: 127.0.0.1
port: 5672
username: ENC(aSRr6mnSryEqzHHz1hJf1g==)
password: ENC(GnjF/mdqKdvmDYC0tIIso7+20/jBALPw39tiWCYJ4iw=)
publisher-confirms: true
virtual-host: /


aws: aws:
clientRegion: cn-northwest-1 clientRegion: cn-northwest-1


Loading…
Cancel
Save