Przeglądaj źródła

删除 gateway,file,data,message 的 cluster 配置

reghao 5 miesięcy temu
rodzic
commit
ef0c2c57c0

+ 0 - 6
data/data-service/pom.xml

@@ -103,12 +103,6 @@
                 <profile.active>test</profile.active>
             </properties>
         </profile>
-        <profile>
-            <id>cluster</id>
-            <properties>
-                <profile.active>cluster</profile.active>
-            </properties>
-        </profile>
     </profiles>
 
     <build>

+ 0 - 17
data/data-service/src/main/resources/application-cluster.yml

@@ -1,17 +0,0 @@
-spring:
-  cloud:
-    discovery:
-      enabled: true
-    zookeeper:
-      connect-string: 192.168.0.177:2181,192.168.0.178:2181,192.168.0.179:2181
-  redis:
-    database: 0
-    host: 192.168.0.177
-    port: 6379
-    password: Test@123456
-    timeout: 5000
-  rabbitmq:
-    addresses: 192.168.0.177:5672,192.168.0.178:5672,192.168.0.179:5672
-    virtual-host: /
-    username: test
-    password: Test@123456

+ 0 - 6
file/file-service/pom.xml

@@ -149,12 +149,6 @@
                 <profile.active>test</profile.active>
             </properties>
         </profile>
-        <profile>
-            <id>cluster</id>
-            <properties>
-                <profile.active>cluster</profile.active>
-            </properties>
-        </profile>
     </profiles>
 
     <build>

+ 0 - 19
file/file-service/src/main/resources/application-cluster.yml

@@ -1,19 +0,0 @@
-dubbo:
-  registry:
-    protocol: zookeeper
-    address: 192.168.0.177:2181,192.168.0.178:2181,192.168.0.179:2181
-spring:
-  cloud:
-    discovery:
-      enabled: true
-    zookeeper:
-      connect-string: 192.168.0.177:2181,192.168.0.178:2181,192.168.0.179:2181
-  redis:
-    database: 0
-    host: 192.168.0.177
-    port: 6379
-    password: Test@123456
-  datasource:
-    url: jdbc:mysql://192.168.0.177:3306/tnb_content_tdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
-    username: test
-    password: Test@123456

+ 0 - 6
gateway/pom.xml

@@ -97,12 +97,6 @@
                 <profile.active>test</profile.active>
             </properties>
         </profile>
-        <profile>
-            <id>cluster</id>
-            <properties>
-                <profile.active>cluster</profile.active>
-            </properties>
-        </profile>
     </profiles>
 
     <build>

+ 0 - 12
gateway/src/main/resources/application-cluster.yml

@@ -1,12 +0,0 @@
-spring:
-  redis:
-    database: 0
-    host: 192.168.0.177
-    port: 6379
-    password: Test@123456
-    timeout: 5000
-  cloud:
-    discovery:
-      enabled: true
-    zookeeper:
-      connect-string: 192.168.0.177:2181,192.168.0.178:2181,192.168.0.179:2181

+ 0 - 6
message/message-service/pom.xml

@@ -135,12 +135,6 @@
                 <profile.active>test</profile.active>
             </properties>
         </profile>
-        <profile>
-            <id>cluster</id>
-            <properties>
-                <profile.active>cluster</profile.active>
-            </properties>
-        </profile>
     </profiles>
 
     <build>

+ 0 - 19
message/message-service/src/main/resources/application-cluster.yml

@@ -1,19 +0,0 @@
-dubbo:
-  registry:
-    protocol: zookeeper
-    address: 192.168.0.177:2181,192.168.0.178:2181,192.168.0.179:2181
-spring:
-  cloud:
-    discovery:
-      enabled: true
-    zookeeper:
-      connect-string: 192.168.0.177:2181,192.168.0.178:2181,192.168.0.179:2181
-  rabbitmq:
-    addresses: 192.168.0.177:5672,192.168.0.178:5672,192.168.0.179:5672
-    virtual-host: /
-    username: test
-    password: Test@123456
-  datasource:
-    url: jdbc:mysql://192.168.0.177:3306/tnb_account_tdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
-    username: test
-    password: Test@123456