主数据管理平台 主数据管理平台
产品介绍
产品安装指南
快速入门手册
用户操作手册
接口文档
  • 低开权限配置
  • 端口说明
  • Standalone版本
  • 微应用版本
  • 配置文件说明
  • user-config.xml 配置文件
  • 数据源配置驱动及Url配置示例
  • EOS数据源从C3P0切换为Hikari参考
  • application.properties配置文件
  • application-afc.properties 配置文件
  • application-mdm.properties 配置文件
  • 平台菜单与组件关系说明

# 低开权限配置

主数据平台安装完成后,需要为用户授权低开应用的开发权限。如果未授权,在配置模型是会出现如下错误。

image-20250828153545443

配置步骤如下:

在“低开中心”或“开发中心”中,点击设置图标。

image-20250828153854384

在应用设置中,添加授权对象。

image-20250828154016289

在弹窗中选择要授权的用户。

image-20250828154113016

在权限配置列表中为要授权的用户授权权限。

image-20250828154206678

这里可以为用户授权“低开项目管理员”和“低开项目开发”权限。

image-20250828154308740

授权完成后,检查配置模型过程是否正常。

# 端口说明

# Standalone版本

配置文件 配置端口 说明
application.properties server.port=28090 主数据后端端口

# 微应用版本

配置文件 配置端口 说明
application.properties server.port=28090 主数据后端端口
application.properties spring.redis.port=6379 redis端口
application-afc.properties afc.application.name=127.0.0.1:28083 afc.application.name=AFCENTER afc后端地址:端口,或者AFC服务名称(如果使用网关配置,可以直接使用服务名,默认为AFCENTER)
application-nacos.properties spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 nacos的地址:端口
application-dqms.properties xxl.job.admin.addresses=http://127.0.0.1:28083 xxl-job的地址:端口

# 配置文件说明

# user-config.xml 配置文件

主数据平台的数据源使用 user-config.xml 配置文件进行配置。配置文件路径:${PACKAGE_HOME}/config/MDM/config/user-config.xml,内容如下:

...
<module name="DataSource">
    <group name="default">
            <configValue key="Database-Type">MySql</configValue># db类型
            <configValue key="Jdbc-Type"/>
            <configValue key="C3p0-DriverClass">com.mysql.cj.jdbc.Driver</configValue>#db驱动
            <configValue key="C3p0-Url">jdbc:mysql://IP:端口Port/mdm?useSSL=false</configValue>
            <configValue key="C3p0-UserName">用户名</configValue>
            <configValue key="C3p0-Password">密码</configValue>
            <configValue key="C3p0-PoolSize">5</configValue>
            <configValue key="C3p0-MaxPoolSize">30</configValue>
            <configValue key="C3p0-MinPoolSize">5</configValue>

            <!-- //seconds, 0 means connections never expire -->
            <configValue key="C3p0-MaxIdleTime">0</configValue>
            <!-- //idle connections never tested -->
            <configValue key="C3p0-IdleConnectionTestPeriod">0</configValue>
            <configValue key="C3p0-MaxStatements">0</configValue>
            <configValue key="C3p0-NumHelperThreads">3</configValue>

            <configValue key="Transaction-Isolation">ISOLATION_DEFAULT</configValue>
            <configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
            <configValue key="Retry-Connect-Count">-1</configValue>
        </group>
        <group name="MDM_PUB">
            <configValue key="Database-Type">MySql</configValue># db类型
            <configValue key="Jdbc-Type"/>
            <configValue key="C3p0-DriverClass">com.mysql.cj.jdbc.Driver</configValue>#db驱动
            <configValue key="C3p0-Url">jdbc:mysql://IP:端口Port/库db/mdm_pub?useSSL=false</configValue>
            <configValue key="C3p0-UserName">用户名</configValue>
            <configValue key="C3p0-Password">密码</configValue>
            <configValue key="C3p0-PoolSize">5</configValue>
            <configValue key="C3p0-MaxPoolSize">30</configValue>
            <configValue key="C3p0-MinPoolSize">5</configValue>

            <!-- //seconds, 0 means connections never expire -->
            <configValue key="C3p0-MaxIdleTime">0</configValue>
            <!-- //idle connections never tested -->
            <configValue key="C3p0-IdleConnectionTestPeriod">0</configValue>
            <configValue key="C3p0-MaxStatements">0</configValue>
            <configValue key="C3p0-NumHelperThreads">3</configValue>

            <configValue key="Transaction-Isolation">ISOLATION_DEFAULT</configValue>
            <configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
            <configValue key="Retry-Connect-Count">-1</configValue>
        </group>
