crss-settlement-task-calculation.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. spring:
  2. crss-stl:
  3. datasource:
  4. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=settlement&ApplicationName=stlCalcJob
  5. username: crss_settlement
  6. password: i17SMOPm
  7. driverClassName: com.edb.Driver
  8. connectionTimeout: 3600000
  9. maximumPoolSize: 3
  10. test-on-borrow: true
  11. validation-query: SELECT 1
  12. crss-main:
  13. datasource:
  14. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=meterprocess&ApplicationName=stlCalcJob
  15. username: crss_meterprocess
  16. password: D9JpfUtT
  17. driverClassName: com.edb.Driver
  18. connectionTimeout: 3600000
  19. maximumPoolSize: 3
  20. test-on-borrow: true
  21. validation-query: SELECT 1
  22. crss-metering:
  23. datasource:
  24. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=metering&ApplicationName=stlCalcJob
  25. username: crss_metering
  26. password: Fh7UcXpW
  27. driverClassName: com.edb.Driver
  28. connectionTimeout: 3600000
  29. maximumPoolSize: 3
  30. test-on-borrow: true
  31. validation-query: SELECT 1
  32. crss-nmms:
  33. datasource:
  34. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=nmms&ApplicationName=stlCalcJob
  35. username: crss_nmms
  36. password: lbgg1i2Y
  37. driverClassName: com.edb.Driver
  38. connectionTimeout: 3600000
  39. maximumPoolSize: 3
  40. test-on-borrow: true
  41. validation-query: SELECT 1
  42. crss-dataflow:
  43. datasource:
  44. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=dataflow&ApplicationName=stlCalcJob
  45. username: crss_dataflow
  46. password: lgcCpwy0
  47. driverClassName: com.edb.Driver
  48. connectionTimeout: 3600000
  49. maximumPoolSize: 3
  50. test-on-borrow: true
  51. validation-query: SELECT 1
  52. crss-registration:
  53. datasource:
  54. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=registration&ApplicationName=stlCalcJob
  55. username: crss_registration
  56. password: 51UF3JA9
  57. driverClassName: com.edb.Driver
  58. connectionTimeout: 150000
  59. maximumPoolSize: 3
  60. test-on-borrow: true
  61. validation-query: SELECT 1
  62. jpa:
  63. show-sql: false
  64. generate-ddl: false
  65. properties:
  66. hibernate:
  67. generate_statistics: false
  68. dialect: org.hibernate.dialect.PostgreSQLDialect
  69. ddl-auto: validate
  70. hbm2ddl:
  71. import_files:
  72. # jdbc:
  73. # batch_size: 1000
  74. cloud:
  75. task:
  76. initialize:
  77. enable: false
  78. deployer:
  79. mesos:
  80. chronos:
  81. apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10001/v1
  82. memory: 4096
  83. cpu: 1
  84. # apply monthly constraints here
  85. constraints: rack,EQUAL,rack-monthly
  86. dcos:
  87. authorizationToken: ${crss.dcos.token}
  88. batch:
  89. initializer:
  90. enabled: false
  91. job:
  92. enabled: true
  93. redis:
  94. host: redis.marathon.l4lb.thisdcos.directory
  95. port: 6379
  96. batch:
  97. chunkSize: 100
  98. maxWorkers: 24
  99. partitionSize:
  100. # Input workspace
  101. retBcq: 52000
  102. retDat: 60 #max DI: 8928
  103. # Trading Amounts
  104. calcEta: 42 #max DI: 8928
  105. procNss: 60 #max DI: 8928
  106. nss: 60 #max DI: 8928
  107. nssTot: 13000
  108. rta: 60
  109. rprta: 60
  110. rcra: 60
  111. sFactor: 60
  112. runway: 60
  113. # Line Rental
  114. lr: 1000
  115. disAggBcq: 500 #max DI: 8928
  116. # Calc GMR
  117. spotSeller: 150
  118. spotBuyer: 75
  119. gmr: 1500
  120. # Calc MF
  121. energyMf: 1500
  122. reserveMf: 1500
  123. logging:
  124. level:
  125. com.pemc: DEBUG
  126. com.netflix: DEBUG
  127. org.springframework.cloud: DEBUG
  128. org.hibernate.stat: debug
  129. ---
  130. spring:
  131. profiles: genDEBRsvInputWorkspace
  132. cloud:
  133. deployer:
  134. mesos:
  135. chronos:
  136. constraints: rack,EQUAL,rack-daily
  137. ---
  138. ---
  139. spring:
  140. profiles: dailyStlAmtsCalculation
  141. cloud:
  142. deployer:
  143. mesos:
  144. chronos:
  145. constraints: rack,EQUAL,rack-daily
  146. ---
  147. ---
  148. spring:
  149. profiles: dailyLrCalculation
  150. cloud:
  151. deployer:
  152. mesos:
  153. chronos:
  154. memory: 8192
  155. cpu: 2
  156. constraints: rack,EQUAL,rack-daily
  157. ---
  158. ---
  159. spring:
  160. profiles: monthlyPrelimLrCalculation, monthlyFinalLrCalculation, monthlyAdjustedLrMtrAdjCalculation, monthlyAdjustedLrMtrFinCalculation
  161. cloud:
  162. deployer:
  163. mesos:
  164. chronos:
  165. memory: 8192
  166. cpu: 2
  167. ---