소스 검색

联调修改

xieshengjie 3 년 전
부모
커밋
728a8f1dc7
20개의 변경된 파일105개의 추가작업 그리고 5개의 파일을 삭제
  1. BIN
      web/benchmarking-web-hb/target/benchmarking-web-hb-1.0-SNAPSHOT.jar
  2. BIN
      web/benchmarking-web-hb/target/benchmarking-web-hb-1.0-SNAPSHOT.jar.original
  3. 4 4
      web/benchmarking-web-hb/target/classes/application.yml
  4. BIN
      web/benchmarking-web-hb/target/classes/com/gyee/benchmarkingweb/service/benching/BenchmarkingService.class
  5. BIN
      web/benchmarking-web-hb/target/classes/com/gyee/benchmarkingweb/service/specific/SpecificService.class
  6. 1 1
      web/consumer/src/main/java/com/gyee/consumer/controller/benching/BenchmarkingController.java
  7. 87 0
      web/consumer/target/classes/application.yml
  8. BIN
      web/consumer/target/classes/com/gyee/consumer/ConsumerMain.class
  9. BIN
      web/consumer/target/classes/com/gyee/consumer/config/CorsConfig.class
  10. BIN
      web/consumer/target/classes/com/gyee/consumer/config/RestTemplateConfig.class
  11. BIN
      web/consumer/target/classes/com/gyee/consumer/controller/AlgorithmController.class
  12. BIN
      web/consumer/target/classes/com/gyee/consumer/controller/analysis/AnalysisController.class
  13. BIN
      web/consumer/target/classes/com/gyee/consumer/controller/benching/BenchmarkingController.class
  14. BIN
      web/consumer/target/classes/com/gyee/consumer/controller/specific/SpecificController.class
  15. BIN
      web/consumer/target/classes/com/gyee/consumer/controller/threerate/ThreerateController.class
  16. BIN
      web/consumer/target/consumer-1.0-SNAPSHOT.jar
  17. BIN
      web/consumer/target/consumer-1.0-SNAPSHOT.jar.original
  18. 5 0
      web/consumer/target/maven-archiver/pom.properties
  19. 0 0
      web/consumer/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
  20. 8 0
      web/consumer/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

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


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


+ 4 - 4
web/benchmarking-web-hb/target/classes/application.yml

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

BIN
web/benchmarking-web-hb/target/classes/com/gyee/benchmarkingweb/service/benching/BenchmarkingService.class


BIN
web/benchmarking-web-hb/target/classes/com/gyee/benchmarkingweb/service/specific/SpecificService.class


+ 1 - 1
web/consumer/src/main/java/com/gyee/consumer/controller/benching/BenchmarkingController.java

@@ -368,7 +368,7 @@ public class BenchmarkingController {
     @CrossOrigin(origins = "*", maxAge = 3600)
     public R dbmainbottom(@RequestParam(value = "timetype",required = true)String timetype,
                           @RequestParam(value = "foreigntype",required = true)String foreigntype) throws Exception {
-        return restTemplate.getForObject(BENCHMARKING_URL+"/benchmarking/djhxdbbottom?timetype="+timetype+"&foreigntype="+foreigntype,R.class);
+        return restTemplate.getForObject(BENCHMARKING_URL+"/benchmarking/dbmainbottom?timetype="+timetype+"&foreigntype="+foreigntype,R.class);
     }
 
 

+ 87 - 0
web/consumer/target/classes/application.yml

@@ -0,0 +1,87 @@
+server:
+  port: 8020
+  servlet:
+    context-path: /
+
+
+spring:
+  main:
+    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+  #redis集群
+  redis:
+#    host: 10.83.68.94
+    host: 192.168.2.202
+    port: 6379
+    timeout: 100000
+    #    集群环境打开下面注释,单机不需要打开
+    #    cluster:
+    #      集群信息
+    #      nodes: xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx
+    #      #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
+    #      maxRedirects: 3
+    password:
+    application:
+      name: test
+    jedis:
+      pool:
+        max-active: 8
+        min-idle: 0
+        max-idle: 8
+        max-wait: -1
+    database: 1
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: oracle.jdbc.OracleDriver
+    #外网
+    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+#    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+logging:
+  level:
+    root: info
+    com.example: debug
+
+url:
+  benchmaring: http://192.168.2.216:8081
+  analysis: http://192.168.2.216:8082
+
+

BIN
web/consumer/target/classes/com/gyee/consumer/ConsumerMain.class


BIN
web/consumer/target/classes/com/gyee/consumer/config/CorsConfig.class


BIN
web/consumer/target/classes/com/gyee/consumer/config/RestTemplateConfig.class


BIN
web/consumer/target/classes/com/gyee/consumer/controller/AlgorithmController.class


BIN
web/consumer/target/classes/com/gyee/consumer/controller/analysis/AnalysisController.class


BIN
web/consumer/target/classes/com/gyee/consumer/controller/benching/BenchmarkingController.class


BIN
web/consumer/target/classes/com/gyee/consumer/controller/specific/SpecificController.class


BIN
web/consumer/target/classes/com/gyee/consumer/controller/threerate/ThreerateController.class


BIN
web/consumer/target/consumer-1.0-SNAPSHOT.jar


BIN
web/consumer/target/consumer-1.0-SNAPSHOT.jar.original


+ 5 - 0
web/consumer/target/maven-archiver/pom.properties

@@ -0,0 +1,5 @@
+#Generated by Maven
+#Fri Feb 11 17:58:09 CST 2022
+version=1.0-SNAPSHOT
+groupId=com.gyee
+artifactId=consumer

+ 0 - 0
web/consumer/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst


+ 8 - 0
web/consumer/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@@ -0,0 +1,8 @@
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\controller\AlgorithmController.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\config\RestTemplateConfig.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\controller\benching\BenchmarkingController.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\config\CorsConfig.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\ConsumerMain.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\controller\analysis\AnalysisController.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\controller\specific\SpecificController.java
+D:\work\ideawork\sis\sis\web\consumer\src\main\java\com\gyee\consumer\controller\threerate\ThreerateController.java