crss-meterprocess-app-dev2.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. spring:
  2. crss-main:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=meterprocess
  5. username: crss_meterprocess
  6. password: crss_meterprocess
  7. driverClassName: org.postgresql.Driver
  8. maxPoolSize: 5
  9. test-on-borrow: true
  10. validation-query: SELECT 1
  11. crss-registration:
  12. datasource:
  13. jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=registration
  14. username: crss_registration
  15. password: crss_registration
  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://192.168.233.9:5432/crss?currentSchema=nmms
  23. username: crss_nmms
  24. password: crss_nmms
  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. properties:
  33. hibernate:
  34. generate_statistics: false
  35. dialect: org.hibernate.dialect.PostgreSQLDialect
  36. ddl-auto: none
  37. hbm2ddl:
  38. import_files:
  39. # prevent batch job from running on app start
  40. batch:
  41. job:
  42. enabled: false
  43. #liquibase:
  44. # change-log: classpath:/db/db.changelog-master.xml
  45. server:
  46. port: 8081
  47. undertow:
  48. accesslog:
  49. dir: target
  50. enabled: true
  51. pattern: combined
  52. compression:
  53. enabled: true
  54. min-response-size: 1
  55. security:
  56. oauth2:
  57. client:
  58. accessTokenUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
  59. userAuthorizationUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
  60. resource:
  61. userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user
  62. logging:
  63. level:
  64. com.pemc: DEBUG
  65. com.netflix: DEBUG
  66. org.springframework.cloud: DEBUG
  67. org.hibernate.stat: debug
  68. dataflow:
  69. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  70. job:
  71. maxRun: 1
  72. sftp:
  73. credentials:
  74. username: pemc
  75. password: 123qwe
  76. host: sftp.marathon.l4lb.thisdcos.directory
  77. port: 22
  78. workingDirectory: /upload
  79. privateKey: