Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: 허브 태그 자동 생성 로직을 구현한다. #68

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

hseong3243
Copy link
Owner

작업 내용

  • 허브 태그 자동 생성 서비스, 영속성 로직을 구현하였습니다.
  • 링크 리포지토리에서 허브가 가진 링크 목록을 조회한 후 자동 태그 생성 요청을 보내기 위한 데이터로 가공합니다.
    • 영속성 로직은 최대한 간단한 데이터만 조회하도록 구성하였습니다.
  • 링크 개수가 5개 미만인 경우 예외, 5개 이상인 경우 5로 나눈 몫만큼을 생성할 태그 개수로 합니다. 최대 태그 개수는 5개로 지정합니다.
  • 새로운 태그가 만들어지는 경우 기존 태그는 제거합니다.
  • TagEntity의 경우 추후 사용자 태그를 추가하는 경우를 고려하여 추상 클래스로 만들고 HubTagEntity가 이를 상속합니다.

@hseong3243 hseong3243 self-assigned this Apr 9, 2024
@hseong3243 hseong3243 linked an issue Apr 9, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Apr 9, 2024

Test Results

140 tests  +4   140 ✅ +4   2s ⏱️ ±0s
 48 suites +1     0 💤 ±0 
 48 files   +1     0 ❌ ±0 

Results for commit f6344f3. ± Comparison against base commit 4924fad.

@hseong3243 hseong3243 merged commit 816ac2a into main Apr 9, 2024
2 checks passed
@hseong3243 hseong3243 deleted the feat/#66-create-hub-tag branch April 9, 2024 08:46
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.

Feat: 허브 태그 자동 생성 로직을 구현한다.
1 participant