Преглед на файлове

最新编码 并对sourceData进行控制

pms преди 1 година
родител
ревизия
543b161276
променени са 1 файла, в които са добавени 87 реда и са изтрити 0 реда
  1. 87 0
      mainFactory/src/main/resources/application-120.yml

+ 87 - 0
mainFactory/src/main/resources/application-120.yml

@@ -0,0 +1,87 @@
+server:
+  port: ${PORT:18400}
+  servlet:
+    encoding:
+      charset: UTF-8
+      force: true
+      enabled: true
+  codec:
+    max-in-memory-size: -1
+  application:
+    name: mainFactory
+spring:
+  mvc:
+    view:
+      prefix: /
+      suffix: .html
+
+log:
+  url: jdbc:mysql://120.26.64.82:3306/yq_2.0
+  title: root
+  cipher: 123@bigdata
+  type: com.mysql.cj.jdbc.Driver
+
+#mydb:
+#  url: ${MYDB_URL:jdbc:mysql://rm-bp12c6mmk845m73p48o.mysql.rds.aliyuncs.com:3306/test_cen}
+#  title: ${MYDB_USER:bf_dev_epi}
+#  cipher: ${MYDB_PASSWD:Bfepi2021(}
+#  type: ${MYDB_DRIVER:com.mysql.cj.jdbc.Driver}
+#  serviceURL: ${MY_SERVICE_URL:127.0.0.1:8080}
+
+
+mydb:
+  url: ${MYDB_URL:jdbc:mysql://10.211.66.16:3163/DISACenter_2}
+  title: ${MYDB_USER:root}
+  cipher: ${MYDB_PASSWD:QtrmuqDw^bJu$}
+  type: ${MYDB_DRIVER:com.mysql.cj.jdbc.Driver}
+  serviceURL: ${MY_SERVICE_URL:127.0.0.1:8080}
+
+#mydb:
+#  url: ${MYDB_URL:jdbc:mysql://120.26.64.82:3306/DISACenter_2}
+#  title: ${MYDB_USER:root}
+#  cipher: ${MYDB_PASSWD:123@bigdata}
+#  type: ${MYDB_DRIVER:com.mysql.cj.jdbc.Driver}
+#  serviceURL: ${MY_SERVICE_URL:127.0.0.1:8080}
+#mydb:
+#  url: ${MYDB_URL:jdbc:mysql://120.26.64.82:3306/db2_center}
+#  title: ${MYDB_USER:root}
+#  cipher: ${MYDB_PASSWD:123@bigdata}
+#  type: ${MYDB_DRIVER:com.mysql.cj.jdbc.Driver}
+#  serviceURL: ${MY_SERVICE_URL:127.0.0.1:17000}
+
+
+
+
+
+
+#isEs:
+#  open: true
+#  scheme: http
+#  hostname: 120.26.64.82
+#  port: 9200
+#  auth: false
+#  username: ""
+#  password: ""
+#  successIndexName: "success_log_center2"
+#  errorIndexName: "error_log_center2"
+
+isEs:
+  open: false
+  scheme: http
+  hostname: 10.211.67.175
+  port: 9201
+  auth: true
+  username: "elastic"
+  password: "TUihk5^a0J+GkI4!4"
+  successIndexName: "success_log_center"
+  errorIndexName: "error_log_center"
+
+
+service:
+  pool:
+    maxPoolSize: 512
+    corePoolSize: 6
+    queueCapacity: 1024
+    keepAliveSeconds: 60
+    threadNamePrefix: logthreadpool
+    waitForTasksToCompleteOnShutdown: true