Skip to content

Commit

Permalink
pdf renderer added
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mautsch committed Nov 13, 2024
1 parent d7a9a3b commit ff2b915
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/main/java/org/goafabric/calleeservice/Application.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.goafabric.calleeservice;

import org.goafabric.calleeservice.logic.OpenPDFCreatorLogic;
import org.goafabric.calleeservice.logic.PDFCreatorLogic;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand All @@ -15,7 +15,7 @@ public static void main(String[] args){
}

@Bean
public CommandLineRunner init(ApplicationContext context, OpenPDFCreatorLogic openPDFCreator) {
public CommandLineRunner init(ApplicationContext context, PDFCreatorLogic openPDFCreator) {
return args -> {if ((args.length > 0) && ("-check-integrity".equals(args[0]))) {SpringApplication.exit(context, () -> 0);}};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.List;

@Component
public class OpenPDFCreatorLogic {
public class PDFCreatorLogic {

@PostConstruct
public byte[] create() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import java.nio.file.Files;

@SpringBootTest
class OpenPDFCreatorLogicTest {
class PDFCreatorLogicTest {
@Autowired
private OpenPDFCreatorLogic openPDFCreator;
private PDFCreatorLogic openPDFCreator;

private final Logger log = LoggerFactory.getLogger(this.getClass().getName());

Expand Down

0 comments on commit ff2b915

Please sign in to comment.