Skip to content

Commit 8fe4b95

Browse files
JIWONKIMSclaude
andauthored
fix: 주석 추가 (#98)
* feat(be):57 : Workflow * work * work * feat(be): Fix Docker build and test configuration - Docker 빌드 시 테스트 및 ktlint 스킵 설정 - 테스트 환경에서 Redis Bean 문제 해결 - TestConfig 추가하여 Mock RedisConnectionFactory 제공 - application-test.yml에 Redis AutoConfiguration 제외 설정 - 모든 테스트 클래스에 @import(TestConfig::class) 적용 - Ktlint 스타일 수정 - RedisConfig, SecurityConfig, AiChatController 포맷팅 수정 - AppConfig 파일 끝 개행 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * work * work * chore: Update deployment workflow * 1 * work * fix: Disable Spring AI schema auto-initialization for PostgreSQL Spring AI was attempting to execute H2-specific schema (schema-h2.sql) on PostgreSQL, causing infinite restart loop due to unsupported CLOB type. Changes: - Set spring.sql.init.mode to never in application.yml - Add spring.ai.vectorstore.jdbc.initialize-schema: false in application-prod.yml - Remove schema-locations pointing to H2 schema Fixes database initialization error: type "clob" does not exist 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Add missing CONTAINER_2_NAME for Blue/Green deployment Added CONTAINER_2_NAME environment variable to support proper Blue/Green deployment. Without this, the GREEN variable was empty, causing containers to be created with random names instead of team11_1/team11_2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Allow /actuator/health endpoint for health checks Added /actuator/health to permitAll in SecurityConfig to enable container health checks during Blue/Green deployment. Without this, health checks fail due to authentication requirement, causing deployment rollback. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: Allow /weather/test1 endpoint for cache testing Temporarily permit /weather/test1 endpoint to test Redis caching without authentication in production environment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Region enum 타입 불일치 임시 수정 (김지원 - 10월 4일) - UserRepository.findByRoleAndLocationContains -> findByRoleAndLocation 변경 - location 파라미터 타입: String -> Region enum으로 변경 - GuideService에서 String을 Region enum으로 변환하는 로직 추가 - upstream merge 후 발생한 타입 불일치 해결을 위한 임시 수정 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Update findGuidesByRegion to support both Korean and English region names * fix: Update Region.values() to Region.entries * chore: Sync with team member's code --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0713d8a commit 8fe4b95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/kotlin/com/back/koreaTravelGuide/domain/user/repository/UserRepository.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ interface UserRepository : JpaRepository<User, Long> {
1717

1818
fun findByEmail(email: String): User?
1919

20+
// 김지원: 10월 4일 임시 수정 - upstream merge 후 Region enum 타입 불일치 해결
21+
// findByRoleAndLocationContains -> findByRoleAndLocation으로 변경
22+
// location 파라미터: String -> Region enum
2023
fun findByRoleAndLocation(
2124
role: UserRole,
22-
location: com.back.koreaTravelGuide.domain.user.enums.Region,
25+
location: Region,
2326
): List<User>
2427
}

0 commit comments

Comments
 (0)