crss-dataflow-app-devlocal.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. generate_statistics: false
  18. dialect: org.hibernate.dialect.PostgreSQLDialect
  19. ddl-auto: update
  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. dataflow:
  60. url: http://localhost:9393
  61. sftp:
  62. credentials:
  63. username: pemc
  64. password: 123qwe
  65. host: pemc-storage.southeastasia.cloudapp.azure.com
  66. port: 22
  67. workingDirectory: /home/pemc/upload
  68. privateKey:
  69. # temporary todi-config, to be moved to general config
  70. todi-config:
  71. dispatch-interval: 5
  72. max-retry: 2
  73. crss:
  74. api.gateway: http://localhost:8080