<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dominik Kajba on Medium]]></title>
        <description><![CDATA[Stories by Dominik Kajba on Medium]]></description>
        <link>https://medium.com/@dominik.kajba?source=rss-a5d4c8600985------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*l1Oisc1PyiK9lqOiegGg_A.jpeg</url>
            <title>Stories by Dominik Kajba on Medium</title>
            <link>https://medium.com/@dominik.kajba?source=rss-a5d4c8600985------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:38:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dominik.kajba/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How a Small Team Built a Global Storytelling App]]></title>
            <link>https://medium.com/@dominik.kajba/how-a-small-team-built-a-global-storytelling-app-73ea99577cf4?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/73ea99577cf4</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[edtech]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Thu, 18 Sep 2025 09:10:50 GMT</pubDate>
            <atom:updated>2025-09-18T09:10:50.206Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>Every startup begins with a question. Ours was how to turn children’s screen time into a source of imagination and learning.</p><h4>The Spark</h4><p>Every big story begins with a small idea. For us, it was the realization that children’s screen time could be transformed from passive scrolling into something meaningful, creative, and fun. That idea became <strong>Tales of Mello, </strong>an AI-powered storytelling app where kids co-create their own adventures.</p><p>We didn’t know exactly how far it would take us, but we believed in the vision. And that belief was enough to get us started.Business requirement</p><h4>An Unexpected Validation</h4><p>Before we had an MVP, something happened that even surprised us as founders: <strong>two global giants — WWF and The Smurfs — trusted us with partnerships</strong>.</p><p>It was more than a business deal. It was validation. If organizations of that scale saw potential in a small team from Eastern Croatia, then maybe we were onto something bigger than we dared to believe. Their trust gave us momentum we couldn’t have imagined at the start.</p><h4>From Idea to Market</h4><p>When we finally launched Tales of Mello, the response was immediate and encouraging. Parents didn’t just download the app — they subscribed. Kids didn’t just listen to stories — they created their own.</p><p>Today, we have <strong>1,200 monthly active users</strong> and <strong>600 paying customers</strong>, with a <strong>10% conversion rate from install to subscription</strong> in our Meta campaigns. For anyone tracking numbers in this space, you’ll know that’s well above industry benchmarks.</p><p>But behind the data is something more powerful: real families choosing to make us part of their daily lives.</p><h4>Engine I’m Proud Of</h4><p>In the early days, every piece of content was prepared <strong>manually by our design team</strong>. They added gradients, text overlays, and story formatting by hand. It worked, but it was time-consuming and expensive — especially when we wanted to scale.</p><p>That’s when I stepped in with <strong>Python scripts</strong>. The scripts automated tasks like adding text to images, aligning fonts, and applying gradients. Overnight, something that took hours could be done in minutes. It was our first step toward efficiency — and it saved us both money and creative energy.</p><p>But I didn’t want to stop there. The next evolution was building a <strong>fully automated pipeline</strong>. We connected our CMS to a backend that manages story data, translations, and assets. Then, with <strong>logic on the mobile side</strong>, we created a merging engine that automatically combines text, visuals, and formatting into a polished final story — directly on the user’s device.</p><p>What once required hours of designer effort now happens instantly and at scale. For me, this is one of the proudest achievements of our journey so far: transforming a fragile, manual process into a <strong>scalable, intelligent system</strong> that powers every story kids enjoy in Tales of Mello today.</p><h4>The Bigger Picture</h4><p>Looking back, what amazes me most is not just the milestones, but the proof they represent. <strong>A small team from Eastern Croatia, with nothing but vision and resilience, built something that resonates globally.</strong></p><p>And yet, this is only the beginning. Tales of Mello is still writing its story — one chapter at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73ea99577cf4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Power of SFTP Read Connector in MuleSoft]]></title>
            <link>https://medium.com/@dominik.kajba/exploring-the-power-of-sftp-read-connector-in-mulesoft-fb86b2dd33ee?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb86b2dd33ee</guid>
            <category><![CDATA[files]]></category>
            <category><![CDATA[sftp]]></category>
            <category><![CDATA[mulesoft]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 18:19:18 GMT</pubDate>
            <atom:updated>2024-01-31T18:19:58.674Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In this article, we will delve into the capabilities and features of the SFTP Read Connector in MuleSoft, highlighting how it simplifies the process of reading data from SFTP servers.</p><h4>Business requirement</h4><p>The client possesses a substantial amount of data crucial to their business operations, and there is a need to seamlessly transfer this data to new storage e.g. Microsoft Dynamics or classic SQL database.</p><h4>Let’s take a look at our workflow!</h4><p>Before we start with single steps let’s take a look at a simple flow with a Listener, Read connector to read file content and logger to check if our flow works as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*YU_31kj_bLPvg8Vgwm3geQ.png" /></figure><p><strong>First Step</strong></p><p>The initial phase involves examining the structure of our incoming payload to understand its format and content.</p><pre>{<br>    &quot;path&quot;: &quot;\path\to\relevant\data&quot;<br>}</pre><h4>Second Step</h4><p>Ensure a secure and professional connection to the SFTP server by configuring the MuleSoft properties file with essential details such as the server host, port, username, and password.</p><pre>&lt;sftp:connection host=&quot;${sftp.host}&quot; username=&quot;${sftp.username}&quot; password=&quot;${sftp.password}&quot; port=&quot;${sftp.port}&quot;/&gt;</pre><h4>Third Step</h4><p>Dynamically enhance data integration by seamlessly incorporating the path defined in the incoming request as a parameter in the SFTP connector, empowering flexible and personalized file retrieval within your MuleSoft workflow.</p><pre>path=&quot;#[payload.path]&quot;</pre><h4>Fourth Step</h4><p>Ensure data accuracy and transparency in your integration process by implementing a logging mechanism to capture and review the payload, allowing for real-time verification of the correctness and completeness of the retrieved information.</p><pre>message=&quot;#[payload]&quot;</pre><h4>Conclusion</h4><p>In summary, today’s exploration focused on the practical usage of the SFTP connector, showcasing its pivotal role in establishing secure connections and enabling dynamic path parameters for seamless data retrieval within MuleSoft integrations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb86b2dd33ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Object Filtering in MuleSoft: A Comprehensive Guide]]></title>
            <link>https://medium.com/@dominik.kajba/mastering-object-filtering-in-mulesoft-a-comprehensive-guide-cd5ded28e6db?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd5ded28e6db</guid>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[filtering]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 17:15:00 GMT</pubDate>
            <atom:updated>2024-01-31T17:15:00.840Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>This blog guides you through mastering the “Object Filtering” in MuleSoft, offering a concise approach to efficiently filter and store multiple objects on the same place.</p><h4>Business requirement</h4><p>Envision a scenario where a client’s MuleSoft endpoint is inundated with an array containing details of all company employees, each with unique roles. Their challenge? To successfully filter out individuals whose job title doesn’t align with “Developer” and seamlessly store the refined results.</p><h4>Let’s take a look at our workflow!</h4><p>Before we start with single steps let’s take a look at a simple flow with a Listener, two variables for storing the filtered employees, single transform message for filtering logic and logger to check if our flow works as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*v2Bu_iehLEmgzZInn9RB3A.png" /></figure><p><strong>First Step</strong></p><p>The initial phase involves examining the structure of our incoming payload to understand its format and content.</p><pre>[<br> {<br>    &quot;name&quot;: &quot;Ethan&quot;,<br>    &quot;role&quot;: &quot;Manager&quot;<br> },<br>  {<br>    &quot;name&quot;: &quot;Olivia&quot;,<br>    &quot;role&quot;: &quot;Developer&quot;<br> },<br>  {<br>    &quot;name&quot;: &quot;Mason&quot;,<br>    &quot;role&quot;: &quot;Database Administrator&quot;<br> },<br>  {<br>    &quot;name&quot;: &quot;Ava&quot;,<br>    &quot;role&quot;: &quot;Business Analyst&quot;<br> },<br>  {<br>    &quot;name&quot;: &quot;Marco&quot;,<br>    &quot;role&quot;: &quot;Developer&quot;<br> }<br>]</pre><h4>Second Step</h4><p>In the second step, we initialize an empty array, emptyFilteredArray, serving as the foundation for storing filtered elements in our processing workflow.</p><pre>%dw 2.0<br>output application/json<br>---<br>[]</pre><h4>Third Step</h4><p>Moving to the third step, initialize the “Transform Message”. Within the transformative process encapsulated in the “Transform Message,” the logic below becomes instrumental in iteratively processing each element of the collection.</p><pre>%dw 2.0<br>output application/json<br>var filteredData = payload filterObject ((value) -&gt; value ==  &quot;Developer&quot;)<br>---<br>filteredData</pre><h4>Fourth Step</h4><p>In the fourth step, we strategically store each object from the collection where the “role” field holds the value “Developer” into the variable vars.emptyFilteredArray.</p><pre>%dw 2.0<br>output application/json<br>---<br>vars.emptyFilteredArray &lt;&lt; payload</pre><h4>Fifth Step</h4><p>Entering the message field, include the variable vars.emptyFilteredArray to provide a detailed log of the filtered array, allowing for a thorough examination of the logic&#39;s execution and verification of the stored &quot;Developer&quot; objects.</p><pre>message=&quot;#[vars.emptyFilteredArray]&quot;</pre><h4>Conclusion</h4><p>In summary, this article has explored a comprehensive approach to filtering and storing objects within the MuleSoft integration framework. By examining the incoming payload, initializing an empty array, and implementing a simple “Transform message” logic, we’ve demonstrated a step-by-step process for selectively storing objects based on a specific condition — in this case, filtering individuals with a “Developer” role.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd5ded28e6db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing Latency with JMeter on a MuleSoft Endpoint]]></title>
            <link>https://medium.com/@dominik.kajba/testing-latency-with-jmeter-on-a-mulesoft-endpoint-c87b33ce51c2?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/c87b33ce51c2</guid>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[jmeter]]></category>
            <category><![CDATA[load-testing]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 15:50:06 GMT</pubDate>
            <atom:updated>2023-10-31T15:50:06.488Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In this blog, we’ll explore the practical application of JMeter, a leading performance testing tool, as we meticulously assess the latency of a simple MuleSoft endpoint. This journey takes us from understanding the essential concepts of latency testing to hands-on experimentation with JMeter, all in the pursuit of uncovering bottlenecks and enhancing the responsiveness of your integration solutions.</p><h4>What is latency?</h4><p>Latency, in simple terms, is the “waiting time” in the digital world. It’s the brief pause between action and reaction, the moment your request travels through the vast web of connections, and the response makes its way back to you. Understanding latency is like peeking behind the scenes of every digital interaction, where even milliseconds matter.</p><h4>Let’s take a look at our workflow!</h4><p>Before we start with single steps let’s take a look at a simple flow with a Listener and set payload connector that sets “hi” as a payload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*57RhQD6nwXwO8ZownEmjwQ.png" /></figure><p><strong>First Step</strong></p><p>In order to successfully perform load test on the endpoint above, let’s create the following test plan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*b1sLsI5boDlcnnXTUioETg.png" /></figure><h4>Second Step</h4><p>Let’s take a look at the connection between ramp-up period and number of threads (users). The ramp-up period and the number of users play a pivotal role in creating realistic load scenarios. Think of the ramp-up period as the time it takes to introduce users into the test gradually. In our case, with 50 users and a 25-second ramp-up period, one user will be added to the test every half-second (25 seconds / 50 users). This gradual introduction of users simulates a scenario where user traffic grows steadily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*8-2y_g1GkDPOwT-5f2_qog.png" /></figure><h4>Third Step</h4><p>In this step, we focus on configuring JMeter’s HTTP requests with precision. Specify the host (server or IP), protocol, port, and path to accurately simulate user interactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X3ujH6GNvBYUBVxDWSo_Pg.png" /></figure><h4>Fourth Step</h4><p>After executing 50 HTTP requests in JMeter, examining the “View Results Tree” provides a wealth of insights into the test’s success and the application’s performance. Here’s what you can expect to see: response data, response times, HTTP request details, sampler result, request data and so on. Apart from all these application’s performance parameters, let’s reveil what latency of 4 milliseconds represent. A latency of 4 milliseconds is typically considered very good. It indicates that the communication between the client (JMeter) and the server is fast, with minimal delay. In many cases, lower latency is preferred, as it means quicker response times for users and better overall system performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z7IiMf2p1BQKSD_Nc5xMMw.png" /></figure><h4>Fifth Step</h4><p>After conducting 50 successful HTTP requests in JMeter, the “Summary Report” becomes a vital tool for assessing the performance and reliability of your application. Here’s what you can discern from the report: throughput, latency, error count, response times, deviation and so on. The throughput metric reveals the rate at which requests were completed. It reflects how efficiently the system processed the 50 requests and is measured in requests per minute or per second. Deviation data provides insights into the consistency of response times. A low deviation suggests a stable system, while a high deviation may indicate varying response times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xYS1J2sPyJ3vdBjoWvU3iQ.png" /></figure><h4>Conclusion</h4><p>In summary, load testing with JMeter is essential for evaluating system performance under varying user loads. It helps identify bottlenecks, vulnerabilities, and areas for optimization. By simulating real-world conditions, it ensures the reliability and scalability of applications, reducing downtime risk and enhancing user satisfaction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c87b33ce51c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Black Box Vs White Box Testing]]></title>
            <link>https://medium.com/@dominik.kajba/black-box-vs-white-box-testing-627bc331ab92?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/627bc331ab92</guid>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[munit]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 15:10:06 GMT</pubDate>
            <atom:updated>2023-10-31T15:10:06.088Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In this blog, we’ll delve into the fascinating world of software testing, exploring two fundamental approaches: white box and black box testing. These testing methodologies are essential to ensuring the reliability and quality of software applications throughout the development lifecycle. White box testing focuses on the inner workings of the software and black box testing puts emphasis mainly on inputs and expected outputs.</p><h4>Let’s take a look at our workflow!</h4><p>Before we start with single steps let’s take a look at a simple dynamicMathOperation flow with a listener, one flow reference to additionFlow subflow, one transform message and few more variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*MdBxXXzWLMW_7_l6YhqFuQ.png" /></figure><p><strong>First Step</strong></p><p>In order to successfully write MUnits for the flow above we have to understand what data is coming in or input, task/logic of each connector and result of the flow or output. Let’s check how the data looks like.</p><pre>// input data<br>[<br>{<br>    &quot;operation&quot;: &quot;addition&quot;,<br>    &quot;firstNumber&quot;: 1,<br>    &quot;secondNumber&quot;: 2<br>}<br>]</pre><pre>// vars.firstNumber -&gt; logic is same for the secondNumber -&gt; stored in vars.secondNumber<br>%dw 2.0<br>output application/json<br>---<br>payload.firstNumber as Number</pre><pre>// vars.additionResult -&gt; referenced by dynamicMathOperationFlow<br>%dw 2.0<br>output application/json<br>---<br>vars.firstNumber + vars.secondNumber</pre><pre>// output data after transformation <br>{<br> &quot;additionResult&quot;: 3<br>}</pre><h4>Second Step</h4><p>As already mentioned, white box testing focuses on the inner workings of the software, examining its internal code and logic. Let’s take a look at example of white box testing for the flow described above. This screenshot will serve as our point of reference as we dive deeper into each connector functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*ceo5qyJWtqZ6NakVz_av5A.png" /></figure><h4>Third Step</h4><p>In this step, let’s do a brief overview of the logic used in this particular test. Test beggins with setting appropriate incoming payload and sending it to the corresponding flow. Furthermore, contents of 2 variables, firstNumber and secondNumber are checked to ensure that correct value has been extracted from the payload. In the end, let’s validate that logger has been called once to check that variable additionResult has been called and assert that output data is same as expected.</p><h4>Fourth Step</h4><p>As already mentioned, black box testing focuses on harmonizing the input and output data. Let’s take a look at example of white box testing for the flow described above. This screenshot will serve as our point of reference as we dive deeper into each connector functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*JrBCsYavgYeKqE2EA6auNg.png" /></figure><h4>Fifth Step</h4><p>In this step, let’s provide a concise overview of the logic employed in this particular black box test. The test begins with the setup of an incoming payload and the execution of the flow. We verify that the output data matches the expected results, ensuring that the system processes the input payload correctly and delivers the desired output. This end-to-end validation characterizes the essence of black box testing, offering insights into the software’s functionality from a user’s standpoint.</p><h4>Conclusion</h4><p>In summary, white box testing dives deep into code and algorithms, while black box testing mirrors the user’s experience, focusing on functionality. Together, they ensure robust, reliable software that meets user needs. This duality is key for comprehensive software testing, blending developer insights and user satisfaction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=627bc331ab92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validation Is true connector in MuleSoft]]></title>
            <link>https://medium.com/@dominik.kajba/validation-connector-in-mulesoft-741e8275ffee?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/741e8275ffee</guid>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Fri, 30 Jun 2023 13:33:41 GMT</pubDate>
            <atom:updated>2023-06-30T13:34:10.924Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In this blog, we delve into the intricacies of the “Validation is True” connector in MuleSoft. We explore its purpose, functionality, and how it can be utilized to enhance data integrity within integration workflows. Whether you’re an experienced MuleSoft developer or new to the platform, this blog aims to provide valuable insights into leveraging this connector effectively.</p><h4>Let’s take a look at our workflow!</h4><p>Before we start with single steps let’s take a look at a simple flow with a Listener calling an endpoint, Is true connector and logger at the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/0*odC3b1gN9J-3cVfG.png" /></figure><p><strong>First Step</strong></p><p>In order to successfully utilize Is not null connector, we must declare how our incoming payload looks like. In our case we will directly set it to false.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_lfzwHNR8CGjbOZj.png" /></figure><h4>Second Step</h4><p>Let’s take a look at logic inside of Is not null connector. It is straightforward, if payload has any other value greater than 0 proceed without any errors, otherwise throw error with “Your payload is null” error message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0UmuzakM5FmhC4xG.png" /></figure><h4>Third Step</h4><p>Let’s run the app, send the request from Postman and check what our logger displayed in the console. As we could expect, our payload had the value of false and we got corresponding error message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yDoZaIaEte4EWsT4.png" /></figure><h4>Conclusion</h4><p>In conclusion, the “Validation is True” connector in MuleSoft empowers you to enforce condition-based validations and maintain high data integrity within your integration projects. By implementing robust validation strategies, you can enhance the reliability and accuracy of data flowing through your systems, resulting in improved operational efficiency and informed decision-making.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=741e8275ffee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validation Is not null connector in MuleSoft]]></title>
            <link>https://medium.com/@dominik.kajba/validation-connector-in-mulesoft-ec133eb224bc?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec133eb224bc</guid>
            <category><![CDATA[mule]]></category>
            <category><![CDATA[anypoint-platform]]></category>
            <category><![CDATA[mulesoft]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Fri, 30 Jun 2023 13:22:42 GMT</pubDate>
            <atom:updated>2023-06-30T13:36:45.704Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In this blog, we delve into the intricacies of the “Validation is not null” connector in MuleSoft. We explore its purpose, functionality, and how it can be utilized to enhance data quality and reliability within integration workflows. Whether you’re a seasoned MuleSoft developer or a curious newcomer to the platform, this blog aims to provide valuable insights into leveraging this connector effectively.</p><h4>Let’s take a look at our workflow!</h4><p>Before we start with single steps let’s take a look at a simple flow with a Listener calling an endpoint, Is not null connector and logger at the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/0*sS2z_90fZvRgCPTb.png" /></figure><p><strong>First Step</strong></p><p>In order to successfully utilize Is not null connector, we must declare how our incoming payload looks like. In our case we will directly set it to null.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wTrWpmIoiGyS5v0n.png" /></figure><h4>Second Step</h4><p>Let’s take a look at logic inside of Is not null connector. It is straightforward, if payload has any other value greater than 0 proceed without any errors, otherwise throw error with “Your payload is null” error message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n6_g9s5wmKaLW8SI.png" /></figure><h4>Third Step</h4><p>Let’s run the app, send the request from Postman and check what our logger displayed in the console. As we could expect, our payload had the value of null and we got corresponding error message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nioAAdZAHDLJbgWY.png" /></figure><h4>Conclusion</h4><p>In conclusion, the “Validation is not null” connector in MuleSoft equips you with a powerful tool to enforce data quality and reliability in your integration projects. By implementing robust validation strategies, you can improve the accuracy, integrity, and consistency of data flowing through your systems, leading to enhanced operational efficiency and better decision-making.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec133eb224bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Best Practices for Building Secure APIs with MuleSoft]]></title>
            <link>https://medium.com/another-integration-blog/5-best-practices-for-building-secure-apis-with-mulesoft-babc25d9de75?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/babc25d9de75</guid>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Tue, 25 Apr 2023 12:30:22 GMT</pubDate>
            <atom:updated>2023-04-26T09:30:06.935Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>API security is a critical aspect of any integration project, and it’s especially important when building APIs that expose sensitive data or functionality. In this blog post, we’ll discuss five best practices for building secure APIs with MuleSoft. We’ll cover the key principles of API security and provide actionable tips for ensuring your APIs are secure using MuleSoft.</p><h3>Best Practice #1: Use a Secure Communication Protocol</h3><p>The first best practice for building secure APIs with MuleSoft is to use a secure communication protocol, such as HTTPS. HTTPS encrypts all data in transit between the client and server, preventing unauthorized access or interception of sensitive data. MuleSoft makes it easy to configure HTTPS for your APIs by providing built-in support for SSL/TLS certificates and key stores.</p><h3>Best Practice #2: Authenticate and Authorize API Requests</h3><p>The second best practice for building secure APIs with MuleSoft is to authenticate and authorize API requests. Authentication is the process of verifying the identity of the user or application making the request, while authorization is the process of determining whether the user or application has the necessary permissions to perform the requested action.</p><p>MuleSoft provides several out-of-the-box security policies that can be used to implement authentication and authorization for your APIs. These policies include Basic Authentication, OAuth 2.0, and SAML. By leveraging these policies, you can ensure that only authenticated and authorized users or applications can access your APIs.</p><h3>Best Practice #3: Implement Rate Limiting and Throttling</h3><p>The third best practice for building secure APIs with MuleSoft is to implement rate limiting and throttling. Rate limiting is the process of limiting the number of requests that can be made to an API within a certain time frame, while throttling is the process of limiting the rate at which requests can be made.</p><p>By implementing rate limiting and throttling, you can prevent malicious users or applications from overwhelming your API with requests, which can lead to denial of service (DoS) attacks. MuleSoft provides several out-of-the-box policies for implementing rate limiting and throttling, including the Throttling Policy and the Rate Limiting Policy.</p><h3>Best Practice #4: Encrypt Sensitive Data at Rest</h3><p>The fourth best practice for building secure APIs with MuleSoft is to encrypt sensitive data at rest. Encryption is the process of transforming data into a format that can only be read by someone with the correct decryption key. By encrypting sensitive data at rest, you can prevent unauthorized access to sensitive data in the event that your database or file system is compromised.</p><p>MuleSoft provides several built-in encryption options, including AES and RSA encryption. By leveraging these encryption options, you can ensure that sensitive data is protected even if your systems are breached.</p><h3>Best Practice #5: Implement Logging and Monitoring</h3><p>The fifth and final best practice for building secure APIs with MuleSoft is to implement logging and monitoring. Logging allows you to track and record all API requests and responses, which can be useful for identifying and responding to security incidents. Monitoring allows you to track API usage metrics, such as the number of requests and response times, which can be useful for identifying potential performance or security issues.</p><p>MuleSoft provides several built-in tools for logging and monitoring, including the MuleSoft Management Console (MMC) and Anypoint Analytics. By leveraging these tools, you can gain insights into API usage and quickly respond to security incidents.</p><h3>Conclusion</h3><p>Building secure APIs with MuleSoft requires a combination of best practices and tools. By following the five best practices outlined in this blog post — using a secure communication protocol, authenticating and authorizing API requests, implementing rate limiting and throttling, encrypting sensitive data at rest, and implementing logging and monitoring — you can ensure that your APIs are secure and protected from potential security threats. With MuleSoft.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=babc25d9de75" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/5-best-practices-for-building-secure-apis-with-mulesoft-babc25d9de75">5 Best Practices for Building Secure APIs with MuleSoft</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Correlation between parent and child POMs in MuleSoft]]></title>
            <link>https://medium.com/another-integration-blog/correlation-between-parent-and-child-pom-xml-b0ed6a107375?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0ed6a107375</guid>
            <category><![CDATA[pom]]></category>
            <category><![CDATA[mulesoft-training]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[maven]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 09:43:51 GMT</pubDate>
            <atom:updated>2023-04-26T09:26:48.516Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In MuleSoft, the POM file is typically used to define the dependencies and configurations needed for Mule applications and APIs. This includes things like Mule runtime version, third-party libraries, custom modules, and various other settings that affect how the project is built and run. In this article we are going to establish a connection between parent and child pom.xml on real time example.</p><h4>Advantages</h4><p>Reusability: By defining common configurations, properties, and dependencies in a parent POM, developers can reuse these settings across multiple child projects, reducing duplication and simplifying maintenance.</p><p>Consistency: Using a parent POM ensures that all child projects have the same basic configuration, which can help to maintain consistency across a larger codebase.</p><p>Scalability: When a project grows in complexity, it may become necessary to split it into multiple smaller projects. By using a parent POM, developers can easily manage these child projects, as they inherit the configuration and dependencies from the parent POM.</p><p>Flexibility: Child POMs can override or add new configurations or dependencies, while still inheriting the default configurations from the parent POM. This provides developers with flexibility in how they manage their projects.</p><p>Maintenance: Parent POMs can be updated to include new or updated dependencies or configurations, which can then be propagated to all child projects that inherit from them, simplifying the process of maintaining and upgrading project dependencies.</p><h4>Let’s start with an example!</h4><p>Before we start with single steps let’s create a simple parent pom.xml file with defined version of connectors we are using in the child project.</p><pre>&lt;!-- Parent POM --&gt;<br>&lt;project&gt;<br>  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;<br>  &lt;name&gt;Test Parent POM&lt;/name&gt;<br>  &lt;description&gt;A parent pom project to be used in documentation&lt;/description&gt;<br>  &lt;groupId&gt;com.mycompany&lt;/groupId&gt;<br>  &lt;artifactId&gt;parent-pom&lt;/artifactId&gt;<br>  &lt;version&gt;1.0.0-GC-TEST&lt;/version&gt;<br>  &lt;packaging&gt;pom&lt;/packaging&gt;<br>  <br>  &lt;properties&gt;<br>        &lt;activemq-client-version&gt;5.15.4&lt;/activemq-client-version&gt;<br>        &lt;mule-http-connector-version&gt;2.1.1&lt;/mule-http-connector-version&gt;<br>  &lt;/properties&gt;<br><br>&lt;/project&gt;</pre><p><strong>First Step</strong></p><p>In order to successfully inherit the values defined in parent pom.xml, first step is to run a maven command in the directory where parent pom.xml is located.</p><pre>mvn clean install</pre><p><strong>Second Step</strong></p><p>Second step is to copy create a reference between parent pom.xml and the child pom.xml file.</p><pre>&lt;parent&gt;<br>        &lt;groupId&gt;com.mycompany&lt;/groupId&gt;<br>        &lt;artifactId&gt;parent-pom&lt;/artifactId&gt;<br>        &lt;version&gt;1.0.0-GC-TEST&lt;/version&gt;<br>        &lt;relativePath/&gt;<br>&lt;/parent&gt;</pre><p><strong>Third Step</strong></p><p>Copy the code and put the dependencies in an appropriate place in your pom.xml file.</p><pre> &lt;dependencies&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;<br>   &lt;artifactId&gt;activemq-client&lt;/artifactId&gt;<br>   &lt;version&gt;${activemq-client-version}&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;org.mule.connectors&lt;/groupId&gt;<br>   &lt;artifactId&gt;mule-http-connector&lt;/artifactId&gt;<br>   &lt;version&gt;${mule-http-connector-version}&lt;/version&gt;<br>   &lt;classifier&gt;mule-plugin&lt;/classifier&gt;<br>  &lt;/dependency&gt;<br> &lt;/dependencies&gt;</pre><h4>Conclusion</h4><p>Overall, using parent and child POMs can simplify the process of managing complex MuleSoft projects, reduce duplication and inconsistency and provide greater flexibility and scalability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0ed6a107375" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/correlation-between-parent-and-child-pom-xml-b0ed6a107375">Correlation between parent and child POMs in MuleSoft</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jira Connector in MuleSoft]]></title>
            <link>https://medium.com/another-integration-blog/jira-connector-in-mulesoft-5bcd6e7ba1de?source=rss-a5d4c8600985------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bcd6e7ba1de</guid>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[integrate]]></category>
            <category><![CDATA[jira-software]]></category>
            <category><![CDATA[mulesoft]]></category>
            <category><![CDATA[and]]></category>
            <dc:creator><![CDATA[Dominik Kajba]]></dc:creator>
            <pubDate>Tue, 17 Jan 2023 14:28:28 GMT</pubDate>
            <atom:updated>2023-05-01T17:53:03.134Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>Jira is a powerful project management tool that helps teams organize, track, and prioritize their work. Developed by Atlassian, Jira is widely used by software development teams and other teams that use agile methodologies. One of the key features of Jira is its ability to create, track, and manage issues. Issues can be anything from bugs, tasks, or feature requests. Users can assign issues to team members, set priorities, and track progress through custom workflow statuses. Jira also allows users to create custom issue types, such as bugs, tasks, and stories, and customize the fields, tags, and labels associated with them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*X8JqW8lkaUqC2Sf8U-EcLw.jpeg" /></figure><h4>Let’s switch over to Anypoint Studio!</h4><p>In order to successfully use Jira Connector, we must register on the following <a href="https://www.atlassian.com/software/jira/free">link</a> to get all necessary information. I will provide you simple steps to gather them all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*P5jpQ7O1EbnPJOmxJbij1g.png" /></figure><p>To get the username, hover over circle in the right upper corner. To get the API Token, click on the circle in the right upper corner, select manage profile and security. When you got there, choose Create and manage API tokens to create or revoke all API tokens. Furthermore, we also need created project and issue which can be found at middle upper part of starting webpage.</p><h4><strong>Let’s take a look at our workflow!</strong></h4><p>Before we start with single steps let’s take a look at a simple flow with a Listener calling an endpoint and Add Comment connector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*MOaDTdL2Ksz-YDKGmCFHVQ.png" /></figure><p><strong>First Step</strong></p><p>In order to successfully utilize Add Comment connector, first step is to add a dependency from an exchange.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*8Df2huSWm_0W9_V32w5vQg.png" /></figure><h4><strong>Second Step</strong></h4><p>Based on Jira’s official documentation use this request body to add a value of “text” field to corresponding Jira task. Value of “text” field is only used for a simple example and can be replaced by your wishes.</p><pre>{<br>  &quot;body&quot;: {<br>    &quot;type&quot;: &quot;doc&quot;,<br>    &quot;version&quot;: 1,<br>    &quot;content&quot;: [<br>      {<br>        &quot;type&quot;: &quot;paragraph&quot;,<br>        &quot;content&quot;: [<br>          {<br>            &quot;text&quot;: &quot;Test comment&quot;,<br>            &quot;type&quot;: &quot;text&quot;<br>          }<br>        ]<br>      }<br>    ]<br>  }<br>}</pre><h4><strong>Third Step</strong></h4><p>Final key information we need is Issue Id Or Key that can be found when you click on existing Issue. Your value is going to be different than mine, but keep in mind that our profiles and projects are also different!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kq7_qZw5rl0XJ8N_fnCb0g.jpeg" /></figure><h4><strong>Fourth Step</strong></h4><p>Let’s take a look at our Add comment connector. Only difference between our connectors is Issue Id Or Key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ha7VDiK-jMf7NNbT2U2CpA.png" /></figure><h4><strong>Fifth Step</strong></h4><p>On the screenshot below we can see http request whose body contains json objects from second step and our local endpoint. Click send and let the magic happen!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Loz5zrwTEgA-ykz3P4OsA.png" /></figure><h4><strong>Sixth Step</strong></h4><p>Open the corresponding Jira task and check if new comment appeared. On the screenshot below it’s obvious that our http request was successful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KWrPiLX9kRfTwda_3cLI4g.png" /></figure><h4><strong>Conclusion</strong></h4><p>In conclusion, Jira is a powerful tool for managing and tracking software development projects. It offers a wide range of features and customization options, making it a great choice for teams of any size and experience level.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bcd6e7ba1de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/another-integration-blog/jira-connector-in-mulesoft-5bcd6e7ba1de">Jira Connector in MuleSoft</a> was originally published in <a href="https://medium.com/another-integration-blog">Another Integration Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>