Modern Integration Applications
In traditional software, each Line of Business (LoB) application like invoice processing, payroll processing, health report processor etc is an independent software which used to be a package of custom-built code modules.
With the transformation to cloud and introduction of lot of Platform as a Service (PaaS) offerings like Logic Apps, Service Bus, Functions, Event Grid etc building a LoB application has become lot easier. It is no more writing complex modules of software but integrating these PaaS offering based on the architecture requirement, completes a LoB application. The advantages of using such offerings are plenty:
- They are robust
- Built to serve specific purpose
- One could focus only on designing the application to suit business needs
If you are using Microsoft Azure services to build your LoB applications, the Azure portal provides you capabilities to manage them at an resource level. For eg: if your application orchestration includes Azure Functions, Logic Apps, Azure SQL DB, Web Apps etc, you get to manage them at resource level in the Azure portal. But what additnally required is at application level. Though these Azure resources can grouped in a resource group, it don't provide necessary visibility as a LoB application.
The components within the application don’t really offer anything individually and are only used within the Composite Integration App but the Service provided by the App is reusable across other apps which need the service (but it doesn’t have to be)
- Michael Stephenson, Microsoft MVP, Author - Integration Playbook
Serverless360 provides better monitoring and management capabilities towards Azure Serverless services and complements the Azure Portal. To suffice the need for managing the resources as LoB applications, we introduced the concept of Composite Applications.
Service Map will help users visualize how the resources in a composite application relate to each other. This servers as a physical representation of the architecture, the user can derive relationships between the resources that constitute the composite application. It provides a clean dashboard with a full application view and displays the state of each resource based on their monitoring configuration.
Create your Service Map
Consider an E- Commerce solution is managed through Serverless360. Here, the resources that constitute order processing business flow are grouped in a Composite Application.
The architecture of this business flow is,
- Customer submits an order request in the Web App (Azure App Service)
- A Service Bus Message is triggered for every order placed (Service Bus Queue)
- A Logic App with Service Bus Queue trigger picks up the order message to execute the order (Logic App)
- An Azure Function invoked by the Logic app validates the order message for necessary details (Azure Function)
- After the successful validation, the message is forwarded to a Service Bus Topic for further processing (Service Bus Topic)
- An Azure Worker role listens to messages in Topic Subscriptions (Cloud Service)
- The message details are forwarded to a Storage Queue for Shipment follow up (Storage Queue)
- Another copy of the message is written in SQL database (SQL)
This architecture can be better understood in a pictorial representation. Building a service map within the Composite Application would be of real help for understanding this better.
1. Bring the Resources to the board:
In the service map section of the Composite Application, the resources associated with the composite application are listed in the left side menu. It is also possible to include a component that is not in scope of Serverless360 but will be a part of the solution. The required resources can be selected from the left section (palette), which will add the representation of the resource in the right section (diagram pane).
2. Connect the Resources to define the flow:
A connection can be made between the resources by clicking and dragging from the centre of the representation.
3. Save the diagram:
Once the diagram is saved, the resources will be displayed with the current monitoring status. Access detailed Error.
4. Edit if required:
The diagram can be edited by clicking the edit option. The issues list will not be displayed while in edit mode.
5. Infer Resource status: Service map indicates the health of the resource with the following colour coding:
- Healthy- Green
- Warning- Amber
- Error- Red
Click on the resource in warning or error state to fetch the details of the issue as below.
Multiple Service Maps
When there is a mulitple sub-orchestration under a single orchestration, there might be a need of visulazing those mulitple orchestrations in seprate view. To solve this challenge, Serverless360 comes with the capability of creating Multiple topologies under a single composite application. Consider a Cab booking Application scenario, there might be several orchestrations like Vehicle management, Cab booking Management, Driver On-boarding Management . Multiple service maps come into picture in order to visulaize these orchestrations.
1. Make as Default:
Diagram that is made as default will be displayed on the Diagram tab. When there are more than one Diagram, it is possible to make a desired Diagram as default which will always be displayed in Diagram tab whenever entering into Service Map section.
2.Edit the Diagram:
It is possible to edit the name ,description and configuration of the Diagram.
3.Delete the Diagram:
Diagram which is not required can be deleted. Bulk deletion of diagrams is also possible.
Light and dark mode
Fullscreen view of Service Map will help us in present/monitor an applications without any distractions. It is also possible to view the Service Map in both Light and Dark mode on Full screen.