mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Arreglos travis
This commit is contained in:
parent
d6c31ae90d
commit
d0d9084c79
2 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@ import org.springframework.security.crypto.password.PasswordEncoder;
|
|||
@EnableWebSecurity
|
||||
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@Autowired(required = false)
|
||||
@Autowired
|
||||
DataSource dataSource;
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ spring.datasource.data=classpath*:db/${database}/data.sql
|
|||
spring.h2.console.enabled=true
|
||||
spring.profiles.active=mysql
|
||||
spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC}
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
# Web
|
||||
spring.thymeleaf.mode=HTML
|
||||
|
||||
|
|
Loading…
Reference in a new issue