Skip to content

[Feat/add pace infos to record] #12

Merged
ekgns33 merged 3 commits intomainfrom
feat/add-pace-infos-to-record
Mar 30, 2025
Merged

[Feat/add pace infos to record] #12
ekgns33 merged 3 commits intomainfrom
feat/add-pace-infos-to-record

Conversation

@ekgns33
Copy link
Contributor

@ekgns33 ekgns33 commented Mar 30, 2025

작업내역

Screenshot 2025-03-30 at 1 03 30 PM

세부페이스 정보 추가

  • json으로 그대로 저장

테스트 코드작성

@ekgns33 ekgns33 requested a review from Copilot March 30, 2025 04:03
@ekgns33 ekgns33 self-assigned this Mar 30, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for detailed pace information to running record data by introducing segment pace handling throughout the codebase. Key changes include:

  • Integrating segment pace data into RecordSaveRequest, RecordCreateCommand, and related DTOs.
  • Updating tests to use RecordFixtures and verify the new pace information.
  • Modifying domain models and converters to persist and retrieve segment pace lists.

Reviewed Changes

Copilot reviewed 16 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
RewardAcceptanceTest.java Updated to use fixture for RecordSaveRequest and added a new parameter for segment pace data (currently passed as null in some tests)
RewardTest.java Updated to include an empty list for segment pace data in test cases
RecordAcceptanceTest.java New test file verifying record creation and fetching with segment pace data
RecordFixtures.java New fixture method for creating a RecordSaveRequest with segment pace data
SegmentPace.java Introduced a new record for segment pace data
RecordDetailViewResponse.java Updated to return primitive values and include segment pace list
RecordCreateCommand.java Modified command to accept a list of segment paces
RecordQueryUsecaseImpl.java, RecordQueryUsecase.java Changed method signature to use Long record identifiers
RecordCommandService.java Mapped new segment pace list from the command to the entity
RecordHttpResponse.java Adjusted response codes and messages for record fetching
SegmentPaceConverter.java Added converter to serialize/deserialize segment pace lists
RunningRecord.java Modified to persist the segment pace list and updated accessor methods
RecordSaveRequest.java Updated to include a field for segment pace data
RecordController.java Modified endpoint signature and response wrapper for record viewing
Pace.java Added a getter for paceInMilliSeconds
Files not reviewed (2)
  • src/main/resources/sql/schema.sql: Language not supported
  • src/test/resources/sql/schema.sql: Language not supported

@ekgns33 ekgns33 merged commit 277e6e1 into main Mar 30, 2025
1 check passed
@ekgns33 ekgns33 deleted the feat/add-pace-infos-to-record branch April 16, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants