AI Content Chat (Beta) logo

Appendix B SAmple Code Figure B-20. Account and transaction microservices Gateway service: Because every microservice publishes a REST API, it is hard to manage so many endpoint URLs. If you want to build an authentication and authorization framework, which ought to be implemented across all the microservices, a gateway service will help, which is Internet facing. The client will call only one endpoint and it delegates the call to an actual microservice and all the authentication or security checking will be done in the gateway service. Step 1: To Run the service integrator, navigate to the following source code location: \Intergartion_Framework\ABC_Bank_Integration\Microservices\ integratorService Step 2: Execute “mvnspring-boot:run” to start the services. Step 3: Hit the following URLs to check the configurations: • Account: http://localhost:8081/integrator/feign/account • Transaction: http://localhost:8081/integrator/feign/ transaction Step 4: You can open these microservices projects in Intellij IDEA IDE. 362

Building Digital Experience Platforms - Page 372 Building Digital Experience Platforms Page 371 Page 373