application-dev2.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. spring:
  2. crss-dataflow:
  3. datasource:
  4. jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_dataflow
  5. username: crss_dataflow
  6. password: crss_dataflow
  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://192.168.233.9:5432/crss_meterprocess
  14. username: crss_meterprocess
  15. password: crss_meterprocess
  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://192.168.233.9:5432/crss_reg
  23. username: crss_reg
  24. password: crss_reg
  25. driverClassName: org.postgresql.Driver
  26. maxPoolSize: 5
  27. test-on-borrow: true
  28. validation-query: SELECT 1
  29. crss-nmms:
  30. datasource:
  31. jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_reg
  32. username: crss_reg
  33. password: crss_reg
  34. driverClassName: org.postgresql.Driver
  35. maxPoolSize: 5
  36. test-on-borrow: true
  37. validation-query: SELECT 1
  38. jpa:
  39. show-sql: false
  40. generate-ddl: true
  41. properties:
  42. hibernate:
  43. generate_statistics: true
  44. dialect: org.hibernate.dialect.PostgreSQLDialect
  45. ddl-auto: none
  46. hbm2ddl:
  47. import_files:
  48. # prevent batch job from running on app start
  49. batch:
  50. job:
  51. enabled: false
  52. #liquibase:
  53. # change-log: classpath:/db/db.changelog-master.xml
  54. server:
  55. port: 8081
  56. undertow:
  57. accesslog:
  58. dir: target
  59. enabled: true
  60. pattern: combined
  61. compression:
  62. enabled: true
  63. min-response-size: 1
  64. #security:
  65. # oauth2:
  66. # client:
  67. # accessTokenUri: http://localhost:8082/oauth/access_token
  68. # userAuthorizationUri: http://localhost:8082/oauth/authorize
  69. # clientId: crss
  70. # clientSecret: crsssecret
  71. # authorized-grant-types: authorization_code,refresh_token,password
  72. # scope: openid
  73. # access-token-validity-seconds: 3600
  74. # resource:
  75. # userInfoUri: http://localhost:8082/user
  76. logging:
  77. level:
  78. com.pemc: DEBUG
  79. com.netflix: DEBUG
  80. org.springframework.cloud: DEBUG
  81. org.hibernate.stat: debug
  82. dataflow:
  83. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  84. job:
  85. maxRun: 1
  86. sftp:
  87. credentials:
  88. username: pemc
  89. password: 123qwe
  90. host: sftp.marathon.l4lb.thisdcos.directory
  91. port: 22
  92. workingDirectory: /upload
  93. privateKey: