From b8f8fb40188b4c13d3f928105d99bf8cd17a7ded Mon Sep 17 00:00:00 2001 From: shuhanmirza Date: Tue, 16 Jan 2024 16:12:20 +0600 Subject: [PATCH] Rename maven project --- {SpringBooTex => SimplePdfGenAPI}/LICENSE | 0 {SpringBooTex => SimplePdfGenAPI}/mvnw | 0 {SpringBooTex => SimplePdfGenAPI}/mvnw.cmd | 0 {SpringBooTex => SimplePdfGenAPI}/pom.xml | 6 +++--- .../simplepdfgenapi/SimplePdfGenApplication.java | 6 +++--- .../simplepdfgenapi}/component/PdfGenerator.java | 4 ++-- .../component/PdfGeneratorProvider.java | 8 ++++---- .../component/ResponseBuilder.java | 2 +- .../component/ResponseBuilderProvider.java | 10 +++++----- .../component/TemplateExtractor.java | 2 +- .../component/TemplateExtractorProvider.java | 6 +++--- .../jsonresponsebuilder/JsonResponseBuilder.java | 8 ++++---- .../OctetStreamResponseBuilder.java | 4 ++-- .../PdfFileResponseBuilder.java | 4 ++-- .../pdfgenerator/HtmlTemplatePdfGenerator.java | 12 ++++++------ .../pdfgenerator/LatexTemplatePdfGenerator.java | 10 +++++----- .../templateextractor/Base64TemplateExtractor.java | 4 ++-- .../controller/PdfGeneratorController.java | 6 +++--- .../shuhanmirza/simplepdfgenapi}/dto/FontFile.java | 2 +- .../dto/PdfBuildingInstruction.java | 2 +- .../simplepdfgenapi}/dto/request/BaseRequest.java | 2 +- .../dto/request/PdfGenerationRequest.java | 8 ++++---- .../dto/response/BaseResponse.java | 2 +- .../dto/response/PdfGenerationResponse.java | 2 +- .../simplepdfgenapi}/enums/ResponseType.java | 2 +- .../simplepdfgenapi}/enums/TemplateSourceType.java | 2 +- .../simplepdfgenapi}/enums/TemplateType.java | 2 +- .../service/Impl/PdfGenerationServiceImpl.java | 14 +++++++------- .../service/PdfGenerationService.java | 5 ++--- .../simplepdfgenapi}/service/UtilityService.java | 4 ++-- .../shuhanmirza/simplepdfgenapi}/util/Utility.java | 6 ++++-- .../src/main/resources/application.properties | 2 +- .../SimplePdfGenApplicationTests.java | 10 +++++----- 33 files changed, 79 insertions(+), 78 deletions(-) rename {SpringBooTex => SimplePdfGenAPI}/LICENSE (100%) rename {SpringBooTex => SimplePdfGenAPI}/mvnw (100%) rename {SpringBooTex => SimplePdfGenAPI}/mvnw.cmd (100%) rename {SpringBooTex => SimplePdfGenAPI}/pom.xml (96%) rename SpringBooTex/src/main/java/org/shuhanmirza/springbootex/SpringBooTexApplication.java => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplication.java (58%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/PdfGenerator.java (67%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/PdfGeneratorProvider.java (72%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/ResponseBuilder.java (84%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/ResponseBuilderProvider.java (68%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/TemplateExtractor.java (78%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/TemplateExtractorProvider.java (76%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/jsonresponsebuilder/JsonResponseBuilder.java (80%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/jsonresponsebuilder/OctetStreamResponseBuilder.java (85%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/jsonresponsebuilder/PdfFileResponseBuilder.java (85%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/pdfgenerator/HtmlTemplatePdfGenerator.java (93%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/pdfgenerator/LatexTemplatePdfGenerator.java (93%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/component/templateextractor/Base64TemplateExtractor.java (79%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/controller/PdfGeneratorController.java (85%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/dto/FontFile.java (82%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/dto/PdfBuildingInstruction.java (93%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/dto/request/BaseRequest.java (84%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/dto/request/PdfGenerationRequest.java (79%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/dto/response/BaseResponse.java (83%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/dto/response/PdfGenerationResponse.java (85%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/enums/ResponseType.java (71%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/enums/TemplateSourceType.java (67%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/enums/TemplateType.java (68%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/service/Impl/PdfGenerationServiceImpl.java (80%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/service/PdfGenerationService.java (61%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/service/UtilityService.java (97%) rename {SpringBooTex/src/main/java/org/shuhanmirza/springbootex => SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi}/util/Utility.java (71%) rename {SpringBooTex => SimplePdfGenAPI}/src/main/resources/application.properties (61%) rename SpringBooTex/src/test/java/org/shuhanmirza/springbootex/SpringBooTexApplicationTests.java => SimplePdfGenAPI/src/test/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplicationTests.java (98%) diff --git a/SpringBooTex/LICENSE b/SimplePdfGenAPI/LICENSE similarity index 100% rename from SpringBooTex/LICENSE rename to SimplePdfGenAPI/LICENSE diff --git a/SpringBooTex/mvnw b/SimplePdfGenAPI/mvnw similarity index 100% rename from SpringBooTex/mvnw rename to SimplePdfGenAPI/mvnw diff --git a/SpringBooTex/mvnw.cmd b/SimplePdfGenAPI/mvnw.cmd similarity index 100% rename from SpringBooTex/mvnw.cmd rename to SimplePdfGenAPI/mvnw.cmd diff --git a/SpringBooTex/pom.xml b/SimplePdfGenAPI/pom.xml similarity index 96% rename from SpringBooTex/pom.xml rename to SimplePdfGenAPI/pom.xml index 20a98fa..8116d71 100644 --- a/SpringBooTex/pom.xml +++ b/SimplePdfGenAPI/pom.xml @@ -9,10 +9,10 @@ org.shuhamirza - SpringBooTex + SimplePdfGenAPI 0.0.1-SNAPSHOT - SpringBooTex - SpringBooTex + SimplePdfGenAPI + Document Generation as a REST service. 17 diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/SpringBooTexApplication.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplication.java similarity index 58% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/SpringBooTexApplication.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplication.java index a529fc0..6ea23a1 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/SpringBooTexApplication.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplication.java @@ -1,13 +1,13 @@ -package org.shuhanmirza.springbootex; +package org.shuhanmirza.simplepdfgenapi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class SpringBooTexApplication { +public class SimplePdfGenApplication { public static void main(String[] args) { - SpringApplication.run(SpringBooTexApplication.class, args); + SpringApplication.run(SimplePdfGenApplication.class, args); } } diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/PdfGenerator.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/PdfGenerator.java similarity index 67% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/PdfGenerator.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/PdfGenerator.java index fcc6078..665285a 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/PdfGenerator.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/PdfGenerator.java @@ -1,6 +1,6 @@ -package org.shuhanmirza.springbootex.component; +package org.shuhanmirza.simplepdfgenapi.component; -import org.shuhanmirza.springbootex.dto.PdfBuildingInstruction; +import org.shuhanmirza.simplepdfgenapi.dto.PdfBuildingInstruction; import reactor.core.publisher.Mono; import java.io.InputStream; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/PdfGeneratorProvider.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/PdfGeneratorProvider.java similarity index 72% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/PdfGeneratorProvider.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/PdfGeneratorProvider.java index dc38544..49d279c 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/PdfGeneratorProvider.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/PdfGeneratorProvider.java @@ -1,10 +1,10 @@ -package org.shuhanmirza.springbootex.component; +package org.shuhanmirza.simplepdfgenapi.component; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.pdfgenerator.HtmlTemplatePdfGenerator; -import org.shuhanmirza.springbootex.component.pdfgenerator.LatexTemplatePdfGenerator; -import org.shuhanmirza.springbootex.enums.TemplateType; +import org.shuhanmirza.simplepdfgenapi.component.pdfgenerator.HtmlTemplatePdfGenerator; +import org.shuhanmirza.simplepdfgenapi.component.pdfgenerator.LatexTemplatePdfGenerator; +import org.shuhanmirza.simplepdfgenapi.enums.TemplateType; import org.springframework.stereotype.Component; /** diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/ResponseBuilder.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/ResponseBuilder.java similarity index 84% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/ResponseBuilder.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/ResponseBuilder.java index 20fa405..852fc34 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/ResponseBuilder.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/ResponseBuilder.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.component; +package org.shuhanmirza.simplepdfgenapi.component; import org.springframework.http.ResponseEntity; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/ResponseBuilderProvider.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/ResponseBuilderProvider.java similarity index 68% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/ResponseBuilderProvider.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/ResponseBuilderProvider.java index e108fac..74e7226 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/ResponseBuilderProvider.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/ResponseBuilderProvider.java @@ -1,11 +1,11 @@ -package org.shuhanmirza.springbootex.component; +package org.shuhanmirza.simplepdfgenapi.component; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.jsonresponsebuilder.JsonResponseBuilder; -import org.shuhanmirza.springbootex.component.jsonresponsebuilder.OctetStreamResponseBuilder; -import org.shuhanmirza.springbootex.component.jsonresponsebuilder.PdfFileResponseBuilder; -import org.shuhanmirza.springbootex.enums.ResponseType; +import org.shuhanmirza.simplepdfgenapi.component.jsonresponsebuilder.JsonResponseBuilder; +import org.shuhanmirza.simplepdfgenapi.component.jsonresponsebuilder.OctetStreamResponseBuilder; +import org.shuhanmirza.simplepdfgenapi.component.jsonresponsebuilder.PdfFileResponseBuilder; +import org.shuhanmirza.simplepdfgenapi.enums.ResponseType; import org.springframework.stereotype.Component; /** diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/TemplateExtractor.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/TemplateExtractor.java similarity index 78% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/TemplateExtractor.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/TemplateExtractor.java index 2a4a429..96dcdb5 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/TemplateExtractor.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/TemplateExtractor.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.component; +package org.shuhanmirza.simplepdfgenapi.component; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/TemplateExtractorProvider.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/TemplateExtractorProvider.java similarity index 76% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/TemplateExtractorProvider.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/TemplateExtractorProvider.java index 818dfe1..a29f2d7 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/TemplateExtractorProvider.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/TemplateExtractorProvider.java @@ -1,9 +1,9 @@ -package org.shuhanmirza.springbootex.component; +package org.shuhanmirza.simplepdfgenapi.component; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.templateextractor.Base64TemplateExtractor; -import org.shuhanmirza.springbootex.enums.TemplateSourceType; +import org.shuhanmirza.simplepdfgenapi.component.templateextractor.Base64TemplateExtractor; +import org.shuhanmirza.simplepdfgenapi.enums.TemplateSourceType; import org.springframework.stereotype.Component; /** diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/JsonResponseBuilder.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/JsonResponseBuilder.java similarity index 80% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/JsonResponseBuilder.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/JsonResponseBuilder.java index 9cb5de9..56318c7 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/JsonResponseBuilder.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/JsonResponseBuilder.java @@ -1,10 +1,10 @@ -package org.shuhanmirza.springbootex.component.jsonresponsebuilder; +package org.shuhanmirza.simplepdfgenapi.component.jsonresponsebuilder; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.ResponseBuilder; -import org.shuhanmirza.springbootex.dto.response.PdfGenerationResponse; -import org.shuhanmirza.springbootex.service.UtilityService; +import org.shuhanmirza.simplepdfgenapi.component.ResponseBuilder; +import org.shuhanmirza.simplepdfgenapi.dto.response.PdfGenerationResponse; +import org.shuhanmirza.simplepdfgenapi.service.UtilityService; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/OctetStreamResponseBuilder.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/OctetStreamResponseBuilder.java similarity index 85% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/OctetStreamResponseBuilder.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/OctetStreamResponseBuilder.java index 9bf9c9f..137a8f7 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/OctetStreamResponseBuilder.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/OctetStreamResponseBuilder.java @@ -1,8 +1,8 @@ -package org.shuhanmirza.springbootex.component.jsonresponsebuilder; +package org.shuhanmirza.simplepdfgenapi.component.jsonresponsebuilder; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.ResponseBuilder; +import org.shuhanmirza.simplepdfgenapi.component.ResponseBuilder; import org.springframework.core.io.InputStreamResource; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/PdfFileResponseBuilder.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/PdfFileResponseBuilder.java similarity index 85% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/PdfFileResponseBuilder.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/PdfFileResponseBuilder.java index 3201d79..f81fcb3 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/jsonresponsebuilder/PdfFileResponseBuilder.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/jsonresponsebuilder/PdfFileResponseBuilder.java @@ -1,8 +1,8 @@ -package org.shuhanmirza.springbootex.component.jsonresponsebuilder; +package org.shuhanmirza.simplepdfgenapi.component.jsonresponsebuilder; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.ResponseBuilder; +import org.shuhanmirza.simplepdfgenapi.component.ResponseBuilder; import org.springframework.core.io.InputStreamResource; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/pdfgenerator/HtmlTemplatePdfGenerator.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/pdfgenerator/HtmlTemplatePdfGenerator.java similarity index 93% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/pdfgenerator/HtmlTemplatePdfGenerator.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/pdfgenerator/HtmlTemplatePdfGenerator.java index cff048c..85b6021 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/pdfgenerator/HtmlTemplatePdfGenerator.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/pdfgenerator/HtmlTemplatePdfGenerator.java @@ -1,12 +1,12 @@ -package org.shuhanmirza.springbootex.component.pdfgenerator; +package org.shuhanmirza.simplepdfgenapi.component.pdfgenerator; import com.openhtmltopdf.pdfboxout.PdfRendererBuilder; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.PdfGenerator; -import org.shuhanmirza.springbootex.dto.FontFile; -import org.shuhanmirza.springbootex.dto.PdfBuildingInstruction; -import org.shuhanmirza.springbootex.service.UtilityService; -import org.shuhanmirza.springbootex.util.Utility; +import org.shuhanmirza.simplepdfgenapi.component.PdfGenerator; +import org.shuhanmirza.simplepdfgenapi.dto.FontFile; +import org.shuhanmirza.simplepdfgenapi.dto.PdfBuildingInstruction; +import org.shuhanmirza.simplepdfgenapi.service.UtilityService; +import org.shuhanmirza.simplepdfgenapi.util.Utility; import org.springframework.stereotype.Component; import org.thymeleaf.context.Context; import org.thymeleaf.spring6.SpringTemplateEngine; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/pdfgenerator/LatexTemplatePdfGenerator.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/pdfgenerator/LatexTemplatePdfGenerator.java similarity index 93% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/pdfgenerator/LatexTemplatePdfGenerator.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/pdfgenerator/LatexTemplatePdfGenerator.java index 32e6cb6..9fbf7aa 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/pdfgenerator/LatexTemplatePdfGenerator.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/pdfgenerator/LatexTemplatePdfGenerator.java @@ -1,12 +1,12 @@ -package org.shuhanmirza.springbootex.component.pdfgenerator; +package org.shuhanmirza.simplepdfgenapi.component.pdfgenerator; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; -import org.shuhanmirza.springbootex.component.PdfGenerator; -import org.shuhanmirza.springbootex.dto.PdfBuildingInstruction; -import org.shuhanmirza.springbootex.service.UtilityService; -import org.shuhanmirza.springbootex.util.Utility; +import org.shuhanmirza.simplepdfgenapi.component.PdfGenerator; +import org.shuhanmirza.simplepdfgenapi.dto.PdfBuildingInstruction; +import org.shuhanmirza.simplepdfgenapi.service.UtilityService; +import org.shuhanmirza.simplepdfgenapi.util.Utility; import org.springframework.stereotype.Component; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/templateextractor/Base64TemplateExtractor.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/templateextractor/Base64TemplateExtractor.java similarity index 79% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/templateextractor/Base64TemplateExtractor.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/templateextractor/Base64TemplateExtractor.java index 7ec3d9a..0f21a60 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/component/templateextractor/Base64TemplateExtractor.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/component/templateextractor/Base64TemplateExtractor.java @@ -1,8 +1,8 @@ -package org.shuhanmirza.springbootex.component.templateextractor; +package org.shuhanmirza.simplepdfgenapi.component.templateextractor; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.TemplateExtractor; +import org.shuhanmirza.simplepdfgenapi.component.TemplateExtractor; import org.springframework.stereotype.Component; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/controller/PdfGeneratorController.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/controller/PdfGeneratorController.java similarity index 85% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/controller/PdfGeneratorController.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/controller/PdfGeneratorController.java index 9f37763..0288bb5 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/controller/PdfGeneratorController.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/controller/PdfGeneratorController.java @@ -1,10 +1,10 @@ -package org.shuhanmirza.springbootex.controller; +package org.shuhanmirza.simplepdfgenapi.controller; import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.dto.request.PdfGenerationRequest; -import org.shuhanmirza.springbootex.service.PdfGenerationService; +import org.shuhanmirza.simplepdfgenapi.dto.request.PdfGenerationRequest; +import org.shuhanmirza.simplepdfgenapi.service.PdfGenerationService; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/FontFile.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/FontFile.java similarity index 82% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/FontFile.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/FontFile.java index e86c3bf..d087a4d 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/FontFile.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/FontFile.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.dto; +package org.shuhanmirza.simplepdfgenapi.dto; import lombok.Builder; import lombok.Data; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/PdfBuildingInstruction.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/PdfBuildingInstruction.java similarity index 93% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/PdfBuildingInstruction.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/PdfBuildingInstruction.java index a560073..4de5e4e 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/PdfBuildingInstruction.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/PdfBuildingInstruction.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.dto; +package org.shuhanmirza.simplepdfgenapi.dto; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/request/BaseRequest.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/request/BaseRequest.java similarity index 84% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/request/BaseRequest.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/request/BaseRequest.java index b9075d9..4809fdc 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/request/BaseRequest.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/request/BaseRequest.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.dto.request; +package org.shuhanmirza.simplepdfgenapi.dto.request; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/request/PdfGenerationRequest.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/request/PdfGenerationRequest.java similarity index 79% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/request/PdfGenerationRequest.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/request/PdfGenerationRequest.java index 60edec3..1671eac 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/request/PdfGenerationRequest.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/request/PdfGenerationRequest.java @@ -1,11 +1,11 @@ -package org.shuhanmirza.springbootex.dto.request; +package org.shuhanmirza.simplepdfgenapi.dto.request; import jakarta.validation.constraints.NotNull; import lombok.*; import lombok.experimental.SuperBuilder; -import org.shuhanmirza.springbootex.enums.ResponseType; -import org.shuhanmirza.springbootex.enums.TemplateSourceType; -import org.shuhanmirza.springbootex.enums.TemplateType; +import org.shuhanmirza.simplepdfgenapi.enums.ResponseType; +import org.shuhanmirza.simplepdfgenapi.enums.TemplateSourceType; +import org.shuhanmirza.simplepdfgenapi.enums.TemplateType; import java.util.HashMap; import java.util.List; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/response/BaseResponse.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/response/BaseResponse.java similarity index 83% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/response/BaseResponse.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/response/BaseResponse.java index 1cec855..1fe6f68 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/response/BaseResponse.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/response/BaseResponse.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.dto.response; +package org.shuhanmirza.simplepdfgenapi.dto.response; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/response/PdfGenerationResponse.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/response/PdfGenerationResponse.java similarity index 85% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/response/PdfGenerationResponse.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/response/PdfGenerationResponse.java index 890fab0..f6d24dc 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/dto/response/PdfGenerationResponse.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/dto/response/PdfGenerationResponse.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.dto.response; +package org.shuhanmirza.simplepdfgenapi.dto.response; import lombok.*; import lombok.experimental.SuperBuilder; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/ResponseType.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/ResponseType.java similarity index 71% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/ResponseType.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/ResponseType.java index 15156eb..31988de 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/ResponseType.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/ResponseType.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.enums; +package org.shuhanmirza.simplepdfgenapi.enums; /** * @author Shuhan Mirza diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/TemplateSourceType.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/TemplateSourceType.java similarity index 67% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/TemplateSourceType.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/TemplateSourceType.java index 244b3d3..9181633 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/TemplateSourceType.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/TemplateSourceType.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.enums; +package org.shuhanmirza.simplepdfgenapi.enums; /** * @author Shuhan Mirza diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/TemplateType.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/TemplateType.java similarity index 68% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/TemplateType.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/TemplateType.java index ac2a8de..1304aeb 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/enums/TemplateType.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/enums/TemplateType.java @@ -1,4 +1,4 @@ -package org.shuhanmirza.springbootex.enums; +package org.shuhanmirza.simplepdfgenapi.enums; /** * @author Shuhan Mirza diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/Impl/PdfGenerationServiceImpl.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/Impl/PdfGenerationServiceImpl.java similarity index 80% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/Impl/PdfGenerationServiceImpl.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/Impl/PdfGenerationServiceImpl.java index 1a70126..f35efab 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/Impl/PdfGenerationServiceImpl.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/Impl/PdfGenerationServiceImpl.java @@ -1,13 +1,13 @@ -package org.shuhanmirza.springbootex.service.Impl; +package org.shuhanmirza.simplepdfgenapi.service.Impl; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.shuhanmirza.springbootex.component.PdfGeneratorProvider; -import org.shuhanmirza.springbootex.component.ResponseBuilderProvider; -import org.shuhanmirza.springbootex.component.TemplateExtractorProvider; -import org.shuhanmirza.springbootex.dto.PdfBuildingInstruction; -import org.shuhanmirza.springbootex.dto.request.PdfGenerationRequest; -import org.shuhanmirza.springbootex.service.PdfGenerationService; +import org.shuhanmirza.simplepdfgenapi.component.PdfGeneratorProvider; +import org.shuhanmirza.simplepdfgenapi.component.ResponseBuilderProvider; +import org.shuhanmirza.simplepdfgenapi.component.TemplateExtractorProvider; +import org.shuhanmirza.simplepdfgenapi.dto.PdfBuildingInstruction; +import org.shuhanmirza.simplepdfgenapi.dto.request.PdfGenerationRequest; +import org.shuhanmirza.simplepdfgenapi.service.PdfGenerationService; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/PdfGenerationService.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/PdfGenerationService.java similarity index 61% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/PdfGenerationService.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/PdfGenerationService.java index d67bbf5..8ff49bc 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/PdfGenerationService.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/PdfGenerationService.java @@ -1,7 +1,6 @@ -package org.shuhanmirza.springbootex.service; +package org.shuhanmirza.simplepdfgenapi.service; -import org.shuhanmirza.springbootex.dto.request.PdfGenerationRequest; -import org.springframework.core.io.InputStreamResource; +import org.shuhanmirza.simplepdfgenapi.dto.request.PdfGenerationRequest; import org.springframework.http.ResponseEntity; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/UtilityService.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/UtilityService.java similarity index 97% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/UtilityService.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/UtilityService.java index 66a4e70..b6d8efd 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/service/UtilityService.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/service/UtilityService.java @@ -1,11 +1,11 @@ -package org.shuhanmirza.springbootex.service; +package org.shuhanmirza.simplepdfgenapi.service; import jakarta.annotation.PostConstruct; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import net.jpountz.xxhash.XXHashFactory; import org.apache.commons.io.FileUtils; -import org.shuhanmirza.springbootex.util.Utility; +import org.shuhanmirza.simplepdfgenapi.util.Utility; import org.springframework.stereotype.Service; import reactor.core.publisher.Mono; diff --git a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/util/Utility.java b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/util/Utility.java similarity index 71% rename from SpringBooTex/src/main/java/org/shuhanmirza/springbootex/util/Utility.java rename to SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/util/Utility.java index 1611ee6..e3c22e5 100644 --- a/SpringBooTex/src/main/java/org/shuhanmirza/springbootex/util/Utility.java +++ b/SimplePdfGenAPI/src/main/java/org/shuhanmirza/simplepdfgenapi/util/Utility.java @@ -1,6 +1,7 @@ -package org.shuhanmirza.springbootex.util; +package org.shuhanmirza.simplepdfgenapi.util; import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Value; /** * @author Shuhan Mirza @@ -13,7 +14,8 @@ private Utility() { } public static int XX_HASH_SEED = 0x6969abcd; - public static String APPLICATION_NAME = "SpringBooTex"; + @Value("${spring.application.name}") + public static String APPLICATION_NAME; public static String LATEX_FILE_INPUT = "main.tex"; public static String LATEX_FILE_OUTPUT = "main.pdf"; public static String HTML_FILE_OUTPUT = "main.pdf"; diff --git a/SpringBooTex/src/main/resources/application.properties b/SimplePdfGenAPI/src/main/resources/application.properties similarity index 61% rename from SpringBooTex/src/main/resources/application.properties rename to SimplePdfGenAPI/src/main/resources/application.properties index 51d02cd..88f4b54 100644 --- a/SpringBooTex/src/main/resources/application.properties +++ b/SimplePdfGenAPI/src/main/resources/application.properties @@ -1,3 +1,3 @@ server.port=10800 -spring.application.name=SpringBooTex +spring.application.name=SimplePdfGenAPI spring.thymeleaf.check-template-location=false diff --git a/SpringBooTex/src/test/java/org/shuhanmirza/springbootex/SpringBooTexApplicationTests.java b/SimplePdfGenAPI/src/test/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplicationTests.java similarity index 98% rename from SpringBooTex/src/test/java/org/shuhanmirza/springbootex/SpringBooTexApplicationTests.java rename to SimplePdfGenAPI/src/test/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplicationTests.java index b20770a..fd0f4de 100644 --- a/SpringBooTex/src/test/java/org/shuhanmirza/springbootex/SpringBooTexApplicationTests.java +++ b/SimplePdfGenAPI/src/test/java/org/shuhanmirza/simplepdfgenapi/SimplePdfGenApplicationTests.java @@ -1,10 +1,10 @@ -package org.shuhanmirza.springbootex; +package org.shuhanmirza.simplepdfgenapi; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; -import org.shuhanmirza.springbootex.component.pdfgenerator.HtmlTemplatePdfGenerator; -import org.shuhanmirza.springbootex.component.pdfgenerator.LatexTemplatePdfGenerator; -import org.shuhanmirza.springbootex.dto.PdfBuildingInstruction; +import org.shuhanmirza.simplepdfgenapi.component.pdfgenerator.HtmlTemplatePdfGenerator; +import org.shuhanmirza.simplepdfgenapi.component.pdfgenerator.LatexTemplatePdfGenerator; +import org.shuhanmirza.simplepdfgenapi.dto.PdfBuildingInstruction; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import reactor.core.publisher.Mono; @@ -14,7 +14,7 @@ @SpringBootTest @Slf4j -class SpringBooTexApplicationTests { +class SimplePdfGenApplicationTests { @Autowired private LatexTemplatePdfGenerator latexTemplatePdfGenerator;