Api standards for data-sharing (account aggregator)
Download 1.78 Mb. Pdf ko'rish
|
othp56
- Bu sahifa navigatsiya:
- Technology Description
- Field Description
- API gateway
Restricted CGIDE – API standards for data-sharing – October 2022 30 6 API aggregator implementation (demo) The following section describes the implementation of a software architecture to exemplify a data aggregator, for the case of extracting balances from three different banks. The programming language is Java, while the aggregator uses a microservices architecture based on scalability and high availability. 6.1 Preconditions Before running and testing the solution, users must install the following tools and preconditions: Technology Description Java At least Java version 11. This language and virtual machine will allow the execution of the microservices and the simulation. Spring Tool Suite 4 Development IDE that will speed up coding, debugging and testing. Spring Boot 2.7.0 Java-based framework that provides libraries and utilities for the implementation of web applications, microservices and API Rest. The recovered balance from each bank will have the following structure: Field Description id User balance identifier bank_id Bank identifier in the schema label A label given by the owner of the account number Balance number product code Product code provided by the bank Overall: currency National currency Overall: balance Balance value Account: scheme A list that might include IBAN or national account identifiers Account: address A list that might include IBAN or national account identifiers 6.2 Software architecture The software architecture includes the publication of an API Rest that will be consumed by the data consumer, through the address: http://localhost:8090/api/aggregator/list/ {id}, where the id is the identifier of the citizen with which the balances in each of the three banks will be searched. The aggregator will initially implement an API gateway that serves as the main entrance of the architecture. We developed this gateway in Zuul, a specialised server for this purpose. This server |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling