application.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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-registration:
  21. dataSource:
  22. jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
  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. logging:
  48. level:
  49. com.pemc: debug
  50. org.hibernate.stat: debug
  51. batch:
  52. resourceLocation: "file:target/libs/crss-meterprocess-task-mtr-1.0.0.BUILD-SNAPSHOT.jar"
  53. chunkSize: 1
  54. maxWorkers: 10
  55. partitionSize:
  56. mtr: 50
  57. mtr:
  58. directory: /tmp
  59. sftp:
  60. credentials:
  61. username: pemc
  62. password: 123qwe
  63. host: pemc-storage.southeastasia.cloudapp.azure.com
  64. port: 22
  65. workingDirectory: /home/pemc/upload
  66. privateKey: