application-qa.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. spring:
  2. crss-main:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss_meterprocess
  5. username: postgres
  6. password: 123qwe
  7. driverClassName: org.postgresql.Driver
  8. maxPoolSize: 5
  9. test-on-borrow: true
  10. validation-query: SELECT 1
  11. crss-registration:
  12. datasource:
  13. jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss_reg
  14. username: postgres
  15. password: 123qwe
  16. driverClassName: org.postgresql.Driver
  17. maxPoolSize: 5
  18. test-on-borrow: true
  19. validation-query: SELECT 1
  20. crss-nmms:
  21. datasource:
  22. jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss_nmms
  23. username: postgres
  24. password: 123qwe
  25. driverClassName: org.postgresql.Driver
  26. maxPoolSize: 5
  27. test-on-borrow: true
  28. validation-query: SELECT 1
  29. jpa:
  30. show-sql: false
  31. generate-ddl: true
  32. properties:
  33. hibernate:
  34. generate_statistics: true
  35. dialect: org.hibernate.dialect.PostgreSQLDialect
  36. ddl-auto: none
  37. hbm2ddl:
  38. import_files:
  39. # prevent batch job from running on app start
  40. batch:
  41. job:
  42. enabled: false
  43. #liquibase:
  44. # change-log: classpath:/db/db.changelog-master.xml
  45. server:
  46. port: 8081
  47. undertow:
  48. accesslog:
  49. dir: target
  50. enabled: true
  51. pattern: combined
  52. compression:
  53. enabled: true
  54. min-response-size: 1
  55. eureka:
  56. instance:
  57. prefer-ip-address: false
  58. hostname: crss-meterprocess-app.marathon.l4lb.thisdcos.directory
  59. client:
  60. serviceUrl:
  61. defaultZone: http://crss-discovery.marathon.l4lb.thisdcos.directory:8761/eureka/
  62. # healthcheck:
  63. # enabled: true
  64. # lease:
  65. # duration: 5
  66. # instance:
  67. # leaseRenewalIntervalInSeconds: 1
  68. # leaseExpirationDurationInSeconds: 2
  69. security:
  70. oauth2:
  71. client:
  72. accessTokenUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
  73. userAuthorizationUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
  74. resource:
  75. userInfoUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/user
  76. logging:
  77. level:
  78. com.pemc: DEBUG
  79. com.netflix: DEBUG
  80. org.springframework.cloud: DEBUG
  81. org.hibernate.stat: debug
  82. dataflow:
  83. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  84. job:
  85. maxRun: 1
  86. sftp:
  87. credentials:
  88. username: pemc
  89. password: 123qwe
  90. host: sftp.marathon.l4lb.thisdcos.directory
  91. port: 22
  92. workingDirectory: /upload
  93. privateKey: