crss-dataflow-app-devlocal.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. maxPoolSize: 20
  9. connectionTimeout: 10000
  10. test-on-borrow: true
  11. validation-query: SELECT 1
  12. jpa:
  13. show-sql: false
  14. generate-ddl: true
  15. properties:
  16. hibernate:
  17. dialect: org.hibernate.dialect.PostgreSQLDialect
  18. ddl-auto: update
  19. hbm2ddl:
  20. import_files:
  21. # prevent batch job from running on app start
  22. batch:
  23. job:
  24. enabled: false
  25. #liquibase:
  26. # change-log: classpath:/db/db.changelog-master.xml
  27. server:
  28. port: 8081
  29. undertow:
  30. accesslog:
  31. dir: target
  32. enabled: true
  33. pattern: combined
  34. compression:
  35. enabled: true
  36. min-response-size: 1
  37. #security:
  38. # oauth2:
  39. # client:
  40. # accessTokenUri: http://localhost:8082/oauth/access_token
  41. # userAuthorizationUri: http://localhost:8082/oauth/authorize
  42. # clientId: crss
  43. # clientSecret: crsssecret
  44. # authorized-grant-types: authorization_code,refresh_token,password
  45. # scope: openid
  46. # access-token-validity-seconds: 3600
  47. # resource:
  48. # userInfoUri: http://localhost:8082/user
  49. logging:
  50. level:
  51. com.pemc: DEBUG
  52. com.netflix: DEBUG
  53. org.springframework.cloud: DEBUG
  54. org.apache.http: DEBUG
  55. dataflow:
  56. url: http://localhost:9393
  57. sftp:
  58. credentials:
  59. username: pemc
  60. password: 123qwe
  61. host: pemc-storage.southeastasia.cloudapp.azure.com
  62. port: 22
  63. workingDirectory: /home/pemc/upload
  64. privateKey:
  65. # temporary todi-config, to be moved to general config
  66. todi-config:
  67. dispatch-interval: 5
  68. max-retry: 2