If you have a simple POJO (Plain Old Java Object) or POGO (Plain Old Groovy Object), you can use Groovy's default Map based constructor to convert the JSON string to an Object type. package com.example.groovy import groovy.json.
Read More

Problem: I love to use RoboMongo as the Mongo DB Query tool. In my case the problem is that the MongoDb server is on a private network and the only way to get to the private server from my machine
Read More

Lets say you have a service (customer-service) that calls another service (account-service) over HTTP, gets the response from account-service, does some munging with the data and returns it back to the UI. Now like a good developer, you are trying
Read More

Problem: I was trying to get spring-cloud-server started on my laptop and I was getting: Downloaded: http://repo.spring.io/libs-snapshot/org/codehaus/mojo/maven-metadata.xml (21 KB at 16.6 KB/sec) [WARNING] Could not transfer metadata org.apache.
Read More

At work, recently we noticed that records in a Mongo collection did not have the latest data. Specifically, I was storing the status as NEW -> PROCESSING -> OK, and then expecting to see status of OK, since
Read More

Problem statement: Recently at work we have been playing around with the concept of automated builds and one build (master build) kicking off builds for multiple projects. The master build that kicked off multiple builds would kick off builds for
Read More

Recently at work we were discussing releasing internal python artifacts to Github. Github has the concept of releases. Releases are a workflow for shipping software to end users. Releases are first-class objects with changelogs and binary assets that present a
Read More

If you have a requirement to save and serve files, then there are at least a couple options. Save the file onto the server and serve it from there. Mongo provide GridFS store that allows you not only to store
Read More

Grails is an awesome full stack, web application framework on JVM. It has good documentation but not excellent documentation. I am working on a business project where I am using Grails REST services with MongoDB as the backend. I will
Read More

On my previous blog post about installing ELK stack without sudo access one of the commentator asked me about explaining the Logstash config in more detail. For ease of reference the Logstash config is reproduced below: input { redis { host => "127.
Read More