LPS(인터넷 최저가 검색) 연동 1단계. price_history 동기화 배치가 쓸 읽기전용 접속을 기존 확장점(DBType enum + 세션매니저 맵)에 등록한다. - DBType.LPS=2, LpsDBConfig(read_* 만 — write 엔진 미등록으로 앱 차원 읽기전용 강제, write 요청 시 KeyError) - config name 비면 미등록(구버전 toml·LPS 없는 환경에서도 부팅 가능), 배치는 is_registered() 로 사전 확인 - env override: LPS_DB_HOST/PORT/USER/PASSWORD/NAME (도커용) - 검증: 엔진 등록·읽기 세션·write 가드 KeyError·lps_db.price_history 실조회 확인 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| anchoring | ||
| database | ||
| models | ||
| utils | ||
| authz.py | ||
| enums.py | ||
| logger.py | ||
| singleton.py | ||