crss-settlement-task-calculation-dev2.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. spring:
  2. crss-stl:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=settlement
  5. username: crss_settlement
  6. password: crss_settlement
  7. driverClassName: org.postgresql.Driver
  8. maximumPoolSize: 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?currentSchema=meterprocess
  14. username: crss_meterprocess
  15. password: crss_meterprocess
  16. driverClassName: org.postgresql.Driver
  17. maximumPoolSize: 2
  18. test-on-borrow: true
  19. validation-query: SELECT 1
  20. crss-metering:
  21. datasource:
  22. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=metering
  23. username: crss_metering
  24. password: crss_metering
  25. driverClassName: org.postgresql.Driver
  26. maximumPoolSize: 2
  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?currentSchema=nmms
  32. username: crss_nmms
  33. password: crss_nmms
  34. driverClassName: org.postgresql.Driver
  35. maximumPoolSize: 2
  36. test-on-borrow: true
  37. validation-query: SELECT 1
  38. crss-dataflow:
  39. datasource:
  40. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=dataflow
  41. username: crss_dataflow
  42. password: crss_dataflow
  43. driverClassName: org.postgresql.Driver
  44. maximumPoolSize: 5
  45. connectionTimeout: 300000
  46. test-on-borrow: true
  47. validation-query: SELECT 1
  48. crss-registration:
  49. datasource:
  50. jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss?currentSchema=registration
  51. username: crss_registration
  52. password: crss_registration
  53. maximumPoolSize: 1
  54. connectionTimeout: 60000
  55. driverClassName: org.postgresql.Driver
  56. profiles:
  57. include: mesos
  58. cloud:
  59. deployer:
  60. mesos:
  61. chronos:
  62. memory: 1536
  63. cpu: 0.2
  64. apiEndpoint: http://master.mesos/service/chronos/v1
  65. # apply monthly constraints here
  66. constraints: rack,LIKE,rack-(daily|monthly)
  67. task:
  68. initialize:
  69. enable: false
  70. batch:
  71. initializer:
  72. enabled: false
  73. job:
  74. enabled: true
  75. jpa:
  76. show-sql: false
  77. generate-ddl: true
  78. properties:
  79. hibernate:
  80. generate_statistics: false
  81. dialect: org.hibernate.dialect.PostgreSQL81Dialect
  82. ddl-auto: none
  83. hbm2ddl:
  84. auto: none
  85. batch:
  86. chunkSize: 100
  87. maxWorkers: 10
  88. partitionSize:
  89. retDat: 900
  90. retBcq: 20000
  91. calcEta: 3000
  92. spotLlcc: 3000
  93. procNss: 3000
  94. nss: 1000
  95. disAggBcq: 1000
  96. disAggBcqBuyer: 1000
  97. disAggBcqSeller: 1000
  98. rta: 300
  99. rprta: 1000
  100. rcra: 200
  101. sFactor: 150
  102. runway: 150
  103. spotSeller: 1500
  104. spotBuyer: 1500
  105. gmr: 1500
  106. logging:
  107. level:
  108. com.pemc.crss.settlement.task.calculation: DEBUG
  109. com.netflix: DEBUG
  110. org.springframework.cloud: DEBUG
  111. org.hibernate.stat: debug
  112. ---
  113. spring:
  114. profiles: genDEBRsvInputWorkspace
  115. cloud.deployer.mesos.chronos.constraints: rack,EQUAL,rack-daily
  116. ---
  117. ---
  118. spring:
  119. profiles: dailyStlAmtsCalculation
  120. cloud.deployer.mesos.chronos.constraints: rack,EQUAL,rack-daily
  121. ---
  122. ---
  123. spring:
  124. profiles: dailyLrCalculation
  125. cloud:
  126. deployer:
  127. mesos:
  128. chronos:
  129. memory: 1536
  130. cpu: 0.2
  131. constraints: rack,EQUALS,rack-daily
  132. ---
  133. spring:
  134. profiles: monthlyPrelimLrCalculation, monthlyFinalLrCalculation, monthlyAdjustedLrMtrAdjCalculation, monthlyAdjustedLrMtrFinCalculation
  135. cloud:
  136. deployer:
  137. mesos:
  138. chronos:
  139. memory: 1536
  140. cpu: 0.2
  141. ---