admin-dev.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. spring:
  2. profiles.active: common,dev
  3. jpa:
  4. properties:
  5. jadira.usertype.autoRegisterUserTypes: true
  6. http:
  7. multipart:
  8. maxFileSize: "25Mb"
  9. maxRequestSize: "25Mb"
  10. security:
  11. oauth2:
  12. resource:
  13. userInfoUri: http://localhost:8090/user
  14. ---
  15. spring:
  16. profiles: common
  17. server:
  18. undertow:
  19. accesslog:
  20. dir: target/logs
  21. enabled: true
  22. pattern: combined
  23. compression:
  24. enabled: true
  25. min-response-size: 1
  26. jackson:
  27. # for further customization please consult the documentation:
  28. # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
  29. # https://github.com/FasterXML/jackson-databind/wiki
  30. # deserialization:
  31. # FAIL_ON_UNKNOWN_PROPERTIES: true
  32. # DEFAULT_VIEW_INCLUSION: true
  33. ---
  34. spring:
  35. profiles: dev
  36. datasource:
  37. platform : postgres
  38. url: jdbc:postgresql://localhost:5432/crss_admin
  39. username: crss_admin
  40. password: crss_admin
  41. driverClassName: org.postgresql.Driver
  42. jpa:
  43. database: POSTGRESQL
  44. show-sql: true
  45. hibernate:
  46. ddl-auto: update
  47. properties:
  48. jadira.usertype.autoRegisterUserTypes: 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. server:
  55. port: 8082
  56. ---
  57. #sample values. do not use yet
  58. spring:
  59. profiles: prod
  60. datasource:
  61. platform : oracle
  62. url: jdbc:oracle:thin:@//[HOST][:PORT]/SERVICE
  63. username: foo
  64. password: bar
  65. driverClassName: oracle.jdbc.OracleDriver
  66. jpa:
  67. database: ORACLE
  68. show-sql: true
  69. ---
  70. spring:
  71. profiles: staging
  72. datasource:
  73. platform : oracle
  74. url: jdbc:oracle:thin:@192.168.241.62:1521:ORCL
  75. username: crss
  76. password: crss
  77. driverClassName: oracle.jdbc.OracleDriver
  78. tomcat:
  79. # Number of ms to wait before throwing an exception if no connection is available.
  80. max-wait: 10000
  81. # Maximum number of active connections that can be allocated from this pool at the same time.
  82. max-active: 50
  83. # Validate the connection before borrowing it from the pool.
  84. test-on-borrow: true
  85. jpa:
  86. database: ORACLE
  87. show-sql: true
  88. ---
  89. spring:
  90. profiles: devoracle
  91. datasource:
  92. platform : oracle
  93. url: jdbc:oracle:thin:@localhost:1521/xe
  94. username: pemccrss
  95. password: secretpassword
  96. driverClassName: oracle.jdbc.OracleDriver
  97. jpa:
  98. database: ORACLE
  99. show-sql: true
  100. hibernate:
  101. ddl-auto: update