Skip to content

Commit

Permalink
AUS-4238 Remove getNVCLProcessingResults
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf committed Oct 17, 2024
1 parent 81d6be9 commit 959dcd8
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import java.nio.charset.StandardCharsets;

import jakarta.servlet.ServletException;
Expand All @@ -30,7 +28,6 @@
import org.auscope.portal.server.domain.nvcldataservice.AbstractStreamResponse;
import org.auscope.portal.server.domain.nvcldataservice.AlgorithmOutputClassification;
import org.auscope.portal.server.domain.nvcldataservice.AlgorithmOutputResponse;
import org.auscope.portal.server.domain.nvcldataservice.AnalyticalJobResults;
import org.auscope.portal.server.domain.nvcldataservice.BinnedCSVResponse;
import org.auscope.portal.server.domain.nvcldataservice.CSVDownloadResponse;
import org.auscope.portal.server.domain.nvcldataservice.GetDatasetCollectionResponse;
Expand Down Expand Up @@ -742,24 +739,6 @@ public ModelAndView submitSF0NVCLProcessingTsgJob(
}
}

/**
* Returns an object containing passing, failing and erroring borehole ID's for a given processing job
* @param jobid
* requested job id
* @return
*/
@RequestMapping("/getNVCLProcessingResults.do")
public ModelAndView getNVCLProcessingResults(@RequestParam("jobId") String jobId) {
try {
AnalyticalJobResults results = this.dataService2_0.getProcessingResults(jobId);
return generateJSONResponseMAV(true, Arrays.asList(results), "");
} catch (Exception ex) {
log.error("Unable to check NVCL processing jobs: " + ex.getMessage());
log.debug("Exception: ", ex);
return generateJSONResponseMAV(false);
}
}

/**
* Requests the image tray depth from NVCL services
*
Expand Down

0 comments on commit 959dcd8

Please sign in to comment.