Postgresql TEXT 타입 선언 수정, API 경로 수정
This commit is contained in:
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@Tag(name = "감사 로그", description = "감사 로그 관리 API")
|
@Tag(name = "감사 로그", description = "감사 로그 관리 API")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/api/log/audit", "/v1/api/log/audit"})
|
@RequestMapping("/api/log/audit")
|
||||||
public class AuditLogApiController {
|
public class AuditLogApiController {
|
||||||
|
|
||||||
private final AuditLogCoreService auditLogCoreService;
|
private final AuditLogCoreService auditLogCoreService;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@Tag(name = "에러 로그", description = "에러 로그 관리 API")
|
@Tag(name = "에러 로그", description = "에러 로그 관리 API")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/api/log/error", "/v1/api/log/error"})
|
@RequestMapping("/api/log/error")
|
||||||
public class ErrorLogApiController {
|
public class ErrorLogApiController {
|
||||||
|
|
||||||
private final ErrorLogCoreService errorLogCoreService;
|
private final ErrorLogCoreService errorLogCoreService;
|
||||||
|
|||||||
@@ -31,7 +31,10 @@ public class ErrorLogEntity extends CommonCreateEntity {
|
|||||||
|
|
||||||
private String errorCode;
|
private String errorCode;
|
||||||
private String errorMessage;
|
private String errorMessage;
|
||||||
|
|
||||||
|
@Column(columnDefinition = "TEXT")
|
||||||
private String stackTrace;
|
private String stackTrace;
|
||||||
|
|
||||||
private Long handlerUid;
|
private Long handlerUid;
|
||||||
private ZonedDateTime handledDttm;
|
private ZonedDateTime handledDttm;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user