Update README.md

This commit is contained in:
kimhyungkook
2019-11-22 13:44:46 +09:00
committed by GitHub
parent d9c6d18300
commit de1af6c53b

View File

@@ -165,11 +165,15 @@ https://github.com/TheOpenCloudEngine/uEngine-cloud/wiki/Httpie-%EC%84%A4%EC%B9%
## 템플릿 프로젝트는 주문이 발생하였을때 연관되어서 이벤트가 발생하도록 설계됨
http localhost:8081/orders productId=1 quantity=3 customerId="1@uengine.org" customerName="홍길동" customerAddr="서울시"
-- 주문 발생
http localhost:8081/orders productId=1 quantity=3 customerId="1@uengine.org" customerName="홍길동" customerAddr="서울시"
-- 주문 취소
http PATCH localhost:8081/orders/1 state=OrderCancelled
>> order 서비스를 실행할때 product 서비스에서 request 방식으로 재고를 체크하고 싶을때는
>> mvn spring-boot:run -DcheckStock=true
>> 로 order 서비스를 실행하면 됩니다.
https://us04web.zoom.us/j/229433025?pwd=RHl5b1FGbnlwL2UvVW5NMm95b2FmZz09