crss-mtr-dev2.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. spring:
  2. crss-dataflow:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=dataflow
  5. url: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=dataflow
  6. username: crss_dataflow
  7. password: crss_dataflow
  8. driverClassName: org.postgresql.Driver
  9. maxPoolSize: 5
  10. test-on-borrow: true
  11. validation-query: SELECT 1
  12. crss-main:
  13. datasource:
  14. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=meterprocess
  15. url: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=meterprocess
  16. username: crss_meterprocess
  17. password: crss_meterprocess
  18. driverClassName: org.postgresql.Driver
  19. maxPoolSize: 5
  20. test-on-borrow: true
  21. validation-query: SELECT 1
  22. crss-registration:
  23. dataSource:
  24. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=registration
  25. url: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=registration
  26. username: crss_registration
  27. password: crss_registration
  28. driverClassName: org.postgresql.Driver
  29. maxPoolSize: 5
  30. test-on-borrow: true
  31. validation-query: SELECT 1
  32. jpa:
  33. show-sql: true
  34. generate-ddl: true
  35. open-in-view: false
  36. properties:
  37. hibernate:
  38. generate_statistics: true
  39. dialect: org.hibernate.dialect.PostgreSQLDialect
  40. ddl-auto: none
  41. hbm2ddl:
  42. auto: none
  43. profiles:
  44. include: mesos
  45. cloud:
  46. deployer:
  47. mesos:
  48. chronos:
  49. apiEndpoint: http://master.mesos/service/chronos/v1
  50. memory: 3072
  51. cpu: 0.5
  52. # apply monthly constraints here
  53. constraints: rack,LIKE,rack-(daily|monthly)
  54. task:
  55. initialize:
  56. enable: false
  57. batch:
  58. initializer:
  59. enabled: false
  60. logging:
  61. level:
  62. com.pemc: debug
  63. batch:
  64. # resourceLocation: ${resourceLocation} - property expansion defaulted in app's application.yml
  65. chunkSize: 1
  66. maxWorkers: 10
  67. partitionSize:
  68. mtrSein: 10
  69. mtr:
  70. directory: /tmp/
  71. sftp:
  72. credentials:
  73. username: pemc
  74. password: 123qwe
  75. host: sftp.marathon.l4lb.thisdcos.directory
  76. port: 22
  77. workingDirectory: /upload
  78. privateKey:
  79. ---
  80. spring:
  81. profiles: dailyMtr
  82. cloud.deployer.mesos.chronos.constraints: rack,EQUAL,rack-daily
  83. ---