spring: profiles: active: report-server-dev 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 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 --- # 报告服务开发环境 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/ static.resource.autoReport.url: /reportFile/ order.vulReport.json.upload.path: /static-scan-report/src/json/ host.ip: 106.14.81.62 --- # 报告服务线上环境 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/ order.autoReport.builder.copyPath: /var/www/reportBuilder/ order.vulReport.json.upload.path: /static-scan-report/src/json/ host.ip: 106.14.81.62