A Single Specification Format as a Microservice API Artifact when Using API-First

V. Volushkova, Aleksandra Yurievna Volushkova
{"title":"A Single Specification Format as a Microservice API Artifact when Using API-First","authors":"V. Volushkova, Aleksandra Yurievna Volushkova","doi":"10.7256/2454-0714.2022.4.39235","DOIUrl":null,"url":null,"abstract":"\n The object of research is the interaction protocols (API - Application Programming Interface) of microservices. The microservices API is an important development object because each microservice can be a client for any other microservice and be created by a separate team. To build a unified system of interaction between microservices, the API-First methodology for synchronizing communication protocols for server applications was used. The aim of the work is to create a way to develop API microservices of server java applications using spring-boot, spring-web, openapi-generator, springdoc libraries. The method is based on the fact that the API is the most important part of the product and therefore is created at the initial design stage. An approach based on a single microservices API and TDD testing technique is proposed, which increases the efficiency of managing the development of server-side java applications. The microservices API is built using the specification as the API artifact. The developed technique allows: use the created API by another team, regardless of the development language; increase the productivity of development teams; to carry out a qualitative description of methods and models; reduce the amount of routine code by generating code from the specification; identify API design errors earlier than with the standard development approach (API after implementation) by applying TDD and working with the API before it is implemented.\n","PeriodicalId":155484,"journal":{"name":"Программные системы и вычислительные методы","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Программные системы и вычислительные методы","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.7256/2454-0714.2022.4.39235","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The object of research is the interaction protocols (API - Application Programming Interface) of microservices. The microservices API is an important development object because each microservice can be a client for any other microservice and be created by a separate team. To build a unified system of interaction between microservices, the API-First methodology for synchronizing communication protocols for server applications was used. The aim of the work is to create a way to develop API microservices of server java applications using spring-boot, spring-web, openapi-generator, springdoc libraries. The method is based on the fact that the API is the most important part of the product and therefore is created at the initial design stage. An approach based on a single microservices API and TDD testing technique is proposed, which increases the efficiency of managing the development of server-side java applications. The microservices API is built using the specification as the API artifact. The developed technique allows: use the created API by another team, regardless of the development language; increase the productivity of development teams; to carry out a qualitative description of methods and models; reduce the amount of routine code by generating code from the specification; identify API design errors earlier than with the standard development approach (API after implementation) by applying TDD and working with the API before it is implemented.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
当使用API优先时,单一规范格式作为微服务API工件
研究的对象是微服务的交互协议(API - Application Programming Interface)。微服务API是一个重要的开发对象,因为每个微服务都可以是任何其他微服务的客户端,并由单独的团队创建。为了在微服务之间建立一个统一的交互系统,使用了API-First方法来同步服务器应用程序的通信协议。这项工作的目的是创建一种使用spring-boot、spring-web、openapi-generator、springdoc库来开发服务器java应用程序的API微服务的方法。该方法基于API是产品最重要的部分这一事实,因此在初始设计阶段创建。提出了一种基于单一微服务API和TDD测试技术的方法,提高了管理服务器端java应用程序开发的效率。微服务API是使用规范作为API构件构建的。开发的技术允许:使用另一个团队创建的API,而不考虑开发语言;提高开发团队的生产力;对方法和模型进行定性描述;通过根据规范生成代码来减少例程代码的数量;通过应用TDD并在API实现之前使用它,比使用标准开发方法(实现后使用API)更早地识别API设计错误。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Algorithm and software implementation of real-time collaborative editing of graphical schemes using Socket.IO library Integration of cloud, fog, and edge technologies for the optimization of high-load systems Development of an automated system for testing a cloud service for deploying virtual machines using modern monitoring tools Eye-tracking detection of the area of interest in data visualization Ambiguous Results when Using Parallel Class Methods within the .NET Framework
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1