@GET
 @Produces(MediaType.APPLICATION_JSON)
 @Path("{nodeName}/status")
 public Response getStatus(@PathParam("nodeName") String nodeName) {
   Response response = null;
   try {
     org.nikhil.webapp.nodeadmin.entity.Node fetchedNode = nodeOperation.getNode(nodeName);
     String status = nodeOperation.getNodeStatus(nodeName, true);
     Object jsonObj = NodeAdminUtils.createObjectFromRawData("status", status, null);
     response =
         NodeAdminUtils.buildStandardRESTHTTPResponse(
             200, "Node " + nodeName + " Status Retrieved Successfully", status, null);
   } catch (Exception e) {
     e.printStackTrace();
     response =
         NodeAdminUtils.buildStandardRESTHTTPResponse(
             500, "Server Error getting the status of the Node " + nodeName, null, null);
   }
   return response;
 }