</module>
...

其中,default数据源作为主数据的主库使用(如果是集成式部署,也作为AFCenter的数据源);MDM_PUB数据源作为主数据的业务库使用。 达梦数据库配置特殊点:一定要配columnNameUpperCase,例如jdbc:dm://IP:Port?schema=模式名&columnNameUpperCase=false

# 数据源配置驱动及Url配置示例

MySQL 数据库:

<configValue key="C3p0-DriverClass">com.mysql.cj.jdbc.Driver</configValue>#db驱动
<configValue key="C3p0-Url">jdbc:mysql://127.0.0.1:3306/mdm?useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=false&amp;autoReconnect=true</configValue>

Oracle 数据库:

<configValue key="C3p0-DriverClass">oracle.jdbc.driver.OracleDriver</configValue>
<configValue key="C3p0-Url">jdbc:oracle:thin:@127.0.0.1:1521:eos</configValue>

SQL Server 数据库:

<configValue key="C3p0-DriverClass">com.microsoft.sqlserver.jdbc.SQLServerDriver</configValue>
<configValue key="C3p0-Url">jdbc:sqlserver://127.0.0.1:1433;DatabaseName=txh;encrypt=true;trustServerCertificate=true</configValue>

Dameng 数据库:

<configValue key="C3p0-DriverClass">dm.jdbc.driver.DmDriver</configValue>
<configValue key="C3p0-Url">jdbc:dm://127.0.0.1:5236?schema=MDM_AFC&amp;columnNameUpperCase=false</configValue>

openGauss 数据库:

<configValue key="C3p0-DriverClass">org.opengauss.Driver</configValue>
<configValue key="C3p0-Url">jdbc:opengauss://127.0.0.1:15400/mdmtest?currentSchema=mdm</configValue>

PostgreSQL 数据库:

<configValue key="C3p0-DriverClass">org.postgresql.Driver</configValue>
<configValue key="C3p0-Url">jdbc:postgresql://127.0.0.1:5432/postgres</configValue>

# EOS数据源从C3P0切换为Hikari参考

<!-- @see com.eos.common.connection.mbean.DataSourceConfigHandler -->
<!-- @see com.primeton.ext.common.connection.datasource.HikariDataSourceProvider -->
<!-- @see com.zaxxer.hikari.HikariConfig -->
<!-- https://github.com/brettwooldridge/HikariCP -->
<group name="default">
    <configValue key="Database-Type">MySql</configValue>
    <configValue key="Jdbc-Type" />
    <configValue key="Hikari.jdbcUrl">jdbc:mysql://127.0.0.1:3306/mdm?useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=false&amp;autoReconnect=true</configValue>
    <configValue key="Hikari.username">root</configValue>
    <configValue key="Hikari.password">root</configValue>
    <configValue key="Hikari.connectionTimeout">30000</configValue>
    <configValue key="Hikari.idleTimeout">600000</configValue>
    <configValue key="Hikari.keepaliveTime">120000</configValue>
    <configValue key="Hikari.maxLifetime">1800000</configValue>
    <configValue key="Hikari.connectionTestQuery">SELECT 1</configValue>
    <configValue key="Hikari.minimumIdle">5</configValue>
    <configValue key="Hikari.maximumPoolSize">50</configValue>
    <configValue key="Hikari.leakDetectionThreshold">100000</configValue> <!--logback-spring.xml <Logger name="com.zaxxer.hikari" level="DEBUG"></Logger>-->
    <configValue key="Hikari.poolName">default</configValue>
    <configValue key="Hikari.driverClassName">com.mysql.cj.jdbc.Driver</configValue>
    <!-- choose catalog | schema or use jdbcURL (Hikari.catalog|Hikari.schema) -->
    <!-- Hikari.XXX  @see HikariConfig#setXXX -->
    <!-- Hikari.dataSource.XXX  @see PropertyElf#setTargetFromProperties HikariConfig#addDataSourceProperty -->
    <configValue key="Transaction-Isolation">ISOLATION_DEFAULT</configValue>
    <configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
    <configValue key="Retry-Connect-Count">-1</configValue>
