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.
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
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.
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
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
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
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
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