crss-meterprocess-task-stlready.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. spring:
  2. crss-dataflow:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
  5. username: postgres
  6. password: postgres
  7. driverClassName: org.postgresql.Driver
  8. maxPoolSize: 5
  9. test-on-borrow: true
  10. validation-query: SELECT 1
  11. crss-main:
  12. datasource:
  13. jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
  14. username: postgres
  15. password: postgres
  16. driverClassName: org.postgresql.Driver
  17. maxPoolSize: 5
  18. test-on-borrow: true
  19. validation-query: SELECT 1
  20. crss-nmms:
  21. datasource:
  22. jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
  23. username: postgres
  24. password: postgres
  25. driverClassName: org.postgresql.Driver
  26. maxPoolSize: 5
  27. test-on-borrow: true
  28. validation-query: SELECT 1
  29. jpa:
  30. show-sql: false
  31. generate-ddl: false
  32. open-in-view: false
  33. properties:
  34. hibernate:
  35. # generate_statistics: true
  36. dialect: org.hibernate.dialect.PostgreSQLDialect
  37. ddl-auto: none
  38. hbm2ddl:
  39. auto: none
  40. cloud:
  41. task:
  42. initialize:
  43. enable: true
  44. batch:
  45. initializer:
  46. enabled: true
  47. cache:
  48. jcache:
  49. config: ehcache3.xml
  50. redis:
  51. host: localhost
  52. port: 6379
  53. logging:
  54. level:
  55. com.pemc: debug
  56. # org.hibernate.stat: debug
  57. batch:
  58. # resourceLocation: "file:target/libs/crss-meterprocess-task-stlready-1.0.0.BUILD-SNAPSHOT.jar"
  59. chunkSize: 100
  60. maxWorkers: 10
  61. partitionSize:
  62. stl: 10000