refactor: Java 패키지·설정 prefix 를 purut 으로 - #16
Merged
Merged
Conversation
앱 이름이 푸릇푸릇으로 바뀌어 코드의 jungwoon 을 걷어낸다. com.jungwoon.* → com.purut.* (128파일) jungwoon.jwt/storage/ → purut.* (@ConfigurationProperties) cors/auth.cookie JungwoonApiApplication → PurutApiApplication spring.application.name jungwoon-api → purut-api 리네임 중에 실제 버그 두 개가 드러났다. @value 플레이스홀더가 옛 prefix 를 가리키고 있어 yml 만 바꿨으면 값이 조용히 기본값으로 떨어졌을 것이다. @value("${jungwoon.version:dev}") → purut.version @value("${jungwoon.oauth.kakao.user-info-uri}") → purut.oauth... META-INF/services 파일도 확장자가 없어 첫 치환에서 빠졌다. p6spy 리스너를 못 찾아 로컬 기동이 실패해서 발견했다. ## 남긴 것 (운영 식별자) 컨테이너명·GHCR 이미지명·DB 이름·R2 버킷·CI 경로는 그대로 둔다. 지금 운영이 돌고 있고, 이것들은 코드 밖 리소스와 짝이 맞아야 한다. R2 는 버킷 이름 변경 자체가 불가능해 음원 전체를 복사해야 한다. ## CORS prefix 변경으로 환경변수 이름이 JUNGWOON_CORS_ALLOWED_ORIGINS → PURUT_CORS_ALLOWED_ORIGINS 로 바뀐다. 운영 .env 에는 새 이름을 추가만 하고 옛 이름을 남겨뒀다 — 롤백해도 CORS 가 깨지지 않는다. 허용 오리진 200 / 그 외 403 을 실제로 확인했다.
likell1
added a commit
that referenced
this pull request
Aug 20, 2026
refactor: Java 패키지·설정 prefix 를 purut 으로
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
앱 이름이 푸릇푸릇으로 바뀌어 코드의
jungwoon을 걷어냅니다.리네임 중 드러난 버그 2개
@Value플레이스홀더가 옛 prefix 를 가리키고 있었습니다. yml 만 바꿨으면값이 조용히 기본값으로 떨어졌을 자리입니다.
META-INF/services파일은 확장자가 없어 첫 치환에서 빠졌습니다. p6spy 리스너를못 찾아 로컬 기동이 실패해서 발견했습니다.
남긴 것
컨테이너명·GHCR 이미지명·DB 이름·R2 버킷·CI 경로는 그대로 둡니다. 운영이
돌고 있고 코드 밖 리소스와 짝이 맞아야 합니다. R2 는 버킷 이름 변경 자체가
불가능해 음원 전체를 복사해야 합니다.
CORS — 배포 시 주의
환경변수 이름이
JUNGWOON_CORS_ALLOWED_ORIGINS→PURUT_CORS_ALLOWED_ORIGINS로 바뀝니다. 운영
.env에는 새 이름을 이미 추가해뒀고 옛 이름도 남겨뒀습니다 —롤백해도 CORS 가 깨지지 않습니다.
허용 오리진 200 / 그 외 403 을 실제로 확인했습니다.
./gradlew build통과.