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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. spring:
  2. crss-stl:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=settlement
  5. username: crss_settlement
  6. password: crss_settlement
  7. driverClassName: org.postgresql.Driver
  8. maximumPoolSize: 2
  9. test-on-borrow: true
  10. validation-query: SELECT 1
  11. crss-main:
  12. datasource:
  13. jdbcUrl: jdbc:postgresql://192.168.233.9: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://192.168.233.9: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://192.168.233.9: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://192.168.233.9: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://192.168.233.9: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: 2048
  63. cpu: 0.5
  64. # apply monthly constraints here
  65. constraints:
  66. dcos:
  67. authorizationToken: eyJhbGciOiJIUzI1NiIsImtpZCI6InNlY3JldCIsInR5cCI6IkpXVCJ9.eyJhdWQiOiIzeUY1VE9TemRsSTQ1UTF4c3B4emVvR0JlOWZOeG05bSIsImVtYWlsIjoiamVqb21hci5kaW1heXVnYUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZXhwIjoxNTI5OTIyNTg1LCJpYXQiOjE1Mjk0OTA1ODUsImlzcyI6Imh0dHBzOi8vZGNvcy5hdXRoMC5jb20vIiwic3ViIjoiZ2l0aHVifDExMjgyMCIsInVpZCI6Implam9tYXIuZGltYXl1Z2FAZ21haWwuY29tIn0.qT2RIKXo1Cb9DEHdd5BTdtT7HiWuQ2mm1MUJN0C5MnI
  68. task:
  69. initialize:
  70. enable: false
  71. batch:
  72. initializer:
  73. enabled: false
  74. job:
  75. enabled: true
  76. jpa:
  77. show-sql: false
  78. generate-ddl: true
  79. properties:
  80. hibernate:
  81. generate_statistics: false
  82. dialect: org.hibernate.dialect.PostgreSQL81Dialect
  83. ddl-auto: none
  84. hbm2ddl:
  85. auto: none
  86. batch:
  87. chunkSize: 100
  88. maxWorkers: 10
  89. partitionSize:
  90. retDat: 900
  91. retBcq: 20000
  92. calcEta: 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