application.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. spring:
  2. profiles:
  3. include: client-sec
  4. crss-main:
  5. datasource:
  6. jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
  7. username: postgres
  8. password: postgres
  9. driverClassName: org.postgresql.Driver
  10. maxPoolSize: 5
  11. test-on-borrow: true
  12. validation-query: SELECT 1
  13. crss-registration:
  14. datasource:
  15. jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
  16. username: postgres
  17. password: postgres
  18. driverClassName: org.postgresql.Driver
  19. maxPoolSize: 5
  20. test-on-borrow: true
  21. validation-query: SELECT 1
  22. crss-nmms:
  23. datasource:
  24. jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
  25. username: postgres
  26. password: postgres
  27. driverClassName: org.postgresql.Driver
  28. maxPoolSize: 5
  29. test-on-borrow: true
  30. validation-query: SELECT 1
  31. jpa:
  32. show-sql: false
  33. generate-ddl: false
  34. properties:
  35. hibernate:
  36. generate_statistics: true
  37. dialect: org.hibernate.dialect.PostgreSQLDialect
  38. ddl-auto: none
  39. hbm2ddl:
  40. import_files:
  41. # prevent batch job from running on app start
  42. batch:
  43. job:
  44. enabled: false
  45. #liquibase:
  46. # change-log: classpath:/db/db.changelog-master.xml
  47. server:
  48. port: 9091
  49. undertow:
  50. accesslog:
  51. dir: target
  52. enabled: true
  53. pattern: combined
  54. compression:
  55. enabled: true
  56. min-response-size: 1
  57. eureka:
  58. instance:
  59. prefer-ip-address: true
  60. client:
  61. serviceUrl:
  62. defaultZone: http://localhost:8761/eureka/
  63. # healthcheck:
  64. # enabled: true
  65. # lease:
  66. # duration: 5
  67. # instance:
  68. # leaseRenewalIntervalInSeconds: 1
  69. # leaseExpirationDurationInSeconds: 2
  70. logging:
  71. level:
  72. com.pemc: DEBUG
  73. com.netflix: DEBUG
  74. org.springframework.cloud: DEBUG
  75. org.apache.http: DEBUG
  76. org.hibernate.stat: debug
  77. dataflow:
  78. url: http://localhost:9393
  79. job:
  80. maxRun: 1
  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: