標題: | Scenario-Based Microservice Retrieval Using Word2Vec |
作者: | Ma, Shang-Pin Chuang, Yen Lan, Ci-Wei Chen, Hsi-Min Huang, Chun-Ying Li, Chia-Yu 資訊工程學系 Department of Computer Science |
關鍵字: | Microservice;Microservice Retrieval;Requirement Scenario;Behavior-Driven Development;word2vec |
公開日期: | 1-一月-2018 |
摘要: | Microservice architecture (MSA) is an emerging software architectural style, which differs fundamentally from the monolithic, layered architecture. During the development and maintenance of microservice systems, how to provide an effective service retrieval mechanism is a critical challenge to avoid the problems of rework and duplicate code. Meanwhile, nowadays, using the BDD (Behavior-Driven Development) method to develop microservices becomes more and more popular due to its agility and domain-driven characteristics. BDD is an agile software development approach emphasizing that test cases are written in a common language to include scenarios that describe the features of a target system. In this paper, we propose an approach, referred to as SMSR (Scenario based MicroService Retrieval), to recommend appropriate microservices to users based on the user-written BDD test scenarios. The proposed service retrieval algorithm is based on word2vec, a widely-used machine learning method in NLP (Natural Language Processing), to perform service filtering and service similarity calculation. Experiment results show that SMSR is able to effectively retrieve appropriate microservices from the service repository. |
URI: | http://dx.doi.org/10.1109/ICEBE.2018.00046 http://hdl.handle.net/11536/151089 |
DOI: | 10.1109/ICEBE.2018.00046 |
期刊: | 2018 IEEE 15TH INTERNATIONAL CONFERENCE ON E-BUSINESS ENGINEERING (ICEBE 2018) |
起始頁: | 239 |
結束頁: | 244 |
顯示於類別: | 會議論文 |