v0-json-schema
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# DDMS 合规性验证软件配置示例
|
||||
|
||||
app_name: "DDMS Compliance Suite"
|
||||
|
||||
logging:
|
||||
level: "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||
# file_path: "./logs/app.log" # 添加此项以启用文件日志记录
|
||||
|
||||
api_caller:
|
||||
default_timeout: 30 # 秒
|
||||
default_headers:
|
||||
User-Agent: "DDMS-Compliance-Suite/1.0"
|
||||
Accept: "application/json"
|
||||
|
||||
json_schema_validator:
|
||||
default_draft_version: "draft7" # 或 "draft2020-12"
|
||||
|
||||
rule_repository:
|
||||
storage:
|
||||
type: "filesystem" # filesystem, database, in_memory
|
||||
path: "./rules" # 规则文件存储路径,相对于项目根目录
|
||||
# connection_string: "postgresql://user:password@localhost:5432/rules_db" # 如果使用数据库
|
||||
default_version_strategy: "latest_enabled" # latest_enabled, latest_stable, exact
|
||||
preload_rules: false # 设置为 true 可提高性能,但会增加内存使用
|
||||
|
||||
test_executor:
|
||||
stop_on_first_failure: false
|
||||
|
||||
report_generator:
|
||||
output_format: "json" # json, html, xml
|
||||
output_path: "./reports"
|
||||
Reference in New Issue
Block a user