Skip to content

Commit

Permalink
Merge pull request #297 from WDAqua/fixExplainEndpoint
Browse files Browse the repository at this point in the history
Fix explain endpoint
  • Loading branch information
dschiese authored Aug 20, 2024
2 parents 0a5847e + 4773475 commit d4815ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qanary_commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>eu.wdaqua.qanary</groupId>
<artifactId>qa.commons</artifactId>
<version>3.18.0</version>
<version>3.18.1</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public static void guardNonEmptyFileFromResources(String filenameInResources) {

public abstract void connect(); // TODO: add exception

public abstract ResultSet select(String sparql) throws SparqlQueryFailed, URISyntaxException;
public abstract ResultSet select(String sparql) throws SparqlQueryFailed;

public abstract boolean ask(String sparql) throws SparqlQueryFailed;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void connect() {
}

@Override
public ResultSet select(String sparql) throws SparqlQueryFailed, URISyntaxException {
public ResultSet select(String sparql) throws SparqlQueryFailed {
ResultSet results = externalConnector.select(sparql);
if (internalConnector != null && !results.hasNext()) {
getLogger().info("Requesting parent endpoint and graph");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class QanaryExplanationController {
private Logger logger = LoggerFactory.getLogger(QanaryExplanationController.class);

@Autowired
public void setQanaryExplanationService(QanaryExplanation qanaryExplanation) {
this.qanaryExplanation = qanaryExplanation;
public void setQanaryExplanationService(QanaryExplanation qanaryComponent) {
this.qanaryExplanation = qanaryComponent;
}

@PostMapping("/explain")
Expand Down

0 comments on commit d4815ff

Please sign in to comment.