Define ProductService contract
This pull request adds a ProductService
interface in accordance with the details described at ECOM-220. I have modified DOIT_SOA_ITEM_Service
to implement the method, but I haven't actually connected it to the CREATE_ITEM
method that exists there.
I've had some preliminary discussions with product owner, and we've come up with a general feel for the failure scenarios:
-
createProduct
method needs to be synchronous. - If it fails, it should prevent the product being created in Magento.
- A visible error message should be presented to the staff attempting to create the product in Magento.
Those details should be reflected in the docs on the method.
Notify @alundholm @weizhong-wang.