</group>

# application.properties配置文件

application.properties 默认配置文件路径:${PACKAGE_HOME}/config/application.properties

# --------------------------------------配置案例---------------------------------------------------
# 后端端口号
server.port=28090
# session有效期
server.servlet.session.timeout=PT120M
spring.session.store-type=none
# 微服务唯一标识(不可更改)
spring.application.name=MDM
# 激活nacos,afc,job和mdm配置文件
spring.profiles.active=nacos,afc,job,bps,mdm

# 是否开启文件上传下载(默认为是)
spring.servlet.multipart.enabled=true
# 单次请求大小限制
spring.servlet.multipart.max-request-size=100MB
# 单个文件大小限制
spring.servlet.multipart.max-file-size=20MB
# 文件上传路径
spring.servlet.multipart.location=${user.dir}/data/upload-tmp
# 文件写入磁盘阈值
spring.servlet.multipart.file-size-threshold=100KB

# 全局设置@JsonFormat的格式pattern
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
# 设置全局时区
spring.jackson.time-zone=GMT+8
# 全局设置pojo或被@JsonInclude注解的属性的序列化方式,不为空的属性才会序列化
spring.jackson.default-property-inclusion=non-null
# 是否在存在不对应的参数时也将请求参数正常解析(当为false时默认为是)
spring.jackson.deserialization.fail-on-unknown-properties=false

# 是否开启延时加载(默认为否)
spring.jpa.open-in-view=false
# 是否关闭验证逻辑(默认关闭)
spring.jpa.properties.javax.persistence.validation.mode=none
# 指定数据库初始化模式(默认为不同步数据库表结构)
spring.jpa.hibernate.ddl-auto=none
# 是否开启sql打印(默认关闭)
spring.jpa.show-sql=false

## 数据库厂商方言配置
## Database Dialect (@see user-config.xml[DataSource:default])
## MySQL
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
## Oracle
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
#spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
## SQLServer
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServer2012Dialect
## Dameng
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.DmDialect
### GaussDB
#spring.jpa.database=postgresql
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
#spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
## GBase
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.GBasedbtDialect


# 任务调度线程池大小
spring.task.scheduling.pool.size=6
# 任务执行线程池大小
spring.task.execution.pool.core-size=50
# 任务执行线程池最大值
spring.task.execution.pool.max-size=100
# 任务执行线程池排队容量大小
spring.task.execution.pool.queue-capacity=100000

# hystrix执行最大超时时间
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
# hystrix并发执行的最大线程数
hystrix.threadpool.default.coreSize=100
# hystrix最大线程数
hystrix.threadpool.default.maximumSize=100
# hystrix最大队列数
hystrix.threadpool.default.maxQueueSize=100000
# hystrix动态最大队列数
hystrix.threadpool.default.queueSizeRejectionThreshold=100000

management.endpoints.web.exposure.include=hystrix.stream,health,info,loggers,eos
management.health.redis.enabled=false
management.endpoints.web.base-path=/
management.endpoint.health.show-details=never

# redis地址
spring.redis.host=地址
# redis端口号
spring.redis.port=端口号
# redis密码
spring.redis.password=密码
# redis连接池最大连接数
spring.redis.lettuce.pool.max-active=100
# redis连接池中最多保留的空闲连接数量
spring.redis.lettuce.pool.max-idle=100
# redis从连接池获取连接最大的等待时间
spring.redis.lettuce.pool.max-wait=5000

