@@ -0,0 +1,2125 @@
+package org.talend.dataprep.api.service.command.folder;%0A%0Aimport static org.talend.dataprep.api.service.command.common.Defaults.pipeStream;%0Aimport static org.talend.dataprep.exception.error.APIErrorCodes.UNABLE_TO_LIST_FOLDERS;%0Aimport static org.talend.dataprep.exception.error.APIErrorCodes.UNABLE_TO_LIST_FOLDER_ENTRIES;%0A%0Aimport java.io.InputStream;%0Aimport java.net.URISyntaxException;%0A%0Aimport org.apache.commons.lang.StringUtils;%0Aimport org.apache.http.client.HttpClient;%0Aimport org.apache.http.client.methods.HttpGet;%0Aimport org.apache.http.client.methods.HttpRequestBase;%0Aimport org.apache.http.client.utils.URIBuilder;%0Aimport org.springframework.context.annotation.Scope;%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.stereotype.Component;%0Aimport org.talend.daikon.exception.ExceptionContext;%0Aimport org.talend.dataprep.api.service.APIService;%0Aimport org.talend.dataprep.api.service.command.common.GenericCommand;%0Aimport org.talend.dataprep.exception.TDPException;%0Aimport org.talend.dataprep.exception.error.CommonErrorCodes;%0A%0A@Component%0A@Scope(%22request%22)%0Apublic class FolderEntriesList extends GenericCommand%3CInputStream%3E %7B%0A%0A    private FolderEntriesList(HttpClient client, String path, String contentType) %7B%0A        super(APIService.DATASET_GROUP, client);%0A        execute(() -%3E onExecute(path, contentType));%0A        onError(e -%3E new TDPException(UNABLE_TO_LIST_FOLDER_ENTRIES, e, ExceptionContext.build()));%0A        on(HttpStatus.OK).then(pipeStream());%0A    %7D%0A%0A    private HttpRequestBase onExecute(String path,  String contentType) %7B%0A        try %7B%0A%0A            URIBuilder uriBuilder = new URIBuilder(datasetServiceUrl + %22/folders/entries%22);%0A%0A            if (StringUtils.isNotEmpty(path)) %7B%0A                uriBuilder.addParameter(%22path%22, path);%0A            %7D%0A%0A            if (StringUtils.isNotEmpty(contentType)) %7B%0A                uriBuilder.addParameter(%22contentType%22, contentType);%0A            %7D%0A%0A            return new HttpGet(uriBuilder.build());%0A%0A        %7D catch (URISyntaxException e) %7B%0A            throw new TDPException(CommonErrorCodes.UNEXPECTED_EXCEPTION, e);%0A        %7D%0A    %7D%0A%0A%7D%0A

fix delete folder entry I missed to add a file in previous commit