Commit Graph

166 Commits (6a08b6164fdc35c3dc66fba76b0245a3a9ae446a)
 

Author SHA1 Message Date
박성영 a2dc40a0d7 docs: VMIS 통합 완료 가이드 문서 추가
완료된 작업 요약 및 사용 가이드 문서

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
1 month ago
박성영 be4c926029 feat: VMIS 통합 모드 전환 기능 구현 (Strategy Pattern)
내부/외부 API 호출을 YAML 설정으로 전환할 수 있는 Strategy Pattern 구현

## 주요 변경사항

### 1. Strategy Pattern 구현
- VehicleInfoService 인터페이스 생성 (공통 추상화)
- InternalVehicleInfoServiceImpl: 내부 VMIS 모듈 직접 호출
- ExternalVehicleInfoServiceImpl: 외부 REST API 호출
- @ConditionalOnProperty로 mode에 따라 Bean 자동 선택

### 2. Bean 충돌 해결
- HttpClientConfig의 restTemplate → vmisRestTemplate으로 변경
- GovernmentApiClient에 @Qualifier("vmisRestTemplate") 추가
- 기존 RestTemplateConfig와 충돌 방지

### 3. 설정 확장
- VmisProperties에 integration, external 속성 추가
- vmis.integration.mode: internal/external 설정 지원
- vmis.external.api.url: 외부 API 서버 URL 설정

### 4. 모델 변환 유틸리티
- VehicleResponseMapper 생성
- 내부 모델(BasicResponse, LedgerResponse) → 외부 VO 변환

### 5. 모니터링 및 로깅
- VmisIntegrationConfig: 시작 시 활성 모드 출력
- 각 구현체에 [Internal Mode]/[External Mode] 로그 추가

## 사용 방법

### Internal Mode (내부 모듈 직접 호출)
```yaml
vmis:
  integration:
    mode: internal
```

### External Mode (외부 REST API 호출)
```yaml
vmis:
  integration:
    mode: external
  external:
    api:
      url: http://localhost:8081/api/v1/vehicles
```

## 빌드 성공 확인 
- Bean 충돌 해결 완료
- 전체 컴파일 성공

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
1 month ago
박성영 ebcd17a6f0 feat: VMIS-interface 통합 (Spring Boot 2.7 호환)
- VMIS-interface 전체 코드 이식 (33개 Java 파일, 2개 XML)
- 패키지 변경: com.vmis.interfaceapp → go.kr.project.vmis
- Spring Boot 3 → 2 호환: jakarta → javax
- Java 17 → 8 호환: Text Blocks, List.of() 제거
- HttpClient 5 → 4 변환
- GPKI 라이브러리 추가
- application.yml에 VMIS 설정 통합
- MyBatis 매퍼 경로 추가

빌드 성공 확인 

Co-Authored-By: Claude <noreply@anthropic.com>
1 month ago
박성영 6c677f7f69 VMIS-interface → VIPS 통합 작업 분석, 계획 문서
수정
1 month ago
박성영 b160476ddc 로그인 타이틀 변경 1 month ago
박성영 ba7b04b235 프로젝트 타이틀명 변경 1 month ago
박성영 1486df75be VMIS-interface → VIPS 통합 작업 분석, 계획 문서 작성 1 month ago
박성영 e782cdac5c RestTemplate 설정 추가 및 연결 풀, 타임아웃, Rate Limiting 기능 적용 1 month ago
박성영 36570132e4 설정 초기화 진행 중... 1 month ago
박성영 d653415d54 설정 초기화 진행 중... 1 month ago
박성영 59ff10783d 설정 초기화 진행 중... 1 month ago
박성영 1c43a6487d 설정 초기화 진행 중... 1 month ago
박성영 f7717cff8f 설정 초기화 진행 중... 1 month ago
박성영 a98753b8af 설정 초기화 진행 중... 1 month ago
박성영 710b2a1400 로고 관련 변경 1 month ago
박성영 f1ecbca216 용인시 수지구청 자동차 검사 과태료 시스템
최초 등록
1 month ago