clean-architecture-delivery-example
clean-architecture-delivery-example copied to clipboard
A example of clean architecture in Java 8 and Spring Boot 2.0
Thinking about new ApiResponse(false, ex.getMessage()), HttpStatus.NOT_FOUND Whats meaning false in ApiResponse constructor? For fix this we can implements builder design pattern. In class APIresponse add methods: ```java public void setSuccess(boolean...
Hi, I have updated to latest spring boot and gradle.
Hi, I have an issue running Controller Tests, I create a StockController just like the ProductController you have! ``` @Component public class StockController implements StockResource { private UseCaseExecutor useCaseExecutor; private...
Hello, I found small mistake here: https://github.com/eliostvs/clean-architecture-delivery-example/blob/ea77a0dee0b6d6e625d5e03516937f4d03f915c2/src/main/java/com/delivery/core/usecases/customer/CustomerRepository.java#L13 It seems for some reason that CustomerData (JPA) instead of Customer is used in the Repository interface and therefore our inner layer (usecase)...