Skip to content

Commit

Permalink
added the mail service
Browse files Browse the repository at this point in the history
  • Loading branch information
carron10 committed Jun 14, 2024
1 parent 2e871d9 commit ada543f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

logging.level.web=Debug
# H2 Database
spring.datasource.url=jdbc:h2:file:./TicketSystemDB_dev
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=1234
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
#spring.jpa.generate-ddl=true
#spring.jpa.hibernate.ddl-auto =create-drop
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE

#security.basic.enabled=false
#management.security.enabled=false
#spring.autoconfigure.exclude[0]=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration

#For dev
spring.devtools.restart.additional-paths=static/,templates/

# GreenMail server configuration for development/testing
spring.mail.username=test
spring.mail.password=test
spring.mail.properties.mail.smtp.starttls.required=false
spring.mail.host=localhost
spring.mail.port=3025
spring.mail.protocol=smtp
spring.mail.properties.mail.transport.protocol=smtp
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=false

0 comments on commit ada543f

Please sign in to comment.