Home
Yasassri Ratnayake
Cancel

Building a Thread-Safe State Tracker Mediator for WSO2

One of the challenges when building integration workflows with WSO2 is handling long-running processes that need to prevent parallel executions. Imagine a scenario where you’re processing an order ...

Solving Datadog Java Agent Conflicts in Kubernetes With A Simple C Library

Recently, I ran into an issue where Datadog’s admission controller was automatically injecting JAVA_TOOL_OPTIONS into our Java app containers, causing startup issues. This Java app container was ex...

Holding Application startup until Kubernetes resources are created

T-Digest is a statistical algorithm used for approximate calculation of quantiles and percentiles from large data sets. It’s particularly useful when you have a vast amount of data and you want to ...

Delaying Application Startup Until Kubernetes Resources are Created

In this post, I will take you through the process I followed when trying to debug an issue that was occurring in one of the applications deployed in K8S. If you are just interested in the part ment...

Storing TDigests In A Database And Reconstructing It Back In Javascript

T-Digest is a statistical algorithm used for approximate calculation of quantiles and percentiles from large data sets. It’s particularly useful when you have a vast amount of data and you want to ...

Converting Java CLI Client to a Native Executable with GraalVM

GraalVM is a high-performance JDK distribution designed to accelerate the execution of applications written in Java and other JVM languages along with support for JavaScript, Ruby, Python, and a nu...

Stop A Recurring Jenkins Job After a Fixed number of Runs

This solution was inspired by a Stackoverflow question I happen to answer. The requirement is not very common but thought of sharing it if anyone ever needs it. The requirement is something like th...

Custom Github Action for WSO2 APICTL

I have worked with Github Actions in some projects and used quite a few Actions written by others. So I wanted to write my own custom action to experience the process. So here I’m with this post af...

Create Jenkins Credentials Through Rest API

In this post I’ll explain how you can create Jenkins credentials through the Jenkins Rest API. Let’s get into it straight away. How To Authenticate Jenkins API Inorder to Authenticate the API cal...

Role Based Authorization Hanlder for WSO2 Micro Integrator

WSO2 Micro Integrator(MI) is a lightweight integration platform that allows you to write different integrations to connect systems just like an Enterprise Service Bus. If you are familiar with the ...