application.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. spring:
  2. jpa:
  3. properties:
  4. hibernate.integration.envers.enabled: true
  5. jadira.usertype.autoRegisterUserTypes: true
  6. show-sql: false
  7. hibernate:
  8. ddl-auto: none
  9. security:
  10. oauth2:
  11. client:
  12. accessTokenUri: ${security.server.url:http://localhost:8082}/oauth/access_token
  13. userAuthorizationUri: ${security.server.url:http://localhost:8082}/oauth/authorize
  14. clientId: crss
  15. clientSecret: crsssecret
  16. authorized-grant-types: authorization_code,refresh_token,password
  17. scope: openid
  18. access-token-validity-seconds: 3600
  19. resource:
  20. userInfoUri: ${security.server.url:http://localhost:8082}/user
  21. eureka:
  22. client:
  23. serviceUrl:
  24. defaultZone: http://localhost:8761/eureka/
  25. server:
  26. undertow:
  27. accesslog:
  28. dir: target
  29. enabled: true
  30. pattern: combined
  31. compression:
  32. enabled: true
  33. min-response-size: 1
  34. logging:
  35. pattern:
  36. level: 'username:%X{username:-system} %5p'
  37. level:
  38. com.pemc.crss: DEBUG
  39. com.netflix: WARN
  40. org.springframework.cloud: WARN
  41. ---
  42. spring:
  43. profiles: dev
  44. jpa.properties:
  45. javax.persistence.schema-generation.database.action: none
  46. javax.persistence.schema-generation.create-source: metadata
  47. javax.persistence.schema-generation.scripts.action: drop-and-create
  48. javax.persistence.schema-generation.scripts.create-target: target/create.sql
  49. javax.persistence.schema-generation.scripts.drop-target: target/drop.sql
  50. ---
  51. spring:
  52. profiles: docker
  53. security.server.url: http://app:8080
  54. eureka:
  55. client:
  56. serviceUrl:
  57. defaultZone: http://discovery:8080/eureka/
  58. ---
  59. spring:
  60. profiles: staging
  61. profiles.include: docker
  62. rabbitmq:
  63. host: 192.168.241.62
  64. # TODO graylog
  65. graylog:
  66. host: pemc.integration.exist.com
  67. ---
  68. spring:
  69. profiles: uat
  70. profiles.include: docker
  71. rabbitmq:
  72. host: pemc-oracle.ss.exist.com
  73. graylog:
  74. host: pemc.integration.exist.com