crss-meterprocess-app-dev.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. spring:
  2. crss-main:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_meterprocess
  5. username: admin
  6. password: password
  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.236.2:5432/crss_reg
  14. username: admin
  15. password: password
  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.236.2:5432/crss_nmms
  23. username: admin
  24. password: password
  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: true
  32. properties:
  33. hibernate:
  34. generate_statistics: true
  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://localhost:8082/oauth/access_token
  59. # userAuthorizationUri: http://localhost:8082/oauth/authorize
  60. # clientId: crss
  61. # clientSecret: crsssecret
  62. # authorized-grant-types: authorization_code,refresh_token,password
  63. # scope: openid
  64. # access-token-validity-seconds: 3600
  65. # resource:
  66. # userInfoUri: http://localhost:8082/user
  67. logging:
  68. level:
  69. com.pemc: DEBUG
  70. com.netflix: DEBUG
  71. org.springframework.cloud: DEBUG
  72. org.hibernate.stat: debug
  73. dataflow:
  74. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  75. job:
  76. maxRun: 1
  77. security:
  78. ignored: /**
  79. management:
  80. security:
  81. enabled: false
  82. sftp:
  83. credentials:
  84. username: pemc
  85. password: 123qwe
  86. host: sftp.marathon.l4lb.thisdcos.directory
  87. port: 22
  88. workingDirectory: /upload
  89. privateKey: