Search in sources :

Example 1 with DetachRecipeV4Response

use of com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.recipe.DetachRecipeV4Response in project cloudbreak by hortonworks.

the class UpdateRecipeService method detachRecipeFromCluster.

public DetachRecipeV4Response detachRecipeFromCluster(Long workspaceId, Stack stack, String recipeName, String hostGroupName) {
    updateRecipeForCluster(workspaceId, stack, recipeName, hostGroupName, true);
    DetachRecipeV4Response response = new DetachRecipeV4Response();
    response.setRecipeName(recipeName);
    response.setHostGroupName(hostGroupName);
    return response;
}
Also used : DetachRecipeV4Response(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.recipe.DetachRecipeV4Response)

Aggregations

DetachRecipeV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.recipe.DetachRecipeV4Response)1