application-dev.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. spring:
  2. crss-dataflow:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_dataflow
  5. username: admin
  6. password: password
  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: true
  14. generate-ddl: false
  15. properties:
  16. hibernate:
  17. dialect: org.hibernate.dialect.PostgreSQLDialect
  18. ddl-auto: none
  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: redis.marathon.l4lb.thisdcos.directory
  27. port: 6379
  28. #liquibase:
  29. # change-log: classpath:/db/db.changelog-master.xml
  30. server:
  31. port: 8082
  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://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory: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. security:
  73. basic:
  74. enabled: false
  75. ignored: /**
  76. management:
  77. security:
  78. enabled: false