application.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. security:
  2. oauth2:
  3. client:
  4. accessTokenUri: ${security.server.url:http://localhost:8082}/oauth/access_token
  5. userAuthorizationUri: ${security.server.url:http://localhost:8082}/oauth/authorize
  6. clientId: crss
  7. clientSecret: crsssecret
  8. authorized-grant-types: authorization_code,refresh_token,password
  9. scope: openid
  10. access-token-validity-seconds: 3600
  11. resource:
  12. userInfoUri: ${security.server.url:http://localhost:8082}/user
  13. eureka:
  14. client:
  15. serviceUrl:
  16. defaultZone: http://localhost:8761/eureka/
  17. server:
  18. undertow:
  19. accesslog:
  20. dir: target
  21. enabled: true
  22. pattern: combined
  23. compression:
  24. enabled: true
  25. min-response-size: 1
  26. logging:
  27. pattern:
  28. level: 'username:%X{username:-system} %5p'
  29. level:
  30. com.pemc.crss: DEBUG
  31. com.netflix: WARN
  32. org.springframework.cloud: WARN
  33. ---
  34. spring:
  35. profiles: docker
  36. security.server.url: http://app:8080
  37. eureka:
  38. client:
  39. serviceUrl:
  40. defaultZone: http://discovery:8080/eureka/
  41. ---
  42. spring:
  43. profiles: staging
  44. profiles.include: docker
  45. rabbitmq:
  46. host: 192.168.241.62
  47. # TODO graylog
  48. graylog:
  49. host: pemc.integration.exist.com
  50. ---
  51. spring:
  52. profiles: uat
  53. profiles.include: docker
  54. rabbitmq:
  55. host: pemc-oracle.ss.exist.com
  56. graylog:
  57. host: pemc.integration.exist.com