Coordinating REST interactions in service choreographies using blockchain
In Service Oriented Computing (SOC), different services interact and exchange information to reach specific objectives. To model inter-organizational SOC systems, Choreography modeling languages emerged to represent the distributed coordination among the involved organizations. From the realization perspective, blockchain technology is emerging as a promising run-time supporting peer-to-peer communication without the need for a central coordinator, thanks to its intrinsic security, trust and decentralization characteristics. However, while blockchain can bring many advantages, technological barriers still limit its adoption in organizations, due to the costly and time-consuming learning process. For this reason, we propose RESTChain, a framework enabling in an automatic way the interactions that take place among the participants in a service choreography exploiting blockchain technology. Starting from a choreography specification, the framework provides a set of Mediators and automatically generates a Smart Contract that coordinates the service interactions. The mediators are software components that are directly connected with the smart contracts and expose REST APIs in compliance with the role played by the organizations in the choreography. In this way, the services deployed by one organization can communicate with the services made available by another organization through the blockchain, in a secure and transparent manner. The proposed approach has been implemented on the Layer 2 Polygon blockchain and has been validated on a Market Retail case study analyzing its efficiency in terms of costs and times. • We provide a framework for the coordination of service choreographies using blockchain. • We enforce and coordinate REST interactions using smart contracts. • We rely on a model-driven approach abstracting the complexity of development. • We developed the RESTChain tool and we assessed it using a realistic case study.
Authors
- Francesco Donini (ORCID: https://orcid.org/0000-0002-1849-0592)
- Andrea Polini (ORCID: https://orcid.org/0000-0002-2840-7561)
- Andrea Morichetta (ORCID: https://orcid.org/0000-0003-1738-9043)
- Alessandro Marcelletti (ORCID: https://orcid.org/0000-0003-1192-6696)
Institutions
- University of Pisa (IT)
- Università di Camerino (IT)
- Institute of Informatics and Telematics (IT)
Publication Details
- Journal
- Blockchain Research and Applications
- Published
- 2024-12-12
- DOI
- https://doi.org/10.1016/j.bcra.2024.100241
- Citations
- 1
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.78