{"repo":"Rapter1990/pdfcompare","free":true,"listed":false,"github":"https://github.com/Rapter1990/pdfcompare","clone":"git clone https://github.com/Rapter1990/pdfcompare.git","description":"Case Study - Pdf Comparison (Java 21, Spring Boot, JUnit, Jacoco, Prometheus,Grafana, AlertManager, Docker, Kubernetes, Github Action (CI/CD), Test Container)","language":"Java","stars":11,"topics":["alertmanager","cicd","docker","github-actions","grafana","jacoco","java","java21","junit","kubernetes"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Case Study - PDF Comparison 📖 Information This project provides a Spring Boot API for PDF Comparison , allowing users to compare two PDF documents and download a resulting comparison report in PDF format . PDF Comparison API: Endpoint: /api/v1/pdf/compare HTTP Method: POST Consumes: multipart/form-data Parameters: file1: First PDF file ( required ) file2: Second PDF file ( required ) isMultiple: Boolean flag ( optional , default is false ) indicating whether to perform multiple comparisons. Response: Returns a PDF file ( comparison.pdf ) containing the comparison results. Example Request: POST /api/v1/pdf/compare with two PDF files and an optional isMultiple flag. Implementation Details: Utilizes a dedicated PDFComparisonService to process and compare the contents of the uploaded PDF files. The service generates a comparison report as a PDF document, highlighting differences and similarities. Errors during the comparison process are managed via exception handling, ensuring reliable API responses. Downloadable Output: The response sets Content-Type to application/pdf and uses Content-Disposition to prompt the download of the file named comparison.pdf . Explore Rest APIs Endpoints Summary Method Url Description Request Body Path Variable Response POST /api/v1/pdf/compare Compare two PDF files and return a comparison report file1: First PDF file (required) file2: Second PDF file (required) isMultiple: Boolean flag (optional, default is false) None PDF file (comparison.pdf) Tech","default_branch":null,"files":null,"tree":[],"storefront":"/r/Rapter1990","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Rapter1990/pdfcompare/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}