remove shop provider, shop controller and non-database models

This commit is contained in:
Denis Savosin
2024-10-16 15:54:52 +07:00
parent 08d3445ac4
commit 52cadf74d7
15 changed files with 80 additions and 295 deletions

View File

@@ -5,7 +5,9 @@ import com.fasterxml.jackson.databind.SerializationFeature
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.github.dannecron.demo.config.properties.KafkaProperties
import com.github.dannecron.demo.config.properties.ValidationProperties
import com.github.dannecron.demo.providers.*
import com.github.dannecron.demo.providers.CityRepository
import com.github.dannecron.demo.providers.CustomerRepository
import com.github.dannecron.demo.providers.ProductRepository
import com.github.dannecron.demo.services.database.city.CityService
import com.github.dannecron.demo.services.database.city.CityServiceImpl
import com.github.dannecron.demo.services.database.customer.CustomerService
@@ -35,9 +37,6 @@ class AppConfig(
configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false)
}
@Bean
fun shopProvider(): ShopProvider = MockedShopProvider()
@Bean
fun productService(
@Autowired productRepository: ProductRepository,