After moving to new country, I am setting up my home network to bring some of containers back from the cloud to self hosting from home. But the problem with my new router is there is no port based routing either all or none by setting the self hosting server as default DMZ server will […]
Importing linked WSDL files in Pega SOAP connector
During one of my past projects, we were required to integrate with an external system via a SOAP service to verify a customer’s debt history before allowing overdraft on their bank account. However, we encountered a challenge where the service’s WSDL definition was provided in multiple linked XSD files, making the data model complex. Despite […]
My docker swarm setup
I am running my websites from my Raspberry Pi mini PC, and in this post, I am going to explain how I organize the apps and manage security using docker swarm network. In my setup I choose nginx container as webserver created on top of light weight alphine linux containers. This performs very well on […]
Exmaple with useContext in React JS functional components
In this brief article, we will discuss the effective implementation of useContext. For those unfamiliar, useContext is a technique for sharing state within an application between various components, without requiring the passing of parameters from parent components to each child component. This approach facilitates component modularization and eliminates the need for additional properties that are […]
What is not Pega best practice?
Through out my nearly 16 years of experience in Pega I have worked on many different projects and with many different teams. Sometime I am surprised to see some so called best practices which are actually not making any sense and actually not really best practices. So I thought will do a write on them. […]
Mockware – Pega Simulations Made Easy
This post is about my Pega Community Hackathon project named Mockware. I created this project to solve a problem faced by many Pega project team related to integrations. Below listed are some common issues when building/testing integrations with external systems. Running scheduled automation testing without mutating the actual data. Missing actual data for satisfying some […]
Using ChaptGPT for generating React JS code
I was using copilot for while and it was really helpful to speed up the development. But wanted to give a try how ChatGPT compares with copilot as assistance. So I choose a simple use case of generating code for displaying list addresses and editing them in screen. Here is the first prompt I gave […]
Sending HTML Email in Java Spring boot
Recently was refactoring a Java Spring boot project which I bought in Codecanyon. It had an API endpoint to send a HTML verification code. The HTML was hard coded inside the Java code and couldn’t be formatted easily because of this. So I planned to use https://www.thymeleaf.org/ as the templating engine. Here is the step […]
Reset postgres sql auto increment key
Sometimes after you have imported data in to postgres sql database you might find the new inserts are failing as the generated unique sequence keys are conflicting with existing records. You could fix this by setting the new sequence value to the next values by checking the highest number already exists in records. Please run […]