From b8194df9ae742794b4d38da962d3ea5eef58d345 Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 24 Feb 2026 15:43:35 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=ED=95=99=EC=8A=B5=20=EC=8B=A4=ED=8C=A8?= =?UTF-8?q?=EC=97=AC=EB=B6=80=20=ED=99=95=EC=9D=B8=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cd/training/train/service/JobRecoveryOnStartupService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/kamco/cd/training/train/service/JobRecoveryOnStartupService.java b/src/main/java/com/kamco/cd/training/train/service/JobRecoveryOnStartupService.java index d42bd0c..9ea39ca 100644 --- a/src/main/java/com/kamco/cd/training/train/service/JobRecoveryOnStartupService.java +++ b/src/main/java/com/kamco/cd/training/train/service/JobRecoveryOnStartupService.java @@ -1,7 +1,6 @@ package com.kamco.cd.training.train.service; import com.kamco.cd.training.postgres.core.ModelTrainJobCoreService; -import com.kamco.cd.training.postgres.core.ModelTrainMngCoreService; import com.kamco.cd.training.train.dto.ModelTrainJobDto; import java.io.BufferedReader; import java.io.IOException; @@ -20,7 +19,6 @@ import org.springframework.transaction.annotation.Transactional; @Transactional(readOnly = true) public class JobRecoveryOnStartupService { private final ModelTrainJobCoreService modelTrainJobCoreService; - private final ModelTrainMngCoreService modelTrainMngCoreService; @EventListener(ApplicationReadyEvent.class) public void recover() { From cb0a38274a33afa6b733a784499563205e19d3df Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 24 Feb 2026 16:24:16 +0900 Subject: [PATCH 2/3] =?UTF-8?q?val=5Finterval=20=EA=B8=B0=EB=B3=B8?= =?UTF-8?q?=EA=B0=92=201=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cd/training/postgres/entity/ModelHyperParamEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java b/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java index fb250b1..3ffd1aa 100644 --- a/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java +++ b/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java @@ -192,10 +192,10 @@ public class ModelHyperParamEntity { @Column(name = "save_best_rule", nullable = false, length = 10) private String saveBestRule = "greater"; - /** Default: 10 */ + /** Default: 1 */ @NotNull @Column(name = "val_interval", nullable = false) - private Integer valInterval = 10; + private Integer valInterval = 1; /** Default: 400 */ @NotNull From 901dde066d29b3ba05ac73b82578c5a12822121e Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 24 Feb 2026 16:54:58 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=ED=95=98=EC=9D=B4=ED=8C=8C=EB=9D=BC?= =?UTF-8?q?=EB=AF=B8=ED=84=B0=20=EC=83=81=EC=84=B8=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cd/training/hyperparam/HyperParamApiController.java | 8 ++++---- .../kamco/cd/training/hyperparam/dto/HyperParamDto.java | 2 ++ .../training/postgres/entity/ModelHyperParamEntity.java | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java b/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java index 80ce295..ef04353 100644 --- a/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java +++ b/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java @@ -97,9 +97,9 @@ public class HyperParamApiController { String type, @Parameter(description = "시작일", example = "2026-02-01") @RequestParam(required = false) LocalDate startDate, - @Parameter(description = "종료일", example = "2026-02-28") @RequestParam(required = false) + @Parameter(description = "종료일", example = "2026-03-31") @RequestParam(required = false) LocalDate endDate, - @Parameter(description = "버전명", example = "G_000001") @RequestParam(required = false) + @Parameter(description = "버전명", example = "G1_000019") @RequestParam(required = false) String hyperVer, @Parameter(description = "모델 타입 (G1, G2, G3 중 하나)", example = "G1") @RequestParam(required = false) @@ -142,7 +142,7 @@ public class HyperParamApiController { }) @DeleteMapping("/{uuid}") public ApiResponseDto deleteHyperParam( - @Parameter(description = "하이퍼파라미터 uuid", example = "c3b5a285-8f68-42af-84f0-e6d09162deb5") + @Parameter(description = "하이퍼파라미터 uuid", example = "57fc9170-64c1-4128-aa7b-0657f08d6d10") @PathVariable UUID uuid) { hyperParamService.deleteHyperParam(uuid); @@ -164,7 +164,7 @@ public class HyperParamApiController { }) @GetMapping("/{uuid}") public ApiResponseDto getHyperParam( - @Parameter(description = "하이퍼파라미터 uuid", example = "c3b5a285-8f68-42af-84f0-e6d09162deb5") + @Parameter(description = "하이퍼파라미터 uuid", example = "57fc9170-64c1-4128-aa7b-0657f08d6d10") @PathVariable UUID uuid) { return ApiResponseDto.ok(hyperParamService.getHyperParam(uuid)); diff --git a/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java b/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java index b6becca..64f1abe 100644 --- a/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java +++ b/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java @@ -29,6 +29,8 @@ public class HyperParamDto { private UUID uuid; private String hyperVer; @JsonFormatDttm private ZonedDateTime createdDttm; + @JsonFormatDttm private ZonedDateTime lastUsedDttm; + private Integer totalUseCnt; // ------------------------- // Important diff --git a/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java b/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java index 3ffd1aa..35601be 100644 --- a/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java +++ b/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java @@ -319,6 +319,8 @@ public class ModelHyperParamEntity { this.uuid, this.hyperVer, this.createdDttm, + this.lastUsedDttm, + this.totalUseCnt, // ------------------------- // Important // -------------------------