crss-dataflow-app-devlocal.yml 1.8 KB

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