application-qa.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. spring:
  2. crss-dataflow:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_dataflow
  5. username: admin
  6. password: password
  7. driverClassName: org.postgresql.Driver
  8. maxPoolSize: 5
  9. test-on-borrow: true
  10. validation-query: SELECT 1
  11. crss-main:
  12. datasource:
  13. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_meterprocess
  14. username: admin
  15. password: password
  16. driverClassName: org.postgresql.Driver
  17. maxPoolSize: 5
  18. test-on-borrow: true
  19. validation-query: SELECT 1
  20. crss-registration:
  21. datasource:
  22. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_reg
  23. username: admin
  24. password: password
  25. driverClassName: org.postgresql.Driver
  26. maxPoolSize: 5
  27. test-on-borrow: true
  28. validation-query: SELECT 1
  29. crss-nmms:
  30. datasource:
  31. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_nmms
  32. username: admin
  33. password: password
  34. driverClassName: org.postgresql.Driver
  35. maxPoolSize: 5
  36. test-on-borrow: true
  37. validation-query: SELECT 1
  38. crss-stl:
  39. datasource:
  40. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_settlement
  41. username: postgres
  42. password: postgres
  43. driverClassName: org.postgresql.Driver
  44. connectionTimeout: 10000
  45. maxPoolSize: 5
  46. test-on-borrow: true
  47. validation-query: SELECT 1
  48. jpa:
  49. show-sql: false
  50. generate-ddl: false
  51. properties:
  52. hibernate:
  53. generate_statistics: true
  54. dialect: org.hibernate.dialect.PostgreSQLDialect
  55. ddl-auto: none
  56. hbm2ddl:
  57. import_files:
  58. # prevent batch job from running on app start
  59. batch:
  60. job:
  61. enabled: false
  62. redis:
  63. host: redis.marathon.l4lb.thisdcos.directory
  64. port: 6379
  65. #liquibase:
  66. # change-log: classpath:/db/db.changelog-master.xml
  67. server:
  68. port: 8082
  69. undertow:
  70. accesslog:
  71. dir: target
  72. enabled: true
  73. pattern: combined
  74. compression:
  75. enabled: true
  76. min-response-size: 1
  77. #security:
  78. # oauth2:
  79. # client:
  80. # accessTokenUri: http://localhost:8082/oauth/access_token
  81. # userAuthorizationUri: http://localhost:8082/oauth/authorize
  82. # clientId: crss
  83. # clientSecret: crsssecret
  84. # authorized-grant-types: authorization_code,refresh_token,password
  85. # scope: openid
  86. # access-token-validity-seconds: 3600
  87. # resource:
  88. # userInfoUri: http://localhost:8082/user
  89. logging:
  90. level:
  91. com.pemc: DEBUG
  92. com.netflix: DEBUG
  93. org.springframework.cloud: DEBUG
  94. org.hibernate.stat: debug
  95. dataflow:
  96. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  97. sftp:
  98. credentials:
  99. username: pemc
  100. password: 123qwe
  101. host: sftp.marathon.l4lb.thisdcos.directory
  102. port: 22
  103. workingDirectory: /upload
  104. privateKey:
  105. # temporary todi-config, to be moved to general config
  106. todi-config:
  107. dispatch-interval: 5
  108. max-retry: 2