MuleSoft

Deploy A Mule Application On Cloud Hub Using REST APIs

Overview: – What Are MuleSoft Platform APIs?: – Click here Anypoint Exchange (mulesoft.com) Prerequisites: – Steps to deploy the Mule application: – Step 1: Open Postman, configure as shown below, and hit the API POST https://anypoint.mulesoft.com/accounts/login Content-Type: application/json Body:     { “username”:”ANYPOINT_PLATFORM_USERNAME”, “password”:”ANYPOINT_PLATFORM_PASSWORD”      } Note: – If you are getting any response like an […]

MuleSoft

Domain Projects In MuleSoft

Overview: – What is a Domain Project: – Advantages of Mule Domain Project: – Note:- Let’s demonstrate a simple use case to understand about Domain project clearly. Use Case: – Deploy two applications with the same port on Mule standalone run time. Note: – Generally, each application needs to be deployed on different ports otherwise […]

MuleSoft

Mule Standalone Runtime Setup & Registering With Anypoint Platform

Overview: – What is Mule Standalone Runtime: – Prerequisites: – Download Mule Standalone Runtime: – Step 1: Click the link below to download the Mule standalone server. https://www.mulesoft.com/lp/dl/anypoint-mule-studio Step 2: Select the product as Mule Standalone from the dropdown. Provide the below details and click on download. Step 3: Check your email inbox for downloading […]

MuleSoft

Mastering RAML 1.0: A Comprehensive Guide To Data Types, Security Schemes, And Traits

Fragments in RAML Data Types Type: number External Datatype file #%RAML 1.0 DataType Main RAML file:             types:               name: !include /DataTypes/nameDataType.raml /students:               get:           queryParameters:              name:               required: true                 responses:                 200:                  body:                   application/json:                     example: !include Examples/getStudentsResponse.json In the main RAML file, we’ll create a placeholder and we’ll make of that placeholder to refer […]

MuleSoft

Choice Router In MuleSoft

Pre-requisites Anypoint Studio: Database: Choice Router In MuleSoft *Note: First we’ll check whether that particular record is present in the DB, if it is there then we’ll update the record, else we’ll insert the record.  Steps: 2. Following the addition of the listener component, include two loggers to mark the beginning and the end of […]

MuleSoft

Auto Discovery In MuleSoft

Overview: Steps: 2. Then, mock the API and publish it to Anypoint exchange. 3. Next, create a new Mule project and generate its scaffold structure using the API specification published in Exchange. 4. Next, we’ll be adding two loggers to mark the beginning and the end of the flow. By logging the message “Start of […]

MuleSoft

API Groups In MuleSoft

API Groups Introduction: API Groups feature provided by MuleSoft is used to organize and manage multiple APIs under a single entity. These APIs can be organized and managed based on the environment and organizations. Benefits: Setup: Note: For this document, we are considering the detailed view for which we will start from scratch. Step-1: Create […]

MuleSoft

Object Store V2 REST API

Introduction What is Object Store v2 Rest API? The Object Store v2 APIs allow you to use REST for the following operations: Object Store V2 REST API Anypoint exchange link : https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/object-store-v2 Implementation Step 1: To use the Object Store V2 REST API we need to have an application deployed in CloudHub with object store […]