registration.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. spring:
  2. datasource:
  3. platform : oracle
  4. url: jdbc:oracle:thin:@192.168.241.62:1521:ORCL
  5. username: crss_reg
  6. password: crss_reg
  7. driverClassName: oracle.jdbc.OracleDriver
  8. tomcat:
  9. # Number of ms to wait before throwing an exception if no connection is available.
  10. max-wait: 10000
  11. # Maximum number of active connections that can be allocated from this pool at the same time.
  12. max-active: 50
  13. # Validate the connection before borrowing it from the pool.
  14. test-on-borrow: true
  15. jpa:
  16. database: ORACLE
  17. show-sql: true
  18. properties:
  19. jadira.usertype.autoRegisterUserTypes: true
  20. http:
  21. multipart:
  22. maxFileSize: "25Mb"
  23. maxRequestSize: "25Mb"
  24. mail:
  25. host: smtp.gmail.com
  26. port: 587
  27. # TODO: replace this values
  28. username: demo.exist.pemc@gmail.com
  29. password: $pockTest
  30. properties:
  31. mail.smtp.auth: true
  32. mail.smtp.starttlls.enable: true
  33. mail.smtp.starttls.required: true
  34. #we dont need spring mvc here
  35. freemarker:
  36. enabled: false
  37. template-loader-path: classpath:/mail/templates
  38. security:
  39. oauth2:
  40. resource:
  41. userInfoUri: http://localhost:8090/user
  42. server:
  43. undertow:
  44. accesslog:
  45. dir: target/logs
  46. enabled: true
  47. pattern: combined
  48. compression:
  49. enabled: true
  50. min-response-size: 1
  51. jackson:
  52. # for further customization please consult the documentation:
  53. # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
  54. # https://github.com/FasterXML/jackson-databind/wiki
  55. # deserialization:
  56. # FAIL_ON_UNKNOWN_PROPERTIES: true
  57. # DEFAULT_VIEW_INCLUSION: true
  58. storage:
  59. file:
  60. rootFolder: registration-dir