Skip to content

Conversation

@JIWONKIMS
Copy link
Collaborator

Close #57

JIWONKIMS and others added 14 commits October 3, 2025 11:00
- 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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
# Conflicts:
#	src/test/kotlin/com/back/koreaTravelGuide/domain/ai/tour/client/TourApiClientTest.kt
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.

CI/CD 작업

2 participants