# spring.redis.cluster.nodes=node1:port1,node2:port2,node3:port3
# spring.redis.cluster.max-redirects=3

# spring.redis.sentinel.master=mymaster
# spring.redis.sentinel.nodes=node1:port1,node2:port2,node3:port3
# spring.redis.sentinel.username=
# spring.redis.sentinel.password=

# spring.redis.ssl.trust-store=classpath:truststore.jks
# spring.redis.ssl.trust-store-password=yourpassword
# spring.redis.ssl.key-store=classpath:keystore.jks
# spring.redis.ssl.key-store-password=yourpassword
# spring.redis.ssl.key-password=yourpassword


# Email https://docs.spring.io/spring-boot/docs/2.7.11/reference/htmlsingle/#io.email
spring.mail.host=smtp.126.com
spring.mail.username=yourmail@126.com
spring.mail.password=yourmail
spring.mail.protocol=smtp
spring.mail.default-encoding=UTF-8
spring.mail.properties[mail.smtp.connectiontimeout]=20000
spring.mail.properties[mail.smtp.timeout]=15000
spring.mail.properties[mail.smtp.writetimeout]=15000

#spring.mail.host=smtp.qq.com
#spring.mail.port=25
#spring.mail.username=11011010@qq.com
#spring.mail.from=11011010@qq.com
#spring.mail.password=1qaz@WSX
#spring.mail.properties[mail.smtp.auth]=true
#spring.mail.properties[mail.smtp.starttls.enable]=true
#spring.mail.properties[mail.smtp.starttls.required]=true
#spring.mail.properties[mail.smtp.socketFactory.class]=javax.net.ssl.SSLSocketFactory
#spring.mail.properties[mail.smtp.connectiontimeout]=20000
#spring.mail.properties[mail.smtp.timeout]=15000
#spring.mail.properties[mail.smtp.writetimeout]=15000

# exclude "errorStackTrace" in response
# lowcode requires must be `dev` (Default: dev)
#eos.profiles.active=dev
# eos微应用编码
eos.application.sys-code=EOS-DEMO-SYS
# eos微应用密钥
eos.application.sys-key=dc6baaed30e541d78bb91274803d9432
# eosadmin端口
eos.admin.port=6500
# eos缓存模式
eos.cache.mode=redis

eos.system-arch-type=micro
is.global.unique=false
# 是否开启eos日志(默认开启)
engine.show.log=true

server.app-server.min-spare-threads=100
server.app-server.max-threads=500
server.app-server.max-connections=10000
server.app-server.accept-count=100

spring.servlet.uploadPath=${common.base_dir}/upload/principal

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration,\
  org.springframework.boot.autoconfigure.hazelcast.HazelcastAutoConfiguration,\
  org.springframework.boot.autoconfigure.hazelcast.HazelcastJpaDependencyAutoConfiguration,\
  org.apache.dolphinscheduler.scheduler.quartz.QuartzSchedulerAutoConfiguration
#---------------------------------------可按需修改------------------------------------------
# 如果要更改端口,则修改  
server.port=xxx

# 根据数据库具体类型,将对应的配置打开,同时关闭其余类型配置
## Database Dialect (@see user-config.xml[DataSource:default])
# 例如如果数据库类型为mysql,则打开如下配置,同时关闭其余类型配置
## MySQL
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
# 例如如果数据库类型为oracle,则打开如下配置,同时关闭其余类型配置
## Oracle
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

# redis连接配置:换成以上获取到的redis的连接属性
spring.redis.host=ip地址
spring.redis.port=6379
spring.redis.password=primeton

# application-afc.properties 配置文件

application-afc.properties 为AFCenter的配置文件。默认配置文件路径:${PACKAGE_HOME}/config/application-afc.properties

