Files
spring-cloud-dataflow-samples/timestamp-batch-3.0.x
Corneil du Plessis 37833c8c79 Update build to create native container for timestamp-task-3.0.x and timestamp-batch-3.0.x (#200)
* Attempt native tests of timestamp-task-3.0.x and timestamp-batch-3.0.x

* Added org.graalvm.buildtools:native-maven-plugin
2024-09-20 15:57:12 +02:00
..

= Spring Batch Job Task

This is a Spring Cloud Task application that executes two simple Spring Batch Jobs.

== Requirements

* Java 17 or Above

== Classes

* BatchJobApplication - the Spring Boot Main Application

== Build

=== Build and test
[source,shell,indent=2]
----
./mvnw clean install
----

=== Build Docker container

[source,shell,indent=2]
----
./mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=spring/timestamp-batch-task:latest
----

== Run

=== Command line
[source,shell,indent=2]
----
java -jar target/timestamp-batch-task-3.0.0.jar
----

=== Docker
[source,shell,indent=2]
----
docker run spring/timestamp-batch-task:latest
----

=== Properties
* *timestamp.format* - The timestamp format, "yyyy-MM-dd HH:mm:ss.SSS" by default.