gradlew publishToMavenLocal
in the following path
- ./shared
- ./billing/billing-service-api
- ./order/order-service-api
- ./stock/stock-service-api
gradlew shadowJar
in the following path
- ./billing/billing-service
- ./order/order-service
- ./stock/stock-service
docker network create develop-network
docker-compose -f ./infra/confluent-platform/docker-compose.yml up -d
docker-compose up -d
-
post order (order-service)
curl --location --request POST 'http://localhost:5000/orders' \ --header 'Content-Type: application/json' \ --data-raw '{ "accountId" : "test-account-id" }'
-
get billing id list (billing-service)
curl --location --request GET 'http://localhost:5001/billings'
-
approve billing by billing id (billing-service)
curl --location --request POST 'http://localhost:5001/billings/{billing-id}/approve'