Software projects need unit tests in order to ensure that each piece of code we add to the codebase functions as we expect. Mockito is a great tool that can help us mock the classes and objects that are used in the code piece we need to test.

To get…


Using Java SDK of Okta can be a tricky thing. Mainly due to the lack of active community around it. So you might find yourselves digging through the library code to understand how to do certain actions. …


This demonstration used the following two Docker images,

  1. mssql-wso2si-demo — https://hub.docker.com/r/niruhan/mssql-wso2si-demo
  2. wso2si-demo — https://hub.docker.com/r/niruhan/wso2si-demo

Note: we will use the image name as the container name using the — name tag when starting the containers for simplicity.

The container mssql-wso2si-demo contains a Microsoft SQL server with a table named SweetProductionTable already…


1. L’étudiant en médecin porté disparu depuis une semaine a été retrouvé sain et sauf [Section A]

Un étudiant marseillais, âgé 21 ans, a disparu il y a une semaine. Il a été vu pour la dernière fois par un de ses amis quand il rentrait de son université vendredi dernier.

Ses parents ont porté plaint sur cette disparition au bout de deux jours. Les parents ont…


This blog is the first part of the series I am writing on TEF — Test d’Évaluation du Français to share learning resources. They are notoriously difficult to find on the internet and there is very little information on the exam when compared to IELTS. …


Source: http://adriangrigoras.com/blog/caching/

Integrated systems need to interact with databases as they depend on those for data storage, share information with other systems, and preserve system state over restarts and failures. One of the significant drawbacks of traditional databases is their higher read-write latencies compared to in-memory data stores, as the databases use…


In this blog, part 2 of the series on Apache Kafka integration for Siddhi, we will see in detail how to use Apache Kafka as a source for 2 node minimum high availability (HA) deployment of Siddhi Stream Processor. Read Part 1 of this series if you haven’t already to…

Niruhan Viswarupan

Senior Software Engineer @ Sysco LABS, Former SE @ WSO2 Inc., ENTC grad @ University of Moratuwa, Sri Lanka. www.niruhan.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store