# --------------------------------------配置案例---------------------------------------------------
# AFCenter的应用名称,如果修改了AFCenter的应用名称,这里需要同步修改
# if spring-cloud nacos/eureka enabled, use service name
# else use address e.g. 127.0.0.1:28083
afc.application.name=AFCENTER
# 公共资源端口
public-resource.application.name=${afc.application.name}
# afc租户名称
afc.application.tenant=sys_tenant
# attachment
# mode: local,db,nexus,aliyun-oss
afc.attachments.persistence-mode=local
afc.attachments.local.dir=./data/attachments
#afc.attachments.nexus.repository-url=
#afc.attachments.nexus.username=
#afc.attachments.nexus.password=
#afc.attachments.aliyun-oss.endpoint=
#afc.attachments.aliyun-oss.access-key-id=
#afc.attachments.aliyun-oss.access-key-secret=
#afc.attachments.aliyun-oss.bucket-name=
#afc.attachments.libre-office.host=
#afc.attachments.libre-office.port=

# exe,txt,xls,jpg
afc.attachments.allow-file-types=
# php,jsp,asp
afc.attachments.not-allow-file-types=exe,java,jsp,class,jar,sh,groovy,py,php
# db, user:10m
afc.attachments.file-max-size=

# afc static resources cache
afc.web.resources.cache.location.paths=/
afc.web.resources.cache.no-cache-files=/**/*.html,/**/*.htm,/**/remoteEntry.js
#---------------------------------------可按需修改-------------------------------------------------
# AFCenter的应用名称
afc.application.name=AFCENTER
# 公共资源
public-resource.application.name=127.0.0.1:28083

# application-mdm.properties 配置文件

application-mdm.properties为主数据的配置文件,默认配置文件路径:${PACKAGE_HOME}/config/application-mdm.properties

# --------------------------------------配置案例---------------------------------------------------
# eos序列化 排除包名
eos.springmvc.eos-serialize.exclude-packages=com.primeton.mdm,com.primeton.dqms

# biz-portal second-level menu (data-model system menu and lowcode extension menu)
# if enabled, system menu order values: 100/200/300/...
#mdm.menu.mixed-sort-enabled=true

# 订阅推送设置心跳检测订阅者服务是否在线时间间隔
# unit: millis
mdm.schedule.fixed-delay.mdm-inst-heart-beat=300000
# 报告统计间隔
mdm.report.statistic.interval=0 0 * * * ?
# 数据文件储存类型
mdm.data-file.storage-type=file
# 数据文件储存位置
mdm.data-file.storage-location=./data/data-files
mdm.data-file.tmp-location=./data/tmp

# 是否开启数据记录日志(默认为是)
mdm.data.record.log.enabled=true
mdm.data.record.log.keep.days=15
mdm.data.follow-data-records.limits=200

# data-push
# if MDM server deploy multi-instances and 2+ instances as data-push-task executor, configuration required: server.identity=1 (every server different), mdm.push.executor-servers=1,2,3 (enabled servers)
# server.identity=1 # Default 0
# mdm.push.executor-servers=1
# mdm.push.executor-servers=1,2,3
# task load-balance strategy: [RANDOM, THREAD]
# mdm.push.dispatch.selector=RANDOM
# if this node disabled, {server.identity} value should not in {mdm.push.executor-servers} or use {mdm.push.enabled}
# 是否开启数据推送(默认为false)
# mdm.push.enabled=false


# 核心线程池大小
# AUTO(40%) IN-TIME(40%) RETRY(20%)
mdm.push.thread-pool.core-pool-size=30
# 最大线程池大小
mdm.push.thread-pool.max-pool-size=200

# for output debug logging
#mdm.push.debug.enabled=true
# if configuration [spring.mail.*] is ok, set true
# mdm.push.notify.mail.enabled=true
# health ping (MILLISECONDS)
#mdm.push.subscriber.next-ping-waits=15000

