123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403 |
- ##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主 git上 svr-base -> git application ->本地 appliction ->本地 bootstarp
- server:
- port: 10050
- spring:
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- hikari:
- registerMbeans: true
- max-active: 50
- max-idle: 50 #最大空闲连接
- min-idle: 10 #最小空闲连接
- validation-query-timeout: 20
- log-validation-errors: true
- validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
- validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
- test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
- test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
- idle-timeout: 30000
- connection-test-query: SELECT 1
- num-tests-per-eviction-run: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
- test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
- min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
- time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
- http:
- multipart:
- max-file-size: 50MB
- max-request-size: 100MB
- data:
- elasticsearch: #ElasticsearchProperties
- cluster-name: jkzl #默认即为elasticsearch 集群名
- local: false #是否本地连接
- properties: # Additional properties used to configure the client.
- enable: true
- # JEST (Elasticsearch HTTP client) (JestProperties)
- elasticsearch:
- jest:
- # uris: http://172.19.103.68:9200
- connection-timeout: 60000 # Connection timeout in milliseconds.
- multi-threaded: true # Enable connection requests from multiple execution threads.
- # username: # Login user.
- # password: # Login password.
- # proxy.port: # Proxy port the HTTP client should use.
- # proxy.host: # Proxy host the HTTP client should use.
- #hibernate 配置
- hibernate:
- dialect: org.hibernate.dialect.MySQL5Dialect
- show_sql: true
- ejb:
- naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
- fast-dfs:
- connect-timeout: 2 #链接超时时间
- network-timeout: 30
- charset: ISO8859-1 #编码
- http:
- tracker-http-port: 80
- anti-steal-token: no
- secret-key: FastDFS1234567890
- pool: #连接池大小
- init-size: 5
- max-size: 20
- wait-time: 500
- ##拦截器开关
- interceptor:
- accesstoken:
- status: 1 ### 1开启 0 关闭
- time: 2 ##对外接的accesstoken生命周期 2小时
- ---
- spring:
- profiles: jwdev
- datasource:
- url: jdbc:mysql://172.26.0.204:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: ssgg
- password: ssgg@jkzl2019
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 172.26.0.203:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://172.26.0.202:9200
- wlyy:
- url: http://www.xmtyw.cn/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- index:
- Statistics: hlw_quota_test
- FollowUp: wlyy_followup
- type:
- Statistics: hlw_quota_test
- FollowUpContent: wlyy_followup_content
- host: http://172.26.0.112:9200
- tHost: 172.26.0.112:9300
- clusterName: jkzl
- securityUser: lion:jkzlehr
- user: lion
- password: jkzlehr
- fast-dfs:
- tracker-server: 172.26.0.200:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://172.26.0.200:22122/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: dev
- datasource:
- url: jdbc:mysql://172.26.0.104:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: ssgg
- password: ssgg@jkzl2019
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 172.26.0.203:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://172.26.0.202:9200
- wlyy:
- url: http://www.xmtyw.cn/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- index:
- Statistics: hlw_quota_test
- FollowUp: wlyy_followup
- type:
- Statistics: hlw_quota_test
- FollowUpContent: wlyy_followup_content
- host: http://172.26.0.112:9200
- tHost: 172.26.0.112:9300
- clusterName: jkzl
- securityUser: lion:jkzlehr
- user: lion
- password: jkzlehr
- fast-dfs:
- tracker-server: 172.26.0.200:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://172.26.0.200:22122/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: jwtest
- datasource:
- url: jdbc:mysql://172.26.0.104/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: ssgg
- password: ssgg@jkzl2019
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 172.26.0.112:9300,172.26.0.112:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
- wlyy:
- url: https://ehr.yihu.com/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee62
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee62
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- index:
- Statistics: hlw_quota_test
- FollowUp: wlyy_followup
- type:
- Statistics: hlw_quota_test
- FollowUpContent: wlyy_followup_content
- host: http://172.26.0.112:9200
- tHost: 172.26.0.112:9300
- clusterName: jkzl
- securityUser: lion:jkzlehr
- user: lion
- password: jkzlehr
- fast-dfs:
- tracker-server: 172.19.103.54:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://172.19.103.54:80/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: iottest
- datasource:
- url: jdbc:mysql://172.26.0.104/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: ssgg
- password: ssgg@jkzl2019
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 172.26.0.112:9300,172.26.0.112:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
- wlyy:
- url: https://ehr.yihu.com/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee62
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee62
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base 正式
- # #http://ehr.yihu.com/hlwyy/cityihealth/base 测试
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- index:
- Statistics: hlw_quota_test
- FollowUp: wlyy_followup
- type:
- Statistics: hlw_quota_test
- FollowUpContent: wlyy_followup_content
- host: http://172.26.0.112:9200
- tHost: 172.26.0.112:9300
- clusterName: jkzl
- securityUser: lion:jkzlehr
- user: lion
- password: jkzlehr
- fast-dfs:
- tracker-server: 172.19.103.54:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://172.19.103.54:80/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: iotyanshi
- datasource:
- url: jdbc:mysql://172.26.0.195/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: root
- password: jkzlehr
- elasticsearch:
- cluster-name: jkzl #默认即为elasticsearch 集群名
- cluster-nodes: 172.26.0.190:9300,172.26.0.190:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- jest:
- uris: http://172.26.0.190:9200,http://172.26.0.190:9200
- wlyy:
- url: https://ehr.yihu.com/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee62
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee62
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- fast-dfs:
- tracker-server: 172.26.0.110:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://172.26.0.110:8888/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: jwprod
- datasource:
- #url: jdbc:mysql://59.61.92.90:9207/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- url: jdbc:mysql://59.61.92.90:9207/xmiot?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false
- username: wlyy
- password: jkzlehr@123
- elasticsearch:
- cluster-name: jkzl #默认即为elasticsearch 集群名
- cluster-nodes: 59.61.92.90:9208, 59.61.92.90:9210 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- jest:
- uris: http://59.61.92.90:9208, http://59.61.92.90:9210
- wlyy:
- url: http://www.xmtyw.cn/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
- #hlw:
- # baseUrl: http://ehr.yihu.com/hlwyy/cityihealth/base
- fast-dfs:
- tracker-server: 10.95.22.139:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://www.xmtyw.cn/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: prod
- datasource:
- url: jdbc:mysql://59.61.92.90:9207/xmiot?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false
- username: wlyy
- password: jkzlehr@123
- elasticsearch:
- cluster-name: jkzl #默认即为elasticsearch 集群名
- cluster-nodes: 59.61.92.90:9208,59.61.92.90:9210 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- jest:
- uris: http://59.61.92.90:9208,http://59.61.92.90:9210
- wlyy:
- url: http://www.xmtyw.cn/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee61
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee57
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- fast-dfs:
- tracker-server: 10.95.22.139:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://www.xmtyw.cn/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: iotprod
- datasource:
- url: jdbc:mysql://10.90.32.3:20002/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: wlyy_new
- password: '@TaVAj%LEK@vB2J4&y9sk@TaVAj%LEK'
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 10.90.32.3:20011,10.90.32.3:20011 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://10.90.32.3:20011,http://10.90.32.3:20012
- wlyy:
- url: https://www.xmtyw.cn/wlyytest/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee62
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee62
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- host: http://10.90.32.3:20011
- tHost: 10.90.32.3:20012
- clusterName: jkzl
- securityUser: zjxl:6Dbq&fHg
- user: zjxl
- password: 6Dbq&fHg
- fast-dfs:
- tracker-server: 172.19.103.54:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://172.19.103.54:80/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: iotprodIn
- datasource:
- url: jdbc:mysql://10.95.22.143:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: wlyy_new
- password: '@TaVAj%LEK@vB2J4&y9sk@TaVAj%LEK'
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 10.90.32.3:20011,10.90.32.3:20011 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://10.90.32.3:20011,http://10.90.32.3:20012
- wlyy:
- url: http://10.95.22.10:8011/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee62
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee62
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- host: http://10.95.91.4:9200
- tHost: 10.95.91.4:9300
- clusterName: jkzl
- securityUser: zjxl:6Dbq&fHg
- user: zjxl
- password: 6Dbq&fHg
- fast-dfs:
- tracker-server: 10.95.22.139:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://10.95.22.140:23000/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
- ---
- spring:
- profiles: hzprod
- datasource:
- url: jdbc:mysql://10.18.43.40:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
- username: wlyy
- password: '0XxS3W*!cRj'
- # elasticsearch:
- # cluster-name: jkzl #默认即为elasticsearch 集群名
- # cluster-nodes: 10.90.32.3:20011,10.90.32.3:20011 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
- # jest:
- # uris: http://10.90.32.3:20011,http://10.90.32.3:20012
- wlyy:
- url: http://10.95.22.10:8011/wlyy/
- appid: 915d0345-5b1d-11e6-8344-fa163e8aee62
- appsecret: 915d0345-5b1d-11e6-8344-fa163e8aee62
- #hlw:
- # baseUrl: https://zb.xmtyw.cn/medicine/cityihealth/base
- es:
- pwflag: 1 # 1需要密码,2不需要密码
- host: http://10.95.91.4:9200
- tHost: 10.95.91.4:9300
- clusterName: jkzl
- securityUser: zjxl:6Dbq&fHg
- user: zjxl
- password: 6Dbq&fHg
- fast-dfs:
- tracker-server: 10.95.22.139:22122 #服务器地址
- fastDFS:
- fastdfs_file_url: http://10.95.22.140:23000/
- wechat:
- id: xm_zsyy_wx # base库中,wx_wechat 的id字段
- flag: false #演示环境 true走Mysql数据库 false走Oracle
|