spring: profiles: title: "bpm-base" description: "Artfess Bpm Platform 3.0" version: "1.0" datasource: dynamic: primary: master #设置默认的数据源或者数据源组,默认值即为master seata: false datasource: master: druid: # 最小连接数 min-idle: 10 # 最大连接数 max-active: 300 # 如果当前使用Oracle,把这个值设置为100。 max-open-prepared-statements: -1 # druid mysql 验证语句 validation-query: select 1 # druid oracle 验证语句 #validation-query: select 1 from dual testWhileIdle: true testOnBorrow: true testOnReturn: true http: encoding: enabled: true force: true charset: UTF-8 messages: encoding: UTF-8 servlet: multipart: maxFileSize: 1024MB maxRequestSize: 1024MB freemarker: template-loader-path: classpath:/templates/ #模板加载路径 按需配置 charset: UTF-8 redis: timeout: 5000 lettuce: pool: max-active: 200 max-idle: 200 min-idle: 5 jms: pub-sub-domain: true cache: enabled: false activemq: in-memory: false pool: enabled: false packages: trust-all: true trusted: com.artfess.activemq.model,com.artfess.base.jms,java.util,java.lang #信任所有的包 messages: basename: i18n/messages encoding: UTF-8 # 服务端端口 server: port: 8098 max-http-header-size: 1024000 address: 0.0.0.0 # 链接建立超时时间(单位:毫秒) connection-timeout: 30000 contextPath: / tomcat: uri-encoding: UTF-8 # 最小线程数 min-spare-threads: 8 # 最大线程数 max-threads: 200 # 最大链接数 max-connections: 200 # 最大等待队列长度 accept-count: 1000 compression: enabled: true mime-types: "text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json" min-response-size: 1024 # 是否启用队列,默认的队列名和订阅名 jms: enable: true queue: name: eipQueue_tt topic: name: eipTopic_tt # 指定可跨域的域名 cross: allowOrigin: # 配置打印SQL语句 logging: config: classpath:config/logback-spring.xml management: # 忽略ldap的健康检查 health: LDAP.enabled: false add-application-context-header: false endpoints: web: exposure: include: health,info,cert info: app: encoding: "UTF-8" java: source: "1.8.0_71" target: "1.8.0_71" banner: charset: UTF-8 mybatis-plus: configuration: call-setters-on-nulls: true jdbc-type-for-null: 'null' # 打印执行的SQL语句及返回的数据 # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: update-strategy: IGNORED # FieldStrategy mybatis: typeAliasesPackage: com.artfess.base.entity mapperLocations: classpath*:mapper/*.xml typeHandlersPackage: com.artfess.base.typehandle # token生成配置 jwt: header: Authorization secret: mySecret # 是否单用户登录(启用时:一个账号在PC和移动端只允许登录一次) single: false # 严格校验模式(必须单用户登录时才生效,严格校验模式下:加入token的状态管理) stricty: false expiration: 86400 # 单位秒 # 系统中发送邮件的账号 mail: host: smtp.qq.com port: 25 ssl: false nickName: "eip7管理员" username: 1192668375@qq.com password: bpzgyqhznjnnihje system: # 系统ID生成种子 id: # 数据中心ID,取值范围为0-31 datacenterId: 1 # 服务器ID,取值范围为0-31 workerId: 1 # 默认的附件上传目录,会被系统属性中配置覆盖 attachment: type: folder path: /home/bpm/attachment # 多租户 saas: # 是否开启多租户模式,注意:非租户模式和租户模式下数据有差异性,切换后可能导致数据异常 enable: true # 忽略租户隔离的物理表名 ignoreTables: # 异步线程池配置 thread: # 连接池最小线程数 core-pool-size: 8 # 连接池最大线程数(线程池的配置有两种策略:一种是高配置服务器,高线程数处理高并发; # 另外一种是低配置服务器,多节点部署通过负载提高并发。 根据上述策略来设置线程数, # 总的最大线程数可以与最大并发数相等,例如:100并发,单服务器部署时,设置最大线程数为100) max-pool-size: 50 # 任务队列容量 queue-capacity: 400 # 附件在线预览 file: file.dir: /home/bpm/conver/ office: # 是否启用openoffice组件(设置为true也需要在服务器上安装openoffice才能使用) enable: false home: /opt/openoffice4 port: 9093 simText: txt,html,xml,java,properties,sql media: mp3,mp4,flv,rmvb,wmv converted.file.charset: utf-8 # FTP settings FTP: FTP.url: 192.168.1.222 FTP.username: miki FTP.password: 123456 FTP.port: 21 # 阿里云OSS settings aliyun: oss.endpoint: http://oss-cn-guangzhou.aliyuncs.com oss.accessKeyId: LTAI4GBPb8Qwz6fdhejwpJqq oss.accessKeySecret: szsQO6up7wkOsFUXmpZyMKVAL3c4h6 oss.bucketName: artfess # minio settings minio: #正式环境 # minio_url: http://dm.scm-spwz.com/ #测试环境 minio_url: http://111.10.223.232:29001/ minio_name: admin #密码 minio_pass: Artfess@023,.* bucketName: cgpt huaweiyun: obs: ak: 4PSDIULG4KUZH7VM6PCG sk: Pk4ugfZ7mnPb6BQdSK6dG8HtQ4vbS6EW6lhvdRJL bucketName: huawei-cloud-dev endpoint: obs.cn-southwest-2.myhuaweicloud.com # es es: host: 219.151.140.189:19200 #192.168.0.229:9200 userName: elastic password: Artfess@023 #ruianxin@123 # 单点登录配置 sso: enable: true mode: jwt # jwt cas oauth cas: url: http://www.hotent.org:7080/cas #CAS服务地址 oauth: url: http://192.168.1.211:8093 #oauth2服务地址 loginPath: /oauth/authorize tokenPath: /oauth/token checkPath: /oauth/check_token clientId: eip7 secret: flossy checkPathKey: access_token # 调用checkPath时构建在url中的参数名 accesstokenKey: access_token # 通过tokenPath取得access_token时取值的key usernameKey: username # 通过checkPath取得用户账号时取值的key #dataway config # 是否启用 Dataway 功能(必选:默认false) HASOR_DATAQL_DATAWAY: true # 是否开启 Dataway 后台管理界面(必选:默认false) HASOR_DATAQL_DATAWAY_ADMIN: true # dataway API工作路径(可选,默认:/api/) HASOR_DATAQL_DATAWAY_API_URL: /dataway/api/v1/ # dataway-ui 的工作路径(可选,默认:/interface-ui/) HASOR_DATAQL_DATAWAY_UI_URL: /interface-ui/ # SQL执行器方言设置(可选,建议设置) HASOR_DATAQL_FX_PAGE_DIALECT: postgresql # 分布式事务 seata: enabled: false application-id: ${spring.application.name} tx-service-group: ${spring.application.name} enable-auto-data-source-proxy: true use-jdk-proxy: false excludes-for-auto-proxying: firstClassNameForExclude,secondClassNameForExclude client: rm: async-commit-buffer-limit: 1000 report-retry-count: 5 table-meta-check-enable: false report-success-enable: false saga-branch-register-enable: false lock: retry-interval: 10 retry-times: 30 retry-policy-branch-rollback-on-conflict: true tm: degrade-check: false degrade-check-period: 2000 degrade-check-allow-times: 10 commit-retry-count: 5 rollback-retry-count: 5 undo: data-validation: true log-serialization: jackson log-table: undo_log only-care-update-columns: true log: exceptionRate: 100 service: vgroup-mapping: portal-eureka: SEATA-SERVER uc-eureka: SEATA-SERVER form-eureka: SEATA-SERVER bpm-model-eureka: SEATA-SERVER bpm-runtime-eureka: SEATA-SERVER grouplist: default: 192.168.1.21:8091 enable-degrade: false disable-global-transaction: false transport: shutdown: wait: 3 thread-factory: boss-thread-prefix: NettyBoss worker-thread-prefix: NettyServerNIOWorker server-executor-thread-prefix: NettyServerBizHandler share-boss-worker: false client-selector-thread-prefix: NettyClientSelector client-selector-thread-size: 1 client-worker-thread-prefix: NettyClientWorkerThread worker-thread-size: default boss-thread-size: 1 type: TCP server: NIO heartbeat: true serialization: seata compressor: none enable-client-batch-send-request: true config: type: file consul: server-addr: 127.0.0.1:8500 apollo: apollo-meta: http://192.168.1.204:8801 app-id: seata-server namespace: application etcd3: server-addr: http://localhost:2379 nacos: namespace: serverAddr: 127.0.0.1:8848 group: SEATA_GROUP userName: "" password: "" zk: server-addr: 127.0.0.1:2181 session-timeout: 6000 connect-timeout: 2000 username: "" password: "" registry: type: eureka consul: server-addr: 127.0.0.1:8500 etcd3: serverAddr: http://localhost:2379 eureka: weight: 1 service-url: ${eureka.client.service-url.defaultZone} nacos: application: seata-server server-addr: http://119.3.200.53:18848/ namespace: public userName: "nacos" password: "nacos" redis: server-addr: 121.36.82.203:6369 db: 0 password: artfess@023,.; timeout: 0 sofa: server-addr: 127.0.0.1:9603 region: DEFAULT_ZONE datacenter: DefaultDataCenter group: SEATA_GROUP addressWaitTime: 3000 application: default zk: server-addr: 127.0.0.1:2181 session-timeout: 6000 connect-timeout: 2000 username: "" password: "" # 注册中心 # 注册中心 eureka: client: healthcheck: enabled: true service-url: defaultZone: http://127.0.0.1:8761/eureka/ instance: lease-expiration-duration-in-seconds: 30 lease-renewal-interval-in-seconds: 10 # 注册到eureka时使用ip地址 prefer-ip-address: true # eureka会自动识别每个微服务的ip地址,如果需要指定ip则配置该属性 # ip-address: 127.0.0.1 instance-id: ${spring.cloud.client.ip-address}:${server.port} # feign配置 feign: hystrix: enabled: true httpclient: enabled: true client: config: default: connectTimeout: 50000 readTimeout: 50000 loggerLevel: full # 断路器配置 hystrix: metrics: enabled: true command: default: execution: isolation: strategy: SEMAPHORE # THREAD SEMAPHORE semaphore: maxConcurrentRequests: 200 # 默认情况下下面两个值都是10,也就是超过10个的并发会直接进入fallback方法,不会去真正请求 thread: timeoutInMilliseconds: 50000 #缺省为1000 fallback: isolation: semaphore: maxConcurrentRequests: 200 # 默认情况下下面两个值都是10,也就是超过10个的并发会直接进入fallback方法,不会去真正请求 # 负载均衡配置 ribbon: eureka: enabled: true # uniapp集成的个推 unipush: appId: ShVpFTXPhu9SIHivD2Kon6 appKey: YJWwctAp916G9uoWfPwh2A appSecret: uqgpgsFSLx5RgUG5nvlpZ4 masterSecret: MJJ8lWVDAX77cr9kLUuBY9 host: http://api.getui.com/apiex.htm xxl: job: enabled: false #如果使用xxl则不使用quartz accessToken: '' admin: addresses: http://192.168.1.100:8120/xxl-job-admin executor: address: '' appname: ${spring.application.name} ip: '' logpath: /data/applogs/xxl-job/jobhandler logretentiondays: 30 port: 9999 # 是否解决跨域问题 cors: enable: true