zioinfo-mail/workspace/guardia-itsm
DESKTOP-TKLFCPR\ython f3fb1abf9d feat(ocr): Upstage Document AI 연동 — 20개 엔드포인트 + 7종 워크플로우
upstage_ocr.py (8개 엔드포인트):
- /api/ocr/config: API Key 설정 (AES-256-GCM 암호화)
- /api/ocr/parse: 문서 파싱 (PDF/이미지 → 구조화 JSON)
- /api/ocr/extract: 정보 추출 (Key-Value, 스키마 기반)
- /api/ocr/qa: 문서 QA (자연어 질의)
- /api/ocr/batch: 다중 파일 배치
- /api/ocr/history: 처리 이력
- /api/ocr/usage: API 사용량

doc_workflow.py (9개 엔드포인트 — 7종 워크플로우):
- /api/docflow/contract: 나라장터 계약서 → 조달 자동 등록
- /api/docflow/server-spec: 납품서 → CMDB 자동 등록
- /api/docflow/invoice: 청구서 → 과금 연동
- /api/docflow/audit-report: CSAP 보고서 → 준수율
- /api/docflow/incident-report: 장애보고서 → SR 자동 생성
- /api/docflow/meeting-minutes: 회의록 → 액션아이템 SR
- /api/docflow/brand-contract: 현대백화점 등 브랜드 계약서

doc_template.py (5개 엔드포인트):
- 내장 7종 템플릿 (나라장터/납품서/브랜드계약/청구서/장애/CSAP/회의록)
- 커스텀 템플릿 CRUD

DB 모델 (4개): UpstageOCRConfig, OCRHistory, DocWorkflowJob, DocTemplate
ITSM 사이드바: '문서 AI (OCR)' 그룹 추가 (9개 메뉴)
민감 정보 자동 마스킹 (주민번호/카드번호/전화번호)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 18:47:36 +09:00
..
.claude refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
backups refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
cicd refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
core refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
deploy refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
middleware refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
migrations refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
routers feat(ocr): Upstage Document AI 연동 — 20개 엔드포인트 + 7종 워크플로우 2026-06-02 18:47:36 +09:00
scripts/sm refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
static feat(ocr): Upstage Document AI 연동 — 20개 엔드포인트 + 7종 워크플로우 2026-06-02 18:47:36 +09:00
tests feat(cicd+tests): Jenkins pipeline + unit/integration test suite 2026-06-01 00:22:10 +09:00
tools refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
uploads/sr_files/SR-20260525-5A0B1E refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
alembic.ini refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
CLAUDE.md refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
database.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
guardia_itsm.db.bak refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
Jenkinsfile fix(zioinfo): add /var/www/zioinfo copy step in deploy + restore stash files 2026-06-01 20:42:12 +09:00
main.py feat(ocr): Upstage Document AI 연동 — 20개 엔드포인트 + 7종 워크플로우 2026-06-02 18:47:36 +09:00
models.py feat(ocr): Upstage Document AI 연동 — 20개 엔드포인트 + 7종 워크플로우 2026-06-02 18:47:36 +09:00
requirements.txt refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_a1_ws.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_a2_syntax.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_a3_deploy_notify.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_a4_timeline.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_a5_oncall.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_b1_anomaly.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_b2_chatbot.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_b3_code_review.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_b4_kb_agent.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_b5_orchestrator.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_b6_predictive.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_c1_cmdb.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_c2_change.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_c345.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_d1_ldap.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_d2_mfa.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_d3_pam.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_d4_vuln.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_d5_audit.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_e1_report.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_e2e3_analytics.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_e4_metrics.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_e5_finops.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_f1_tenant.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_f2f3_cache.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_f4_pwa.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00
test_f5_gateway.py refactor(structure): consolidate all projects under workspace/ 2026-05-31 23:50:56 +09:00