crss-metering-devoracle.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Experimental configuration to run metering in a developer's environment connecting to some staging services (database and messaging)
  2. spring:
  3. rabbitmq:
  4. username: guest
  5. password: guest
  6. host: localhost
  7. ports:
  8. - "5672:5672"
  9. - "15672:15672"
  10. server:
  11. port: 8084
  12. undertow:
  13. accesslog:
  14. dir: target
  15. enabled: true
  16. pattern: combined
  17. compression:
  18. enabled: true
  19. min-response-size: 1
  20. eureka:
  21. client:
  22. serviceUrl:
  23. defaultZone: http://localhost:8761/eureka/
  24. # healthcheck:
  25. # enabled: true
  26. # lease:
  27. # duration: 5
  28. # instance:
  29. # leaseRenewalIntervalInSeconds: 1
  30. # leaseExpirationDurationInSeconds: 2
  31. security:
  32. oauth2:
  33. client:
  34. accessTokenUri: http://localhost:8082/oauth/access_token
  35. userAuthorizationUri: http://localhost:8082/oauth/authorize
  36. clientId: crss
  37. clientSecret: crsssecret
  38. authorized-grant-types: authorization_code,refresh_token,password
  39. scope: openid
  40. access-token-validity-seconds: 3600
  41. resource:
  42. userInfoUri: http://localhost:8082/user