[Developer] #424 simplify ORDS handler target form

This commit is contained in:
devmrko
2026-06-25 14:29:40 +09:00
parent a2a45951f1
commit 28dcde6975
3 changed files with 10 additions and 41 deletions

View File

@@ -38,13 +38,11 @@ public class ProtectedObjectController {
@RequestParam String owner,
@RequestParam String objectName,
@RequestParam String ordsPath,
@RequestParam(required = false) String columns,
@RequestParam(required = false) String sensitiveColumns,
RedirectAttributes redirectAttributes
) {
try {
protectedObjectService.createObject(
new ProtectedObjectCreateCommand(owner, objectName, ordsPath, columns, sensitiveColumns));
new ProtectedObjectCreateCommand(owner, objectName, ordsPath, null, null));
redirectAttributes.addFlashAttribute("message", "ORDS 조회 Handler 대상을 추가했습니다.");
} catch (AppException exception) {
redirectAttributes.addFlashAttribute("errorMessage", exception.getMessage());