Monday, January 22, 2018

Build Node.js Mongodb RESTful APIs in 5 Minutes

Rest is the web standards architecture and HTTP Protocol. REST stands for Representational State Transfer and handle the server side of the web application well. That means that the backend is built once and can provide content or data for frontend, mobile, or other server-side apps.

Friday, April 14, 2017

What to do with PermGen space when login WSO2EI 6.1.0

After the successful start of the WSO2 Enterprise Integrator (EI) 6.1.0 I tried to log in the management console and encountered an error java.lang.OutOfMemoryError: PermGen space. Please follow the steps to solve the issue.

WSO2 ESB 4.8.1 support for FileConnector V2

WSO2 ESB File connector version2 introduces the atomic operation related to the file system and allows you to easily manipulate files based on your requirement. The file streaming functionality using Apache Commons I/O lets you copy large files and will reduce the file transfer time between the two file systems resulting in a significant improvement in performance that can be utilised in file operations.

Friday, August 26, 2016

Custom Window extension for siddhi

Siddhi  Window Extension allows events to be collected and expired without altering the event format based on the given input parameters like the Window operator. In this post, we are going to look how to write a custom window extension for siddhi and test case to test the function. By default in window extension archetype 2.0.0 it generates the code for length window so let's go deep into code and get some basic knowledge about the implementation.

Saturday, June 25, 2016

Analytics Event Publisher for WSO2 CEP

WSO2 Complex Event Processor (CEP) is a lightweight, easy-to-use, open source Complex Event Processing server (CEP). It identifies the most meaningful events within the event cloud, analyzes their impact, and acts on them in real-time. Event publishers publish events to external systems via various transport protocols. and store data to databases for future analysis. Like the event receivers, this component also has different adapter implementations.

Thursday, June 23, 2016

Stream Definitions for wso2 complex event processor

An event is a unit of data, and an event stream is a sequence of events of a particular type. The type of events can be defined as an event stream definition. so different stream definitions are required to be used to store several data streams into the same column family, different stream versions should be used with the same stream name corresponding to the column family.

Thursday, May 19, 2016

Use siddhi Try it for Experimentation

This blog post explains how to use Siddhi Try It tool which comes with WSO2 CEP 4.2.0. The Siddhi Try It is a tool used for experimentation of event sequences through Siddhi Query Language (SiddhiQL) statements in real time basis. You can define an execution plan to store the event processing logic and input an event stream to test the Siddhi query processing functionality.

Friday, April 29, 2016

WSO2 Jaffna: Extending Platforms meetup - 01

How does the WSO2 platform work, and how can you contribute while studying? If you're a student at the University of Jaffna, join us as we discuss extensions and how to begin your journey of open source contribution.

This is the summery of meetup if some one miss the meetup please find the slides here.

Saturday, April 16, 2016

Federated Authenticator in WSO2 Identity Server 5.1.0

An authenticator allows you to authenticate the user using third party authentication systems such as LinkedIn, Clef and Foursquare. You can configure the authenticators for your identity provider to reach out to third party authentication systems to authenticate a user who logs in to your application. For example, if you configure LinkedIn authenticator as your authenticator in WSO2 Identity Server, you can authenticate a user of your application using LinkedIn authentication. You can also do the authentication with multiple third party authentication systems with a single authentication request called multifactor authentication .

Saturday, March 19, 2016

Pass Dynamic Values through Class Mediator in ESB Connector methods

In this post, let's discuss how we can pass a dynamic number of arguments  to connector methods, Normally we work with pre-defined parameters in connector  but here let's see how we can pass dynamic parameters with dynamic value and name and how we can use inside the connector method.

There are two types of actions we can do to get dynamic parameters. First one is set some key values and get the values start with that key value another method is through some pre-defined keywords.

Saturday, February 20, 2016

Git for Team Projects

In this post, I'm gonna explain how to use Git for our personal projects and contribute to others projects most importantly team works.  We assume that every reader knows about Git before this post. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.  Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Tuesday, January 12, 2016

WSO2 Identity Server Dropbox Authenticator

Each authenticator provides you a way to authenticate the user using specific external authentication system. For example if you want to authenticate a user who logs into your application using Dropbox authenticator, you need to configure the Dropbox authenticator for your identity provider .The Dropbox authenticator allows you to authenticate user using Dropbox through WSO2 IS. 

Sunday, January 10, 2016

Creating WSO2 IS Custom Federated Authenticator

WSO2 IS custom authenticators provides you a way to authenticate the user using specific external authentication system. through the authenticators we can secure our systems. Before start development Research the APIs provided by the service for which you want to create an authenticator.

Tuesday, December 15, 2015

Run Integration Test with WSO2 ESB EJB2 Connector and Jboss 5.1

As we discussed earlier EJB2 connector is a tool to make calls between remote EJB2.X objects and wso2 ESB. there are two type of calls we can call.Stateless and stateful where stateless is a one time call and stateful maintain a state between remote object and client. Integration Test for EJB2.X connector written based on Jboss 5.1 server so there are some pre configuration we need to  set before we run the integration test.

in this blog lets see how to configure ESB before run the test and what are the libraries we need to add to ESB and Test Client. Integration test is very important to check the stability of connector(to validate the methods).

Sunday, December 13, 2015

WSO2 ESB EJB 2.x Connector

Enterprise JavaBeans is an architecture for transactional, component-based distributed computing. The specification for EJBs lays out not just the format of a bean itself, but also a set of services that must be provided by the container in which the bean runs. This makes EJBs a powerful development methodology for distributed application development. Neither the bean developer nor the client application programmer needs to be concerned with service details such as transaction support, security, remote object access, and many other complicated and error-prone issues. These are provided transparently for the developers by the EJB server and container.