application-qa.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. jpa:
  39. show-sql: false
  40. generate-ddl: true
  41. properties:
  42. hibernate:
  43. generate_statistics: true
  44. dialect: org.hibernate.dialect.PostgreSQLDialect
  45. ddl-auto: none
  46. hbm2ddl:
  47. import_files:
  48. # prevent batch job from running on app start
  49. batch:
  50. job:
  51. enabled: false
  52. #liquibase:
  53. # change-log: classpath:/db/db.changelog-master.xml
  54. server:
  55. port: 8081
  56. undertow:
  57. accesslog:
  58. dir: target
  59. enabled: true
  60. pattern: combined
  61. compression:
  62. enabled: true
  63. min-response-size: 1
  64. eureka:
  65. instance:
  66. prefer-ip-address: false
  67. hostname: crss-meterprocess-app.marathon.l4lb.thisdcos.directory
  68. client:
  69. serviceUrl:
  70. defaultZone: http://crss-discovery.marathon.l4lb.thisdcos.directory:8761/eureka/
  71. # healthcheck:
  72. # enabled: true
  73. # lease:
  74. # duration: 5
  75. # instance:
  76. # leaseRenewalIntervalInSeconds: 1
  77. # leaseExpirationDurationInSeconds: 2
  78. security:
  79. oauth2:
  80. client:
  81. accessTokenUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
  82. userAuthorizationUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
  83. resource:
  84. userInfoUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/user
  85. logging:
  86. level:
  87. com.pemc: DEBUG
  88. com.netflix: DEBUG
  89. org.springframework.cloud: DEBUG
  90. org.hibernate.stat: debug
  91. dataflow:
  92. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  93. job:
  94. maxRun: 1
  95. sftp:
  96. credentials:
  97. username: pemc
  98. password: 123qwe
  99. host: sftp.marathon.l4lb.thisdcos.directory
  100. port: 22
  101. workingDirectory: /upload
  102. privateKey: