crss-sched.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. spring:
  2. datasource:
  3. url: jdbc:postgresql://192.168.235.6:5432/crss_sched
  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. host: pemc-oracle.ss.exist.com
  17. ports:
  18. - "5672:5672"
  19. - "15672:15672"
  20. server:
  21. port: 8085
  22. undertow:
  23. accesslog:
  24. dir: target
  25. enabled: true
  26. pattern: combined
  27. compression:
  28. enabled: true
  29. min-response-size: 1
  30. eureka:
  31. client:
  32. serviceUrl:
  33. defaultZone: http://discovery:8080/eureka/
  34. security:
  35. oauth2:
  36. client:
  37. accessTokenUri: http://app:8080/admin/oauth/access_token
  38. userAuthorizationUri: http://app:8080/admin/oauth/authorize
  39. clientId: crss
  40. clientSecret: crsssecret
  41. authorized-grant-types: authorization_code,refresh_token,password
  42. scope: openid
  43. access-token-validity-seconds: 3600
  44. resource:
  45. userInfoUri: http://app:8080/admin/user
  46. logging:
  47. level:
  48. com.pemc: DEBUG
  49. com.netflix: WARN
  50. org.springframework.cloud: WARN
  51. org.hibernate.SQL: DEBUG