@POST @ApiIgnore // deprecated
   @Deprecated
   @Path("{groupName}")
   @Produces("text/plain")
   public Response createGroup(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                                 @PathParam("groupName") String groupName) {
    return handleRequest(headers, body, ui, Request.Type.POST, createGroupResource(groupName));
  }
Creates a group.
Handles: POST /groups/{groupName} requests.

@param headers      http headers
@param ui           uri info
@param groupName    the group name
@return information regarding the created group

@deprecated Use requests to /groups instead.
ambari-server/src/main/java/org/apache/ambari/server/api/services/groups/GroupService.java