Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

A Modeling Editor and Code Generator for AsyncAPI

120 views

Published on


Talk presented at the 1st AsyncAPI conference - https://www.asyncapiconf.com/

Talk summary:
In the new Internet of Things (IoT) era, our everyday objects have evolved in the so-called cyber-physical systems (CPS). The use and deployment of CPS has especially penetrated the industry, giving rise to the Industry 4.0 or Industrial IoT (IIoT). Typically, architectures in IIot environments are distributed and asynchronous, communication being guided by events such as the publication of (and corresponding subscription to) messages.

In this talk, we present AsyncAPI toolkit, our proposal relying on AsyncAPI to automate the design and implementation of these architectures using model-based techniques. AsyncAPI toolkit provides a set of editors and Eclipse-based tools which allow defining JSON-based specifications of message-driven APIs using AsyncAPI. From these specifications, the prototype is able to generate the Java code supporting the creation and serialization of JSON-based message payloads according to the modeled AsyncAPI, including nested JSON objects, as well as the necessary code to publish and subscribe to different topics. The initial prototype that implements this proposal as an open-source project is available at https://github.com/SOM-Research/asyncapi-toolkit

Published in: Technology
  • Be the first to comment

  • Be the first to like this

A Modeling Editor and Code Generator for AsyncAPI

  1. 1. A model-based AsyncAPI code generator for IoT environments Abel Gómez AsyncAPI online conference – April 22, 2020
  2. 2. Subscribe! Publish! Broker
  3. 3. It is difficult to maintain consistency: • Deviations in the topics: • Lost messages • Deviations in the message format: • Information loss • Runtime problems Message-driven APIs
  4. 4. It is difficult to maintain consistency: • Deviations in the topics: • Lost messages • Deviations in the message format: • Information loss • Runtime problems Message-driven APIs
  5. 5. AsyncAPI toolkit A model-based AsyncAPI code generator for IoT environments
  6. 6. AsyncAPI toolkit
  7. 7. UOCresearch @UOC_research https://github.com/SOM-Research/asyncapi-toolkit agomezlla@uoc.edu jordi.cabot@icrea.cat

×