추론 실행 api 수정
This commit is contained in:
@@ -84,14 +84,14 @@ public class InferenceResultApiController {
|
||||
mediaType = "application/json",
|
||||
schema =
|
||||
@Schema(
|
||||
description = "진행 여부 (Y: 진행중, N: 없음)",
|
||||
type = "string",
|
||||
example = "N"))),
|
||||
description = "진행 여부 (UUID 있으면 진행중)",
|
||||
type = "UUID",
|
||||
example = "44709877-2e27-4fc5-bacb-8e0328c69b64"))),
|
||||
@ApiResponse(responseCode = "400", description = "잘못된 검색 조건", content = @Content),
|
||||
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
||||
})
|
||||
@GetMapping("/processing-yn")
|
||||
public ApiResponseDto<String> getProcessing() {
|
||||
public ApiResponseDto<UUID> getProcessing() {
|
||||
return ApiResponseDto.ok(inferenceResultService.getProcessing());
|
||||
}
|
||||
|
||||
|
||||
@@ -460,5 +460,6 @@ public class InferenceResultDto {
|
||||
private ZonedDateTime modelStartDttm;
|
||||
private ZonedDateTime modelEndDttm;
|
||||
private Long updateUid;
|
||||
private String runningModelType;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ public class InferenceResultService {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getProcessing() {
|
||||
public UUID getProcessing() {
|
||||
return inferenceResultCoreService.getProcessing();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user