Browse Source

修改配置文件中大治河船闸服务IP;配置文件test改为pro

sbj 5 months ago
parent
commit
574eb33ed5

+ 3 - 3
pom.xml

@@ -288,10 +288,10 @@
             </properties>
         </profile>
         <profile>
-            <!-- 测试环境 -->
-            <id>test</id>
+            <!-- 生产环境 -->
+            <id>pro</id>
             <properties>
-                <profiles.active>test</profiles.active>
+                <profiles.active>pro</profiles.active>
             </properties>
         </profile>
     </profiles>

+ 7 - 7
src/main/resources/profile/test/application.properties

@@ -17,7 +17,7 @@ server.tomcat.max-http-post-size=-1
 
 spring.mvc.pathmatch.matching-strategy=ant_path_matcher
 spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
-spring.datasource.hikari.maximum-pool-size= 60
+spring.datasource.hikari.maximum-pool-size= 20
 spring.datasource.hikari.maximum-idle = 15
 spring.datasource.hikari.idle-timeout= 30000
 #Mybatis配置
@@ -62,13 +62,13 @@ spring.redis.jedis.pool.min-idle=-1
 spring.redis.timeout=10000
 
 
-shipLockDoorStatusUrl=http://10.121.41.3:8081/xunxiang/ship/info/query/doorStatus
+shipLockDoorStatusUrl=http://10.114.4.11:8081/xunxiang/ship/info/query/doorStatus
 shipLockSecretId=yangshuai
 shipLockSecretKey=rlDR2kzLkZ5mpJbUscF7Si9EnlLJWcAc3uCnIiZdAvfm9haipGiCBZ0GuyFypkSWQ2hVgpTgAu0MdgLfLw64TkOvTmKkleci0rgE55wQuck=
-illegalInfoUrl=http://10.121.41.3:8081/xunxiang/ship/open/get-illegal-info?
+illegalInfoUrl=http://10.114.4.11:8081/xunxiang/ship/open/get-illegal-info?
 infoSecretId=durr
 infoSecretKey=WpEuxS+GyBzT0go10TGJeQjR5reA0LolEkmVzfmS87dU7H7LNP2xYsD1rmGgoEHx8ApuX8GaIPgZsUhOa8wJ+YkfkTsuMC74zMOVCyt5xOw=
-lockStaticUrl=http://10.121.41.3:8081/xunxiang/ship/open/get-lock-statistic?
-shipStatusUrl=http://10.121.41.3:8081/xunxiang/ship/open/get-ship-by-status?
-shipLockWaterLevelUrl=http://10.121.41.3:8081/xunxiang/ship/info/query/newData
-areaStatisticUrl=http://10.121.41.3:8081/xunxiang/ship/open/get-area-statistic
+lockStaticUrl=http://10.114.4.11:8081/xunxiang/ship/open/get-lock-statistic?
+shipStatusUrl=http://10.114.4.11:8081/xunxiang/ship/open/get-ship-by-status?
+shipLockWaterLevelUrl=http://10.114.4.11:8081/xunxiang/ship/info/query/newData
+areaStatisticUrl=http://10.114.4.11:8081/xunxiang/ship/open/get-area-statistic

src/main/resources/profile/test/logback-spring.xml → src/main/resources/profile/pro/logback-spring.xml