|
|
@@ -0,0 +1,61 @@
|
|
|
+spring:
|
|
|
+ datasource:
|
|
|
+ platform : postgres
|
|
|
+ url: jdbc:postgresql://localhost:5432/crss_reg
|
|
|
+ username: crss_reg
|
|
|
+ password: crss_reg
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
+ jpa:
|
|
|
+ database: POSTGRESQL
|
|
|
+ show-sql: true
|
|
|
+ hibernate:
|
|
|
+ ddl-auto: update
|
|
|
+ properties:
|
|
|
+ jadira.usertype.autoRegisterUserTypes: true
|
|
|
+ javax.persistence.schema-generation.database.action: none
|
|
|
+ javax.persistence.schema-generation.create-source: metadata
|
|
|
+ javax.persistence.schema-generation.scripts.action: drop-and-create
|
|
|
+ javax.persistence.schema-generation.scripts.create-target: create.sql
|
|
|
+ javax.persistence.schema-generation.scripts.drop-target: drop.sql
|
|
|
+ mail:
|
|
|
+ host: smtp.gmail.com
|
|
|
+ port: 587
|
|
|
+ username: demo.exist.pemc@gmail.com
|
|
|
+ # please provide the password
|
|
|
+ password: $pockTest
|
|
|
+ properties:
|
|
|
+ mail.smtp.auth: true
|
|
|
+ mail.debug: true
|
|
|
+ mail.smtp.starttlls.enable: true
|
|
|
+ mail.smtp.starttls.required: true
|
|
|
+ #we dont need spring mvc here
|
|
|
+ freemarker:
|
|
|
+ enabled: false
|
|
|
+ template-loader-path: classpath:/mail/templates
|
|
|
+
|
|
|
+security:
|
|
|
+ oauth2:
|
|
|
+ resource:
|
|
|
+ userInfoUri: http://localhost:8090/user
|
|
|
+
|
|
|
+server:
|
|
|
+ port: 8081
|
|
|
+ undertow:
|
|
|
+ accesslog:
|
|
|
+ dir: target/logs
|
|
|
+ enabled: true
|
|
|
+ pattern: combined
|
|
|
+ compression:
|
|
|
+ enabled: true
|
|
|
+ min-response-size: 1
|
|
|
+ jackson:
|
|
|
+ # for further customization please consult the documentation:
|
|
|
+ # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
|
|
|
+ # https://github.com/FasterXML/jackson-databind/wiki
|
|
|
+ # deserialization:
|
|
|
+ # FAIL_ON_UNKNOWN_PROPERTIES: true
|
|
|
+ # DEFAULT_VIEW_INCLUSION: true
|
|
|
+
|
|
|
+storage:
|
|
|
+ file:
|
|
|
+ rootFolder: registration-dir
|