Font Size: a A A

Design And Implementation Of API Gateway Software In Wonders Cloud Stack

Posted on:2019-02-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y D ZhuFull Text:PDF
GTID:2428330590975441Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology and the constant integration of service resources in various industries,it has become a trend to build a cloud service platform to realize the interoperability and openness of enterprise data and business functions.In the Wanda cloud service platform,government services,medical services,transportation,and security services are combined,which is a huge resource pool.However,when the service is open to the public in the form of API,it is confronted with problems such as the diversion of service resources,the mixed service dependency[1]and so on,which leads to a variety of difficulties in the process of opening up.Therefore,enterprises urgently need effective management and control means to manage the opening and invocation of services.In view of the above problems,a API Gateway for Control Oriented Services Management is proposed in this thesis can manage and open up service uniformly and directionally.The main work of the thesis is as follows:?1?In order to integrate the lifecycle management and service call control of the inbound service,the API gateway software design service management,version management,and API management modules cover the entire lifecycle of development,testing,and release of the API.One service can have multiple service versions.There are multiple APIs under a service version.Agile call interfaces are created by creating multiple APIs under the service version.The service version can be switched by changing the version access path.?2?In order to ensure the safe access and reliable operation of services,the API gateway software is designed to apply authentication and policy management modules.Before the API is invoked,it first passes the verification of each policy.The specific items include the cache time,white list,access frequency,fuse threshold,quota,and so on.In the process of applying for service,application authentication is performed through the interface signature verification mechanism to ensure the reliability of the origin of the request identity,the non-copyablity of the access request and the request parameter are not tampered with[2].?3?In order to decouple the front end and back end of the API gateway software,the front end and back end separation is performed through NodeJS.The business logic of some application layers is handled by the front end engineering,which makes the back end focus on complex business logic and database operations.In dealing with data access issues,the API gateway software takes a read-write separation.Synchronize frequently used data from MySql to Redis.For example,authentication information,cache data,and whitelist data are stored using the Redis database,which improves data reading efficiency.Tests show that the API gateway software simplif ies service management,deployment,and use,making service integration more convenient,and can help Wanda Cloud's service platform achieve unified service management and open or ientation.While providing a unified gateway exit service for entry,it also provides a basic data support platform for service users.
Keywords/Search Tags:API Gateway, open API, Node.js, Separation of the Front and Rear Ends
PDF Full Text Request
Related items