crss-mq-computation-dev2.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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: 6144
  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. cache:
  61. jcache:
  62. config: ehcache3.xml
  63. logging:
  64. level:
  65. com.pemc.crss : debug
  66. # org.hibernate.type: trace
  67. # org.hibernate.stat: debug
  68. batch:
  69. # resourceLocation: ${resourceLocation} - property expansion defaulted in app's application.yml
  70. chunkSize: 100
  71. maxWorkers: 10
  72. partitionSize:
  73. gap: 5000
  74. mq: 5000
  75. ssla: 5000
  76. report: 1
  77. mqreport:
  78. directory: /tmp/
  79. sftp:
  80. credentials:
  81. username: pemc
  82. password: 123qwe
  83. host: sftp.marathon.l4lb.thisdcos.directory
  84. port: 22
  85. workingDirectory: /upload
  86. privateKey:
  87. ---
  88. spring:
  89. profiles: dailyMq
  90. cloud.deployer.mesos.chronos.constraints: rack,EQUAL,rack-daily
  91. ---
  92. ---
  93. spring:
  94. profiles: dailyMqReport
  95. cloud.deployer.mesos.chronos.constraints: rack,EQUAL,rack-daily
  96. ---