From 68fd566d21b3efc3a670a5295289b1801f5a4155 Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期四, 16 一月 2025 18:18:55 +0800 Subject: [PATCH] 流程部署接口上传 --- Bin/properties/application-prod.yml | 83 +++++++++++++++++++++++++---------------- 1 files changed, 50 insertions(+), 33 deletions(-) diff --git a/Bin/properties/application-prod.yml b/Bin/properties/application-prod.yml index 6f287af..7f48a14 100644 --- a/Bin/properties/application-prod.yml +++ b/Bin/properties/application-prod.yml @@ -1,54 +1,48 @@ #####搴旂敤鍩烘湰閰嶇疆 app: - name: web + name: pltweb group: 鍖椾含瀹忓崥杩滆揪绉戞妧鏈夐檺鍏徃 description: 骞冲彴B/S瀹㈡埛绔� private-token-key: vciweb20210212 ###tomcat鐩稿叧鐨勯厤缃� server: - port: 12000 + port: 12005 servlet: context-path: /web + tomcat: + uri-encoding: UTF-8 ###log4j2鐨勯厤缃紝闇�瑕佸摢涓寘涓嬬殑鏂囦欢寮�鍚煇涓瓑绾э紝灏辩洿鎺xxxx: yy杩欐牱鏂瑰紡 logging: - config: "classpath:log4j2-spring-prod.xml" + config: "classpath:log4j2-spring-dev.xml" level: com.vci: debug root: info ###鏈」鐩殑閰嶇疆锛屾敞鎰弒pring瀹舵棌璇诲彇閰嶇疆鏃讹紝澶у啓瀛楁瘝闇�瑕佽浆鎹负-鐨勬柟寮忥紝鑰宖eign闇�瑕佸ぇ灏忓啓瀹屽叏鐩稿悓 session: - session-info-storage-type: "database" - database-platform: oracle - clear-session-on-start: false - ###鏄惁寮�鍚敤鎴峰湪绾挎鏌� - checkSessionTimeout: false - ###瀹㈡埛绔垽鏂秴鏃惰疆璇㈡椂闂达紝鍗曚綅涓虹 - sessionInterval: 10 - ###瀹㈡埛绔渶澶у瓨鍦ㄦ椂闂达紝鍗曚綅涓哄垎閽� - sessionIdlTime: 30 - ###瓒呮椂鎻愰啋鏃堕棿锛屽崟浣嶄负鍒嗛挓 - sessionRemind: 3 -###鍏煎鎬э紝蹇呴』璁剧疆涓鸿繖涓� + session-info-storage-type: "database" + database-platform: oracle + clear-session-on-start: false + ###鏄惁寮�鍚敤鎴峰湪绾挎鏌� + checkSessionTimeout: false + ###瀹㈡埛绔垽鏂秴鏃惰疆璇㈡椂闂达紝鍗曚綅涓虹 + sessionInterval: 10 + ###瀹㈡埛绔渶澶у瓨鍦ㄦ椂闂达紝鍗曚綅涓哄垎閽� + sessionIdlTime: 30 + ###瓒呮椂鎻愰啋鏃堕棿锛屽崟浣嶄负鍒嗛挓 + sessionRemind: 3 user-table-compatibility: "platform1" -#缂撳瓨閰嶇疆 -###corba鐨勯厤缃� -jacorb: - client: - enabled: true - url: "corbaloc::localhost:30000/NameService" - instanceIdentity: "platform-sf" #鍙�2021鐗堟湰鐨勯儴鍒嗘帴鍙g殑褰卞搷锛屼笅闈㈢殑鍐呭闇�瑕侀厤缃紝 vciPlatform: - objectServiceUrl: "2" + objectServiceUrl: "" #缂撳瓨 spring: # redis閰嶇疆 - redis: ###### redis 閰嶇疆 - enabled: false #true锛屽惎鐢╮edi锛宖alse涓嶅惎鐢紝榛樿false,閰嶇疆鏂囦欢娌℃湁杩欎簺榛樿涓嶅惎鐢╮edis - host: vciserver # ip鍦板潃 - database: 0 # redis鏁版嵁搴� 0-15 + redis: ###### redis 閰嶇疆 + enabled: true #true锛屽惎鐢╮edi锛宖alse涓嶅惎鐢紝榛樿false,閰嶇疆鏂囦欢娌℃湁杩欎簺榛樿涓嶅惎鐢╮edis + host: localhost # ip鍦板潃 + database: 2 # redis鏁版嵁搴� 0-15 port: 6379 # 绔彛鍙� - password: vcitest # 鏃犲瘑鐮佷笉濉� + password: foobared # 鏃犲瘑鐮佷笉濉� timeout: 30000s # 杩炴帴瓒呮椂鏃堕棿 锛堥粯璁�1澶╋級 lettuce: shutdown-timeout: 100ms # 鍏抽棴瓒呮椂鏃堕棿 榛樿 100ms @@ -57,15 +51,38 @@ max-wait: 60000ms # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂� 榛樿-1ms 锛�-1 :琛ㄧず娌℃湁闄愬埗锛� 杩欓噷璁剧疆1鍒嗛挓 max-idle: 8 # 鏈�澶х┖闂茶繛鎺� 榛樿 8 min-idle: 0 # 鏈�灏忕┖闂茶繛鎺� 榛樿 0 + resources: + chain: + cache: false + strategy: + content: + enabled: true + paths: /** cache: type: ehcache - config: - location: + servlet: + multipart: + enabled: true + ###鍗曚釜鏂囦欢澶у皬锛�50M + max-file-size: 52428800 + ###鎬讳笂浼犵殑鏂囦欢澶у皬锛�50M + max-request-size: 52428800 mvc: view: - suffix: ".html" + suffix: .html ##web閰嶇疆 vciweb: - debug: true -cors: + debug: true + +file-preview: enabled: true + preview-service-url: "http://localhost:28090/vciFilePreview/ajaxPreview.html" + preview-system-key: plt2020 + +vcispringmvc: + enabled: true + #涓嶆牎楠屽畨鍏ㄧ殑閾炬帴鍦板潃 + un-check-urls: + #涓嶆洿鏂拌姹傛椂闂寸殑閾炬帴鍦板潃 + un-storage-request-time-urls: + -- Gitblit v1.9.3