Skip to content

Commit

Permalink
- Fix neo4j url
Browse files Browse the repository at this point in the history
  • Loading branch information
haideriqbal committed Jul 9, 2024
1 parent b790144 commit 943dccd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public ResponseEntity<String> checkHealth() {

private boolean checkNeo4j() {
try {
String decodedUrl = UriUtils.decode(solrUrl, StandardCharsets.UTF_8);
String decodedUrl = UriUtils.decode(neo4jUrl, StandardCharsets.UTF_8);
ResponseEntity<String> response = restTemplate.getForEntity(decodedUrl, String.class);
if (response.getStatusCode().is2xxSuccessful()) {
JsonObject jsonResponse = JsonParser.parseString(response.getBody()).getAsJsonObject();
Expand Down
4 changes: 3 additions & 1 deletion backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ spring.jackson.serialization.INDENT_OUTPUT=true

springdoc.swagger-ui.path=/swagger-ui-ols4.html
springdoc.swagger-ui.operationsSorter=method
springdoc.swagger-ui.disable-swagger-default-url=true
springdoc.swagger-ui.disable-swagger-default-url=true
solr.url=https://wwwdev.ebi.ac.uk/ols4/api/ontologies/efo/terms
neo4J.url=https://wwwdev.ebi.ac.uk/ols4/api/ontologies/efo/terms/http%253A%252F%252Fwww.ebi.ac.uk%252Fefo%252FEFO_0000001/graph

0 comments on commit 943dccd

Please sign in to comment.