From 29772d3c137b63dbd5afe02202df3cf366b33a6b Mon Sep 17 00:00:00 2001 From: Hai HN Date: Mon, 1 Jul 2019 09:50:55 +0700 Subject: [PATCH] Setting mail and Database --- pom.xml | 1 + src/main/resources/application.properties | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index fbfec54..2f251af 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,7 @@ spring-boot-maven-plugin + quartz diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e8c1359..f2764b4 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,7 +1,8 @@ ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) -spring.datasource.url = jdbc:mysql://localhost:3306/quartz_demo?useSSL=false -spring.datasource.username = root -spring.datasource.password = callicoder +spring.datasource.url = +spring.datasource.username = +spring.datasource.password = +server.port= ## Hibernate Properties # The SQL dialect makes Hibernate generate better SQL for the chosen database @@ -14,10 +15,11 @@ spring.quartz.job-store-type=jdbc spring.quartz.jdbc.schema=classpath:org/quartz/impl/jdbcjobstore/tables_mysql_innodb.sql spring.quartz.properties.org.quartz.threadPool.threadCount=5 + ## MailProperties spring.mail.host=smtp.gmail.com spring.mail.port=587 -spring.mail.username=rajeevc217@gmail.com +spring.mail.username= spring.mail.password= spring.mail.properties.mail.smtp.auth=true