Tecnologies involved. [Front end]: Javascript throught ReactJS, Web3JS , [Back end]: SpringBoot. [Database] : Mysql, [Ganache]: as testing blockchain implementation [Docker/ Docker compose]: as tool for defining and running multi-container Docker applications
In inter-organizational contexts, where software systems owned and managed by different organizations cooperate and exchange information, there is often the need for mechanisms that can increase trust among the participants, in particular in relation to the interactions that have to possibly occur to reach specific objectives. This is a particularly relevant challenge when such interactions are specified in a peer-to-peer style, as in the case of Service Choreographies. In such situations, the involved participants are interested that all the interactions are performed abiding by the agreed specification. To support such a scenario we provide a general framework that permits to use a blockchain infrastructure to certify and possibly constraint, the relevant interactions that took place among the participants to a service choreography. The framework permits to automatically derive a service mediator from a choreography specification in the form of a Smart Contract for a given blockchain infrastructure. The mediator will expose REST APIs for each participant included in the choreography spec. This will permit the developer of software services to use a blockchain infrastructure to interact with the other choreography participants, without the need to learn any specific detail of such a technology. The used mediator will store, and possibly check, within the blockchain infrastructure the order and the payload of the messages exchanged by the choreography participants, making this information available for possible auditing activities. The framework has been currently implemented and validated using the Ethereum blockchain infrastructure.
The RestChain framework: a blockchain based mediator for REST interactions in Service Choreographies
F Donini
2021
Abstract
In inter-organizational contexts, where software systems owned and managed by different organizations cooperate and exchange information, there is often the need for mechanisms that can increase trust among the participants, in particular in relation to the interactions that have to possibly occur to reach specific objectives. This is a particularly relevant challenge when such interactions are specified in a peer-to-peer style, as in the case of Service Choreographies. In such situations, the involved participants are interested that all the interactions are performed abiding by the agreed specification. To support such a scenario we provide a general framework that permits to use a blockchain infrastructure to certify and possibly constraint, the relevant interactions that took place among the participants to a service choreography. The framework permits to automatically derive a service mediator from a choreography specification in the form of a Smart Contract for a given blockchain infrastructure. The mediator will expose REST APIs for each participant included in the choreography spec. This will permit the developer of software services to use a blockchain infrastructure to interact with the other choreography participants, without the need to learn any specific detail of such a technology. The used mediator will store, and possibly check, within the blockchain infrastructure the order and the payload of the messages exchanged by the choreography participants, making this information available for possible auditing activities. The framework has been currently implemented and validated using the Ethereum blockchain infrastructure.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.