spring: profiles: # active: report-server-dev active: report-server-online datasource: driver-class-name: com.mysql.jdbc.Driver # url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8 # username: mooctest # password: secr3t! # Keep the connection alive if idle for a long time (needed in production) testWhileIdle: true validationQuery: SELECT 1 # Show or not log for each sql query jpa: show-sql: true # Hibernate ddl auto (create, create-drop, update) hibernate: ddl-auto: validate #hbm2ddl.auto: update # Naming strategy naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy # The SQL dialect makes Hibernate generate better SQL for the chosen database properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect servlet: multipart: max-file-size: 1000MB max-request-size: 1000MB oss: accessKeyId: LTAI4FdrT3HsfdR5edBVN7ws accessKeySecret: yroxrpm46DzTyzHrLBZzS3MRNIicP6 endPoint: oss-cn-hangzhou.aliyuncs.com bucketName: mooctest-share sleep: 0 # 配置输出日志 logging: level: org.springframework.cloud.gateway: TRACE org.springframework.http.server.reactive: DEBUG org.springframework.web.reactive: DEBUG reactor.ipc.netty: DEBUG #开启端点 management: endpoints: web: exposure: include: '*' security: enabled: false logging.all.level: info logging.levelfile: /root/logs/mooctest-report --- # 报告服务开发环境 spring: profiles: report-server-dev datasource: url: jdbc:mysql://106.14.81.62:3306/report_service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8 username: root password: 123456 order.autoReport.upload.path: /Users/guochao/Desktop/project/enterprise-mooctest-site/var/www/reportFile/ order.autoReport.builder.copyPath: /Users/guochao/Desktop/project/enterprise-mooctest-site/var/www/reportBuilder/ order.autoReport.service.path: /Users/guochao/Desktop/project/enterprise-mooctest-site/projects/mooctest-report-template/ order.autoReport.service.template.path: /Users/guochao/Desktop/project/enterprise-mooctest-site/projects/mooctest-report-template/ static.resource.autoReport.url: /reportFile/ order.vulReport.json.upload.path: /src/json/ host.ip: 106.14.81.62 logging.all.level: info logging.levelfile: /Users/guochao/Desktop/logs/report-service-log --- # 报告服务线上环境 spring: profiles: report-server-online datasource: url: jdbc:mysql://106.14.81.62:3306/report_service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8 username: root password: 123456 static.resource.autoReport.url: /reportFile/ order.autoReport.upload.path: /var/www/reportFile/ order.autoReport.service.path: /root/mooctest-report-template/ order.autoReport.service.template.path: /root/mooctest-report-template/ order.autoReport.builder.copyPath: /var/www/reportBuilder/ order.vulReport.json.upload.path: /src/json/ host.ip: 106.14.81.62