application-devlocal.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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: false
  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. redis:
  27. host: localhost
  28. port: 6379
  29. #liquibase:
  30. # change-log: classpath:/db/db.changelog-master.xml
  31. server:
  32. port: 9092
  33. undertow:
  34. accesslog:
  35. dir: target
  36. enabled: true
  37. pattern: combined
  38. compression:
  39. enabled: true
  40. min-response-size: 1
  41. security:
  42. oauth2:
  43. client:
  44. accessTokenUri: http://localhost:8082/oauth/access_token
  45. userAuthorizationUri: http://localhost:8082/oauth/authorize
  46. clientId: crss
  47. clientSecret: crsssecret
  48. authorized-grant-types: authorization_code,refresh_token,password
  49. scope: openid
  50. access-token-validity-seconds: 3600
  51. resource:
  52. userInfoUri: http://localhost:8082/user
  53. logging:
  54. level:
  55. com.pemc: DEBUG
  56. com.netflix: DEBUG
  57. org.springframework.cloud: DEBUG
  58. org.apache.http: DEBUG
  59. org.hibernate.stat: debug
  60. dataflow:
  61. url: http://localhost:9393
  62. sftp:
  63. credentials:
  64. username: pemc
  65. password: 123qwe
  66. host: pemc-storage.southeastasia.cloudapp.azure.com
  67. port: 22
  68. workingDirectory: /home/pemc/upload
  69. privateKey:
  70. # temporary todi-config, to be moved to general config
  71. todi-config:
  72. dispatch-interval: 5
  73. max-retry: 2