Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ===============================
- # = DATA SOURCE
- # ===============================
- spring.datasource.url = jdbc:mysql://localhost:3306/eventdb
- spring.datasource.username = dawit
- spring.datasource.password = dw951028
- spring.datasource.testWhileIdle = true
- spring.datasource.validationQuery = SELECT 1
- # ===============================
- # = JPA / HIBERNATE
- # ===============================
- spring.jpa.show-sql = true
- spring.jpa.hibernate.ddl-auto = update
- spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
- # ===============================
- # = Thymeleaf configurations
- # ===============================
- spring.thymeleaf.mode=LEGACYHTML5
- spring.thymeleaf.cache=false
- #test
- # ==============================================================
- # = Spring Security / Queries for AuthenticationManagerBuilder
- # ==============================================================
- spring.queries.users-query=select email, password, active from user where email=?
- spring.queries.roles-query=select u.email, r.role from user u inner join user_role ur on(u.user_id=ur.user_id) inner join role r on(ur.role_id=r.role_id) where u.email=?
- # ===============================
- # = EMAIL
- # ===============================
- spring.mail.host=smtp.gmail.com
- spring.mail.port=587
- spring.mail.username=bookitservice@gmail.com
- spring.mail.password=bookitreminder
- spring.mail.properties.mail.smtp.auth=true;
- spring.mail.properties.mail.smtp.starttls.enable=true
- spring.mail.properties.mail.smtp.starttls.required=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement