AI Content Chat (Beta) logo

Appendix B SAmple Code To run the ABC banking Config Server, take the following steps: Step 1: Navigate to the source code. \Intergartion_Framework\ABC_Bank_Integration\Microservices\ integrationConfigServer Step 2: Execute “mvnspring-boot:run” to start the services. Step 3: Hit the following URL to check the configurations: http://localhost:9090/config/default The response will be like {"name":"config","profiles":["default"],"label":null, "version":null,"state":null,"propertySources":[]} Eureka Discovery server: Microservices is decentralization of the different components based on the business features. It can be scaled as per need, so for particular microservices, there can be multiple instances. These services are deployed as a container and these containers have dynamic IP addresses, so to track all instances of a service, a manager service will be needed. If other services need to communicate with each other, it contacts a discovery service to get the instance of another service. To run the ABC banking Eureka Server, use the following steps. Step 1: Navigate to the source code. \Integration_Framework\ABC_Bank_Integration\Microservices\ integrationServiceDirectory Step 2: Execute “mvnspring-boot:run” to start the services. Step 3: Hit the following URL to check the configurations, as shown in Figure B-19: http://localhost:9091/ 359

Building Digital Experience Platforms - Page 369 Building Digital Experience Platforms Page 368 Page 370