Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
ADDED: another wllo endpoint for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Feb 23, 2024
1 parent f14dec7 commit 7746021
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,15 @@ public ResponseEntity<String> helloWorld()
return ResponseEntity.internalServerError().build();
}
}

@GetMapping("/")
public ResponseEntity<String> hello()
{
try {
return ResponseEntity.ok("Hello World from root gateway!");
} catch (Exception e) {
Logger.getGlobal().warning("Error saying hello from root gateway" + e.getMessage());
return ResponseEntity.internalServerError().build();
}
}
}

0 comments on commit 7746021

Please sign in to comment.