mirror of
https://github.com/valitydev/disputes-api.git
synced 2024-11-06 00:55:23 +00:00
fix component scan
This commit is contained in:
parent
d7a19835cf
commit
7c61521a9a
@ -7,7 +7,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
@EnableAsync
|
||||
@ServletComponentScan
|
||||
@SpringBootApplication
|
||||
@SpringBootApplication(scanBasePackages = {"dev.vality.disputes", "dev.vality.swag"})
|
||||
public class DisputesApiApplication extends SpringApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@ -75,12 +75,9 @@ spring:
|
||||
datasource:
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://localhost:5432/dispute
|
||||
url: jdbc:postgresql://localhost:5432/disputes
|
||||
username: postgres
|
||||
password: postgres
|
||||
threads:
|
||||
virtual:
|
||||
enabled: true
|
||||
|
||||
info:
|
||||
version: ${project.version}
|
||||
|
Loading…
Reference in New Issue
Block a user