Skip to content

[Feat] S3 DOCX 다운로드 및 변환된 PDF 업로드 구현 #32

Description

@snowballourown

작업 목적

S3에 저장된 DOCX를 다운로드하여 WordPdfConverter.convert()로 변환하고, 반환된 PDF를 S3에 저장한다.

작업 내용

  • StoreFile.objectKey를 사용하여 S3에서 DOCX 다운로드
  • 다운로드한 DOCX를 WordPdfConverter.convert()에 전달
  • PDF를 저장할 새로운 S3 저장 키 생성
  • ConvertedPdf.content()를 application/pdf 형식으로 S3에 업로드
  • PDF의 S3 저장 키·크기·페이지 수를 호출한 코드에 반환
  • 다운로드·변환·업로드의 정상 및 실패 테스트 작성

이번 작업에는 StoreFile 생성·DB 저장, DocumentUpload.reviewPdfFile 연결, DocumentConversionJob, 스케줄러 및 PDF 조회 API를 포함하지 않는다.

참고 자료

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions