计算机集成制造系统 ›› 2017, Vol. 23 ›› Issue (第5期): 1020-1030.DOI: 10.13196/j.cims.2017.05.013

• 产品创新开发技术 • 上一篇    下一篇

自适应RESTful Web API进化模型的研究

李莹,柳生鹏,赵朗,潘纲   

  1. 浙江大学计算机科学与技术学院
  • 出版日期:2017-05-31 发布日期:2017-05-31
  • 基金资助:
    浙江省自然科学基金资助项目(LY15F02007)。

Self-Adapted RESTful Web API evolution model

  • Online:2017-05-31 Published:2017-05-31
  • Supported by:
    Project supported by the Zhejiang Provincial Natural Science Foundation,China(No.LY15F02007)。

摘要: 为了解决服务提供商对Web API进行频繁更新进化导致调用客户端受到影响甚至崩溃的问题,通过调查研究RESTful Web API的进化现状,针对调用API端点、参数、域的变化总结出14种Web API进化模式,提出一种Web API的进化模型,以帮助识别Web API进化过程中造成的不兼容。利用Web API的规格说明文件,提出一种Web API自动进化识别方法,实现了进化适配器,通过实验验证了自适应Web API的进化过程。

关键词: 微服务, RESTful Web应用程序接口, 进化模型, 适配器

Abstract: 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.

Key words: micro-service, RESTful Web API, evolution model, adapter

中图分类号: