application.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. # TODO graylog
  69. graylog:
  70. host: pemc.integration.exist.com
  71. ---
  72. spring:
  73. profiles: uat
  74. profiles.include: docker
  75. rabbitmq:
  76. host: pemc-oracle.ss.exist.com
  77. logging.level:
  78. com.pemc.crss: INFO
  79. graylog:
  80. host: pemc.integration.exist.com
  81. ---
  82. spring:
  83. profiles: pemc-staging
  84. profiles.include: docker
  85. rabbitmq:
  86. host: 192.168.39.117
  87. logging.level:
  88. com.pemc.crss: INFO