<?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 Supun Randunu on Medium]]></title>
        <description><![CDATA[Stories by Supun Randunu on Medium]]></description>
        <link>https://medium.com/@supunrandunu?source=rss-53ab6bf04ddd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CcM1xT7cGFO6ZDwzwZnDZQ.jpeg</url>
            <title>Stories by Supun Randunu on Medium</title>
            <link>https://medium.com/@supunrandunu?source=rss-53ab6bf04ddd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:54:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@supunrandunu/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[Enhance Your WSO2 API Manager Performance with New Relic APM]]></title>
            <link>https://supunrandunu.medium.com/enhance-your-wso2-api-manager-performance-with-new-relic-apm-93cdba35a0d1?source=rss-53ab6bf04ddd------2</link>
            <guid isPermaLink="false">https://medium.com/p/93cdba35a0d1</guid>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[new-relic]]></category>
            <category><![CDATA[wso2-api-manager]]></category>
            <category><![CDATA[api-manager]]></category>
            <dc:creator><![CDATA[Supun Randunu]]></dc:creator>
            <pubDate>Tue, 11 Feb 2025 05:05:55 GMT</pubDate>
            <atom:updated>2025-02-11T05:15:28.685Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*okY0g-VnrS1xh5L405w5XQ.jpeg" /></figure><p>In today’s fast-paced digital landscape, ensuring your applications perform at their best isn’t just an option — it’s a necessity. This is where <strong>Application Performance Monitoring </strong>steps in, and <strong>New Relic APM</strong> is one of the industry’s leading solutions.</p><h3>Why New Relic APM?</h3><p>New Relic APM harnesses real-time data to track application performance and monitor the digital experiences of end users.</p><h3>Integrating New Relic APM with WSO2 API Manager</h3><p>If you’re using <strong>WSO2 API Manager</strong>, integrating it with New Relic APM can significantly boost your ability to monitor, diagnose, and optimize performance in real time. This integration helps identify bottlenecks, analyze API usage patterns, and maintain seamless digital experiences.</p><h3>Key Benefits:</h3><ul><li>Easy-to-set-up real-time instrumentation and analytics</li><li>Flexible instrumentation and dashboarding.</li><li>Guides appropriate engineer responses.</li><li>Correlates application performance to end-user experience.</li><li>Connects application and infrastructure performance.</li><li>Rich, detailed transaction data.</li><li>Real-time error analysis with on-demand diagnostic tools.</li><li>Integration with DevOps tooling.</li></ul><h3>How to Configure New Relic APM with WSO2 APIM</h3><p>Integrating New Relic with WSO2 APIM requires configuration on both ends:</p><p><strong>On the New Relic side:</strong></p><p><strong>Log in to New Relic:</strong> Start by logging in to the <a href="https://docs.newrelic.com/docs/apm/new-relic-apm/getting-started/introduction-apm/">New Relic website</a>. Once logged in, navigate to the Install APM section and click on Java Agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8AeRtdkk2Guq5XOX" /></figure><p><strong>Select an Instrumentation Method:</strong> After selecting the Java Agent, you will be directed to the Integration &amp; Agent section. Here, choose On a host as the instrumentation method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B73ebBHCHlGgmmKK" /></figure><p><strong>Generate and Save Your License Key: </strong>To proceed with the installation, you need to generate a license key. This key is essential for connecting your application to New Relic. Once generated, save it securely on your local machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k3B5fpe7P2w3Hk_V" /></figure><p><strong>Choose Your Operating System and Framework: </strong>Next, select your operating system from the available options. Under the framework selection, choose Other to proceed with the manual installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*en1AOYBGplhznxbQ" /></figure><p><strong>Download and Configure the New Relic Java Agent:</strong> Copy the provided curl command and run it in your terminal to download the New Relic Java Agent artifacts. Also make sure to provide the Name of your Application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nAEowmPForloiB8i" /></figure><p><strong>On the WSO2 APIM side:</strong></p><ol><li>Extract the downloaded New Relic agent to the &lt;APIM_HOME&gt; directory.</li><li>Verify the license key in the newrelic.yml file.</li><li>Add the following configuration to newrelic.yml:</li></ol><pre> class_transformer:<br><br>    enabled: true<br><br>    com.newrelic.instrumentation.tomcat-8.5.2:<br><br>      enabled: false<br><br>    com.newrelic.instrumentation.servlet-2.4:<br><br>      enabled: false</pre><p>4. Update the $JAVA_VER_BASED_OPTS in the api-manager.sh file by adding the following line:</p><pre>javaagent:$CARBON_HOME/newrelic/newrelic.jar \</pre><p>5. Start the WSO2 APIM server.</p><p>Navigate to the <a href="https://one.newrelic.com/">New Relic dashboard</a> and select your application. You will be able to see the APM data and gain insights into your application’s performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eMloQMGYjQry2WZZ8aZRoQ.png" /></figure><h3>Conclusion</h3><p>By following these steps, you can successfully install and configure the New Relic Java Agent for your application. With New Relic’s APM, you’ll gain valuable insights into your application’s health and performance, helping you optimize it for better efficiency and reliability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93cdba35a0d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[WSO2 Product Migration] APIM 3.2.0 |IS 5.10.0 to APIM 4.4.0 | IS 7.0.0]]></title>
            <link>https://supunrandunu.medium.com/migrating-from-wso2-apim-3-2-0-and-is-5-10-0-to-apim-4-4-0-and-is-7-0-0-992ad45ba449?source=rss-53ab6bf04ddd------2</link>
            <guid isPermaLink="false">https://medium.com/p/992ad45ba449</guid>
            <category><![CDATA[identity-server]]></category>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[apim]]></category>
            <category><![CDATA[wso2-migration]]></category>
            <category><![CDATA[migration]]></category>
            <dc:creator><![CDATA[Supun Randunu]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 04:34:17 GMT</pubDate>
            <atom:updated>2025-02-04T06:04:58.833Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kacqxTs_qIREShKGxuqx_g.jpeg" /></figure><p>WSO2 API Manager (APIM) and Identity Server (IS) are critical components in managing APIs and identity for organizations. If you currently have a resident Key Manager setup with APIM and IS, and you plan to migrate your products to the latest versions (e.g., APIM 4.4.0 and IS 7.x), there are specific steps you need to follow to ensure a smooth migration.</p><h3>Key Considerations</h3><ul><li>WSO2 API Manager 4.4.0 supports multiple Key Managers. By default, it comes prepackaged with an inbuilt resident Key Manager and has the capability to configure WSO2 Identity Server 7.x (WSO2 IS 7.x) as a Key Manager.</li><li>If you need to configure a separate Identity Server 7.x as a Key Manager, note that multi-tenancy is <strong>not supported</strong>. You will have to configure it as a third-party Key Manager through the IS connector.</li><li>Separate databases are required for both IS and APIM when setting up a standalone IS 7.x as the Key Manager.</li></ul><p>In this guide, we will walk you through the migration process from APIM 3.2.0 and IS 5.10.0 to APIM 4.4.0 and IS 7.0.0.</p><h3>Migration Process</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t6Lf2tS_mZNdKUYA" /></figure><h3>Step 1: Intermediate Upgrade to APIM 4.2.0 and IS 6.1.0</h3><p>The first step in the migration journey is to upgrade your current setup (APIM 3.2.0 and IS 5.10.0) to APIM 4.2.0 and IS 6.1.0. WSO2 provides detailed documentation on migrating between these versions. Ensure you:</p><ol><li>Backup all existing databases and configurations.</li><li>Follow the migration guide to upgrade both APIM and IS to their respective intermediate versions.</li></ol><h3>Step 2: Database Separation for APIM and IS</h3><p>Once the intermediate upgrade is complete, you need to prepare for the final migration to APIM 4.4.0 and IS 7.0.0. Since separate databases are required for APIM and IS:</p><ol><li>Create copies of the migrated databases.</li><li>One database copy will be dedicated to IS 7.0.0</li><li>The other database copy will be dedicated to APIM 4.4.0.</li><li>Ensure that the database configurations in both APIM and IS are updated accordingly.</li></ol><h3>Step 3: Final Migration to APIM 4.4.0 and IS 7.0.0</h3><p>Now, proceed with migrating to the latest versions:</p><ol><li><strong>APIM 4.4.0:</strong></li></ol><ul><li>Follow the WSO2 migration documentation for upgrading from APIM 4.2.0 to 4.4.0.</li><li>Update the database configuration to point to the dedicated APIM database.</li></ul><p><strong>2. IS 7.0.0:</strong></p><ul><li>Update the database configuration to point to the dedicated IS database.</li><li>Follow the migration guide for IS to upgrade from 6.1.0 to 7.0.0.</li><li>Configure IS 7.0.0 as a third-party Key Manager using admin portal.</li></ul><h3>Step 4: Handling Database Tables</h3><p>When replicating the APIM database for IS 7.0.0, some irrelevant tables required for APIM will also be included. While these tables exist in IS, they do not affect its functionality. You can safely ignore them.</p><h3>Summary</h3><p>Migrating from APIM 3.2.0 and IS 5.10.0 to APIM 4.4.0 and IS 7.0.0 involves:</p><ol><li>Upgrading to intermediate versions (APIM 4.2.0 and IS 6.1.0).</li><li>Replicate separate databases for APIM and IS.</li><li>Performing the final migration to the latest versions.</li><li>Configuring IS 7.0.0 as a third-party Key Manager.</li></ol><p>By following these steps, you can ensure a seamless migration while leveraging the latest features of WSO2 APIM and IS. Always consult the official WSO2 documentation for detailed guidance during each migration phase.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=992ad45ba449" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WSO2 APIM Migration Process]]></title>
            <link>https://supunrandunu.medium.com/wso2-apim-migration-process-6d70244853e4?source=rss-53ab6bf04ddd------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d70244853e4</guid>
            <category><![CDATA[apim-migration]]></category>
            <category><![CDATA[wso2-migration]]></category>
            <category><![CDATA[apim]]></category>
            <category><![CDATA[wso2-api-manager]]></category>
            <category><![CDATA[wso2]]></category>
            <dc:creator><![CDATA[Supun Randunu]]></dc:creator>
            <pubDate>Sun, 12 Jan 2025 13:11:34 GMT</pubDate>
            <atom:updated>2025-02-04T06:12:53.608Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Devs!,</p><p>This blog outlines the general WSO2 APIM migration process, including the basic steps and best practices that customers should follow during the WSO2 APIM product migration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u4gb4oRWqzP16X5iANXGAw.jpeg" /></figure><p>In this blog, I explain the migration process from APIM 3.2.0 to APIM 4.2.0. While there may be slight deviations in the process depending on the product versions you are migrating, the general approach remains consistent.</p><p>The WSO2 migration process provides a sophisticated migration client that is responsible for migrating all essential information, including APIs, API Products, Applications, Subscriptions, Tokens, Scopes, Users, and more, to ensure a seamless migration experience.</p><p>To obtain the migration resources and documentation, you need to contact WSO2 support.</p><p><strong>Overview of the WSO2 Migration Process</strong></p><p>WSO2 employs a blue-green migration approach to ensure minimal downtime and data integrity. This involves setting up a new deployment (green environment) that points to a separate database restored from a backup (snapshot) of the existing deployment (blue environment).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ejotSBp2bxhUWERx" /></figure><p><strong>Steps for Migration</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gKF2u8vqLD2VL9yz" /></figure><p>When you start the migration you have to follow 3 main stages.</p><ul><li><strong>Fresh Deployment</strong></li></ul><p>As a first step, the you needs to set up a fresh deployment based on the same deployment architecture used previously, targeting the WSO2 4.2.0 API Manager product (green environment). Next, You should migrate the configurations and customizations that you used in API Manager 3.2.0. For the customization, you needs to update the WSO2 dependencies of the source projects and code if required and rebuild the jars. For the configurations, You need to apply all the additional toml configuration added to the deployment.toml file in APIM 3.2.0 to the corresponding deployment.toml file in APIM 4.2.0. Also, make sure to update the API template files if you made any changes to them in APIM 3.2.0. Once this config and customization migration is complete, You need to test this deployment with your use case by applying the customization and configuration with fresh databases.</p><p>The validation of this fresh deployment is crucial as it allows you to identify deployment-related issues before the migration process. Skipping these steps would make it challenging to isolate migration-related issues from deployment issues.</p><p>The fresh databases are used only for validating the fresh deployment, and once the validation is complete, you can remove the databases.</p><ul><li><strong>Run the Migration</strong></li></ul><p>After completing the setup and validation of the fresh deployment, you need to select one APIM node(CP) to perform the migration. Next, you should remove the fresh databases and point to the database dump which was taken from the APIM 3.2.0 environment. Finally, execute the migration scripts and clients, and the database dump will migrate to APIM 4.2.0. Once this migration is complete, you can also point this migrated database to other nodes and start the full deployment.</p><ul><li><strong>Post Migration Validation</strong></li></ul><p>After completing the migration, you can test the migrated setup using your own automation scripts. If everything went well during the testing phase, you can redirect the traffic from APIM 3.2.0 to the APIM 4.2.0 environment.</p><p><strong>Note: If you don’t have downtime, Once you obtain the DB dump from APIM 4.0.0, you should announce a read-only or freezing window during migration period in which no new APIs, applications, user or subscriptions can be created.</strong></p><p>WSO2 migration can be a bit challenging, especially when dealing with live traffic. If you are planning to upgrade your deployment, I highly recommend reaching out to the WSO2 support team for a seamless migration journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d70244853e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>