# Priority: 1) Subscriber[dateFormatPattern/timestampFormatPattern]  >  2) [mdm.push.serialization.*]  >  3) [spring.jackson.serialization.*]
# Format Pattern (e.g. `yyyy-MM-dd`) or a constant value: `long` (milli-seconds-number)
#mdm.push.serialization.date-format=yyyy-MM-dd
#mdm.push.serialization.timestamp-format=yyyy-MM-dd HH:mm:ss
#mdm.push.serialization.date-format=long
#mdm.push.serialization.timestamp-format=long

# [IN-TIME]
# Each data-push-task concurrency thread limits
#mdm.push.in-time.concurrency.limits=10

# [AUTO]  t(n+1) = t1 + ${time-window-size} * n => [t1, t2), [t2, t3), ...
# MINUTES
#mdm.push.auto.time-window-size=15
# SECONDS
#mdm.push.auto.next-retry-waits=60
# SECONDS
#mdm.push.auto.recent-scan.interval=60
# SECONDS
#mdm.push.auto.full-scan.interval=600
# SECONDS
#mdm.push.auto.time-mistake=45

#
# http/https subscriber settings:
#
# Does network/4xx error count towards the number of failed retries. Default: false.
#mdm.push.http.retry.skip-network-error.enabled=true
#mdm.push.http.retry.skip-4xx-error.enabled=false
# else use http-subscriber custom settings (header):
# extra_retry-skip-network-error=false extra_retry-skip-4xx-error=false
#
# Validate http/https response global-settings, default: false (active while none custom settings in http-subscriber)
#
#mdm.push.http.validate-response-body.enabled=true
#mdm.push.http.validate-response-body.property=code
#mdm.push.http.validate-response-body.pattern=200
# if multi-success-codes, e.g.
#mdm.push.http.validate-response-body.pattern=200;204
# not equals, e.g.
#mdm.push.http.validate-response-body.pattern=!500
# not in, e.g.
#mdm.push.http.validate-response-body.pattern=!401;403;404;500
# use expression (suffix: `regex: `)
#mdm.push.http.validate-response-body.pattern=regex: {COPY_YOUR_REGEX_TO_HERE}
# http timeout (seconds)
#mdm.push.http.connection-timeout=60
#mdm.push.http.read-timeout=60
# Global defaults, if subscriber header `x-eos-data-key` absent
#mdm.push.http.eos-biz-flow-payload-key=data

# Extension: Example -- write data to local file (for test)
# randomError=10 (1%~100%, Optional)
# eol=unix (unix/windows, Optional)
# filePath=/tmp/mdm-webhook-test.log (Optional)
mdm.push.example.enabled=true

#esb启用,esb版本
# Support ESB 9.0 and 9.1
mdm.esb.support.afc=true
mdm.esb.support.version=9.1
mdm.esb.enabled=true

mdm.op-log.clean.keep-days=30

mdm.data.processing.task-timeout=600
mdm.data.processing.file-storage=local
mdm.data.processing.local-storage=./data/data-files

#encrypt config refer to https://eco.dameng.com/document/dm/zh-cn/pm/storage-encryption.html#7.4%20%E5%8A%A0%E5%AF%86%E7%AE%97%E6%B3%95%E5%92%8C%E6%95%A3%E5%88%97%E7%AE%97%E6%B3%95
mdm.model.dm.cipher=DES_ECB

mdm.data.statistic.enabled=true
mdm.data.statistic.interval=0 */5 * * * ?

# 创建模型时字段是否统一大小写
# uppercase,lowercase,default,unlimited
mdm.model.field-case=uppercase

# true or false
mdm.serialization.include.null=true

# metrics
#mdm.metrics.enabled=true
#mdm.server-load-protection.max-system-cpuUsage-percentage-thresholds=0.7
#mdm.server-load-protection.max-jvm-cpu-usage-percentage-thresholds=0.7
#mdm.server-load-protection.max-system-memory-usage-percentage-thresholds=0.7
#mdm.server-load-protection.max-disk-usage-percentage-thresholds=0.7

