Skip to content

Commit

Permalink
feature health check api for cicd test
Browse files Browse the repository at this point in the history
  • Loading branch information
min9yu98 committed Jul 17, 2024
1 parent 26b6f1f commit 49605b7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.example.tripmingle.adapter.in;

import io.swagger.v3.oas.annotations.Operation;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
Expand All @@ -19,4 +18,10 @@ public String healthCheck() {
return "health sucess " + email;
}

@Operation(summary = "cicd 작동 여부 확인을 위한 테스트")
@GetMapping("/health/cicd")
public String cicdCheck() {
return "Wow 이게 되네";
}

}

0 comments on commit 49605b7

Please sign in to comment.