crss-sched-dev.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. spring:
  2. datasource:
  3. url: jdbc:postgresql://localhost:5432/crss_metering
  4. username: crss_sched
  5. password: crss_sched
  6. driverClassName: org.postgresql.Driver
  7. hikari:
  8. connectionTimeout: 10000
  9. maximumPoolSize: 20
  10. jpa:
  11. database: POSTGRESQL
  12. properties:
  13. hibernate:
  14. dialect: org.hibernate.dialect.PostgreSQL94Dialect
  15. rabbitmq:
  16. username: guest
  17. password: guest
  18. host: localhost
  19. ports:
  20. - "5672:5672"
  21. - "15672:15672"
  22. server:
  23. port: 8085
  24. undertow:
  25. accesslog:
  26. dir: target
  27. enabled: true
  28. pattern: combined
  29. compression:
  30. enabled: true
  31. min-response-size: 1
  32. eureka:
  33. client:
  34. serviceUrl:
  35. defaultZone: http://localhost:8761/eureka/
  36. security:
  37. oauth2:
  38. client:
  39. accessTokenUri: http://localhost:8082/oauth/access_token
  40. userAuthorizationUri: http://localhost:8082/oauth/authorize
  41. clientId: crss
  42. clientSecret: crsssecret
  43. authorized-grant-types: authorization_code,refresh_token,password
  44. scope: openid
  45. access-token-validity-seconds: 3600
  46. resource:
  47. userInfoUri: http://localhost:8082/user
  48. logging:
  49. level:
  50. com.pemc: DEBUG
  51. com.netflix: WARN
  52. org.springframework.cloud: WARN
  53. org.hibernate.SQL: DEBUG