├── .DS_Store ├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── Dockerfile ├── LICENSE ├── README.md ├── docker-compose.yml ├── images ├── BfNin.jpg ├── components.png ├── expla.png ├── jwt01.png ├── jwt02.jpeg ├── jwt03.jpeg ├── layers.png └── security.png ├── mvnw ├── mvnw.cmd ├── pom.xml ├── postman ├── Spring-Productos-DAM.postman_collection.json ├── nuevoproducto.jpg └── nuevoproducto.json ├── src ├── main │ ├── java │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ └── es │ │ │ └── joseluisgs │ │ │ └── springdam │ │ │ ├── SpringDamApplication.java │ │ │ ├── config │ │ │ ├── APIConfig.java │ │ │ ├── cors │ │ │ │ └── CorsConfig.java │ │ │ ├── mapper │ │ │ │ └── MapperConfig.java │ │ │ ├── security │ │ │ │ ├── SecurityConfig.java │ │ │ │ ├── jwt │ │ │ │ │ ├── JwtAuthenticationEntryPoint.java │ │ │ │ │ ├── JwtAuthorizationFilter.java │ │ │ │ │ ├── JwtTokenProvider.java │ │ │ │ │ └── model │ │ │ │ │ │ ├── JwtUserResponse.java │ │ │ │ │ │ └── LoginRequest.java │ │ │ │ └── password │ │ │ │ │ └── PasswordEncoderConfig.java │ │ │ └── swagger │ │ │ │ └── SwaggerConfig.java │ │ │ ├── controllers │ │ │ ├── files │ │ │ │ └── FilesRestController.java │ │ │ ├── productos │ │ │ │ ├── ProductosAuthRestController.java │ │ │ │ └── ProductosRestController.java │ │ │ └── usuarios │ │ │ │ └── UsuarioController.java │ │ │ ├── dto │ │ │ ├── productos │ │ │ │ ├── CreateProductoDTO.java │ │ │ │ ├── ListProductoPageDTO.java │ │ │ │ ├── ListProductosDTO.java │ │ │ │ └── ProductoDTO.java │ │ │ └── usuarios │ │ │ │ ├── CreateUsuarioDTO.java │ │ │ │ └── GetUsuarioDTO.java │ │ │ ├── errors │ │ │ ├── GeneralBadRequestException.java │ │ │ ├── productos │ │ │ │ ├── ProductoBadRequestException.java │ │ │ │ ├── ProductoNotFoundException.java │ │ │ │ └── ProductosNotFoundException.java │ │ │ ├── storage │ │ │ │ ├── StorageException.java │ │ │ │ └── StorageFileNotFoundException.java │ │ │ └── usuarios │ │ │ │ └── NewUserWithDifferentPasswordsException.java │ │ │ ├── mappers │ │ │ ├── ProductoMapper.java │ │ │ └── UsuarioMapper.java │ │ │ ├── models │ │ │ ├── Producto.java │ │ │ ├── Usuario.java │ │ │ └── UsuarioRol.java │ │ │ ├── repositories │ │ │ ├── productos │ │ │ │ └── ProductosRepository.java │ │ │ └── usuarios │ │ │ │ └── UsuariosRepository.java │ │ │ └── services │ │ │ ├── uploads │ │ │ ├── FileSystemStorageService.java │ │ │ └── StorageService.java │ │ │ └── users │ │ │ ├── CustomUserDetailsService.java │ │ │ └── UsuarioService.java │ └── resources │ │ ├── application-dev.properties │ │ ├── application-prod.properties │ │ ├── application.properties │ │ └── data.sql └── test │ └── java │ └── es │ └── joseluisgs │ └── springdam │ ├── SpringDamApplicationTests.java │ ├── controllers │ ├── PoructosControllerMockTest.java │ ├── ProductosRestControllerIntegrationMVCTest.java │ └── ProductosRestControllerMockMVCTest.java │ └── repositories │ ├── ProductosRepositoryIntegrationTests.java │ ├── ProductosRepositoryJPATest.java │ └── ProductosRepositoryMockTests.java └── system.properties /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /images/BfNin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/BfNin.jpg -------------------------------------------------------------------------------- /images/components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/components.png -------------------------------------------------------------------------------- /images/expla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/expla.png -------------------------------------------------------------------------------- /images/jwt01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/jwt01.png -------------------------------------------------------------------------------- /images/jwt02.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/jwt02.jpeg -------------------------------------------------------------------------------- /images/jwt03.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/jwt03.jpeg -------------------------------------------------------------------------------- /images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/layers.png -------------------------------------------------------------------------------- /images/security.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/images/security.png -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/pom.xml -------------------------------------------------------------------------------- /postman/Spring-Productos-DAM.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/postman/Spring-Productos-DAM.postman_collection.json -------------------------------------------------------------------------------- /postman/nuevoproducto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/postman/nuevoproducto.jpg -------------------------------------------------------------------------------- /postman/nuevoproducto.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/postman/nuevoproducto.json -------------------------------------------------------------------------------- /src/main/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/META-INF/MANIFEST.MF -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/SpringDamApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/SpringDamApplication.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/APIConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/APIConfig.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/cors/CorsConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/cors/CorsConfig.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/mapper/MapperConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/mapper/MapperConfig.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/SecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/SecurityConfig.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/jwt/JwtAuthenticationEntryPoint.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/jwt/JwtAuthenticationEntryPoint.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/jwt/JwtAuthorizationFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/jwt/JwtAuthorizationFilter.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/jwt/JwtTokenProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/jwt/JwtTokenProvider.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/jwt/model/JwtUserResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/jwt/model/JwtUserResponse.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/jwt/model/LoginRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/jwt/model/LoginRequest.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/security/password/PasswordEncoderConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/security/password/PasswordEncoderConfig.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/config/swagger/SwaggerConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/config/swagger/SwaggerConfig.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/controllers/files/FilesRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/controllers/files/FilesRestController.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/controllers/productos/ProductosAuthRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/controllers/productos/ProductosAuthRestController.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/controllers/productos/ProductosRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/controllers/productos/ProductosRestController.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/controllers/usuarios/UsuarioController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/controllers/usuarios/UsuarioController.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/dto/productos/CreateProductoDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/dto/productos/CreateProductoDTO.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/dto/productos/ListProductoPageDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/dto/productos/ListProductoPageDTO.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/dto/productos/ListProductosDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/dto/productos/ListProductosDTO.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/dto/productos/ProductoDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/dto/productos/ProductoDTO.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/dto/usuarios/CreateUsuarioDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/dto/usuarios/CreateUsuarioDTO.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/dto/usuarios/GetUsuarioDTO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/dto/usuarios/GetUsuarioDTO.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/GeneralBadRequestException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/GeneralBadRequestException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/productos/ProductoBadRequestException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/productos/ProductoBadRequestException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/productos/ProductoNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/productos/ProductoNotFoundException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/productos/ProductosNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/productos/ProductosNotFoundException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/storage/StorageException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/storage/StorageException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/storage/StorageFileNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/storage/StorageFileNotFoundException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/errors/usuarios/NewUserWithDifferentPasswordsException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/errors/usuarios/NewUserWithDifferentPasswordsException.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/mappers/ProductoMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/mappers/ProductoMapper.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/mappers/UsuarioMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/mappers/UsuarioMapper.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/models/Producto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/models/Producto.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/models/Usuario.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/models/Usuario.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/models/UsuarioRol.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/models/UsuarioRol.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/repositories/productos/ProductosRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/repositories/productos/ProductosRepository.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/repositories/usuarios/UsuariosRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/repositories/usuarios/UsuariosRepository.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/services/uploads/FileSystemStorageService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/services/uploads/FileSystemStorageService.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/services/uploads/StorageService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/services/uploads/StorageService.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/services/users/CustomUserDetailsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/services/users/CustomUserDetailsService.java -------------------------------------------------------------------------------- /src/main/java/es/joseluisgs/springdam/services/users/UsuarioService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/java/es/joseluisgs/springdam/services/users/UsuarioService.java -------------------------------------------------------------------------------- /src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/resources/application-dev.properties -------------------------------------------------------------------------------- /src/main/resources/application-prod.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/resources/application-prod.properties -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/main/resources/data.sql -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/SpringDamApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/SpringDamApplicationTests.java -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/controllers/PoructosControllerMockTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/controllers/PoructosControllerMockTest.java -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/controllers/ProductosRestControllerIntegrationMVCTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/controllers/ProductosRestControllerIntegrationMVCTest.java -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/controllers/ProductosRestControllerMockMVCTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/controllers/ProductosRestControllerMockMVCTest.java -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/repositories/ProductosRepositoryIntegrationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/repositories/ProductosRepositoryIntegrationTests.java -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/repositories/ProductosRepositoryJPATest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/repositories/ProductosRepositoryJPATest.java -------------------------------------------------------------------------------- /src/test/java/es/joseluisgs/springdam/repositories/ProductosRepositoryMockTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joseluisgs/SpringBoot-Productos-REST-DAM-2021-2022/HEAD/src/test/java/es/joseluisgs/springdam/repositories/ProductosRepositoryMockTests.java -------------------------------------------------------------------------------- /system.properties: -------------------------------------------------------------------------------- 1 | java.runtime.version=11 --------------------------------------------------------------------------------