#
# Duplicate Data Store Engine Settings
#
# Default: `false`
mdm.database.elasticsearch.enabled=false
mdm.database.elasticsearch.address=10.15.15.218:9200
# Options: None, Basic, ApiKey, Token
mdm.database.elasticsearch.authType=ApiKey
mdm.database.elasticsearch.apiKey=MFJZVmNwQUI0RjBMUGx0TkphQnM6YmstVXhiUk5UZ0NNTEo5V3BlYnhrZw==
# if ApiKey non-BASE64-encoder:  apiKey=BASE64.encoder("{apiKeyId}:{apiKeySecret}")
#mdm.database.elasticsearch.apiKeyId=???
#mdm.database.elasticsearch.apiKeySecret=???
# authType=Basic
#mdm.database.elasticsearch.user=elastic
#mdm.database.elasticsearch.password=???
# authType=Token
#mdm.database.elasticsearch.token=???
# HTTPS(SSL) client settings
mdm.database.elasticsearch.ssl.enabled=false
mdm.database.elasticsearch.ssl.certType=pkcs12
mdm.database.elasticsearch.ssl.caCertFile=/your/crt-path/es.ca
mdm.database.elasticsearch.ssl.truststoreFile=/your/crt-path/es.truststore
mdm.database.elasticsearch.ssl.withKeystore=true
mdm.database.elasticsearch.ssl.keystoreFile=/your/crt-path/es.keystore
mdm.database.elasticsearch.ssl.keystorePassword=your-password

# Default index settings for all data-model-index
mdm.database.elasticsearch.index-settings=${loader.path}/../config/elastic-index-settings.json

# Data sync settings
# Default `true` (effective when mdm.database.elasticsearch.enabled=true)
#mdm.database.elasticsearch.sync.enabled=false
# Default `-1`
#mdm.database.elasticsearch.sync.retry-limits=100

# https://github.com/redisson/redisson/blob/master/redisson-spring-boot-starter/README.md
#spring.redis.redisson.xxx

## 数据统计相关功能
## 同一个主数据的数据库如果有两个主数据环境同时连接,则统计功能只能有一个环境开启
## Statistics on received data
## 统计模型数据来源以及模型的生效和全量数据统计功能是否开启
mdm.model.receive.statistic.enabled=true
## 统计模型数据来源以及模型的生效和全量数据统计功能是否频率
mdm.model.receive.statistic.interval=0 0/20 * * * ?
## statistics everyDay thisMonth all data
## 统计模型推送数据功能是否开启
mdm.model.statistic.enabled=true
## 统计模型推送数据功能频率
mdm.model.statistic.interval=0 0/20 * * * ?
## 统计昨日模型推送数据功能频率
## statistics yesterday data
mdm.model.statistic.yesterday.interval=0 0 0 * * ?
## 统计昨日模型接收数据功能频率
mdm.model.receive.statistic.yesterday=0 0 0 * * ?
## 统计上个月模型推送数据功能频率
## statistics lastMonth data
mdm.model.statistic.last.month.interval=0 0 0 1 * ?
## 统计上个月模型接收数据功能频率
mdm.model.receive.statistic.last.month=0 0 0 1 * ?
## 统计上周模型推送数据功能频率
## statistics lastWeek data
mdm.model.statistic.last.week.interval=0 0 0 * * MON
## 统计上周模型接收数据功能频率
mdm.model.receive.statistic.last.week=0 0 0 * * MON
## 统计模型采集、检核数据功能是否开启
## modelDataStatistics
mdm.model.data.statistic.enabled=true
## 统计模型采集、检核数据功能频率
mdm.model.data.statistic.interval=0 0/20 * * * ?

mdm.datasource-pool-logging.enabled=true
# 0 | 1-99
mdm.datasource-pool-logging.active-connection-threshold=60
# SECONDS
mdm.datasource-pool-logging.time-window-size=360
# MILLISECONDS
mdm.datasource-pool-logging.fixed-delay-print=45000

