Skip to content

Commit

Permalink
rename: *Info -> *InfoFromCharacterList
Browse files Browse the repository at this point in the history
  • Loading branch information
yechan-kim committed Aug 18, 2024
1 parent ce82578 commit 7b4d4db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public class CharacterController {

private final FetchOcid fetchOcid;
private final UploadCharacterList uploadCharacterList;
private final FetchBasicInfo fetchBasicInfo;
private final FetchUnionInfo fetchUnionInfo;
private final FetchStatInfo fetchStatInfo;
private final FetchBasicInfoFromCharacterList fetchBasicInfoFromCharacterList;
private final FetchUnionInfoFromCharacterList fetchUnionInfoFromCharacterList;
private final FetchStatInfoFromCharacterList fetchStatInfoFromCharacterList;


@Operation(summary = "캐릭터 목록 엑셀 파일 업로드", description = "캐릭터 목록 엑셀 파일을 DB에 저장합니다.")
Expand Down Expand Up @@ -64,7 +64,7 @@ public ResponseEntity<String> fetchOcid(CharacterOcidRequest request) throws IOE
})
@PatchMapping("/basic")
public ResponseEntity<String> fetchBasicInfo() throws IOException {
return ResponseEntity.ok(fetchBasicInfo.execute());
return ResponseEntity.ok(fetchBasicInfoFromCharacterList.execute());
}

@Operation(summary = "캐릭터의 스텟 정보 호출", description = "Nexon Open API를 통해 캐릭터의 스텟 정보를 호출합니다.")
Expand All @@ -77,7 +77,7 @@ public ResponseEntity<String> fetchBasicInfo() throws IOException {
})
@PatchMapping("/stat")
public ResponseEntity<String> fetchStatInfo() throws IOException {
return ResponseEntity.ok(fetchStatInfo.execute());
return ResponseEntity.ok(fetchStatInfoFromCharacterList.execute());
}

@Operation(summary = "캐릭터의 유니온 정보 호출", description = "Nexon Open API를 통해 캐릭터의 유니온 정보를 호출합니다.")
Expand All @@ -90,6 +90,6 @@ public ResponseEntity<String> fetchStatInfo() throws IOException {
})
@PatchMapping("/union")
public ResponseEntity<String> fetchUnionInfo() throws IOException {
return ResponseEntity.ok(fetchUnionInfo.execute());
return ResponseEntity.ok(fetchUnionInfoFromCharacterList.execute());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@Service
@RequiredArgsConstructor
public class FetchBasicInfo {
public class FetchBasicInfoFromCharacterList {

private final Connection connection;
private final ObjectMapper objectMapper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@Service
@RequiredArgsConstructor
public class FetchStatInfo {
public class FetchStatInfoFromCharacterList {

private final Connection connection;
private final ObjectMapper objectMapper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@Service
@RequiredArgsConstructor
public class FetchUnionInfo {
public class FetchUnionInfoFromCharacterList {

private final Connection connection;
private final ObjectMapper objectMapper;
Expand Down

0 comments on commit 7b4d4db

Please sign in to comment.