application-test.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. server:
  2. port: 8081
  3. spring:
  4. datasource:
  5. url: jdbc:mysql://127.0.0.1:3306/eval?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
  6. username: root
  7. password: root
  8. driverClassName: com.mysql.cj.jdbc.Driver
  9. hikari:
  10. max-lifetime: 600000
  11. maximum-pool-size: 100
  12. jpa:
  13. # database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
  14. hibernate:
  15. ddl-auto: update
  16. naming:
  17. implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  18. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  19. properties:
  20. hibernate.enable_lazy_load_no_trans: true
  21. hibernate.dialect: com.nju.edu.eval.config.MySQL57InnoDBDialect # 人为调整数据库编码
  22. hibernate.format_sql: true
  23. show-sql: false
  24. jackson:
  25. date-format: yyyy-MM-dd HH:mm:ss
  26. time-zone: GMT+8
  27. parser:
  28. #允许出现特殊字符和转义符
  29. allow_unquoted_control_chars: true
  30. #允许出现单引号
  31. allow_single_quotes: true
  32. jwt:
  33. header: Authorization
  34. # secret: SEEC-1919810-OIDC-114514
  35. secret: UenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRW
  36. seec-bok-client:
  37. host: https://bok.seec.seecoder.cn
  38. objective-judgement-client:
  39. host: https://seecoder-judgement.seec.seecoder.cn
  40. # host: http://localhost:8088
  41. code-judgement-client:
  42. host: http://oj.seec.seecoder.cn
  43. logging:
  44. file:
  45. name: /app/eval.log
  46. level:
  47. root: info