Skip to content

Commit

Permalink
test: ci-cd 동작 검증
Browse files Browse the repository at this point in the history
  • Loading branch information
ImGdevel committed Feb 5, 2025
1 parent 3cc3e14 commit e01e8a5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions backend/src/main/java/toonpick/app/controller/HelloController.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,17 @@ private ResponseEntity<Map<String, Object>> testPing() {

return ResponseEntity.status(HttpStatus.OK).body(response);
}

@GetMapping("/api/public/ping2")
private ResponseEntity<Map<String, Object>> testPing2() {
Map<String, Object> response = new HashMap<>();

response.put("status", "success");
response.put("message", "TOONPICK 서비스가 정상적으로 작동 중입니다. 2");
response.put("timestamp", LocalDateTime.now());

logger.info("Ping 요청이 들어왔습니다. 2 응답: {}", response);

return ResponseEntity.status(HttpStatus.OK).body(response);
}
}

0 comments on commit e01e8a5

Please sign in to comment.