registration-dev.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. storage:
  11. file:
  12. rootFolder: registration-dir
  13. security:
  14. oauth2:
  15. resource:
  16. userInfoUri: http://localhost:8090/user
  17. ---
  18. spring:
  19. profiles: common
  20. server:
  21. undertow:
  22. accesslog:
  23. dir: target/logs
  24. enabled: true
  25. pattern: combined
  26. compression:
  27. enabled: true
  28. min-response-size: 1
  29. jackson:
  30. # for further customization please consult the documentation:
  31. # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
  32. # https://github.com/FasterXML/jackson-databind/wiki
  33. # deserialization:
  34. # FAIL_ON_UNKNOWN_PROPERTIES: true
  35. # DEFAULT_VIEW_INCLUSION: true
  36. ---
  37. spring:
  38. profiles: dev
  39. datasource:
  40. platform : postgres
  41. url: jdbc:postgresql://localhost:5432/crss_reg
  42. username: crss_reg
  43. password: crss_reg
  44. driverClassName: org.postgresql.Driver
  45. jpa:
  46. database: POSTGRESQL
  47. show-sql: true
  48. hibernate:
  49. ddl-auto: update
  50. properties:
  51. jadira.usertype.autoRegisterUserTypes: true
  52. javax.persistence.schema-generation.database.action: none
  53. javax.persistence.schema-generation.create-source: metadata
  54. javax.persistence.schema-generation.scripts.action: drop-and-create
  55. javax.persistence.schema-generation.scripts.create-target: create.sql
  56. javax.persistence.schema-generation.scripts.drop-target: drop.sql
  57. mail:
  58. host: smtp.gmail.com
  59. port: 587
  60. username: demo.exist.pemc@gmail.com
  61. # please provide the password
  62. password: $pockTest
  63. properties:
  64. mail.smtp.auth: true
  65. mail.debug: true
  66. mail.smtp.starttlls.enable: true
  67. mail.smtp.starttls.required: true
  68. #we dont need spring mvc here
  69. freemarker:
  70. enabled: false
  71. template-loader-path: classpath:/mail/templates
  72. server:
  73. port: 8081
  74. ---
  75. #sample values. do not use yet
  76. spring:
  77. profiles: prod
  78. datasource:
  79. platform : oracle
  80. url: jdbc:oracle:thin:@//[HOST][:PORT]/SERVICE
  81. username: foo
  82. password: bar
  83. driverClassName: oracle.jdbc.OracleDriver
  84. jpa:
  85. database: ORACLE
  86. show-sql: true
  87. ---
  88. spring:
  89. profiles: staging
  90. datasource:
  91. platform : oracle
  92. url: jdbc:oracle:thin:@192.168.241.62:1521:ORCL
  93. username: crss
  94. password: crss
  95. driverClassName: oracle.jdbc.OracleDriver
  96. tomcat:
  97. # Number of ms to wait before throwing an exception if no connection is available.
  98. max-wait: 10000
  99. # Maximum number of active connections that can be allocated from this pool at the same time.
  100. max-active: 50
  101. # Validate the connection before borrowing it from the pool.
  102. test-on-borrow: true
  103. jpa:
  104. database: ORACLE
  105. show-sql: true
  106. mail:
  107. host: smtp.gmail.com
  108. port: 587
  109. # TODO: replace this values
  110. username: demo.exist.pemc@gmail.com
  111. password: $pockTest
  112. properties:
  113. mail.smtp.auth: true
  114. mail.smtp.starttlls.enable: true
  115. mail.smtp.starttls.required: true
  116. #we dont need spring mvc here
  117. freemarker:
  118. enabled: false
  119. template-loader-path: classpath:/mail/templates
  120. ---
  121. spring:
  122. profiles: devoracle
  123. datasource:
  124. platform : oracle
  125. url: jdbc:oracle:thin:@localhost:1521/xe
  126. username: pemccrss
  127. password: secretpassword
  128. driverClassName: oracle.jdbc.OracleDriver
  129. jpa:
  130. database: ORACLE
  131. show-sql: true
  132. hibernate:
  133. ddl-auto: update