fix component scan

This commit is contained in:
Anatoly Karlov 2024-08-30 23:01:25 +07:00
parent d7a19835cf
commit 7c61521a9a
2 changed files with 2 additions and 5 deletions

View File

@ -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) {

View File

@ -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}