crss-dataflow-app.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. spring:
  2. crss-dataflow:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
  5. username: postgres
  6. password: postgres
  7. driverClassName: org.postgresql.Driver
  8. connectionTimeout: 10000
  9. maxPoolSize: 20
  10. test-on-borrow: true
  11. validation-query: SELECT 1
  12. jpa:
  13. show-sql: false
  14. generate-ddl: false
  15. properties:
  16. hibernate:
  17. generate_statistics: true
  18. dialect: org.hibernate.dialect.PostgreSQLDialect
  19. ddl-auto: none
  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: 9092
  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. org.hibernate.stat: debug
  57. dataflow:
  58. url: http://localhost:9393
  59. sftp:
  60. credentials:
  61. username: pemc
  62. password: 123qwe
  63. host: pemc-storage.southeastasia.cloudapp.azure.com
  64. port: 22
  65. workingDirectory: /home/pemc/upload
  66. privateKey:
  67. # temporary todi-config, to be moved to general config
  68. todi-config:
  69. dispatch-interval: 5
  70. max-retry: 2