application.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. server:
  2. port: 8999
  3. shutdown: graceful
  4. error:
  5. whitelabel:
  6. enabled: true
  7. include-exception: false
  8. include-stacktrace: never
  9. path: /error
  10. servlet:
  11. session:
  12. timeout: 43200m
  13. cookie:
  14. name: sigcookie
  15. max-http-header-size: 400000
  16. context-path: /
  17. spring:
  18. profiles:
  19. active: prod
  20. config:
  21. import:
  22. - optional:file:${user.dir}/conf/utic-sys-mon.yml
  23. application:
  24. name: utic-sys-mon
  25. aop:
  26. proxy-target-class: true
  27. devtools:
  28. livereload:
  29. enabled: true
  30. restart:
  31. enabled: true
  32. thymeleaf:
  33. check-template-location: true
  34. prefix: classpath:/templates/
  35. suffix: .html
  36. cache: false
  37. mvc:
  38. static-path-pattern: /static/**
  39. logging:
  40. level:
  41. jdbc.sqlonly: DEBUG
  42. ---
  43. spring:
  44. config:
  45. activate:
  46. on-profile: prod
  47. utis-datasource:
  48. driver-class-name: oracle.jdbc.driver.OracleDriver
  49. jdbc-url: jdbc:oracle:thin:@192.168.10.21:1521:UTIS
  50. username: utiadmin
  51. password: utiadmin
  52. section-datasource:
  53. driver-class-name: oracle.jdbc.driver.OracleDriver
  54. jdbc-url: jdbc:oracle:thin:@192.168.10.21:1521:UTIS
  55. username: section
  56. password: section
  57. ---
  58. spring:
  59. config:
  60. activate:
  61. on-profile: dev
  62. utis-datasource:
  63. driver-class-name: oracle.jdbc.driver.OracleDriver
  64. jdbc-url: jdbc:oracle:thin:@115.91.94.42:1521:HANTE
  65. username: utiadmin
  66. password: utiadmin
  67. section-datasource:
  68. driver-class-name: oracle.jdbc.driver.OracleDriver
  69. jdbc-url: jdbc:oracle:thin:@115.91.94.42:1521:HANTE
  70. username: section
  71. password: section