<?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 Randy Navagamuwa on Medium]]></title>
        <description><![CDATA[Stories by Randy Navagamuwa on Medium]]></description>
        <link>https://medium.com/@rnavagamuwa?source=rss-472a19796208------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lAVm8d7TKVq1VL06SfH2yg.jpeg</url>
            <title>Stories by Randy Navagamuwa on Medium</title>
            <link>https://medium.com/@rnavagamuwa?source=rss-472a19796208------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 13:12:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rnavagamuwa/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[The Future of Data Architecture: Query Everything, Move Nothing]]></title>
            <link>https://rnavagamuwa.medium.com/the-future-of-data-architecture-query-everything-move-nothing-544a41af19ee?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/544a41af19ee</guid>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Thu, 12 Mar 2026 02:31:02 GMT</pubDate>
            <atom:updated>2026-03-12T11:30:31.072Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bdeICUvtcoP3dAJx1ilESA.png" /><figcaption><strong>Starburst connects data across multiple platforms, enabling BI and AI without moving data between systems.</strong></figcaption></figure><p>Organizations today want to do more with their data than ever before. Business Intelligence (BI), analytics platforms, and emerging AI systems all depend on quick access to reliable data.</p><p>But in reality, most companies face a common problem: their data is spread across many systems.</p><p>This is where <a href="https://www.starburst.io/">Starburst</a> comes in.</p><h3>The Challenge: Data Is Everywhere</h3><p>Modern organizations store data in many places:<br> • Data lakes<br> • Data warehouses<br> • Relational databases<br> • SaaS applications<br> • Real-time data platforms<br> • On-premise systems</p><p>Each system serves a purpose, but the fragmentation creates challenges:<br> • BI teams struggle to access all relevant data<br> • AI initiatives lack unified, trusted datasets<br> • Data pipelines become complex and expensive<br> • Data duplication increases costs<br> • Governance and security become harder to manage</p><p>Many companies attempt to solve this by centralizing all data into a single cloud warehouse or data lake.</p><p>While this approach works in some cases, it also introduces friction.</p><h3>The Limits of “Centralize Everything”</h3><p>Cloud data warehouses are powerful, but they are not always the perfect solution.</p><p>They work well for:<br> • Stable datasets<br> • Standardized reporting<br> • Traditional analytics workflows</p><p>However, challenges appear when organizations try to move all data into one place:<br> • Data movement causes delays<br> • Costs increase due to duplication and pipelines<br> • Some data cannot move due to regulatory or sovereignty requirements<br> • Legacy systems remain outside the platform</p><p>As a result, companies often end up with multiple disconnected data systems.</p><h3>A Different Approach: Query Data Where It Lives</h3><p>Instead of forcing all data into one system, Starburst enables organizations to access data wherever it resides.</p><p>Starburst is built on <a href="https://trino.io/">Trino</a>, a high-performance distributed SQL query engine. It connects to many data sources and allows users to query them as if they were a single platform.</p><p>This means teams can:<br> • Query across multiple systems with SQL<br> • Join data from different platforms<br> • Avoid unnecessary data movement<br> • Maintain governance and security policies</p><p>In short, Starburst creates a unified data access layer across the entire data ecosystem.</p><h3><strong>Enabling BI, Analytics, and AI</strong></h3><p>By connecting all data sources, Starburst helps organizations unlock more value from their data.</p><p>Teams can:<br> • Power BI dashboards with data from multiple systems<br> • Enable data scientists to access broader datasets<br> • Build AI models on trusted enterprise data<br> • Reduce time spent building pipelines</p><p>Instead of waiting for data to be copied into a central warehouse, analysts and AI systems can <strong>access the data immediately.</strong></p><h3>Where Starburst Fits in a Modern Data Architecture</h3><p>Starburst works alongside existing platforms rather than replacing them.</p><p>Organizations can continue using:<br> • Cloud data warehouses<br> • Data lakes<br> • Real-time analytics systems<br> • Operational databases</p><p>Starburst simply connects them together and provides a unified query layer.</p><p>This approach allows companies to move faster while still maintaining flexibility in their data architecture.</p><h3>Final Thoughts</h3><p>Data is the foundation of modern analytics and AI. But the biggest obstacle is rarely the technology, it’s the <strong>complexity of accessing data across many systems.</strong></p><p>Starburst solves this by providing a single SQL interface across distributed data sources, allowing organizations to unlock insights without moving or duplicating their data.</p><p>In a world where BI and AI demand more data than ever, this approach helps organizations deliver value faster from their existing data platforms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=544a41af19ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Extending WSO2 API Manager — Service Chaining]]></title>
            <link>https://rnavagamuwa.medium.com/extending-wso2-api-manager-service-chaining-484c45a58ac3?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/484c45a58ac3</guid>
            <category><![CDATA[wso2-api-manager]]></category>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[wso2-apim]]></category>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 10:27:05 GMT</pubDate>
            <atom:updated>2021-02-11T06:31:34.342Z</atom:updated>
            <content:encoded><![CDATA[<h3>Extending WSO2 API Manager — Service Chaining</h3><p>Service chaining is a popular integration use-case. Most of the times, a single service needs to be exposed by combining multiple resources. Assume that there are two services available and they need to be called sequentially. The ideal way to implement this is via service chaining. <a href="https://wso2.com/integration/">WSO2 Enterprise Integrator</a>[1] is a leading open source integration platform and this use-case can be implemented easily via this product. Refer to <a href="https://ei.docs.wso2.com/en/7.2.0/micro-integrator/use-cases/tutorials/exposing-several-services-as-a-single-service/">this</a>[2] documentation for more information on implementing this with WSO2 Enterprise Integrator. Even though this can be achieved with either WSO2 API Manager or WSO2 API Manager, this blog explains the way to do this only with WSO2 API Manager. The reason for using only the API Manager is explained under the “Service Chaining” sub-topic.</p><h3>Use case</h3><p>Assume that there is an organization where they have a custom “ validation service&quot; implemented. The purpose of this service is to check whether that request has permission to access that particular service. That means each request should go through this &quot; validation service &quot;. Yes, this is somewhat similar to authorization but the difference is this needs to be done at the backend layer instead of the authentication layer. Refer to the below components diagram to get a clear idea on the flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*6dWxzBq4Ff9sMRBT-0dCyA.png" /></figure><h3>Solution</h3><p><strong>API Management</strong></p><p>Since the expected security mechanisms are not implemented at the backend layer, having a proper API Management solution is a must. To achieve this, <a href="https://wso2.com/api-management/">WSO2 API Manager</a>[3] will be used. WSO2 API Manager is a fully-fledged API Management solution that can be used to expose web services as managed APIs.</p><p><strong>Service Chaining</strong></p><p>Since the API Management requirements are catered by WSO2 API Manager, let’s focus on the service chaining use-case. As we have discussed earlier, WSO2 Enterprise Integrator can be easily used here to achieve this. But, due to the following reasons, having a separate integration layer doesn’t really makes sense.</p><ul><li>There will be only a single integration use-case which is this service chaining scenario.</li><li>Having a separate integration layer means more infrastructure and that means more cost.</li><li>With a separate integration layer the management will also be a bit complex.</li></ul><p>Since there is a single integration use-case, all the burden we’ll have to face if we have a separate integration layer doesn’t make any sense here.</p><p>In this case, we can utilise the extending capabilities of WSO2 API Manager. Since WSO2 API Manager’s runtime is built using the same WSO2 Enterprise Integrator this can be achieved very easily.</p><p><strong>Extending WSO2 API Manager</strong></p><p>When it comes to achieving this via WSO2 API Manager, there are two approaches</p><ol><li><a href="https://apim.docs.wso2.com/en/latest/learn/api-gateway/message-mediation/changing-the-default-mediation-flow-of-api-requests/">Implement this using a custom mediation sequence</a>[4]<br>The API Gateway has a default mediation flow and if required custom mediation flows can be selected. Whenever an API is created custom mediation sequence can be chosen for in-flow, out-flow, or fault-flow as per the requirement. This approach is easier when compared to the 2nd approach but if you want to deploy this across all the APIs, having a custom handler will make more sense.</li><li><a href="https://apim.docs.wso2.com/en/latest/develop/extending-api-manager/extending-gateway/writing-custom-handlers/">Implement this via a custom handler</a>[5]<br>Custom Handler is a way of extending API Manager which the product offer to change the API flow through the API Gateway. This approach is a bit complex as a custom java code needs to be written but the advantage is the logic can be applied at the gateway layer so all the APIs will inherit this and you don’t need to configure this per API.</li></ol><h3>Backend services</h3><p>The required mock backend service can be found in the <a href="https://github.com/rnavagamuwa/service-chaining-mock-services">github.com/rnavagamuwa/service-chaining-mock-services</a>[6] repository and the following services are implemented there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*abuYVmAHYOxd8sceOMm1lQ.png" /><figcaption>Swagger UI for the mock services</figcaption></figure><p>Since this is just a demonstration “device_19th6281” needs to be passed as the scope in order to access the “userservice”. So the sample JSON payload is as follows.</p><pre>{ &quot;scope&quot;:&quot;device_19th6281&quot;, &quot;service&quot;:&quot;userservice&quot; }</pre><h3>Implementation</h3><p>If you are not familiar with WSO2 API Manager, please refer to t <a href="https://apim.docs.wso2.com/en/latest/learn/api-controller/getting-started-with-wso2-api-controller/">his documentation</a>[7] first for more information.</p><p>The following mediation sequence can be used to implement this through a custom mediation sequence.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d2d7056a9547f191a5afa163f06203c/href">https://medium.com/media/4d2d7056a9547f191a5afa163f06203c/href</a></iframe><p>The above custom mediation can be easily enabled per API and please refer to <a href="https://apim.docs.wso2.com/en/latest/learn/api-gateway/message-mediation/changing-the-default-mediation-flow-of-api-requests/">this</a>[4] documentation for more information.</p><p><strong>2. Implement using a custom handler</strong></p><p>With this approach, this validation will be implemented across all the APIs. Exact implementation steps can be found in this <a href="https://apim.docs.wso2.com/en/latest/develop/extending-api-manager/extending-gateway/writing-custom-handlers/">documentation</a>[5].</p><p>The source code of the implemented custom handler can be found in <a href="https://github.com/rnavagamuwa/custom-auth-handler-wso2-apim">https://github.com/rnavagamuwa/custom-auth-handler-wso2-apim</a> and this was done by extending the “ <em>org.apache.synapse.rest.AbstractHandler</em> “ class.</p><p>First, the custom handler <a href="https://github.com/rnavagamuwa/custom-auth-handler-wso2-apim/blob/main/target/customAuthHandler-1.0-SNAPSHOT.jar">jar file</a>[8] needs to be placed in the &lt;APIM_HOME&gt;/repository/components/lib directory.</p><p>To engage the custom handler with it’s logic, that needs to be added to the velocity_template.xml file which can be found in &lt;APIM_HOME&gt;/repository/resources/api_templates/velocity_template.xml directory. The following can be used to enable this in the velocity_template.xml.</p><pre>&lt;handler class=&quot;com.rnavagamuwa.wso2.customAuthHandler.CustomAuthHandler&quot;&gt;<br>    &lt;property name=&quot;authUrl&quot; value=&quot;http://localhost:8595/api/validate&quot;/&gt;<br>&lt;/handler&gt;</pre><p>My current velocity template can be found <a href="https://gist.github.com/rnavagamuwa/b0a986a1afac8300be3cc22c154d42c4">here</a>[9]</p><p><strong>Special Note:</strong> The ideal way to implement mediations is through a proper integration layer such as WSO2 Enterprise Integrator[1], but there might be use cases where that will be a waste of resources, and for that kind of use cases this approach is better.</p><p>[1] <a href="https://wso2.com/integration/">https://wso2.com/integration/</a><br>[2] <a href="https://ei.docs.wso2.com/en/7.2.0/micro-integrator/use-cases/tutorials/exposing-several-services-as-a-single-service/">https://ei.docs.wso2.com/en/7.2.0/micro-integrator/use-cases/tutorials/exposing-several-services-as-a-single-service/</a><br>[3] <a href="https://wso2.com/api-management/">https://wso2.com/api-management/</a><br>[4] <a href="https://apim.docs.wso2.com/en/latest/learn/api-gateway/message-mediation/changing-the-default-mediation-flow-of-api-requests/">https://apim.docs.wso2.com/en/latest/learn/api-gateway/message-mediation/changing-the-default-mediation-flow-of-api-requests/</a><br>[5] <a href="https://apim.docs.wso2.com/en/latest/develop/extending-api-manager/extending-gateway/writing-custom-handlers/">https://apim.docs.wso2.com/en/latest/develop/extending-api-manager/extending-gateway/writing-custom-handlers/</a><br>[6] <a href="https://github.com/rnavagamuwa/service-chaining-mock-services">https://github.com/rnavagamuwa/service-chaining-mock-services</a><br>[7] <a href="https://apim.docs.wso2.com/en/latest/learn/api-controller/getting-started-with-wso2-api-controller/">https://apim.docs.wso2.com/en/latest/learn/api-controller/getting-started-with-wso2-api-controller/</a><br>[8] <a href="https://github.com/rnavagamuwa/custom-auth-handler-wso2-apim/blob/main/target/customAuthHandler-1.0-SNAPSHOT.jar">https://github.com/rnavagamuwa/custom-auth-handler-wso2-apim/blob/main/target/customAuthHandler-1.0-SNAPSHOT.jar</a><br>[9] <a href="https://gist.github.com/rnavagamuwa/b0a986a1afac8300be3cc22c154d42c4">https://gist.github.com/rnavagamuwa/b0a986a1afac8300be3cc22c154d42c4</a></p><p><em>Originally published at </em><a href="https://rnavagamuwa.com/open-source/extending-wso2-api-manager-service-chaining/"><em>https://rnavagamuwa.com</em></a><em> on February 2, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=484c45a58ac3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Publish WSO2 APIM Logs to Elasticsearch — The TechFootPrint]]></title>
            <link>https://rnavagamuwa.medium.com/publish-wso2-apim-logs-to-elasticsearch-the-techfootprint-c52006dbc012?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/c52006dbc012</guid>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[api-management]]></category>
            <category><![CDATA[wso2-apim]]></category>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Mon, 13 Jul 2020 18:29:02 GMT</pubDate>
            <atom:updated>2021-02-11T06:38:46.301Z</atom:updated>
            <content:encoded><![CDATA[<h3>Publish WSO2 APIM Logs to Elasticsearch — The TechFootPrint</h3><p>WSO2 API Manager is a fully open-source full lifecycle API Management solution that can be run anywhere. It can be deployed on-prem, on a private cloud, is available as a service on cloud or deployed in a hybrid fashion where its components can be distributed and deployed across multiple cloud and on-prem infrastructures.</p><p>Even though WSO2 API Manager comes with its own <a href="https://apim.docs.wso2.com/en/latest/learn/analytics/overview-of-api-analytics/">Analytics Components</a> sometimes it’s very useful to have a central Analytics Dashboard for all the components in the enterprise including WSO2 Components. Whenever there is a requirement like this <a href="https://www.elastic.co/what-is/elk-stack">ELK Stack</a> is one of the best solutions available these days. Analytics statistics can be published to ELK Stack we can get rid of the API Manager’s analytics component as well but this post is on publishing only the logs to ELK Stack.</p><h3>Components of the ELK Stack</h3><ul><li>Beats — <a href="https://www.elastic.co/beats/">https://www.elastic.co/beats/</a><br>Beats is a free and open platform for single-purpose data shippers. They send data from hundreds or thousands of machines and systems to Logstash or Elasticsearch.</li><li>Logstash — <a href="https://www.elastic.co/logstash">https://www.elastic.co/logstash</a><br>Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite “stash.”</li><li>Elasticsearch — <a href="https://www.elastic.co/what-is/elasticsearch">https://www.elastic.co/what-is/elasticsearch</a><br>Elasticsearch is a distributed, open source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its simple REST APIs, distributed nature, speed, and scalability, Elasticsearch is the central component of the Elastic Stack, a set of open source tools for data ingestion, enrichment, storage, analysis, and visualization. Commonly referred to as the ELK Stack (after Elasticsearch, Logstash, and Kibana), the Elastic Stack now includes a rich collection of lightweight shipping agents known as Beats for sending data to Elasticsearch.</li><li>Kibana — <a href="https://www.elastic.co/kibana">https://www.elastic.co/kibana</a><br>Kibana is a free and open user interface that lets you visualize your Elasticsearch data and navigate the Elastic Stack. Do anything from tracking query load to understanding the way requests flow through your apps.</li></ul><h3>Components Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nGw_mlAd0EN0mr3K8yqBKw.png" /></figure><p>WSO2 APIM ELK Integration</p><p>The logging framework of WSO2 products is built on top of log4j and all the log configurations can be changed on the log4j.properties file. Please refer to <a href="https://apim.docs.wso2.com/en/latest/administer/logging-and-monitoring/logging/setting-up-logging/">this</a> for more information on setting up logging on WSO2 API Manager</p><p>As shown in the above diagram, the API Manager will publish logs to a predefined directory and that directory is mounted into Filebeat. Then Filebeat will stream the new logs to Logstash. In Logstash we can have filters and based on the predefined filters it will decide what logs should be fed into ElasticSearch. When passing logs to ElasticSearch, Logstash has the capability to parameterize the data, so those parameters can be used to query them accordingly. Kibana will be fetching data from ElasticSearch and visualize them according to the user needs. Any custom dashboard can be drawn there. Those defined parameters can be used for this.</p><h3>Implementation</h3><h4>Download the components</h4><ul><li>WSO2 APIM<br>WSO2 API Manager can be downloaded from the website and start as it is. Please refer to <a href="https://apim.docs.wso2.com/en/latest/install-and-setup/install/installing-the-product/installing-the-product/">this</a> for more information on this. For the moment let’s go ahead with the product binary.</li><li>ELK Stack<br>Filebeat, Logstash, ElasticSearch, and Kibana can be downloaded from their <a href="https://www.elastic.co/downloads/">website</a>.</li></ul><h4>Configuring and starting the components</h4><p><strong>WSO2 APIM<br></strong> There is nothing to configure here. Please note that the logs will be persisted in ‘wso2am-3.1.0/repository/logs/’ directory. Start the product using the startup script.</p><pre>rnavagamuwa@randikan bin % ./wso2server.sh</pre><p>After extracting the binary open the ‘filebeat.yml’ file. All the configuration required for this needs to be done here. As a Filebeat input let’s configure log type and point the path to ‘wso2carbon.log’ file. If there is a requirement to feed all the log files then instead of specifying the log file name, ‘*’ can be used. The configured ‘filebeat.yml’ should look like <a href="https://gist.github.com/rnavagamuwa/0a815b2599ba93e566e39f77436f6a9e">this</a>. Change the path according to your file system. Then start the component by executing the ‘ <em>filebeat</em> ‘ script.</p><pre>rnavagamuwa@randikan filebeat-7.7.1-darwin-x86_64 % ./filebeat</pre><p><strong>Logstash</strong><br>A <a href="https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html">GROK Filter</a> has to be configured here and following is the complete GROK filter I have used. Save it as ‘logstash-beat.conf’. Here we are directly passing all the logs, but you can write your own GROK filter according to the requirement.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7142764db91dd99ce756f0b06c5498ed/href">https://medium.com/media/7142764db91dd99ce756f0b06c5498ed/href</a></iframe><p><a href="https://grokdebug.herokuapp.com/">This</a> is a very handy tool that can be used to write proper GROK filters. You can debug even before deploying it. When starting the product don’t forget to pass the created GROK filter config file.</p><pre>rnavagamuwa@randikan bin % ./logstash -f ../config/logstash-beat.conf</pre><p><strong>ElasticSearch</strong><br>Since we are using all the default configurations, there is nothing for us to do on ElasticSearch.</p><pre>rnavagamuwa@randikan bin % ./elasticsearch</pre><p><strong>Kibana</strong><br>Finally let’s start the Kibana server too.</p><pre>rnavagamuwa@randikan bin % ./kibana</pre><h4>Visualizing in Kibana</h4><p>Once all the above steps are completed, you can open Kibana by visiting http(s)://your_kibana_host/5061 in your browser. Make sure that you have pushed some data (logs and statistics) to Elasticsearch beforehand. Make your first Index Pattern — “logstash-*” , by clicking the create button. All the available variables including the custom variables will be available on Kibana dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MHk7lhxAuCWRQNv15lUGvg.png" /><figcaption>Available fields on Kibana</figcaption></figure><p>Then create the required dashboard by choosing the needed variables.</p><p>This is a very short blog post on configuring ELK Stack with WSO2 APIM and I’m planning to write another post on having distributed tracing across multiple WSO2 products using the ELK stack.</p><p>Please comment below or email me if you have any concerns regarding this blog post.</p><p><em>Originally published at </em><a href="https://rnavagamuwa.com/open-source/publish-wso2-apim-logs-to-elasticsearch/"><em>https://rnavagamuwa.com</em></a><em> on July 13, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c52006dbc012" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Oracle Database 11g Express Edition on CentOS 6.x]]></title>
            <link>https://rnavagamuwa.medium.com/install-oracle-database-11g-express-edition-on-centos-6-x-6a853e48bbbc?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a853e48bbbc</guid>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[centos]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[rdbms]]></category>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Fri, 04 May 2018 10:22:46 GMT</pubDate>
            <atom:updated>2018-05-04T12:05:26.428Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*MYcLtt7f0yzBYOAV_Wj63g.png" /></figure><p>Oracle database is one of the most widely used relational database management systems (<strong>RDBMS</strong>) in enterprise environments. Developed, maintained, and supported by Oracle Corporation, this RDBMS is often installed on top of a flavor of Enterprise Linux (RHEL, CentOS, or Scientific Linux). This makes for a very robust operating system — database choice.</p><p>In this article, I will explain how to install Oracle Database 11g Express Edition on CentOS 6.x</p><ul><li>Product: Oracle Database 11g Express Edition</li><li>Version : 11.2.0.2.0</li></ul><h4>Steps</h4><ol><li><strong>Install Oracle Dependencies</strong><br>Use “<strong>oracle-rdbms-server-11gR2-preinstal</strong>l” package offered by “<strong>Oracle Public Yum</strong>” repository. The Oracle public yum repository provides a free and easiest way to install all the latest Oracle Linux dependencies automatically.</li></ol><p>To setup yum repository, follow the instructions provided below.</p><pre>cd /etc/yum.repos.d<br>wget https://public-yum.oracle.com/public-yum-ol6.repo<br>yum install oracle-rdbms-server-11gR2-preinstall</pre><p><strong>Note :</strong> While importing <strong>GPG</strong> key, you might get “GPG key retrieval failed” error as shown below.</p><pre>Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle<br>GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle</pre><p>Download and verify the appropriate Oracle Linux <strong>GPG</strong> Key</p><pre>wget <a href="https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6">https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6</a> -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle</pre><p>2. <strong>Setting Hostname</strong></p><p>Open the <strong>“/etc/sysconfig/network”</strong> file and modify the <strong>HOSTNAME</strong> to match your <strong>FQDN</strong> (Fully Qualified Domain Name) hostname.</p><pre>vi /etc/sysconfig/network<br>HOSTNAME=oracle.rnavagamuwa.com</pre><pre>vi /etc/hosts<br>&lt;public-ip&gt;  oracle.rnavagamuwa.com rnavagamuwa</pre><p>Now you need to restart networking on the server to make sure that changes will be persistent on reboot.<br><strong>/etc/init.d/network restart</strong></p><p>2. <strong>Oracle User Settings</strong></p><ul><li>et the password for the “oracle” user.<br><strong> passwd oracle</strong></li><li>Add the entry to file “<strong>/etc/security/limits.d/90-nproc.conf</strong>” as described below.<br><strong> vi /etc/security/limits.d/90-nproc.conf<br> * — nproc 16384</strong></li><li>Set SELinux to “permissive” mode by editing the file “<strong>/etc/selinux/config</strong>“.<br><strong> vi /etc/selinux/config</strong><br><strong> SELINUX=permissive</strong></li><li>Restart the server to reflect new changes.</li><li>Login as Oracle user and open file “<strong>.bash_profile</strong>“, which is available on oracle user’s home directory, make an entry as described below.<strong><br># Oracle Settingsexport PATH=/usr/java/default/bin:$PATH<br>. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh</strong></li></ul><p>4. <strong>Create a 2GB swap file</strong></p><ul><li>Create the file to be used for swap.<br><strong> sudo fallocate -l 2G /mnt/2GB.swap</strong></li><li>Format the file for swap.<br><strong> sudo mkswap /mnt/2GB.swap</strong></li><li>Add the file to the system as a swap file.<br><strong> sudo swapon /mnt/2GB.swap</strong></li><li>Add this line to the end of<strong> /etc/fstab</strong> to make the change permanent.<br><strong> /mnt/2GB.swap none swap </strong>sw<strong> 0 0</strong></li><li>To change the swappiness value edit <strong>/etc/sysctl.conf</strong> and add the following line.<br><strong> vm.swappiness=10</strong><br>Start with a value of 10 and increase if needed. A typical default value for swappiness is 60. The higher the number (up to 100), the more often swap is utilized.<br>How much swappiness affects performance depends on how your memory is being used, so experiment to find an optimal value. At 0 the swap file will only be used when the system runs completely out of memory. Higher values let the system swap idle processes out to allow the system to free memory for disk caching, potentially improving overall system performance.</li><li>Check that the swap file was created.<br><strong> sudo swapon -s</strong></li><li>Set correct permissions to the swap file<br><strong> chmod 600 /mnt/2GB.swap</strong></li></ul><p>5. Download and install software</p><ul><li>Download oracle DB from <a href="http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html">here</a>.</li><li>Unzip and install the rpm package.<br> <strong>rpm -i oracle-xe-11.2.0–1.0.x86_64.rpm</strong></li></ul><h3>Call To Action</h3><ul><li><strong>Clap.</strong> Appreciate and let others find this article.</li><li><strong>Comment.</strong> Share your views on this article.</li><li><strong>Follow me. </strong><a href="https://medium.com/@rnavagamuwa">Randika Navagamuwa</a><strong> </strong>to receive updates on articles like this.</li><li><strong>Keep in touch. </strong><a href="https://www.linkedin.com/in/rnavagamuwa/">LinkedIn</a>, <a href="https://twitter.com/rnavagamuwa">Twitter</a>, <a href="https://rnavagamuwa.com/">The TechFootPrint</a></li></ul><p><em>Originally published at </em><a href="https://rnavagamuwa.com/open-source/install-oracle-database-11g-express-edition-on-centos-6-x/">rnavagamuwa.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a853e48bbbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improve your AWS lambda development with SIGMA]]></title>
            <link>https://medium.com/think-serverless/improve-your-aws-lambda-development-with-sigma-cceea1009e9a?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/cceea1009e9a</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[lambda]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[slappforge]]></category>
            <category><![CDATA[sigma]]></category>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Wed, 28 Feb 2018 11:40:32 GMT</pubDate>
            <atom:updated>2018-03-27T08:28:18.507Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*FuIG9GUFQP4hJYfUMt_Fgw.png" /></figure><p>A few weeks back, I wrote an article about implementing a <a href="https://medium.com/@rnavagamuwa/simple-authentication-service-with-aws-lambda-63c9c20da696">Simple Authentication Service with AWS Lambda</a>. Implementing that service was not that straightforward. If you are doing that on your own, then you need to go through several docs on <a href="https://aws.amazon.com/api-gateway/">API Gateway</a>, <a href="https://aws.amazon.com/rds/">RDS</a>, and <a href="https://aws.amazon.com/lambda/">Lambda</a>. Believe me that is not an easy thing to do.</p><p>With <a href="https://sigma.slappforge.com/">Sigma</a>, you only need an AWS Account, Github Account and a Web browser. Yes, you are right, you don’t have to refer the AWS docs. All the hard work including deployment is handled by Sigma. You don’t even have to login to your AWS console.</p><blockquote>Sigma itself is a native Serverless system. Its not an existing cloud IDE re-branded as a Serverless application development environment. Hence, it does not require a server/VM or an EC2 instance as a backend. It’s a customized editor only for the development and deployment of Serverless applications, and hence lightweight and fast, and it operates completely within your browser. (<a href="https://www.slappforge.com/">https://www.slappforge.com/</a>)</blockquote><p>Let’s try to implement the same authentication service with Sigma IDE.</p><p>Create an account on <a href="http://sigma.slappforge.com/">Sigma</a> and provide your AWS Credentials. (You can refer the article “<a href="https://medium.com/@janaka_bandara/serverless-getting-started-with-slappforge-sigma-ad2ff8950bd4">Serverless: Getting started with SLAppForge Sigma</a>” to get a clear idea of setting up the IDE including the getting AWS credentials)</p><p>Initially IDE will look like this. You can see all the supported services on the left hand-side panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h8bVsRFlN3QTQPGkf1A-OQ.png" /></figure><blockquote>If you are too lazy to read, just select <a href="https://github.com/slappforge/simple-authenticator">this sample</a> from Sigma IDE and deploy it on AWS. :P</blockquote><p>First you need to set API Gateway as the trigger for this lambda. At the moment no trigger has been set for this lambda function. Red color icon is to notify that. To do that, drag and drop API Gateway resource on to the function. Fill up the fields with the relevant information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*qOmYuM7psUZeV8IjMzsypQ.png" /></figure><p>After setting up the trigger you can see that the red color icon turns to green. This means that the trigger has been configured properly.</p><p>Then drag and drop RDS resource from the left panel and fill up the fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*lF8dcUul6GJ_sHtnvc0eKA.png" /></figure><p>Use the following query as the initial query.</p><pre>CREATE TABLE users (    <br>    UserId int NOT NULL AUTO_INCREMENT,<br>    Email varchar(255) NOT NULL UNIQUE,<br>    Password varchar(255) NOT NULL,<br>    LastName varchar(255),<br>    FirstName varchar(255),<br>    Address varchar(255),<br>    PRIMARY KEY (UserId)<br>);</pre><p>Select Query as the preferred operation and put the following SQL query and the inserts for the values.</p><p><strong>Query</strong> : <em>INSERT INTO users (Email, Password, LastName, FirstName, Address) VALUES (?, ?, ?, ?, ?)</em></p><p><strong>Inserts</strong> :<em> event.email, event.password, event.lastName, event.firstName, event.address</em></p><p>You can customize the generated lambda as you wish and the final lambda should be like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1b203bb049a0fe5fa5beb3ca97ca9c9d/href">https://medium.com/media/1b203bb049a0fe5fa5beb3ca97ca9c9d/href</a></iframe><p>Now the signup API is done. Note that we haven’t configured the sign in API. Similarly, you can configure that by adding a new lambda to your project. Everything is same as the above except that, the same database should be used for this lambda as well. So instead of creating a new RDS instance, select the previously created instance from the existing tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*YI9XZ_c2rv5kMeANQYAw2w.png" /></figure><p><strong>Query</strong> : <em>SELECT * FROM users WHERE Email = ? AND Password = ?</em></p><p><strong>Inserts</strong> : <em>event.email, event.password</em></p><p>Return true or false accordingly after checking the user. The complete lambda should be as follows</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c18824cb34044bb9b013065772074adc/href">https://medium.com/media/c18824cb34044bb9b013065772074adc/href</a></iframe><p>Now all the work is done. Just click on the deploy button to build and deploy the project on AWS. After successfully deploying the project IDE will notify you. Now the testing part comes in.</p><h3>Testing</h3><ul><li>Now, first to signup, send an HTTP POST request to the signup endpoint which you can find from the API Gateway console,t with a sample JSON payload as follows.</li></ul><pre>{<br>  &quot;email&quot;: &quot;randika@adroitlogic.com&quot;,<br>  &quot;password&quot;: &quot;12345678&quot;,<br>  &quot;lastName&quot;: &quot;Navagamuwa&quot;,<br>  &quot;firstName&quot;: &quot;Randika&quot;,<br>  &quot;address&quot;: &quot;12 A /5, Pirivena Rd, Mount Lavinia&quot;<br>}</pre><ul><li>In the signup call an entry will be added to the users table. If you were successful you’ll get a 200 OK response with the response message <strong><em>Successfully added a new user with email</em></strong>.</li><li>Then, to check the signin, send an HTTP POST request to the signin endpoint (https://{api-id}.execute-api.{region}.amazonaws.com/prod/signin) you found in the earlier steps with a sample JSON payload as follows. Note that the values should match the values used in signup request.</li></ul><pre>{<br>  &quot;email&quot;: &quot;randika@adroitlogic.com&quot;,<br>  &quot;password&quot;: &quot;12345678&quot;<br>}</pre><ul><li>If the signin is successful you’ll get a 200 OK response with the response message true.</li></ul><p>Please note that this is a simple service, which is deployed just to demonstrate the usages of some AWS Services.</p><p>Get in touch with SLAppForge Community : <a href="https://launchpass.com/slappforge">https://launchpass.com/slappforge</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cceea1009e9a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/think-serverless/improve-your-aws-lambda-development-with-sigma-cceea1009e9a">Improve your AWS lambda development with SIGMA</a> was originally published in <a href="https://medium.com/think-serverless">Think Serverless</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple authentication service with AWS Lambda]]></title>
            <link>https://medium.com/think-serverless/simple-authentication-service-with-aws-lambda-63c9c20da696?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/63c9c20da696</guid>
            <category><![CDATA[api-gateway]]></category>
            <category><![CDATA[rds]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[lambda]]></category>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Thu, 08 Feb 2018 12:31:36 GMT</pubDate>
            <atom:updated>2018-03-27T08:27:11.231Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*joLWVonlx0qzawFpUuvHWg.png" /></figure><p>When it comes to APIs,<strong> </strong><a href="https://aws.amazon.com/">AWS</a> comes to our mind instantly. We all have been using AWS EC2 for our back ends. With the new <a href="https://en.wikipedia.org/wiki/Serverless_computing">Serverless Computing</a> concept, AWS has introduced their own serverless platform which is called <a href="https://aws.amazon.com/lambda/">AWS Lambda</a>. AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume — there is no charge when your code is not running.</p><p>I’ve developed a simple application which demonstrates some of the AWS services (RDS, API Gateway and Lambda).</p><p><strong>Overview</strong></p><p>In this application we have two rest endpoints.</p><ol><li>Sign up<br> This endpoint is responsible of handling the signup operations. We can send a post request to this endpoint and it will create a new user in the database.</li><li>Sign in<br> This endpoint is responsible of handling the sign in operations. We can check whether the particular user is registered on our database by sending his credentials. This will return true or false.</li></ol><p><strong>AWS services that I’m going to use</strong></p><ol><li>AWS RDS (<a href="https://aws.amazon.com/rds/">https://aws.amazon.com/rds/</a>)<br> Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. Amazon RDS is available on several database instance types — optimized for memory, performance or I/O — and provides you with six familiar database engines to choose from, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle, and Microsoft SQL Server. In this example we are going to use MySQL.</li><li>AWS Api Gateway (<a href="https://aws.amazon.com/api-gateway/">https://aws.amazon.com/api-gateway/</a>)<br> Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale</li><li>AWS Lambda (<a href="https://aws.amazon.com/lambda/">https://aws.amazon.com/lambda/</a>)<br> With Lambda, you can run code for virtually any type of application or backend service — all with zero administration.</li></ol><p><strong>Step 1(Creating the RDS instance)</strong></p><ul><li>Log into amazon console and browse to RDS. Refer <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.WebServerDB.CreateDBInstance.html">this</a> for more info.</li><li>Create a MySQL instance and create the the users table by executing the following SQl statement.</li></ul><pre>CREATE TABLE users ( <br> UserId int NOT NULL AUTO_INCREMENT,<br> Email varchar(255) NOT NULL UNIQUE,<br> Password varchar(255) NOT NULL,<br> LastName varchar(255),<br> FirstName varchar(255),<br> Address varchar(255),<br> PRIMARY KEY (UserId)<br>);</pre><p><strong>Step 2 (Creating the Lambda function and API endpoints)</strong></p><ul><li>Now you have to create an API gateway triggered lambda function by following this <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-lambda-non-proxy-integration.html">https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-lambda-non-proxy-integration.html</a></li><li>In this use case there should be two APIs (Sign up and Sign in)</li></ul><p><strong>Step 3 (Content of the lambda functions)</strong></p><ul><li>Since this will have additional libraries, you will need to create this project locally and upload the whole project to AWS. Refer <a href="https://docs.aws.amazon.com/lambda/latest/dg/nodejs-create-deployment-pkg.html">this</a> to get a clear idea on making a nodejs deployment package.</li><li>For the sign up lambda function copy the following</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f10d4394fb0a33d9a52a4c73a53df560/href">https://medium.com/media/f10d4394fb0a33d9a52a4c73a53df560/href</a></iframe><ul><li>For the sign in lambda function copy the following</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4db70fbcc709d76d647219168ad616c4/href">https://medium.com/media/4db70fbcc709d76d647219168ad616c4/href</a></iframe><ul><li>Create a file as ConnectionManager.js and put the following content there</li></ul><pre>module.exports=function(){</pre><pre>this.dbConnections = [];</pre><pre>this.dbConnections[“authDatabase”] = {<br>     host: &lt;Host of the RDS&gt;,<br>     port: 3306,<br>     user: &lt;Master username of the RDS instance&gt;,<br>     password: &lt;Master password of the RDS instance&gt;,<br>     database: &lt;Database name&gt;,<br>    };<br> };</pre><ul><li>package.json file should contain the following</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/42b0b350afae2292719c978c12049cb8/href">https://medium.com/media/42b0b350afae2292719c978c12049cb8/href</a></iframe><p><strong>Step 3(Configure API Gateways)</strong></p><ul><li>Configure the two api gateways to have the required service paths. This can be done on AWS API Gateway console. (<a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html">https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html</a>)</li><li>After configuring the APIs, deploy them</li></ul><p><strong>Step 4 (Testing)</strong></p><ul><li>Now, first to signup, send an HTTP POST request to the signup endpoint which you can find from the API Gateway console,t with a sample JSON payload as follows.</li></ul><pre>{<br>  &quot;email&quot;: &quot;randika@adroitlogic.com&quot;,<br>  &quot;password&quot;: &quot;12345678&quot;,<br>  &quot;lastName&quot;: &quot;Navagamuwa&quot;,<br>  &quot;firstName&quot;: &quot;Randika&quot;,<br>  &quot;address&quot;: &quot;12 A /5, Pirivena Rd, Mount Lavinia&quot;<br>}</pre><ul><li>In the signup call an entry will be added to the users table. If you were successful you’ll get a 200 OK response with the response message <strong><em>Successfully added a new user with email</em></strong>.</li><li>Then, to check the signin, send an HTTP POST request to the signin endpoint (https://{api-id}.execute-api.{region}.amazonaws.com/prod/signin) you found in the earlier steps with a sample JSON payload as follows. Note that the values should match the values used in signup request.</li></ul><pre>{<br>  &quot;email&quot;: &quot;randika@adroitlogic.com&quot;,<br>  &quot;password&quot;: &quot;12345678&quot;<br>}</pre><ul><li>If the signin is successful you’ll get a 200 OK response with the response message true.</li></ul><p>Please note that this is a simple service, which is deployed just to demonstrate the usages of some AWS Services.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63c9c20da696" width="1" height="1" alt=""><hr><p><a href="https://medium.com/think-serverless/simple-authentication-service-with-aws-lambda-63c9c20da696">Simple authentication service with AWS Lambda</a> was originally published in <a href="https://medium.com/think-serverless">Think Serverless</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure B2B Trading with AS2 Gateway]]></title>
            <link>https://rnavagamuwa.medium.com/secure-b2b-trading-with-as2-gateway-caa66c4709c2?source=rss-472a19796208------2</link>
            <guid isPermaLink="false">https://medium.com/p/caa66c4709c2</guid>
            <category><![CDATA[b2b]]></category>
            <category><![CDATA[as2]]></category>
            <category><![CDATA[secure-messaging]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[security-services]]></category>
            <dc:creator><![CDATA[Randy Navagamuwa]]></dc:creator>
            <pubDate>Tue, 05 Dec 2017 09:58:01 GMT</pubDate>
            <atom:updated>2017-12-05T18:28:43.428Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ddxT38wGBy1EzxAUZjbKXg.jpeg" /></figure><p>Handmade (Pvt) Ltd is a small company with around 50 employees, which was started a few years back. Handmade makes small ornaments which will be sold to retail stores worldwide including some of the Fortune 500 companies. Most of these large companies constantly demand Handmade to use a secure protocol to send invoices, instead of emailing them. Of course, they have been emailing all the invoices to their business partners so far. Because of this, they have been losing a lot of partners recently.</p><p>Mr. Allen, the CEO of the company, asked his wife who is the CFO of Handmade, to take care of the above concern. But same as Mr. Allen, Mrs. Allen is not a techy person. So what Mrs. Allen did was, she googled her problems.</p><p>During the first three or four results, she came with an answer!!!</p><blockquote><strong>AS2(Applicability Statement 2) protocol</strong></blockquote><blockquote>AS2 is a MIME-Based Secure Peer-to-Peer Business Data Interchange Using HTTP and Mrs. Allen found out that this is the best protocol that they can use for their organization. Most importantly this protocol is used by a lot of large companies including their partners.</blockquote><p>As every good thing comes with a price, Mrs. Allen understood that AS2 protocol also has this barrier too. AS2 protocol was a bit complex for Mrs. Allen to understood. She asked google’s help again. Her next exact search phrase was “<strong>AS2 Gateways</strong>”. (Mrs. Allen only knew about these two words at that time. :P ) Though there were a lot of results, Mrs. Allen found AdroitLogic’s <a href="https://as2gateway.com/">AS2 Gateway</a>. Then Mrs. Allen started looking into AdroitLogic<a href="https://www.adroitlogic.com/"> </a>and she found out that a lot of giant companies have trusted Adroitlogic including Singapore Exchange and Wallmart. That was enough for Mrs. Allen to go with their AS2 Gateway.</p><p>Since Mrs. Allen is new to AS2 protocol, as the initial step, she created a trial account on <a href="https://as2gateway.com/">as2gateway.com</a> very easily. Now her task is to check whether this is what their company is looking for. Here’s what Mrs. Allen has discovered regarding AdroitLogic’s AS2 Gateway.</p><p><strong>User Management</strong></p><p>In an organization, there might be more than one person to handle AS2 Related things. AS2 Gateway has solved this problem quite impressively by providing a very easy to use user management dashboard. In AS2 Gateway user management is divided into three major parts</p><ol><li>Role management<br> Roles can be created by adding different permissions.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gOSCc2x8mP1oTiM7U6ApBg.png" /></figure><p>2. User groups management<br> User groups can be created by adding different roles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M9hwUkKXXwgkYprZdkbL9g.png" /></figure><p>3. Users management<br> User groups can be added to each user in the particular organization. Users will have the permissions, according to the user group they belong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YsdAiB5Y5XDGN2CqTbGVZg.png" /></figure><p><strong>Certificates Management</strong></p><p>Certificates do another major role in AS2 Protocol. But it is definitely a headache to manage them. AS2 Gateway provides a well-organized UI so users have nothing to worry about the certificates. The user can either import their existing certificates or create a new certificate very easily. Since Mrs. Allen is not familiar with certificates, this UI is everything she was looking for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VkHqzMSCuWHIZ9GNjO-jRQ.png" /></figure><p><strong>Stations</strong></p><p>When it comes to AS2 Protocol, there should be trading partners. In order to work with their partners, Handmade needs to have a station. So Mrs. Allen navigated to station view and started creating a new station. AS2 Gateway has created a certificate for the station automatically when Mrs. Allen created the account. So when she is adding a new station, she could simply use the created certificate. Yes, she could always create a new certificate, but she has gone with the easier way. :) Mrs. Allen wanted to get notified when there is new incoming message, so she has enabled that feature too ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zWLHNis5o6CUFluoCPaOcA.png" /></figure><p>After creating the station, Mrs. Allen needed to share her station’s configuration with their partners. So they have asked her to email the configuration. She has navigated to the partner configuration view, provided in the station.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*31omztexXmPDrUKNKwlzCg.png" /></figure><p>She has shared the configuration with the provided email and the following email has been sent to the partner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*sgaFYqLv9lUzpgsprzO5Ow.png" /></figure><p><strong>Partners</strong></p><p>Now Mrs. Allen has to add her partners to the organization. She figured out that this can be very easily done from the Partners view. Since this is her first time, Mrs. Allen was a bit nervous to add the correct information. She wanted to test the configuration properly before sending the messages. So she has contacted their partners and asked configuration of a test environment. Then she has created a test partner on AS2 Gateway. Her intention was to create a production partner after verifying the test partner. Gladly AS2 Gateway supports this feature.</p><p><strong>Messages</strong></p><p>Now everything is set and Mrs. Allen wanted to send a test message to her partner’s test environment. Mrs. Allen has sent the test message from the compose message view very easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9lgHbHLlKOKu8DoD29pAeQ.png" /></figure><p><strong>Statistics</strong></p><p>Handmade should be able to analyze their statistics and using the AS2 Gateway Dashboard they easily do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*aYy1pl26CF4Zf3zlEnTgCg.png" /></figure><p><strong>SFTP</strong></p><p>In addition to all those cool features, AS2 Gateway supports SFTP as well. After Handmade has set up SFTP by simply clicking the setup SFTP button, all the relevant information will be given. With SFTP, user doesn’t even need to use the web application. Simple as that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hiWSGXNTu9dOAI3nwtWwwA.png" /></figure><p>With all these features, Mrs. Allen was very happy with AS2 Gateway. FInally, she has assigned another person to AS2 Gateway by creating a user with relevant permissions. Then she added the email <a href="/service/mailto:as2gateway-support@adroitlogic.com">as2gateway-support@adroitlogic.com</a> to her contacts because she knew that adroitlogic team will be there to assist anytime if needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caa66c4709c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>