From aed0e43ff4eb2cdb5fa81b6b9b16d8d2b723c02e Mon Sep 17 00:00:00 2001
From: liuyu <yu.liu@cqgbkj.com>
Date: 星期四, 17 九月 2026 10:57:49 +0800
Subject: [PATCH] feat: 新增 jnpf-tms 业务微服务骨架
---
jnpf-tms/jnpf-tms-server/src/main/resources/application.yml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/jnpf-tms/jnpf-tms-server/src/main/resources/application.yml b/jnpf-tms/jnpf-tms-server/src/main/resources/application.yml
new file mode 100644
index 0000000..5c14594
--- /dev/null
+++ b/jnpf-tms/jnpf-tms-server/src/main/resources/application.yml
@@ -0,0 +1,58 @@
+spring:
+ application:
+ name: jnpf-tms
+ mvc:
+ servlet:
+ load-on-startup: 0
+ main:
+ allow-bean-definition-overriding: true
+ allow-circular-references: true
+ config:
+ # 閰嶇疆鏉ユ簮 = 浠撳簱 config/锛堥暅鍍忓唴 /config锛岀粡 JNPF_CONFIG_DIR 鎸囧悜锛夈��
+ import:
+ - file:${JNPF_CONFIG_DIR:config}/shared/datasource.yaml
+ - file:${JNPF_CONFIG_DIR:config}/shared/resources.yaml
+ - file:${JNPF_CONFIG_DIR:config}/shared/system-config.yaml
+ - file:${JNPF_CONFIG_DIR:config}/shared/frame-config.yaml
+ - file:${JNPF_CONFIG_DIR:config}/shared/logger.yaml
+ - file:${JNPF_CONFIG_DIR:config}/shared/mq.yaml
+ - file:${JNPF_CONFIG_DIR:config}/shared/discovery.yaml
+ - optional:file:${JNPF_CONFIG_DIR:config}/host-override/discovery.yaml
+
+# 搴旂敤鏈嶅姟鍣�
+server:
+ tomcat:
+ uri-encoding: UTF-8
+ port: 30017
+
+management:
+ endpoints:
+ web:
+ exposure:
+ include: '*'
+ endpoint:
+ health:
+ show-details: always
+ logfile:
+ access: unrestricted
+
+# ping 鎺㈤拡鏀捐
+jnpf:
+ security:
+ ignore:
+ urls:
+ - /ping
+ - /api/tms/ping
+ - /dev-api/tms/ping
+ tenant:
+ ignore-urls:
+ - /ping
+ - /api/tms/ping
+ - /dev-api/tms/ping
+
+sa-token:
+ filter:
+ exclude-paths:
+ - /ping
+ - /api/tms/ping
+ - /dev-api/tms/ping
--
Gitblit v1.8.0