Skip to content

Commit

Permalink
Remove incorrect TABLE result type from getShaclResults endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
weisenje committed Oct 18, 2023
1 parent 7f12dfb commit 2f76636
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ public BufferedReader execLoadIngestionPackage(File ingestionPackageFile, String
*/
@SuppressWarnings("unchecked")
public String execGetShaclResults(File shaclTtlFile, SparqlConnection conn, Severity severity) throws Exception {

Thread.sleep(5000); // TODO remove

if(!shaclTtlFile.exists()) {
throw new Exception("File does not exist: " + shaclTtlFile.getAbsolutePath());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ public JSONObject getShaclResults( @RequestParam("shaclTtlFile") MultipartFile s
}).start();

retval.addJobId(jobId);
retval.addResultType(SparqlResultTypes.TABLE);
retval.setSuccess(true);
} catch (Exception e) {
retval.addRationaleMessage(SERVICE_NAME, ENDPOINT_NAME, e);
Expand Down

0 comments on commit 2f76636

Please sign in to comment.