├── .gitignore ├── README.md ├── app ├── Dockerfile ├── pom.xml └── src │ ├── main │ ├── java │ │ └── br │ │ │ └── com │ │ │ └── hubia │ │ │ └── correios │ │ │ ├── SpringApp.java │ │ │ ├── controller │ │ │ └── CorreiosController.java │ │ │ ├── exception │ │ │ ├── NoContentException.java │ │ │ └── NotReadyException.java │ │ │ ├── model │ │ │ ├── Address.java │ │ │ ├── AddressStatus.java │ │ │ └── Status.java │ │ │ ├── repository │ │ │ ├── AddressRepository.java │ │ │ ├── AddressStatusRepository.java │ │ │ └── SetupRepository.java │ │ │ └── service │ │ │ └── CorreiosService.java │ └── resources │ │ └── application.properties │ └── test │ ├── java │ └── br │ │ └── com │ │ └── hubia │ │ └── correios │ │ └── IntegrationTests.java │ └── resources │ └── application.properties ├── docker-compose.yml └── mysql └── init.sql /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/README.md -------------------------------------------------------------------------------- /app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/Dockerfile -------------------------------------------------------------------------------- /app/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/pom.xml -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/SpringApp.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/SpringApp.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/controller/CorreiosController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/controller/CorreiosController.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/exception/NoContentException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/exception/NoContentException.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/exception/NotReadyException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/exception/NotReadyException.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/model/Address.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/model/Address.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/model/AddressStatus.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/model/AddressStatus.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/model/Status.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/model/Status.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/repository/AddressRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/repository/AddressRepository.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/repository/AddressStatusRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/repository/AddressStatusRepository.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/repository/SetupRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/repository/SetupRepository.java -------------------------------------------------------------------------------- /app/src/main/java/br/com/hubia/correios/service/CorreiosService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/java/br/com/hubia/correios/service/CorreiosService.java -------------------------------------------------------------------------------- /app/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/main/resources/application.properties -------------------------------------------------------------------------------- /app/src/test/java/br/com/hubia/correios/IntegrationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/test/java/br/com/hubia/correios/IntegrationTests.java -------------------------------------------------------------------------------- /app/src/test/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/app/src/test/resources/application.properties -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/miltonhit/hub_correios_api/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /mysql/init.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE correios; 2 | --------------------------------------------------------------------------------