Compile:
sdk use java 22-tem
./mvnw package
Run backend services:
java --enable-preview -Dserver.port=7070 -jar target/structuredconcurrency-backend-0.0.1-SNAPSHOT.jar
Run frontend services:
java --enable-preview -jar target/structuredconcurrency-0.0.1-SNAPSHOT.jar
OK Test:
time curl http://localhost:8080/composite/ok
Fail Test:
time curl http://localhost:8080/composite/fail
Test httpbin:
curl http://localhost:8080/httpbin/test
JEP 459: String Templates (Second Preview)
System.out.println(STR."REQUEST body to httpbin: \{article.articleId} & \{article.title}");