Comparing the Similarity of OpenAPI-Based Microservices
Open Access
- 8 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1201-1208
Abstract
Microservices constitute the state of the art for implementing distributed systems and have been seen as a potential solution towards open systems. The characteristics of open systems require structured microservice management, including grouping microservices that are functionally similar. Microservices use RESTful APIs, often documented via OpenAPI specifications, to demonstrate their functionalities. Existing similarity metrics for microservice APIs have primarily focused on individual RESTful endpoints. However, understanding the full functionality of a microservice within an open system requires that the entirety of its OpenAPI documentation be considered. Thus, an approach that can compute a measure of similarity between entire microservice definitions in open environments is needed. In this paper, we propose an approach that can extract key information from the OpenAPI descriptions of microservices using Natural Language Processing (NLP) techniques, vectorise the extracted information using GLoVe embeddings, and cluster similar microservices using embedded API file vectors. Evaluations were conducted on real-world OpenAPI documents to demonstrate the effectiveness of the proposed approach.Keywords
Funding Information
- Science Foundation Ireland (16/SPP/3296)
This publication has 24 references indexed in Scilit:
- A Survey on Microservices Trust Models for Open SystemsIEEE Access, 2023
- OpenAPI framework for the Web of ThingsInternet of Things, 2022
- Collaborative APIs recommendation for Artificial Intelligence of Things with information fusionFuture Generation Computer Systems, 2021
- Microservices Migration in Industry: Intentions, Strategies, and Challenges2019
- Performance Analysis of RESTful API and RabbitMQ for Microservice Web Application2018
- OpenAPItoUML: A Tool to Generate UML Models from OpenAPI Definitions2018
- Microservices Identification Through Interface Analysis2017
- An open IoT framework based on microservices architectureChina Communications, 2017
- Microservices tenetsComputer Science - Research and Development, 2016
- Toward open-world software: Issues and challengesComputer, 2006