use of com.sequenceiq.cloudbreak.api.endpoint.v4.util.responses.ParametersQueryV4Response in project cloudbreak by hortonworks.
the class BlueprintV4Controller method getParameters.
@Override
@CheckPermissionByResourceName(action = AuthorizationResourceAction.DESCRIBE_CLUSTER_TEMPLATE)
public ParametersQueryV4Response getParameters(Long workspaceId, @ResourceName String name) {
ParametersQueryV4Response parametersQueryV4Response = new ParametersQueryV4Response();
parametersQueryV4Response.setCustom(blueprintService.queryCustomParametersMap(name, restRequestThreadLocalService.getRequestedWorkspaceId()));
return parametersQueryV4Response;
}
Aggregations