RapidMS

Introduction

RapidMS is a Tool to Support Rapid Microservice Architecture Generation and Refinement from Requirements Model. The benefits of RapidMS are as follows:

  1. Automated microservice architecture diagram generation.
  2. Automated inter-microservice communication diagrams generation.

The video cast its feature is listed as follows (Youtube):

Download and Installation

RapidMS is an advanced feature of RM2PT. It can automatically identifiy the microservices from requirements models.

Prerequest

RapidMS is a plugin of RM2PT. If you don’t have RM2PT, download here.

Installation of RapidMS

Open RM2PT, click on Help -> Install New Software

image-1

Type http://rm2pt.com/RapidMS-UpdateSite in the Work with field, select RapdiMS and click Next. image-2

If the update site does not work, you can choose to install it offline. Click here to download RapidMS. Follow the steps below to install.

image-3 image-4 image-5 image-6

RapidMS Overview

overview

Input of RapidMS — Extended Requirements Model

The input to RapidMS is a UML requirements model with OCL constraints. The model includes: a conceptual class diagram, a use case diagram, system sequence diagrams, contracts of system operations. Input Input2

The identified microservices in the requirements models

You can generate microservice model by right click on cocome.remodel -> RM2PT-Dev-> generate req model image-7

The generated model is in the ReqModel folder

image-8

The Output of RapidMS

The microservice architecture model consists of a architecture diagram and inter-microservice communication diagrams.

Microservices architecture diagram comprehensively represents an architecture, illustrating all microservices within a system and their inter dependencies. It encompasses the internal class diagram for each microservice, targeting the entity information contained therein. Furthermore, the microservices architecture diagram delineates the interfaces each microservice provides and requires and the operations within specific interfaces.

Inter-microservice communication diagram is a graphical representation of the interactions between services, showing the sequence of messaging and interactions between services.

CoCoME includes the processes of the cash register, such as scanning products with barcode scanner or paying with credit card or cash, and the management processes of the supermarket, such as replenishing supermarket products and modifying commodity prices. For more details of the , please see GitHub - RM2PT/CaseStudies: RM2PT CaseStudies.

The image below shows a part of CoCoME’s microservice design model generated by RapidMS.

image-microservice