├── Chapter03 └── investor-services │ ├── pom.xml │ ├── scripts │ ├── book-examples.postman_collection.json │ ├── buildMyExamples.bat │ └── runMyExamples.bat │ └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap3 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplication.java │ │ │ ├── controller │ │ │ └── InvestorController.java │ │ │ ├── models │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ ├── Investor.java │ │ │ ├── Stock.java │ │ │ └── errorsandexceptions │ │ │ │ └── InvestorNotFoundException.java │ │ │ └── service │ │ │ └── InvestorService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── books │ └── chapters │ └── restfulapi │ └── patterns │ └── chap3 │ └── springboot │ ├── InvestorServicesApplicationTests.java │ ├── controller │ └── InvestorControllerTest.java │ └── service │ └── InvestorServiceTest.java ├── Chapter04 ├── circuit-breaker-examples │ ├── circuit-breaker-service-consumer │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── books │ │ │ │ │ └── chapters │ │ │ │ │ └── restfulapi │ │ │ │ │ └── patterns │ │ │ │ │ └── chap4 │ │ │ │ │ └── springboot │ │ │ │ │ ├── InvestorServicesApplication.java │ │ │ │ │ ├── controller │ │ │ │ │ └── InvestorController.java │ │ │ │ │ ├── models │ │ │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ │ │ ├── Investor.java │ │ │ │ │ ├── Stock.java │ │ │ │ │ └── errorsandexceptions │ │ │ │ │ │ └── InvestorNotFoundException.java │ │ │ │ │ └── service │ │ │ │ │ └── InvestorService.java │ │ │ └── resources │ │ │ │ └── application.properties │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap4 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplicationTests.java │ │ │ ├── controller │ │ │ └── InvestorControllerTest.java │ │ │ └── service │ │ │ └── InvestorServiceTest.java │ └── circuit-breaker-service │ │ ├── pom.xml │ │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── books │ │ │ │ └── chapters │ │ │ │ └── restfulapi │ │ │ │ └── patterns │ │ │ │ └── chap4 │ │ │ │ └── springboot │ │ │ │ ├── InvestorServicesApplication.java │ │ │ │ ├── controller │ │ │ │ └── InvestorController.java │ │ │ │ ├── models │ │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ │ ├── Investor.java │ │ │ │ ├── Stock.java │ │ │ │ └── errorsandexceptions │ │ │ │ │ └── InvestorNotFoundException.java │ │ │ │ └── service │ │ │ │ └── InvestorService.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── chap4 │ │ └── springboot │ │ ├── InvestorServicesApplicationTests.java │ │ ├── controller │ │ └── InvestorControllerTest.java │ │ └── service │ │ └── InvestorServiceTest.java ├── investor-services-auth │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap4 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplication.java │ │ │ ├── controller │ │ │ └── InvestorController.java │ │ │ ├── models │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ ├── Investor.java │ │ │ ├── Stock.java │ │ │ └── errorsandexceptions │ │ │ │ ├── InvestorNotFoundException.java │ │ │ │ └── VersionNotSupportedException.java │ │ │ ├── security │ │ │ └── PatronsAuthConfig.java │ │ │ └── service │ │ │ └── InvestorService.java │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── chap4 │ │ └── springboot │ │ ├── InvestorServicesApplicationTests.java │ │ ├── controller │ │ └── InvestorControllerTest.java │ │ └── service │ │ └── InvestorServiceTest.java ├── investor-services-bulk │ ├── pom.xml │ ├── scripts │ │ ├── chapter-4-Auth-Collections │ │ └── runMyExamples.bat │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap4 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplication.java │ │ │ ├── controller │ │ │ ├── InvestorController.java │ │ │ └── InvestorServiceFetchController.java │ │ │ ├── models │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ ├── Investor.java │ │ │ ├── Stock.java │ │ │ └── errorsandexceptions │ │ │ │ ├── CustomHeaderNotFoundException.java │ │ │ │ ├── InvestorNotFoundException.java │ │ │ │ └── VersionNotSupportedException.java │ │ │ ├── security │ │ │ └── PatronsAuthConfig.java │ │ │ └── service │ │ │ ├── InvestorService.java │ │ │ └── InvestorServicesFetchOperations.java │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── chap4 │ │ └── springboot │ │ ├── InvestorServicesApplicationTests.java │ │ ├── controller │ │ └── InvestorControllerTest.java │ │ └── service │ │ ├── InvestorServiceTest.java │ │ └── InvestorServicesFetchOperationsTest.java ├── investor-services-facade │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap4 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplication.java │ │ │ ├── controller │ │ │ ├── InvestorController.java │ │ │ └── InvestorServiceFetchController.java │ │ │ ├── models │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ ├── Investor.java │ │ │ ├── Stock.java │ │ │ └── errorsandexceptions │ │ │ │ ├── CustomHeaderNotFoundException.java │ │ │ │ ├── InvestorNotFoundException.java │ │ │ │ └── VersionNotSupportedException.java │ │ │ ├── security │ │ │ └── PatronsAuthConfig.java │ │ │ └── service │ │ │ ├── DeleteServiceFacade.java │ │ │ ├── DeleteServiceFacadeImpl.java │ │ │ ├── InvestorService.java │ │ │ └── InvestorServicesFetchOperations.java │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── chap4 │ │ └── springboot │ │ ├── InvestorServicesApplicationTests.java │ │ ├── controller │ │ └── InvestorControllerTest.java │ │ └── service │ │ ├── InvestorServiceTest.java │ │ └── InvestorServicesFetchOperationsTest.java └── investor-services-v2 │ ├── pom.xml │ ├── scripts │ ├── buildMyExamples.bat │ ├── chapter-4-Versioning-Collections │ └── runMyExamples.bat │ └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap4 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplication.java │ │ │ ├── controller │ │ │ └── InvestorController.java │ │ │ ├── models │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ ├── Investor.java │ │ │ ├── Stock.java │ │ │ └── errorsandexceptions │ │ │ │ ├── InvestorNotFoundException.java │ │ │ │ └── VersionNotSupportedException.java │ │ │ └── service │ │ │ └── InvestorService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── books │ └── chapters │ └── restfulapi │ └── patterns │ └── chap4 │ └── springboot │ ├── InvestorServicesApplicationTests.java │ ├── controller │ └── InvestorControllerTest.java │ └── service │ └── InvestorServiceTest.java ├── Chapter06 ├── oauth2-sample │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── books │ │ │ │ └── chapters │ │ │ │ └── restfulapi │ │ │ │ └── patterns │ │ │ │ └── advanced │ │ │ │ └── oauth │ │ │ │ ├── AuthorizacionServerConfiguration.java │ │ │ │ ├── ResourceServerConfiguration.java │ │ │ │ ├── WebController.java │ │ │ │ └── WebSecurityConfiguration.java │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── application1.yml │ │ │ └── templates │ │ │ ├── admin.html │ │ │ ├── index.html │ │ │ ├── login.html │ │ │ ├── users.html │ │ │ └── welcome.html │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── advanced │ │ └── oauth │ │ └── WebSecurityConfigurationTests.java └── test.txt ├── Chapter07 └── event-driven-service-orchestration │ ├── amqp-adapter-module │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── books │ │ │ │ └── chapters │ │ │ │ └── restfulapi │ │ │ │ └── patterns │ │ │ │ └── parttwo │ │ │ │ ├── App.java │ │ │ │ └── adapter │ │ │ │ └── amqp │ │ │ │ ├── consumer │ │ │ │ ├── AmqpSubscriber.java │ │ │ │ ├── Configurations.java │ │ │ │ ├── EventHandler.java │ │ │ │ ├── RabbitMqConfig.java │ │ │ │ └── RpcServer.java │ │ │ │ └── producer │ │ │ │ ├── AmqpPublisher.java │ │ │ │ ├── ProducerConfigurations.java │ │ │ │ └── RpcClient.java │ │ └── resources │ │ │ └── schemas │ │ │ ├── BusinessEntity.json │ │ │ ├── ErrorMessage.json │ │ │ ├── ServiceRequest.json │ │ │ └── ServiceResponse.json │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── parttwo │ │ └── AppTest.java │ ├── pom.xml │ ├── service-stubs-module │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── books │ │ │ │ └── chapters │ │ │ │ └── restfulapi │ │ │ │ └── patterns │ │ │ │ └── parttwo │ │ │ │ └── stub │ │ │ │ ├── ServiceStubEventHandler.java │ │ │ │ └── StubServiceApplication.java │ │ └── resources │ │ │ └── application.yaml │ │ └── test │ │ └── java │ │ └── com │ │ └── books │ │ └── chapters │ │ └── restfulapi │ │ └── patterns │ │ └── parttwo │ │ └── AppTest.java │ └── shopping-cart │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── parttwo │ │ │ ├── ShoppingCartServiceApp.java │ │ │ ├── bpm │ │ │ ├── AllocateInventoryActivity.java │ │ │ ├── CancelOrderActivity.java │ │ │ ├── CloseShoppingCartActivity.java │ │ │ ├── NotifyCustomerActivity.java │ │ │ ├── PlaceOrderActivity.java │ │ │ ├── ProcessConstants.java │ │ │ ├── ProcessContext.java │ │ │ ├── ProcessUtil.java │ │ │ ├── ReleaseInventoryActivity.java │ │ │ ├── ReleasePaymentActivity.java │ │ │ ├── ReservePaymentActivity.java │ │ │ ├── RetrieveShoppingCartActivity.java │ │ │ ├── SubmitErrorActivity.java │ │ │ └── ValidateAddressActivity.java │ │ │ ├── dataaccess │ │ │ ├── BusinessEntityJpa.java │ │ │ ├── BusinessEntityRepository.java │ │ │ ├── BusinessEntityTranslator.java │ │ │ └── ShoppingCartManager.java │ │ │ └── rest │ │ │ └── ShoppingCartRestController.java │ └── resources │ │ ├── META-INF │ │ └── processes.xml │ │ ├── application.yaml │ │ └── processes │ │ ├── shoppingCartCompensationSubflow.bpmn │ │ └── submitShoppingCart.bpmn │ └── test │ └── java │ └── com │ └── books │ └── chapters │ └── restfulapi │ └── patterns │ └── parttwo │ └── AppTest.java ├── LICENSE ├── README.md ├── investor-services ├── pom.xml ├── scripts │ ├── book-examples.postman_collection.json │ ├── buildMyExamples.bat │ └── runMyExamples.bat └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── books │ │ │ └── chapters │ │ │ └── restfulapi │ │ │ └── patterns │ │ │ └── chap3 │ │ │ └── springboot │ │ │ ├── InvestorServicesApplication.java │ │ │ ├── controller │ │ │ └── InvestorController.java │ │ │ ├── models │ │ │ ├── IndividualInvestorPortfolio.java │ │ │ ├── Investor.java │ │ │ ├── Stock.java │ │ │ └── errorsandexceptions │ │ │ │ └── InvestorNotFoundException.java │ │ │ └── service │ │ │ └── InvestorService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── books │ └── chapters │ └── restfulapi │ └── patterns │ └── chap3 │ └── springboot │ ├── InvestorServicesApplicationTests.java │ ├── controller │ └── InvestorControllerTest.java │ └── service │ └── InvestorServiceTest.java └── scripts ├── book-examples.postman_collection-latest-withOauthSamples.json ├── book-examples.postman_collection.json ├── buildMyExamples.bat └── runMyExamples.bat /Chapter03/investor-services/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/pom.xml -------------------------------------------------------------------------------- /Chapter03/investor-services/scripts/book-examples.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/scripts/book-examples.postman_collection.json -------------------------------------------------------------------------------- /Chapter03/investor-services/scripts/buildMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/scripts/buildMyExamples.bat -------------------------------------------------------------------------------- /Chapter03/investor-services/scripts/runMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/scripts/runMyExamples.bat -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9090 -------------------------------------------------------------------------------- /Chapter03/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter03/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter03/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/pom.xml -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9090 -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service-consumer/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/pom.xml -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8090 -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter04/circuit-breaker-examples/circuit-breaker-service/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/circuit-breaker-examples/circuit-breaker-service/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/pom.xml -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/security/PatronsAuthConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/security/PatronsAuthConfig.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-auth/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-auth/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/pom.xml -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/scripts/chapter-4-Auth-Collections: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/scripts/chapter-4-Auth-Collections -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/scripts/runMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/scripts/runMyExamples.bat -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorServiceFetchController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorServiceFetchController.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/CustomHeaderNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/CustomHeaderNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/security/PatronsAuthConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/security/PatronsAuthConfig.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperations.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperations.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperationsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-bulk/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperationsTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/pom.xml -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorServiceFetchController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorServiceFetchController.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/CustomHeaderNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/CustomHeaderNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/security/PatronsAuthConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/security/PatronsAuthConfig.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/DeleteServiceFacade.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/DeleteServiceFacade.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/DeleteServiceFacadeImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/DeleteServiceFacadeImpl.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperations.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperations.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperationsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-facade/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServicesFetchOperationsTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/pom.xml -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/scripts/buildMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/scripts/buildMyExamples.bat -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/scripts/chapter-4-Versioning-Collections: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/scripts/chapter-4-Versioning-Collections -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/scripts/runMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/scripts/runMyExamples.bat -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Investor.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/Stock.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/models/errorsandexceptions/VersionNotSupportedException.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/main/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9090 -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /Chapter04/investor-services-v2/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter04/investor-services-v2/src/test/java/com/books/chapters/restfulapi/patterns/chap4/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/pom.xml -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/AuthorizacionServerConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/AuthorizacionServerConfiguration.java -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/ResourceServerConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/ResourceServerConfiguration.java -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/WebController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/WebController.java -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/WebSecurityConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/java/com/books/chapters/restfulapi/patterns/advanced/oauth/WebSecurityConfiguration.java -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/application1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/resources/application1.yml -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/templates/admin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/resources/templates/admin.html -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/templates/users.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/resources/templates/users.html -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/main/resources/templates/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/main/resources/templates/welcome.html -------------------------------------------------------------------------------- /Chapter06/oauth2-sample/src/test/java/com/books/chapters/restfulapi/patterns/advanced/oauth/WebSecurityConfigurationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter06/oauth2-sample/src/test/java/com/books/chapters/restfulapi/patterns/advanced/oauth/WebSecurityConfigurationTests.java -------------------------------------------------------------------------------- /Chapter06/test.txt: -------------------------------------------------------------------------------- 1 | initial commit -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/pom.xml -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/App.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/App.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/AmqpSubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/AmqpSubscriber.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/Configurations.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/Configurations.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/EventHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/EventHandler.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/RabbitMqConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/RabbitMqConfig.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/RpcServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/consumer/RpcServer.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/producer/AmqpPublisher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/producer/AmqpPublisher.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/producer/ProducerConfigurations.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/producer/ProducerConfigurations.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/producer/RpcClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/adapter/amqp/producer/RpcClient.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/BusinessEntity.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/BusinessEntity.json -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/ErrorMessage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/ErrorMessage.json -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/ServiceRequest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/ServiceRequest.json -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/ServiceResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/main/resources/schemas/ServiceResponse.json -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/test/java/com/books/chapters/restfulapi/patterns/parttwo/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/amqp-adapter-module/src/test/java/com/books/chapters/restfulapi/patterns/parttwo/AppTest.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/pom.xml -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/service-stubs-module/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/service-stubs-module/pom.xml -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/service-stubs-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/stub/ServiceStubEventHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/service-stubs-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/stub/ServiceStubEventHandler.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/service-stubs-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/stub/StubServiceApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/service-stubs-module/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/stub/StubServiceApplication.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/service-stubs-module/src/main/resources/application.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/service-stubs-module/src/main/resources/application.yaml -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/service-stubs-module/src/test/java/com/books/chapters/restfulapi/patterns/parttwo/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/service-stubs-module/src/test/java/com/books/chapters/restfulapi/patterns/parttwo/AppTest.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/pom.xml -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/ShoppingCartServiceApp.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/ShoppingCartServiceApp.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/AllocateInventoryActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/AllocateInventoryActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/CancelOrderActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/CancelOrderActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/CloseShoppingCartActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/CloseShoppingCartActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/NotifyCustomerActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/NotifyCustomerActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/PlaceOrderActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/PlaceOrderActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ProcessConstants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ProcessConstants.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ProcessContext.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ProcessContext.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ProcessUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ProcessUtil.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ReleaseInventoryActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ReleaseInventoryActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ReleasePaymentActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ReleasePaymentActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ReservePaymentActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ReservePaymentActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/RetrieveShoppingCartActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/RetrieveShoppingCartActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/SubmitErrorActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/SubmitErrorActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ValidateAddressActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/bpm/ValidateAddressActivity.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/BusinessEntityJpa.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/BusinessEntityJpa.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/BusinessEntityRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/BusinessEntityRepository.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/BusinessEntityTranslator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/BusinessEntityTranslator.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/ShoppingCartManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/dataaccess/ShoppingCartManager.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/rest/ShoppingCartRestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/java/com/books/chapters/restfulapi/patterns/parttwo/rest/ShoppingCartRestController.java -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/META-INF/processes.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/application.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/application.yaml -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/processes/shoppingCartCompensationSubflow.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/processes/shoppingCartCompensationSubflow.bpmn -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/processes/submitShoppingCart.bpmn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/main/resources/processes/submitShoppingCart.bpmn -------------------------------------------------------------------------------- /Chapter07/event-driven-service-orchestration/shopping-cart/src/test/java/com/books/chapters/restfulapi/patterns/parttwo/AppTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/Chapter07/event-driven-service-orchestration/shopping-cart/src/test/java/com/books/chapters/restfulapi/patterns/parttwo/AppTest.java -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/README.md -------------------------------------------------------------------------------- /investor-services/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/pom.xml -------------------------------------------------------------------------------- /investor-services/scripts/book-examples.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/scripts/book-examples.postman_collection.json -------------------------------------------------------------------------------- /investor-services/scripts/buildMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/scripts/buildMyExamples.bat -------------------------------------------------------------------------------- /investor-services/scripts/runMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/scripts/runMyExamples.bat -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplication.java -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorController.java -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/IndividualInvestorPortfolio.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/IndividualInvestorPortfolio.java -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Investor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Investor.java -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/Stock.java -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/errorsandexceptions/InvestorNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/models/errorsandexceptions/InvestorNotFoundException.java -------------------------------------------------------------------------------- /investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/main/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorService.java -------------------------------------------------------------------------------- /investor-services/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9090 -------------------------------------------------------------------------------- /investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/InvestorServicesApplicationTests.java -------------------------------------------------------------------------------- /investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/controller/InvestorControllerTest.java -------------------------------------------------------------------------------- /investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/investor-services/src/test/java/com/books/chapters/restfulapi/patterns/chap3/springboot/service/InvestorServiceTest.java -------------------------------------------------------------------------------- /scripts/book-examples.postman_collection-latest-withOauthSamples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/scripts/book-examples.postman_collection-latest-withOauthSamples.json -------------------------------------------------------------------------------- /scripts/book-examples.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/scripts/book-examples.postman_collection.json -------------------------------------------------------------------------------- /scripts/buildMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/scripts/buildMyExamples.bat -------------------------------------------------------------------------------- /scripts/runMyExamples.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices/HEAD/scripts/runMyExamples.bat --------------------------------------------------------------------------------