wangyunpeng 10 달 전
부모
커밋
92a447577e
1개의 변경된 파일40개의 추가작업 그리고 72개의 파일을 삭제
  1. 40 72
      long-article-recommend-service/src/main/resources/application-test.yml

+ 40 - 72
long-article-recommend-service/src/main/resources/application-test.yml

@@ -3,9 +3,9 @@ server:
 
 spring:
   redis:
-    hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
+    hostName: r-bp1m4nvh130sfjjc6f.redis.rds.aliyuncs.com
     port: 6379
-    password: Wqsd@2019
+    password: Qingqu2019
     timeout: 1000
     lettuce:
       pool:
@@ -13,66 +13,7 @@ spring:
         max-wait: -1
         max-idle: 8
         min-idle: 0
-  feature-redis:
-    hostName: r-bp1pi8wyv6lzvgjy5z.redis.rds.aliyuncs.com
-    port: 6379
-    password: Wqsd@2019
-    timeout: 1000
-    lettuce:
-      pool:
-        max-active: 8
-        max-wait: -1
-        max-idle: 8
-        min-idle: 0
-  long-video-redis:
-    hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
-    port: 6379
-    password: Wqsd@2019
-    timeout: 1000
-    lettuce:
-      pool:
-        max-active: 8
-        max-wait: -1
-        max-idle: 8
-        min-idle: 0
-  filter-redis:
-    hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
-    port: 6379
-    password: Wqsd@2019
-    timeout: 1000
-    lettuce:
-      pool:
-        max-active: 8
-        max-wait: -1
-        max-idle: 8
-        min-idle: 0
-  video-redis:
-    hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
-    port: 6379
-    password: Wqsd@2019
-    timeout: 1000
-    lettuce:
-      pool:
-        max-active: 8
-        max-wait: -1
-        max-idle: 8
-        min-idle: 0
-  data:
-    mongodb:
-      clusterHost: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com
-      clusterPort: 3717
-      secondaryHost: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com
-      secondaryPort: 3717
-      database: longvideo
-      username: lv
-      password: lv@2018
-      replicaSetName: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com:3717,dds-bp1de4fc73029b242144.mongodb.rds.aliyuncs.com:3717
-      # 连接池
-      maxConnectionIdleTime: 180000
-      # maxConnectionLifeTime: 30000
-      maxWaitTime: 3000
-      minSize: 5
-      maxSize: 10
+
   datasource:
     crawler:
       jdbc-url: jdbc:mysql://rm-bp1159bu17li9hi94.mysql.rds.aliyuncs.com:3306/piaoquan-crawler?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
@@ -107,6 +48,28 @@ spring:
         maximum-pool-size: 10
         auto-commit: true
         idle-timeout: 30000
+    longarticle:
+      jdbc-url: jdbc:mysql://rm-bp14529nwwcw75yr1.mysql.rds.aliyuncs.com:3306/long_articles?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
+      username: changwen_admin
+      password: changwen@123456
+      driver-class-name: com.mysql.jdbc.Driver
+      hikari:
+        connection-timeout: 30000
+        minimum-idle: 5
+        maximum-pool-size: 10
+        auto-commit: true
+        idle-timeout: 30000
+    growth:
+      jdbc-url: jdbc:mysql://rm-bp17q95335a99272b.mysql.rds.aliyuncs.com:3306/growth?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
+      username: crawler
+      password: crawler123456@
+      driver-class-name: com.mysql.jdbc.Driver
+      hikari:
+        connection-timeout: 30000
+        minimum-idle: 5
+        maximum-pool-size: 10
+        auto-commit: true
+        idle-timeout: 30000
   jpa:
     crawler:
       hibernate:
@@ -120,6 +83,13 @@ spring:
       hibernate:
         ddl-auto: validate
       database: mysql
+    longarticle:
+      hibernate:
+        ddl-auto: validate
+      database: mysql
+
+apollo:
+  meta: http://testapolloconfig-internal.piaoquantv.com
 
 xxl:
   job:
@@ -134,24 +104,22 @@ xxl:
       logpath: /datalog/weblog/${spring.application.name}/xxl-job/
       logretentiondays: 30
 
-apollo:
-  meta: http://testapolloconfig-internal.piaoquantv.com
-
 aliyun:
   log:
     endpoint: cn-hangzhou-intranet.log.aliyuncs.com
     accessKeyId: LTAIP6x1l3DXfSxm
     accessKeySecret: KbTaM9ars4OX3PMS6Xm7rtxGr1FLon
-    project: recommend-server-test
+    project: longarticle-recommend-server-test
   timer:
     log:
-      project: recommend-server-test
+      project: longarticle-recommend-server-test
       logStore: timer
-  blacklist:
-    filter:
-      log:
-        project: wqsd-video-test
-        store: video_blacklist_security_filter_log
+
+pushMessage:
+  callback:
+    topic: 3rd_party_push_message_callback_prod
+    groupId: GID_3RD_PARTY_PUSH_MESSAGE_CALLBACK_PROD
+    tag: mini
 
 small_page_url: https://testapi.piaoquantv.com