Appendix B SAmple Code Figure B-19. Eureka server Services components: The goal of microservices is to break down complete business functionality into several independent small features that will communicate with each other. It provides modular architecture with proper encapsulation and properly defined boundaries. To run the ABC banking account services, use the following steps: Step 1: Navigate to the source code. D:\DXP\Code\Intergartion_Framework\ABC_Bank_Integration\ Microservices\accountService) Step 2: Execute “mvnspring-boot:run” to start the services. Step 3: Hit the following URL to check the configurations: http://localhost:8083/account/findall The response will be: {"list":[{"accountNumber":10001,"balanceAmount":"200"}, {"accountNumber":10002,"balanceAmount":"200"}, {"accountNumber":10003,"balanceAmount":"200"}]} 360
Building Digital Experience Platforms Page 369 Page 371