Refactor: 진행 상황을 위한 로깅
This commit is contained in:
parent
d9d183b34c
commit
09cc8da47b
@ -3,8 +3,10 @@ package com.worlabel.domain.model.entity.dto;
|
|||||||
import lombok.AccessLevel;
|
import lombok.AccessLevel;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
import lombok.ToString;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
|
@ToString
|
||||||
@AllArgsConstructor(access = AccessLevel.PRIVATE)
|
@AllArgsConstructor(access = AccessLevel.PRIVATE)
|
||||||
public class TrainResponse {
|
public class TrainResponse {
|
||||||
|
|
||||||
|
@ -103,6 +103,7 @@ public class AiModelService {
|
|||||||
log.debug("요청 DTO :{}", aiRequest);
|
log.debug("요청 DTO :{}", aiRequest);
|
||||||
String endPoint = project.getProjectType().getValue() + "/train";
|
String endPoint = project.getProjectType().getValue() + "/train";
|
||||||
TrainResponse trainResponse = aiRequestService.postRequest(endPoint, aiRequest, TrainResponse.class, this::converterTrain);
|
TrainResponse trainResponse = aiRequestService.postRequest(endPoint, aiRequest, TrainResponse.class, this::converterTrain);
|
||||||
|
log.debug("결과 {}",trainResponse);
|
||||||
|
|
||||||
// 가져온 modelKey -> version 업된 모델 다시 새롭게 저장
|
// 가져온 modelKey -> version 업된 모델 다시 새롭게 저장
|
||||||
String currentDateTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMdd_HHmm"));
|
String currentDateTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMdd_HHmm"));
|
||||||
|
Loading…
Reference in New Issue
Block a user