Skip to content

style: domain 패키지 내부로 패키지 구조 변경 / #63#64

Merged
JayongLee merged 4 commits intomainfrom
style/#63
Dec 6, 2025
Merged

style: domain 패키지 내부로 패키지 구조 변경 / #63#64
JayongLee merged 4 commits intomainfrom
style/#63

Conversation

@JayongLee
Copy link
Member

🗞️ 연관된 이슈

🔥 이슈번호

✅ 작업 내용

  • domain 패키지 내부로 패키지 구조 변경

📸 스크린샷 (선택)

체크리스트 ✅

  • 코드가 정상적으로 컴파일되나요?
  • merge할 브랜치의 위치를 확인했나요?
  • 테스트 코드를 작성하셨나요?

기타

@JayongLee JayongLee self-assigned this Dec 4, 2025
@JayongLee JayongLee linked an issue Dec 4, 2025 that may be closed by this pull request
@gemini-code-assist
Copy link

Summary of Changes

Hello @JayongLee, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 Pull Request는 프로젝트의 패키지 구조를 개선하기 위한 광범위한 리팩토링 작업입니다. 기존의 certificate, client, user 관련 모듈들을 domain이라는 단일 상위 패키지 아래로 재배치하여 코드의 응집도를 높이고, 도메인 중심의 아키텍처를 더욱 명확하게 구축하는 것을 목표로 합니다. 이 변경은 기능적인 변화 없이 코드의 가독성과 유지보수성을 향상시키는 데 중점을 둡니다.

Highlights

  • 패키지 구조 변경: certificate, client, user와 관련된 모든 클래스들이 domain이라는 새로운 상위 패키지 아래로 이동되었습니다.
  • 임포트 경로 업데이트: 패키지 이동에 따라 영향을 받는 모든 파일(주로 authglobal 패키지 내의 파일들)에서 변경된 클래스들의 임포트 경로가 새로운 domain 패키지 구조에 맞춰 업데이트되었습니다.
  • 테스트 파일 수정: 리팩토링된 클래스들을 사용하는 테스트 파일들도 새로운 패키지 구조를 반영하도록 임포트 경로 및 일부 객체 생성 코드가 수정되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

도메인 관련 클래스들을 domain 패키지 내부로 이동하여 패키지 구조를 리팩토링하는 PR이네요. 전반적으로 파일 이동 및 import문 수정으로 프로젝트 구조가 개선되었습니다. 몇 가지 작은 문제점들을 발견했습니다. 일부 테스트 파일들이 소스 파일과 함께 이동되지 않았고, 사용하지 않는 import문이 몇 군데 남아있습니다. 자세한 내용은 개별 코멘트를 확인해주세요.

import org.creditto.authserver.domain.certificate.enums.CertificateStatus;
import org.creditto.authserver.domain.certificate.repository.CertificateRepository;
import org.creditto.authserver.domain.certificate.repository.CertificateUsageHistoryRepository;
import org.creditto.authserver.domain.certificate.service.CertificateService;

Choose a reason for hiding this comment

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

medium

패키지 구조 변경에 따라 이 테스트 클래스도 src/test/java/org/creditto/authserver/domain/certificate/service 경로로 이동하고, 파일 상단의 패키지 선언도 package org.creditto.authserver.domain.certificate.service;로 수정하는 것이 좋겠습니다. 테스트 대상 클래스와 동일한 패키지 구조를 유지하면 일관성을 높일 수 있습니다.

import org.creditto.authserver.client.entity.RegisteredClientMapper;
import org.creditto.authserver.domain.client.entity.OAuth2RegisteredClient;
import org.creditto.authserver.domain.client.entity.RegisteredClientMapper;
import org.creditto.authserver.domain.client.repository.JpaRegisteredClientRepositoryService;

Choose a reason for hiding this comment

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

medium

패키지 구조 변경에 따라 이 테스트 클래스도 src/test/java/org/creditto/authserver/domain/client/repository 경로로 이동하고, 파일 상단의 패키지 선언도 package org.creditto.authserver.domain.client.repository;로 수정하는 것이 좋겠습니다. 테스트 대상 클래스와 동일한 패키지 구조를 유지하면 일관성을 높일 수 있습니다.

@@ -1,5 +1,6 @@
package org.creditto.authserver.client.service;

import org.creditto.authserver.domain.client.service.RedisOAuth2AuthorizationService;

Choose a reason for hiding this comment

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

medium

패키지 구조 변경에 따라 이 테스트 클래스도 src/test/java/org/creditto/authserver/domain/client/service 경로로 이동하고, 파일 상단의 패키지 선언도 package org.creditto.authserver.domain.client.service;로 수정하는 것이 좋겠습니다. 테스트 대상 클래스와 동일한 패키지 구조를 유지하면 일관성을 높일 수 있습니다.

import org.creditto.authserver.domain.user.dto.UserResponse;
import org.creditto.authserver.domain.user.entity.User;
import org.creditto.authserver.domain.user.repository.UserRepository;
import org.creditto.authserver.domain.user.service.UserService;

Choose a reason for hiding this comment

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

medium

패키지 구조 변경에 따라 이 테스트 클래스도 src/test/java/org/creditto/authserver/domain/user/service 경로로 이동하고, 파일 상단의 패키지 선언도 package org.creditto.authserver.domain.user.service;로 수정하는 것이 좋겠습니다. 테스트 대상 클래스와 동일한 패키지 구조를 유지하면 일관성을 높일 수 있습니다.

JayongLee and others added 3 commits December 6, 2025 16:14
# Conflicts:
#	src/test/java/org/creditto/authserver/client/service/RedisOAuth2AuthorizationServiceTest.java
@JayongLee JayongLee merged commit b80c011 into main Dec 6, 2025
1 check passed
@JayongLee JayongLee deleted the style/#63 branch December 6, 2025 07:25
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.

style: 패키지 구조 변경

1 participant