application-dev.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. spring:
  2. profiles.include: pg-query
  3. datasource:
  4. url: jdbc:postgresql://localhost:5432/crss_metering
  5. username: crss_metering
  6. password: crss_metering
  7. driverClassName: org.postgresql.Driver
  8. hikari:
  9. connectionTimeout: 10000
  10. maximumPoolSize: 20
  11. jpa:
  12. database: POSTGRESQL
  13. properties:
  14. hibernate:
  15. dialect: org.hibernate.dialect.PostgreSQL94Dialect
  16. server:
  17. port: 8084
  18. eureka:
  19. client:
  20. serviceUrl:
  21. defaultZone: http://localhost:8761/eureka/
  22. security:
  23. oauth2:
  24. client:
  25. accessTokenUri: http://localhost:8082/oauth/access_token
  26. userAuthorizationUri: http://localhost:8082/oauth/authorize
  27. clientId: crss
  28. clientSecret: crsssecret
  29. authorized-grant-types: authorization_code,refresh_token,password
  30. scope: openid
  31. access-token-validity-seconds: 3600
  32. resource:
  33. userInfoUri: http://localhost:8082/user
  34. logging:
  35. level:
  36. com.pemc: DEBUG
  37. com.netflix: WARN
  38. org.springframework.cloud: WARN
  39. org.hibernate.SQL: DEBUG