application.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. spring:
  2. application:
  3. name: AipGateway.API
  4. main:
  5. #web-application-type: none
  6. log-startup-info: true
  7. banner-mode: off
  8. mvc:
  9. view:
  10. prefix: /WEB-INF/jsp/
  11. suffix: .jsp
  12. #config:
  13. # import: file:${user.dir}/conf/application.yml
  14. #profiles:
  15. # include: application
  16. servlet:
  17. multipart:
  18. enabled: true
  19. file-size-threshold: 5MB
  20. max-file-size: 500MB
  21. max-request-size: 500MB
  22. datasource:
  23. hikari:
  24. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  25. #driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
  26. #encrypt=false;
  27. #jdbc-url: jdbc:log4jdbc:sqlserver://115.91.94.42:11433;databasename=aipdb;MultipleActiveResultSets=true;TrustServerCertificate=True;
  28. jdbc-url: jdbc:sqlserver://115.91.94.42:11433;DatabaseName=aipdb;MultipleActiveResultSets=true;TrustServerCertificate=True;
  29. username: ENC(04uwvbkIP0s=)
  30. password: ENC(04uwvbkIP0s=)
  31. auto-commit: true
  32. connection-test-query: SELECT 1
  33. minimum-idle: 5
  34. maximum-pool-size: 20
  35. idleTimeout: 20000
  36. max-lifetime: 30000
  37. connection-timeout: 10000
  38. pool-name: pool-aip-gateway-api-server
  39. file:
  40. upload-dir: c:\\data\\target
  41. logging:
  42. level:
  43. org.hibernate.SQL: info
  44. root: info
  45. com.zaxxer.hikari.pool.HikariPool: info
  46. server:
  47. port: 5050
  48. shutdown: graceful
  49. error:
  50. whitelabel:
  51. enabled: true
  52. include-exception: false
  53. include-stacktrace: never
  54. servlet:
  55. session:
  56. timeout: 300
  57. tracking-modes: cookie
  58. application:
  59. aip-server-id: 0
  60. jasypt:
  61. encryptor:
  62. bean: jasyptStringEncryptor
  63. property:
  64. prefix: ENC(
  65. suffix: )
  66. springdoc:
  67. api-docs:
  68. path: /api-docs
  69. default-consumes-media-type: application/json
  70. default-produces-media-type: application/json
  71. swagger-ui:
  72. path: /swagger-ui.html
  73. operations-sorter: alpha
  74. tags-sorter: alpha
  75. disable-swagger-default-url: true
  76. doc-expansion: none
  77. paths-to-match:
  78. - /v1/**