Ver código fonte

修改历史经济运行端口

xieshengjie 3 anos atrás
pai
commit
17c4d577b3

+ 1 - 2
histroy/benchmarking-histroy-hb/src/main/java/com/gyee/benchmarkinghistroy/util/realtimesource/MongoEdosUtil.java

@@ -29,8 +29,7 @@ import java.util.*;
 public class MongoEdosUtil implements IEdosUtil {
 
     private RestTemplate restTemplate =new RestTemplate();
-    private static String baseURL = "http://localhost:8080/mogodb";
-//    private static String baseURL = "http://10.65.79.30:8019/ts";
+    private static String baseURL = "http://192.168.2.216:8090/mogodb";
     @Override
     public PointData getRealData(Windpowerstationtestingpoint point) throws Exception {
         try {

+ 5 - 6
histroy/benchmarking-histroy-hb/src/main/resources/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 8032
+  port: 8091
   servlet:
     context-path: /
 
@@ -9,8 +9,8 @@ spring:
     allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
   #redis集群
   redis:
-#    host: 49.4.50.80
-    host: 10.83.68.94
+    host: 192.168.2.202
+#    host: 10.83.68.94
     port: 6379
     timeout: 100000
     #    集群环境打开下面注释,单机不需要打开
@@ -35,9 +35,8 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: oracle.jdbc.OracleDriver
     #外网
-    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
-#    url: jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd
-    #    url: jdbc:oracle:thin:@172.168.1.14:1521:gdnxfd
+#    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
     username: gdprod
     password: gd123
     oracle-schema=:

+ 1 - 1
histroy/benchmarking-histroy-hb/src/test/java/com/gyee/benchmarkinghistroy/BenchmarkingHistroyMainTest.java

@@ -39,7 +39,7 @@ public class BenchmarkingHistroyMainTest {
 
     @Test
     public void test1() throws Exception {
-        String date = "2021-12-05";
+        String date = "2021-12-07";
         benchmarkingHistroyService.saveEquipmentdayinfo(date,date);
 //        benchmarkingHistroyService.saveEquipmentdaydetailed(date,date);
 //        benchmarkingHistroyService.saveOperationrecord(date,date);

BIN
histroy/benchmarking-histroy-hb/target/benchmarking-histroy-hb-1.0-SNAPSHOT.jar


BIN
histroy/benchmarking-histroy-hb/target/benchmarking-histroy-hb-1.0-SNAPSHOT.jar.original


+ 5 - 6
histroy/benchmarking-histroy-hb/target/classes/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 8032
+  port: 8091
   servlet:
     context-path: /
 
@@ -9,8 +9,8 @@ spring:
     allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
   #redis集群
   redis:
-#    host: 49.4.50.80
-    host: 10.83.68.94
+    host: 192.168.2.202
+#    host: 10.83.68.94
     port: 6379
     timeout: 100000
     #    集群环境打开下面注释,单机不需要打开
@@ -35,9 +35,8 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: oracle.jdbc.OracleDriver
     #外网
-    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
-#    url: jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd
-    #    url: jdbc:oracle:thin:@172.168.1.14:1521:gdnxfd
+#    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
     username: gdprod
     password: gd123
     oracle-schema=:

BIN
histroy/benchmarking-histroy-hb/target/classes/com/gyee/benchmarkinghistroy/init/CacheContext.class


BIN
histroy/benchmarking-histroy-hb/target/classes/com/gyee/benchmarkinghistroy/service/benchmarking/BenchmarkingHistroyService.class


BIN
histroy/benchmarking-histroy-hb/target/classes/com/gyee/benchmarkinghistroy/service/specific/SpecificService.class


BIN
histroy/benchmarking-histroy-hb/target/classes/com/gyee/benchmarkinghistroy/util/realtimesource/EdosUtil.class


BIN
histroy/benchmarking-histroy-hb/target/classes/com/gyee/benchmarkinghistroy/util/realtimesource/MongoEdosUtil.class


BIN
histroy/benchmarking-histroy-hb/target/test-classes/com/gyee/benchmarkinghistroy/BenchmarkingHistroyMainTest.class