# mdm.workflow
# mdm.workflow.data-model-publish.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-model-delete.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-model-batch-delete.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-effective.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-new-effective.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-revise-effective.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-enable.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-disable.form-url=/module/mdm/page/approveForm
# mdm.workflow.data-archive.form-url=/module/mdm/page/approveForm
mdm.workflow.data-cleaning-issue-data.form-url=/module/mdm/page/problemDataApproveForm
mdm.workflow.data-validation-issue-data.form-url=/module/mdm/page/problemDataApproveForm

# biz-portal: my recent visit model history
#mdm.model-visit-history.enabled=false
# 3/6/9 (3M/R)
#mdm.model-visit-history.limits=3

#---------------------------------------可按需修改-------------------------------------------------
# 创建模型时字段是否统一大小写
# uppercase,lowercase,default,unlimited
mdm.model.field-case=uppercase

## 数据统计相关功能
## 同一个主数据的数据库如果有两个主数据环境同时连接,则统计功能只能有一个环境开启
## Statistics on received data
## 统计模型数据来源以及模型的生效和全量数据统计功能是否开启
mdm.model.receive.statistic.enabled=true
## 统计模型数据来源以及模型的生效和全量数据统计功能是否频率
mdm.model.receive.statistic.interval=0 0/20 * * * ?
## statistics everyDay thisMonth all data
## 统计模型推送数据功能是否开启
mdm.model.statistic.enabled=true
## 统计模型推送数据功能频率
mdm.model.statistic.interval=0 0/20 * * * ?
## 统计昨日模型推送数据功能频率
## statistics yesterday data
mdm.model.statistic.yesterday.interval=0 0 0 * * ?
## 统计上个月模型推送数据功能频率
## statistics lastMonth data
mdm.model.statistic.last.month.interval=0 0 0 1 * ?
## 统计上周模型推送数据功能频率
## statistics lastWeek data
mdm.model.statistic.last.week.interval=0 0 0 * * MON
## 统计模型采集、检核数据功能是否开启
## modelDataStatistics
mdm.model.data.statistic.enabled=true
## 统计模型采集、检核数据功能频率
mdm.model.data.statistic.interval=0 0/20 * * * ?

# 平台菜单与组件关系说明

主数据平台包含了主数据、数据开发、数据质量、数据标准组件,以提供数据采集、数据清洗能力,具体依赖关系如下表。

功能模块 一级菜单 二级菜单 所属(依赖)组件
管理门户 工作台 主数据
管理门户 任务处理 主数据
管理门户 问题数据 主数据
管理门户 模型管理 主数据 主数据
管理门户 模型管理 参考数据 主数据
管理门户 流程配置 开发中心 AFCenter
管理门户 流程配置 流程绑定 主数据
管理门户 数据采集 作业流管理 数据开发
管理门户 数据采集 作业流告警 数据开发
管理门户 数据清洗 检核任务 数据质量
管理门户 数据清洗 检核结果 数据质量
管理门户 数据清洗 相似检索配置 主数据
管理门户 数据清洗 相似检索 主数据
管理门户 数据分发 订阅系统管理 主数据
管理门户 数据分发 订阅配置 主数据
管理门户 数据分发 服务客户端 主数据
管理门户 数据分发 服务授权 主数据
管理门户 授权管理 数据授权 主数据
管理门户 授权管理 授权查询 主数据
管理门户 数据分析 数据质量分析 数据质量
管理门户 数据分析 数据血缘分析 主数据
管理门户 平台配置 预留字段模版 主数据
管理门户 平台配置 外部接口管理 主数据
管理门户 安全审计 操作日志 主数据
管理门户 安全审计 数据日志 主数据
管理门户 产品信息 主数据
业务门户 工作台 主数据
业务门户 任务处理 主数据
业务门户 问题数据 主数据
业务门户 数据模型 主数据
组织中心 全部 AFCenter
应用中心 全部 AFCenter
低开中心 全部 AFCenter
公共资源 全部 AFCenter
数据质量 全部 数据质量
标准管理 全部 数据标准

← 系统变量说明 dockerfile文件说明 →