application.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. spring:
  2. profiles:
  3. include: client-sec
  4. crss-stl:
  5. datasource:
  6. jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
  7. username: postgres
  8. password: postgres
  9. driverClassName: org.postgresql.Driver
  10. maxPoolSize: 5
  11. test-on-borrow: true
  12. validation-query: SELECT 1
  13. jpa:
  14. show-sql: false
  15. generate-ddl: true
  16. properties:
  17. hibernate:
  18. dialect: org.hibernate.dialect.PostgreSQL81Dialect
  19. ddl-auto: validate
  20. hbm2ddl:
  21. import_files:
  22. # prevent batch job from running on app start
  23. batch:
  24. job:
  25. enabled: false
  26. #liquibase:
  27. # change-log: classpath:/db/db.changelog-master.xml
  28. server:
  29. port: 9093
  30. undertow:
  31. accesslog:
  32. dir: target
  33. enabled: true
  34. pattern: combined
  35. compression:
  36. enabled: true
  37. min-response-size: 1
  38. #security:
  39. # oauth2:
  40. # client:
  41. # accessTokenUri: http://localhost:8082/oauth/access_token
  42. # userAuthorizationUri: http://localhost:8082/oauth/authorize
  43. # clientId: crss
  44. # clientSecret: crsssecret
  45. # authorized-grant-types: authorization_code,refresh_token,password
  46. # scope: openid
  47. # access-token-validity-seconds: 3600
  48. # resource:
  49. # userInfoUri: http://localhost:8082/user
  50. logging:
  51. level:
  52. com.pemc: DEBUG
  53. com.netflix: DEBUG
  54. org.springframework.cloud: DEBUG
  55. org.apache.http: DEBUG
  56. dataflow:
  57. url: http://localhost:9393
  58. job:
  59. maxRun: 1
  60. report:
  61. directory:
  62. base: report/
  63. sftp:
  64. credentials:
  65. username: pemc
  66. password: 123qwe
  67. host: pemc-storage.southeastasia.cloudapp.azure.com
  68. port: 22
  69. workingDirectory: /home/pemc/stl/upload
  70. privateKey: