This module includes an in-memory Temporal testing service implementation. It is
not intended to be used directly but rather by programming against the
TestWorkflowEnvironment interface in the temporal-testing module.
In addition to being consumed as a library by JVM-based languages, this module can be built into a standalone executable and run as an independent process.
Do not depend on this module directly, see the instructions in temporal-testing.
This service allows to run a test-only in-memory implementation of Temporal server API.
From the root of the java-sdk repo:
./gradlew -PnativeBuild :temporal-test-server:nativeCompileThis will give you a native executable build/graal/temporal-test-server. The
executable requires a single argument: the port number on which it should
listen.
From the root of the java-sdk repo:
./gradlew -PnativeBuild :temporal-test-server:nativeRun The GraalVM native-image compiler uses the native-image.properties file and the referenced JSON files during compilation. The JSON files are generated by running the test server java code in a JVM configured with the GraalVM tracing agent configured,
./gradlew -Pagent -PnativeBuild :temporal-test-server:test./gradlew -PnativeBuild :temporal-test-server:metadataCopy --task test 