Skip to content

Commit

Permalink
[MOSIP-33145] (#130)
Browse files Browse the repository at this point in the history
Signed-off-by: JanardhanBS-SyncByte <janardhan@syncbyte.in>
  • Loading branch information
JanardhanBS-SyncByte committed May 24, 2024
1 parent 8080278 commit a4df9f7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public MainController(Utils serviceUtil, BioSdkServiceFactory bioSdkServiceFacto
@GetMapping(path = "/")
@ApiOperation(value = "Service status")
@ApiResponses(value = { @ApiResponse(code = 200, message = "Service is running...") })
public ResponseEntity<String> status() {
public ResponseEntity<String> status() // NOSONAR
{
Date d = new Date();
return ResponseEntity.status(HttpStatus.OK).body("Service is running... " + d.toString());
}
Expand All @@ -73,7 +74,8 @@ public ResponseEntity<String> status() {
@GetMapping(path = "/s")
@ApiOperation(value = "Service role status")
@ApiResponses(value = { @ApiResponse(code = 200, message = "Service is running...") })
public ResponseEntity<String> status1() {
public ResponseEntity<String> status1() // NOSONAR
{
Date d = new Date();
return ResponseEntity.status(HttpStatus.OK).body("Service is running... " + d.toString());
}
Expand Down

0 comments on commit a4df9f7

Please sign in to comment.