All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ober-dataform.2.1.8.source-code.application.yaml Maven / Gradle / Ivy

There is a newer version: 3.2.2
Show newest version
server: { port: 8080,contextPath: /dataform ,sessionTimeout: 30}

spring:
  autoconfigure:
    exclude: [org.activiti.spring.boot.SecurityAutoConfiguration,org.activiti.spring.boot.JpaProcessEngineAutoConfiguration,org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration]
#  mvc:
#    enable-matrix-variables: true
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/rober?useUnicode=true&characterEncoding=UTF-8
    username: root
    password: Amars0ft
#    driver-class-name: oracle.jdbc.driver.OracleDriver
#    url: jdbc:oracle:thin:@192.168.60.46:1521/orcl
#    username: AMIXDATA2
#    password: Amars0ft
    #打开PSCache,并且指定每个连接上PSCache的大小
    pool-prepared-statements: true
    max-pool-prepared-statement-per-connection-size: 20
    filters: stat,wall,log4j #配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
    connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    use-global-data-source-stat: true #合并多个DruidDataSource的监控数据

  ##############################
  # 以下是配置不同的模板引擎
  ##############################
  #    Default Extensions are:
  #    *.html - Thymeleaf
  #    *.tpl - Groovy
  #    *.ftl - Freemarker
  #    *.vm - Velocity

  freemarker:
    cache: false
    template-loader-path: ["classpath:/templates/","classpath:/webapp/"]
    prefer-file-system-access: false  #不使用文件系统优先,而使用classpath下的资源文件优先,解决打jar包运行后,出现的异常问题
    allow-request-override: false     #指定HttpServletRequest的属性是否可以覆盖controller的model的同名项
    check-template-location: true     #check-template-location
    charset: UTF-8
    content-type: text/html
    #request/session==true请求和会话属性都被复制到模板的属性集中,此时spring必须设置为true
    expose-request-attributes: false
    expose-session-attributes: false
    expose-spring-macro-helpers: true
    request-context-attribute: request
    prefix:
    suffix: .ftl
    settings:
      classic_compatible: true
#      auto_import: "macro/body.ftl as body"
#      auto_include: "/macro/body.ftl"
debug: true
#日志配置
logging:
  config: classpath:logback.xml

management:
  security:
    enabled: false  #否则actuator的监控会报401

#Rober的相关配置信息
group.rober:
  runtime:
    druid-login-username: rober
    druid-login-password: r0ber
  dataform:
    data-form-mapper-type: database #xml或database
    devBaseDir: ${projectRoot}/rober-dataform/src/test/resources
    dataformDataClasspath: dataform.json
  office:
    page-office:
      license-path: /data/amix/pageoffice/license/
      staticResourceUrl: /office/pageoffice/static
  base:
    production-model: true
#    auto-includes:
#      - /macro/body.ftl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy