application.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. spring:
  2. crss-main:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
  5. username: postgres
  6. password: postgres
  7. driverClassName: org.postgresql.Driver
  8. connectionTimeout: 10000
  9. maxPoolSize: 20
  10. crss-dataflow:
  11. datasource:
  12. jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
  13. username: postgres
  14. password: postgres
  15. driverClassName: org.postgresql.Driver
  16. connectionTimeout: 10000
  17. maxPoolSize: 5
  18. crss-nmms:
  19. datasource:
  20. jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
  21. username: postgres
  22. password: postgres
  23. driverClassName: org.postgresql.Driver
  24. connectionTimeout: 10000
  25. maxPoolSize: 5
  26. crss-stl:
  27. datasource:
  28. jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
  29. username: postgres
  30. password: postgres
  31. driverClassName: org.postgresql.Driver
  32. connectionTimeout: 10000
  33. maxPoolSize: 5
  34. jpa:
  35. show-sql: false
  36. generate-ddl: false
  37. properties:
  38. hibernate:
  39. generate_statistics: true
  40. dialect: org.hibernate.dialect.PostgreSQLDialect
  41. ddl-auto: none
  42. hbm2ddl:
  43. import_files:
  44. # prevent batch job from running on app start
  45. batch:
  46. job:
  47. enabled: false
  48. #liquibase:
  49. # change-log: classpath:/db/db.changelog-master.xml
  50. server:
  51. port: 9092
  52. undertow:
  53. accesslog:
  54. dir: target
  55. enabled: true
  56. pattern: combined
  57. compression:
  58. enabled: true
  59. min-response-size: 1
  60. #security:
  61. # oauth2:
  62. # client:
  63. # accessTokenUri: http://localhost:8082/oauth/access_token
  64. # userAuthorizationUri: http://localhost:8082/oauth/authorize
  65. # clientId: crss
  66. # clientSecret: crsssecret
  67. # authorized-grant-types: authorization_code,refresh_token,password
  68. # scope: openid
  69. # access-token-validity-seconds: 3600
  70. # resource:
  71. # userInfoUri: http://localhost:8082/user
  72. logging:
  73. level:
  74. com.pemc: DEBUG
  75. com.netflix: DEBUG
  76. org.springframework.cloud: DEBUG
  77. org.apache.http: DEBUG
  78. org.hibernate.stat: debug
  79. dataflow:
  80. url: http://localhost:9393
  81. sftp:
  82. credentials:
  83. username: pemc
  84. password: 123qwe
  85. host: pemc-storage.southeastasia.cloudapp.azure.com
  86. port: 22
  87. workingDirectory: /home/pemc/upload
  88. privateKey:
  89. # temporary todi-config, to be moved to general config
  90. todi-config:
  91. dispatch-interval: 5
  92. max-retry: 2