application.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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:
  45. show-sql: true
  46. properties:
  47. hibernate.use_sql_comments: true
  48. hibernate.format_sql: true
  49. javax.persistence.schema-generation.database.action: none
  50. javax.persistence.schema-generation.create-source: metadata
  51. javax.persistence.schema-generation.scripts.action: drop-and-create
  52. javax.persistence.schema-generation.scripts.create-target: target/create.sql
  53. javax.persistence.schema-generation.scripts.drop-target: target/drop.sql
  54. ---
  55. spring:
  56. profiles: docker
  57. security.server.url: http://app:8080/admin
  58. eureka:
  59. client:
  60. serviceUrl:
  61. defaultZone: http://discovery:8080/eureka/
  62. ---
  63. spring:
  64. profiles: staging
  65. profiles.include: docker
  66. rabbitmq:
  67. host: rabbitmq
  68. graylog:
  69. host: 192.168.241.62
  70. ---
  71. spring:
  72. profiles: uat
  73. profiles.include: docker
  74. rabbitmq:
  75. host: pemc-oracle.ss.exist.com
  76. logging.level:
  77. com.pemc.crss: INFO
  78. graylog:
  79. host: 192.168.235.6
  80. ---
  81. spring:
  82. profiles: pemc-staging
  83. profiles.include: docker
  84. rabbitmq:
  85. host: 192.168.39.117
  86. logging.level:
  87. com.pemc.crss: INFO