Explorar o código

修改新的腾讯云环境配置

suntg %!s(int64=7) %!d(string=hai) anos
pai
achega
3b75f32332

+ 2 - 2
pom.xml

@@ -44,9 +44,9 @@
 		</profile>
 		<profile>
 			<!-- 生产环境 -->
-			<id>cloud</id>
+			<id>txcloud</id>
 			<properties>
-				<profile>cloud</profile>
+				<profile>txcloud</profile>
 				<!-- static plugin -->
 				<static-path>static</static-path>
 			</properties>

+ 0 - 13
src/main/resources/cloud/jdbc.properties

@@ -1,13 +0,0 @@
-jdbc.driverClassName=com.mysql.jdbc.Driver
-jdbc.url=7e5ef205e2ff4ca4a7802a1309e3909aa0c1d4f35301e9da621afc397f6dd97077dc23cfde8c4c803b87e419a4033df8987c87433e9205ff4b031dba894d9ced250e1244e97d6d981e453ebae5f8d300789f249d2764ad79d6700d2dbf822478c9620ccf2673fa4eaece115c6754eb3ed50c7a2454d14ff6924dd3f4dcaa96142806bbb9be9b32fcd6d2adf4bce037e81fc1dddfbb10bb555852197986555489
-jdbc.username=474e1aeadeeecac5
-jdbc.password=48981af937f010627b96e886a0d38aad
-jdbc.initialSize=1
-jdbc.maxActive=100
-jdbc.maxIdle=50
-jdbc.minIdle=50
-jdbc.suspectTimeout=60
-jdbc.timeBetweenEvictionRunsMillis=30000
-jdbc.minEvictableIdleTimeMillis=60000
-jdbc.validationQuery=SELECT 1
-jdbc.testWhileIdle=true

+ 0 - 2
src/main/resources/cloud/redis.properties

@@ -1,2 +0,0 @@
-redis.host=172.16.0.150
-redis.port=6379

+ 0 - 0
src/main/resources/cloud/account.properties → src/main/resources/txcloud/account.properties


+ 0 - 0
src/main/resources/cloud/email.properties → src/main/resources/txcloud/email.properties


+ 13 - 0
src/main/resources/txcloud/jdbc.properties

@@ -0,0 +1,13 @@
+jdbc.driverClassName=com.mysql.jdbc.Driver
+jdbc.url=7e5ef205e2ff4ca4a7802a1309e3909a9c62b0821a4bf2c8abff6effd7d06639d48ccefb2dd79a059d75ab9951823987d3864089071ebe574a4310fc35983e750f584efa8d961da3510a859189796af30eba9fe81f96ed1d28252553889d7b847135e8d6bb0c02f78b473bad30a1928e23c443b8b9a5fe8dc9e8b57f413396d6bfd4ee9a1f95883840f2b87a4b9671b298c7a9665d6a3cb2
+jdbc.username=73f3cd5578b9e08b
+jdbc.password=48981af937f010627b96e886a0d38aad
+jdbc.initialSize=1
+jdbc.maxActive=100
+jdbc.maxIdle=50
+jdbc.minIdle=50
+jdbc.suspectTimeout=60
+jdbc.timeBetweenEvictionRunsMillis=30000
+jdbc.minEvictableIdleTimeMillis=60000
+jdbc.validationQuery=SELECT 1
+jdbc.testWhileIdle=true

+ 0 - 0
src/main/resources/cloud/kafka.properties → src/main/resources/txcloud/kafka.properties


+ 0 - 0
src/main/resources/cloud/message.properties → src/main/resources/txcloud/message.properties


+ 2 - 0
src/main/resources/txcloud/redis.properties

@@ -0,0 +1,2 @@
+redis.host=172.21.0.150
+redis.port=6379

+ 1 - 1
src/main/resources/cloud/redisson.yaml → src/main/resources/txcloud/redisson.yaml

@@ -13,7 +13,7 @@ singleServerConfig:
   password: null
   subscriptionsPerConnection: 5
   clientName: null
-  address: ["redis://172.16.0.150:6379"]
+  address: ["redis://172.21.0.150:6379"]
   subscriptionConnectionMinimumIdleSize: 1
   subscriptionConnectionPoolSize: 25
   connectionMinimumIdleSize: 5

+ 3 - 3
src/main/resources/cloud/sys.properties → src/main/resources/txcloud/sys.properties

@@ -37,19 +37,19 @@ recommendPort=20100
 # upload file
 uploadFileUrl=http://dfs-api.ubtob.com
 # search file
-searchUrl=http://172.16.0.34:8081
+searchUrl=http://172.21.0.49:8081
 
 # message ip
 messageServiceIp=http://message.ubtob.com/
 # product public ip
-productServiceIp=http://172.16.0.22:8080
+productServiceIp=http://172.21.0.47:8080
 
 # Kafka
 kafka-bootstrap-servers=10.10.100.11:9292,10.10.100.12:9292,10.10.100.13:9292,10.10.100.14:9292,10.10.100.15:9292,10.10.100.16:9292
 
 #inquiry service url
 inquiryServiceUrl=https://api-inquiry.usoftchina.com
-inquiryServiceInnerUrl=http://172.16.0.19:8080
+inquiryServiceInnerUrl=http://172.21.0.48:8080
 
 #public message  service url
 messageServiceUrl=http://api-message.ubtob.com/

+ 3 - 3
src/test/java/com/uas/platform/b2c/DesTest.java

@@ -33,9 +33,9 @@ public class DesTest {
         prindHexString("select123***");
 
         // 腾讯云
-        System.out.println("cloud: ");
-        prindHexString("jdbc:mysql://172.16.0.200:3306/mall_prod?characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true&autoReconnect=true&useUnicode=true");
-        prindHexString("root");
+        System.out.println("txcloud: ");
+        prindHexString("jdbc:mysql://172.21.0.15:3306/mall_prod?characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true&autoReconnect=true&useUnicode=true");
+        prindHexString("sa");
         prindHexString("select111***");
     }