首页> 外文期刊>Requirements Engineering >RAPID: a knowledge-based assistant for designing web APIs
【24h】

RAPID: a knowledge-based assistant for designing web APIs

机译:RAPID:用于设计Web API的知识助理

获取原文
       

摘要

With the rise in initiatives such as software ecosystems and Internet of Things (IoT), developing web Application Programming Interfaces (web APIs) has become an increasingly common practice. One main concern in developing web APIs is that they expose back-end systems and data toward clients. This exposure threatens critical non-functional requirements, such as the security of back-end systems, the performance of provided services, and the privacy of communications with clients. Although dealing with non-functional requirements during software design has been long studied, there is still no framework to specifically assist software developers in addressing these requirements in web APIs. In this paper, we introduce Rational API Designer (RAPID), an open-source assistant that advises on designing non-functional requirements in the architecture of web APIs. We have equipped RAPID with a broad range of expert knowledge about API design, systematically collected and extracted from the literature. The API design knowledge has been encoded as a set of 156 rules using the Non-Functional Requirements (NFR) multi-valued logic, a formal framework commonly used to describe non-functional and functional requirements of software systems. RAPID uses the encoded knowledge in a stepwise inference procedure to arrive from a given requirement, to a set of design alternatives to a final recommendation for a given API design specification. Seven well-experienced software engineers have blindly evaluated the accuracy of RAPID's consultations over seven different cases of web API design and on providing design guidelines for thirty design questions. The results of the evaluation show that RAPID's recommendations meet acceptable standards of the majority of the evaluators 73.3% of the time. Moreover, analysis of the evaluators' comments suggests that more than one-third of the unacceptable ratings (33.8%) given to RAPID's answers are due to valid but incomplete design guidelines. We thus expect that the accuracy of the consultations will increase as RAPID's knowledge of API design is extended and refined.
机译:随着诸如软件生态系统和物联网(物联网)的举措中,开发Web应用程序编程接口(Web API)已成为越来越常见的做法。开发Web API方面的一个主要关注点是他们将后端系统和数据展示给客户。这一曝光威胁着关键的非功能要求,例如后端系统的安全性,提供的服务的性能以及与客户的通信隐私。虽然在软件设计期间处理了非功能性要求已经长时间研究,但仍然没有框架是专门为在Web API中解决这些要求的软件开发人员提供框架。在本文中,我们介绍了一个Rational API设计师(RAPID),这是一个开源助手,它建议在Web API的体系结构中设计非功能性要求。我们配备了关于API设计的广泛专家知识,系统地收集和从文献中提取。 API设计知识已被编码为使用非功能性要求(NFR)多值逻辑的一组156规则,该框架通常用于描述软件系统的非功能性和功能要求的正式框架。 Rapid在逐步推断过程中使用编码知识来从给定的要求到达,以一组设计替代品到给定API设计规范的最终推荐。七种经验丰富的软件工程师盲目地评估了快速咨询的准确性,以7种不同的Web API设计案例和提供了三十个设计问题的设计指南。评估结果表明,快速的建议符合大多数评估人员的可接受标准73.3%的时间。此外,评估员的评论分析表明,迅速答案的不可接受评级的超过三分之一(33.8%)是由于有效但不完整的设计指南。因此,我们预计磋商的准确性将增加,因为快速的API设计知识延长和精制。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号