CI/CD Pipelines and Caching of Dependencies on Azure DevOps

In this blog, we'll be taking you through a brief explanation of CI/CD pipelines in Azure DevOps and how to implement caching of Maven dependencies in the pipelines while deploying your Mule application to CloudHub.

What Is CI/CD?

CI, short for continuous integration, is a software development practice in which all developers merge code changes in a central repository multiple times a day. CD stands for continuous delivery, which on top of continuous integration adds the practice of automating the entire software release process.

What Is Map() Method in Javascript?

JavaScript methods are actions that can be performed on objects. So here is my new blog post I will cover the two JavaScript methods map() and filter(). Will explain easily and in detail.

Map()

The map() method is used to apply a function on every element in an array and then return a new array. Let's take a look at the syntax:

Implement a Counter in Dataweave 2.x and Above

Implement a Counter in Dataweave

These days, I see quite a few posts that require using Counter in DataWeave. The problem faced is that users require a Sequence Number that is consistent throughout the different sections of data. Consider the below JSON:

JSON
xxxxxxxxxx
1
17
 
1
[{
2
"Item" : "ItemXYZ",
3
  "SequenceNo" : 1,
4
  "Parts": [
5
{ "Part" : "A1", "SequenceNo" : 2 }, { "Part" : "B1", "SequenceNo" : 3 },
6
{ "Part" : "A2", "SequenceNo" : 4 }, { "Part" : "B2", "SequenceNo" : 5 }
7
  ]
8
},
9
 {
10
"Item" : "ItemRTY",
11
  "SequenceNo" : 6,
12
  "Parts": [
13
{ "Part" : "A1", "SequenceNo" : 7 }, { "Part" : "B1", "SequenceNo" : 8 },
14
{ "Part" : "A2", "SequenceNo" : 9 }, { "Part" : "B2", "SequenceNo" : 10 }
15
  ]
16
}
17
]