摘要
为了解决服务提供商对Web API进行频繁更新进化导致调用客户端受到影响甚至崩溃的问题,通过调查研究RESTful Web API的进化现状,针对调用API端点、参数、域的变化总结出14种Web API进化模式,提出一种Web API的进化模型,以帮助识别Web API进化过程中造成的不兼容。利用Web API的规格说明文件,提出一种Web API自动进化识别方法,实现了进化适配器,通过实验验证了自适应Web API的进化过程。
To solve the problem of incompatibility between Web API providers and clients caused by frequent update of APIs, through surveying the evolution status of RESTful Web APIs, 14 evolutional patterns of Web API were summarized by showing API changes in endpoint, parameters and fields. An evolutional model was proposed to help to recognize the incompatibility in Web API evolution. Besides, an automated API evolution recognition method was proposed base on Web API specification and adaptors were implemented in experiments to verify the automated adaption process for Web API evolution.
出处
《计算机集成制造系统》
EI
CSCD
北大核心
2017年第5期1020-1030,共11页
Computer Integrated Manufacturing Systems
基金
浙江省自然科学基金资助项目(LY15F02007)~~