Skip to content

feat: 동아리 주제 필드를 응답에 포함#634

Merged
dh2906 merged 1 commit into
developfrom
feature/add-club-topic
May 22, 2026
Merged

feat: 동아리 주제 필드를 응답에 포함#634
dh2906 merged 1 commit into
developfrom
feature/add-club-topic

Conversation

@dh2906
Copy link
Copy Markdown
Contributor

@dh2906 dh2906 commented May 22, 2026

🔍 개요

  • 동아리 분과만으로는 전달하기 어려운 세부 성격을 API에서 함께 확인할 수 있도록, 동아리 주제를 저장하고 반환합니다.

🚀 주요 변경 내용

  • club 테이블에 topic 컬럼을 추가하고 기존 데이터는 기본값 기타로 보정합니다.
  • 동아리 생성과 기본정보 수정 요청에서 주제를 함께 받도록 검증을 추가했습니다.
  • 앱/웹 공개 동아리 목록, 상세, 가입/관리/지원 응답에서 분과명과 함께 topic을 반환합니다.
  • 관련 단위/통합 테스트에 주제 필드 검증을 추가했습니다.

💬 참고 사항

  • ./gradlew test 통과, push 전 훅에서 checkstyleMaincompileJava도 통과했습니다.
  • 기존 row의 주제는 마이그레이션 기본값 기타로 들어갑니다. 실제 서비스 데이터 주제는 필요하면 후속 데이터 보정이 필요합니다.

✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

Compound Engineering
GPT-5

- 분과보다 세부적인 동아리 성격을 표현할 수 있도록 club 테이블에 topic 컬럼을 추가

- 동아리 생성과 기본정보 수정 시 주제를 함께 저장해 응답 데이터가 비어 있는 상태를 방지

- 기존에 분과명을 반환하던 동아리 목록, 상세, 가입/관리/지원, 웹 공개 API 응답에 topic을 함께 노출

- 기존 데이터는 마이그레이션 기본값으로 채워 컬럼 추가 시 배포 충돌을 줄임
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Warning

Rate limit exceeded

@dh2906 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 42 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 198e24ed-874b-4c3a-8dde-61a3c4eb4b2b

📥 Commits

Reviewing files that changed from the base of the PR and between f53b90a and 934dd24.

📒 Files selected for processing (19)
  • src/main/java/gg/agit/konect/domain/club/dto/ClubAppliedClubsResponse.java
  • src/main/java/gg/agit/konect/domain/club/dto/ClubBasicInfoUpdateRequest.java
  • src/main/java/gg/agit/konect/domain/club/dto/ClubCreateRequest.java
  • src/main/java/gg/agit/konect/domain/club/dto/ClubDetailResponse.java
  • src/main/java/gg/agit/konect/domain/club/dto/ClubMembershipsResponse.java
  • src/main/java/gg/agit/konect/domain/club/dto/ClubsResponse.java
  • src/main/java/gg/agit/konect/domain/club/dto/MyManagedClubResponse.java
  • src/main/java/gg/agit/konect/domain/club/model/Club.java
  • src/main/java/gg/agit/konect/domain/club/model/ClubSummaryInfo.java
  • src/main/java/gg/agit/konect/domain/club/repository/ClubQueryRepository.java
  • src/main/java/gg/agit/konect/domain/club/service/ClubService.java
  • src/main/java/gg/agit/konect/domain/website/dto/WebsiteClubDetailResponse.java
  • src/main/java/gg/agit/konect/domain/website/dto/WebsiteClubsResponse.java
  • src/main/resources/db/migration/V75__add_topic_to_club.sql
  • src/test/java/gg/agit/konect/integration/domain/club/ClubBasicApiTest.java
  • src/test/java/gg/agit/konect/integration/domain/website/WebsiteApiTest.java
  • src/test/java/gg/agit/konect/support/fixture/ClubFixture.java
  • src/test/java/gg/agit/konect/unit/domain/club/service/ClubMemberManagementServiceBatchTest.java
  • src/test/java/gg/agit/konect/unit/domain/club/service/ClubServiceTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/add-club-topic

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dh2906 dh2906 self-assigned this May 22, 2026
@dh2906 dh2906 merged commit 1d7f48d into develop May 22, 2026
5 checks passed
@dh2906 dh2906 deleted the feature/add-club-topic branch May 22, 2026 03:24
@github-actions
Copy link
Copy Markdown

🧪 JaCoCo Coverage Report (Changed Files)

Summary

  • Overall Coverage: 97.2% ✅
  • Covered Lines: 172 / 177
  • Changed Files: 13

Coverage by File

Class Coverage Lines Status
ClubQueryRepository
gg.agit.konect.domain.club.repository
94.4% 84/89
ClubService
gg.agit.konect.domain.club.service
100.0% 88/88

📊 View Workflow Run

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.

1 participant