Api standards for data-sharing (account aggregator)
Download 1.78 Mb. Pdf ko'rish
|
othp56
Restricted CGIDE – API standards for data-sharing – October 2022 33 The Eureka server does not have custom implementations since its function is to register the microservice instances and to be able to monitor them. As it does not add any additional logic, it only contains one class for its startup. Bank 1 project Graph 11 Restricted CGIDE – API standards for data-sharing – October 2022 34 Finally, similarly to Eureka Server, Zuul as an API gateway is just a server that serves as the main entrance for all requests and as the API publication route. Therefore, it requires no further implementation, only specific configurations. Eureka server project Graph 12 Restricted CGIDE – API standards for data-sharing – October 2022 35 6.4 Testing To start, the user must initialise each of the projects previously explained. First, the Eureka server, then the Zuul and finally the Aggregator (three instances, for example). Then, the user starts the projects for the three banks. Finally, the user verifies that they are all active. Zuul gateway project Graph 13 Testing Graph 14 Restricted CGIDE – API standards for data-sharing – October 2022 36 When entering the Eureka server, the three instances of the aggregator, as well as the API gateway, must be visible. Finally, the user enters the path http://localhost:8090/api/aggregator/list/42848906 in a web browser. Then, the aggregator displays the results of the three added banks. Eureka server Graph 15 |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling