講演抄録/キーワード |
講演名 |
2021-07-15 13:00
ER図を活用したAPI設計手法の提案 ○杉本智紀・水越大貴・沼田晋作・波戸邦夫(MF) ICM2021-9 |
抄録 |
(和) |
近年、マイクロサービスアーキテクチャが多くのシステムで採用されている。このため、モノリシックなアプリケーションからマイクロサービスアーキテクチャへのマイグレーションも活発に行われている。モノリシックアプリケーションのマイクロサービス化において、データベースのアクセスを切り出してAPI化をはかることがある。この際に既存のSQLクエリをHTTPリクエストに置き換える必要がある。多種多様のクエリを置き換えるためには、同等の機能を持つAPIの設計が必要という課題が存在している。
本稿ではモノリシックなアプリケーションが保持するデータベースのER図を用いて、 APIの設計を自動的に行う手法を提案する。本手法によって仮想的なモノリシックアプリケーションのDBアクセス部分を自動的にAPI化し、階層構造を持つREST APIの設計を行うことができた。 |
(英) |
In recent years, migration from monolithic applications to microservice architectures has been actively pursued. In the process of converting monolithic applications to microservices, database accesses are sometimes cut out and converted to APIs. However, to convert an existing SQL query into an API, it is necessary to read the content of the query and replace it with an HTTP request. In the case of monolithic applications, there are a wide variety of queries, and it is not possible to create an API with the same functionality by simply creating an API, which requires manual API design.
In this paper, we propose a method for creating APIs for a wide variety of queries using a logic that can realize APIs using the ER diagram of a database maintained by a monolithic application. By using this method, the DB access part of a hypothetical monolithic application is automatically converted into an API, and a REST API with a hierarchical structure is designed. |
キーワード |
(和) |
モノリシック / マイクロサービスアーキテクチャ / データベース / API / ER図 / / / |
(英) |
Monolithic / microservice architecture / microservice architecture / API / ER diagram / / / |
文献情報 |
信学技報, vol. 121, no. 114, ICM2021-9, pp. 1-5, 2021年7月. |
資料番号 |
ICM2021-9 |
発行日 |
2021-07-08 (ICM) |
ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
ICM2021-9 |