1
0

M1 Vollständiger Grundstand mit Build, Konfiguration, Tests und Smoke-Tests

This commit is contained in:
2026-03-31 14:04:47 +02:00
commit ea83f8fa8c
52 changed files with 2819 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.gecheckt</groupId>
<artifactId>pdf-umbenenner-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>pdf-umbenenner-adapter-in-cli</artifactId>
<packaging>jar</packaging>
<dependencies>
<!-- Internal dependencies -->
<dependency>
<groupId>de.gecheckt</groupId>
<artifactId>pdf-umbenenner-application</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.gecheckt</groupId>
<artifactId>pdf-umbenenner-domain</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,34 @@
package de.gecheckt.pdf.umbenenner.adapter.inbound.cli;
import de.gecheckt.pdf.umbenenner.application.port.in.RunBatchProcessingUseCase;
/**
* CLI command adapter for batch processing scheduling.
* <p>
* This class acts as the technical entry point that delegates to the application layer.
* AP-003 Implementation: Minimal no-op command to validate the call chain from CLI to Application.
*/
public class SchedulerBatchCommand {
private final RunBatchProcessingUseCase useCase;
/**
* Creates a new SchedulerBatchCommand with the given use case.
*
* @param useCase the batch processing use case to delegate to
*/
public SchedulerBatchCommand(RunBatchProcessingUseCase useCase) {
this.useCase = useCase;
}
/**
* Executes the batch processing command.
* <p>
* AP-003: Delegates to the use case without any additional logic.
*
* @return true if execution succeeded, false otherwise
*/
public boolean run() {
return useCase.execute();
}
}

View File

@@ -0,0 +1,7 @@
/**
* CLI adapter for inbound commands.
* This package contains the technical entry points that delegate to application use cases.
* <p>
* AP-003: Contains minimal command classes for validating the startup path.
*/
package de.gecheckt.pdf.umbenenner.adapter.inbound.cli;

View File

@@ -0,0 +1 @@
# Keep directory

View File

@@ -0,0 +1 @@
# Keep directory