├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── LICENSE ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── loxasoft │ │ └── ecomercedesa │ │ └── ecodesa │ │ ├── EcodesaApplication.java │ │ ├── application │ │ └── service │ │ │ ├── DomainProductService.java │ │ │ └── ProductService.java │ │ ├── domain │ │ ├── model │ │ │ ├── Product.java │ │ │ └── User.java │ │ └── puerto │ │ │ └── ProductRepository.java │ │ └── infrastructure │ │ ├── adaptador │ │ ├── ProductCrudRepositoryMySQL.java │ │ └── ProductRepositoryMySQL.java │ │ ├── conf │ │ └── BeanProductConfiguration.java │ │ ├── entity │ │ ├── ProductEntity.java │ │ └── UserEntity.java │ │ ├── exceptions │ │ ├── Error.java │ │ ├── ExceptionConf.java │ │ ├── ResourceNotFoundException.java │ │ └── Response.java │ │ └── rest │ │ ├── controller │ │ └── ProductController.java │ │ └── mapper │ │ └── ProductMapper.java └── resources │ ├── application-dev.properties │ └── application.properties └── test └── java └── com └── loxasoft └── ecomercedesa └── ecodesa └── EcodesaApplicationTests.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/LICENSE -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/EcodesaApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/EcodesaApplication.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/application/service/DomainProductService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/application/service/DomainProductService.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/application/service/ProductService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/application/service/ProductService.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/domain/model/Product.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/domain/model/Product.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/domain/model/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/domain/model/User.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/domain/puerto/ProductRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/domain/puerto/ProductRepository.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/adaptador/ProductCrudRepositoryMySQL.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/adaptador/ProductCrudRepositoryMySQL.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/adaptador/ProductRepositoryMySQL.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/adaptador/ProductRepositoryMySQL.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/conf/BeanProductConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/conf/BeanProductConfiguration.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/entity/ProductEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/entity/ProductEntity.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/entity/UserEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/entity/UserEntity.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/Error.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/Error.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/ExceptionConf.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/ExceptionConf.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/ResourceNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/ResourceNotFoundException.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/Response.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/exceptions/Response.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/rest/controller/ProductController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/rest/controller/ProductController.java -------------------------------------------------------------------------------- /src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/rest/mapper/ProductMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/java/com/loxasoft/ecomercedesa/ecodesa/infrastructure/rest/mapper/ProductMapper.java -------------------------------------------------------------------------------- /src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/main/resources/application-dev.properties -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.servlet.context-path= /desa 2 | spring.profiles.active = dev 3 | -------------------------------------------------------------------------------- /src/test/java/com/loxasoft/ecomercedesa/ecodesa/EcodesaApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elivarl/arquitectura-hexagonal-ejemplo-practico/HEAD/src/test/java/com/loxasoft/ecomercedesa/ecodesa/EcodesaApplicationTests.java --------------------------------------------------------------------------------