cd spring-server01
.\mvnw clean package
java "-Dserver.port=8090" -jar target\server01-0.0.1-SNAPSHOT.jar $response = Invoke-RestMethod -Uri 'http://localhost:8090/clients' -Method GET
$responsecd spring-server02
.\mvnw clean package
java "-Dserver.port=8070" -jar target\server02-0.0.1-SNAPSHOT.jarProbando
$response = Invoke-RestMethod -Uri 'http://localhost:8070/products' -Method GET
$responsecd consume
.\mvnw clean package
java -jar target\quarkus-app\quarkus-run.jar
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri 'http://localhost:8080/sell' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
"productId": 1,
"clientId": 2,
"count": 2
}'
$response