MicroGraphQL: a Unified Communication Approach for Systems of Systems using Microservices and GraphQL

被引:2
作者
Borges, Marcos V. de F. [1 ]
Rocha, Lincoln S. [1 ]
Maia, Paulo Henrique M. [2 ]
机构
[1] Univ Fed Ceara, Fortaleza, Ceara, Brazil
[2] Univ Estadual Ceara, Fortaleza, Ceara, Brazil
来源
10TH IEEE/ACM INTERNATIONAL WORKSHOP ON SOFTWARE ENGINEERING FOR SYSTEMS-OF-SYSTEMS AND SOFTWARE ECOSYSTEMS (SESOS 2022) | 2022年
关键词
System of Systems; Microservices; GraphQL;
D O I
10.1145/3528229.3529381
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: establishing forms of unified communication in Aknowledge Systems of Systems (SoS) is a difficult and complex task that requires constant studies by the developer on current versions of Application Programming Interfaces (APIs) of other constituent systems, connection forms, data request and return. Objective: in order to minimize that aspect, this paper proposes a new approach, called MicroGraphQL, to allow fast and unified communication of constituent systems through GraphQL. To this end, the approach uses 2 microservices (API Similarity Analyzer Service, GraphQL Code Generator Service) and a GraphQL Gateway, which together analyze communication similarities between APIs and generate GraphQL code for these similarities. Methods: the proof-of-concept of the approach is supported by the microGraphQLTool tool, which implements the microservices and the GraphQL Gateway using the JavaScript language and the Apollo library. Results: the applicability of the proposed approach is successfully performed in two real APIs of systems constituting a sales SoS of a multinational company, allowing the use of GraphQL to unify them. Conclusion: the approach supports the development of new forms of SoS integration, facilitating developers' activities in relation to obtaining information from APIs of other systems.
引用
收藏
页码:33 / 40
页数:8
相关论文
共 25 条
[1]  
[Anonymous], What Is a REST API?
[2]  
[Anonymous], 2014, EC DRIVEN SOFTWARE A
[3]  
Eyob Semere Ghebremicael, 2017, THESIS
[4]  
Helfer Jonas, 2018, GRAPHQL EVOLUTION RE
[5]  
Henshaw Mike, 2021, SYSTEMS OF SYSTEMS
[6]  
Lewis J., 2014, Microservices
[7]   Mandala: An Agent-Based Platform to Support Interoperability in Systems-of-Systems [J].
Mendes, Altair ;
Loss, Stefano ;
Cavalcante, Everton ;
Lopes, Frederico ;
Batista, Thais .
2018 IEEE/ACM 6TH INTERNATIONAL WORKSHOP ON SOFTWARE ENGINEERING FOR SYSTEMS-OF-SYSTEMS (SESOS 2018), 2018, :21-28
[8]   Model-Based Interoperability Engineering in Systems-of-Systems and Civil Aviation [J].
Mordecai, Yaniv ;
Orhof, Ori ;
Dori, Dov .
IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2018, 48 (04) :637-648
[9]  
Netflix, WHAT IS FALC
[10]  
Newman Sam, 2019, Monolith to microservices: Evolutionary patterns to transform your monolith