crss-meterprocess-app.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. spring:
  2. crss-main:
  3. datasource:
  4. driverClassName: com.edb.Driver
  5. connectionTimeout: 10000
  6. maxPoolSize: 2
  7. test-on-borrow: true
  8. validation-query: SELECT 1
  9. crss-registration:
  10. datasource:
  11. driverClassName: com.edb.Driver
  12. connectionTimeout: 10000
  13. maxPoolSize: 2
  14. test-on-borrow: true
  15. validation-query: SELECT 1
  16. crss-nmms:
  17. datasource:
  18. driverClassName: com.edb.Driver
  19. connectionTimeout: 10000
  20. maxPoolSize: 2
  21. test-on-borrow: true
  22. validation-query: SELECT 1
  23. jpa:
  24. show-sql: false
  25. generate-ddl: false
  26. properties:
  27. hibernate:
  28. generate_statistics: false
  29. dialect: org.hibernate.dialect.PostgreSQLDialect
  30. ddl-auto: none
  31. hbm2ddl:
  32. import_files:
  33. # prevent batch job from running on app start
  34. batch:
  35. job:
  36. enabled: false
  37. cloud:
  38. task:
  39. initialize:
  40. enable: false
  41. batch:
  42. initializer:
  43. enabled: false
  44. security:
  45. oauth2:
  46. client:
  47. accessTokenUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
  48. userAuthorizationUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
  49. resource:
  50. userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user
  51. #liquibase:
  52. # change-log: classpath:/db/db.changelog-master.xml
  53. server:
  54. port: 9091
  55. undertow:
  56. accesslog:
  57. dir: target
  58. enabled: true
  59. pattern: combined
  60. compression:
  61. enabled: true
  62. min-response-size: 1
  63. logging:
  64. level:
  65. com.pemc: DEBUG
  66. com.netflix: DEBUG
  67. org.springframework.cloud: DEBUG
  68. org.apache.http: DEBUG
  69. org.hibernate.stat: debug
  70. dataflow:
  71. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  72. job:
  73. maxRun: 1
  74. sftp:
  75. credentials:
  76. username: pemc
  77. password: 123qwe
  78. host: sftp.marathon.l4lb.thisdcos.directory
  79. port: 22
  80. workingDirectory: /upload
  81. privateKey: