@POST @ApiIgnore // until documented
  @Produces(MediaType.TEXT_PLAIN)
  public Response getRecommendation(String body, @Context HttpHeaders headers, @Context UriInfo ui,
      @PathParam("stackName") String stackName, @PathParam("stackVersion") String stackVersion) {

    return handleRequest(headers, body, ui, Request.Type.POST,
        createRecommendationResource(stackName, stackVersion));
  }
Returns host-layout recommendations for list of hosts and services.

@param body http body
@param headers http headers
@param ui uri info
@param stackName stack name
@param stackVersion stack version
@return recommendations for host-layout
ambari-server/src/main/java/org/apache/ambari/server/api/services/RecommendationService.java