Also added instructions for native compilation for those apps that it is useful Added documentation for native compilation when using Single Step Batch Processing Updated documentaiton for native compilation for single app processing
41 lines
525 B
Plaintext
41 lines
525 B
Plaintext
= Timestamp Task
|
|
|
|
This is a Spring Cloud Task application that logs a timestamp.
|
|
|
|
== Requirements:
|
|
|
|
* Java 17 or Above
|
|
|
|
== Classes:
|
|
|
|
* TaskApplication - the Spring Boot Main Application
|
|
* TimestampTask - the module that writes the log entry as Spring Task
|
|
|
|
== Build:
|
|
|
|
[source,shell]
|
|
----
|
|
mvn clean package
|
|
----
|
|
|
|
== Run:
|
|
|
|
[source,shell]
|
|
----
|
|
java -jar target/timestamp-task-3.0.0.jar
|
|
----
|
|
|
|
== Native Build:
|
|
|
|
[source,shell]
|
|
----
|
|
mvn -Pnative clean package
|
|
----
|
|
|
|
== Native Run:
|
|
|
|
[source,shell]
|
|
----
|
|
./target/timestamp-task
|
|
----
|