|
|
|
@ -96,6 +96,20 @@ public class ExternalAuthController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "Edge 패키지 목록 조회", description = "로그인 후 받은 id와 token을 사용해 외부 Edge 패키지 검색 API를 호출합니다.")
|
|
|
|
|
|
|
|
@GetMapping("/edge-search")
|
|
|
|
|
|
|
|
public ResponseEntity<ApiResponse> edgeSearch(
|
|
|
|
|
|
|
|
@RequestParam String id,
|
|
|
|
|
|
|
|
@RequestParam String token
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
Map<String, Object> edgeResult = externalAuthService.getEdgePackageList(id, token);
|
|
|
|
|
|
|
|
return ResponseEntity.ok(ApiResponse.success(edgeResult));
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
|
|
return ResponseEntity.ok(ApiResponse.failure(e.getMessage()));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// @Operation(
|
|
|
|
// @Operation(
|
|
|
|
// summary = "S3 업로드 + 외부 DB 등록",
|
|
|
|
// summary = "S3 업로드 + 외부 DB 등록",
|
|
|
|
// description = "파일을 S3에 업로드하고 외부 DB에 등록합니다.",
|
|
|
|
// description = "파일을 S3에 업로드하고 외부 DB에 등록합니다.",
|
|
|
|
|