Table of content
2. Monolith for ShopApplication
Service Interfaces
Relative mapping URL
Request Method
Method Name
Microservice
Involved Entities
/warehouse/country/{id}
GET
findAllWarehouseOfCountry(id)
CountryService
Country
Warehouse
/discountcampaign
GET
findAllDiscountCampaign()
DiscountCampaignService
DiscountCampaign
/purchaserule
GET
findAllPurchaseRule()
ProductService
PurchaseRule
/shoplicense
POST
insertShopLicense(shoplicense)
ShopLicenseService
ShopLicense
/customergroup
POST
insertCustomerGroup(customergroup)
CountryService
CustomerGroup
/productprice/{id}
PUT
updateProductPriceById(productprice)
ProductService
ProductPrice
/purchaserule/{id}
PUT
updatePurchaseRuleById(purchaserule)
ProductService
PurchaseRule
/customerdelivery/orderitem/{id}
GET
findAllCustomerDeliveryOfOrderItem(id)
ProductService
OrderItem
CustomerDelivery
/country/{id}
PUT
updateCountryById(country)
CountryService
Country
/delivery
GET
findAllDelivery()
CountryService
Delivery
/orderitem/{id}
DELETE
deleteOrderItemById(id)
ProductService
OrderItem
/delivery
POST
insertDelivery(delivery)
CountryService
Delivery
/productcategory
POST
insertProductCategory(productcategory)
ProductService
ProductCategory
/shopemployee/{id}
GET
findShopEmployeeById(id)
CountryService
ShopEmployee
/discounttype/{id}
PUT
updateDiscountTypeById(discounttype)
DiscountCampaignService
DiscountType
/discountcampaigncustomer/{id}
DELETE
deleteDiscountCampaignCustomerById(id)
CountryService
DiscountCampaignCustomer
/country/{id}
GET
findCountryById(id)
CountryService
Country
/productcategory/{id}
PUT
updateProductCategoryById(productcategory)
ProductService
ProductCategory
/discountcampaigncustomergroup/{id}
PUT
updateDiscountCampaignCustomerGroupById(discountcampaigncustomergroup)
DiscountCampaignService
DiscountCampaignCustomerGroup
/discountcampaigncustomergroup/customergroup/{id}
GET
findAllDiscountCampaignCustomerGroupOfCustomerGroup(id)
DiscountCampaignService
CustomerGroup
DiscountCampaignCustomerGroup
/productcategory/{id}
GET
findProductCategoryById(id)
ProductService
ProductCategory
/productdelivery/distributor/{id}
GET
findAllProductDeliveryOfDistributor(id)
ProductService
Distributor
ProductDelivery
/discounttype/{id}
DELETE
deleteDiscountTypeById(id)
DiscountCampaignService
DiscountType
/discounttype/{id}
GET
findDiscountTypeById(id)
DiscountCampaignService
DiscountType
/salestax/{id}
DELETE
deleteSalesTaxById(id)
ProductService
SalesTax
/customerorder/shopcustomer/{id}
GET
findAllCustomerOrderOfShopCustomer(id)
CountryService
ShopCustomer
CustomerOrder
/salestax/country/{id}
GET
findAllSalesTaxOfCountry(id)
ProductService
Country
SalesTax
/shopowner/{id}
GET
findShopOwnerById(id)
ShopLicenseService
ShopOwner
/warehouse
POST
insertWarehouse(warehouse)
CountryService
Warehouse
/shopemployee/{id}
PUT
updateShopEmployeeById(shopemployee)
CountryService
ShopEmployee
/customerdelivery/{id}
PUT
updateCustomerDeliveryById(customerdelivery)
ProductService
CustomerDelivery
/warehouseresponsibility/warehouse/{id}
GET
findAllWarehouseResponsibilityOfWarehouse(id)
CountryService
Warehouse
WarehouseResponsibility
/shopcustomer/{id}
DELETE
deleteShopCustomerById(id)
CountryService
ShopCustomer
/customerorder
GET
findAllCustomerOrder()
CountryService
CustomerOrder
/shopemployee/{id}
DELETE
deleteShopEmployeeById(id)
CountryService
ShopEmployee
/discounttype
POST
insertDiscountType(discounttype)
DiscountCampaignService
DiscountType
/product/countryoforigin/{id}
GET
findAllProductOfCountryOfOrigin(id)
ProductService
Country
Product
/distributor/{id}
GET
findDistributorById(id)
ProductService
Distributor
/delivery/shopcustomer/{id}
GET
findAllDeliveryOfShopCustomer(id)
CountryService
ShopCustomer
Delivery
/shopcustomer/{id}
GET
findShopCustomerById(id)
CountryService
ShopCustomer
/country
GET
findAllCountry()
CountryService
Country
/discountcampaign/{id}
DELETE
deleteDiscountCampaignById(id)
DiscountCampaignService
DiscountCampaign
/customergroupmember
GET
findAllCustomerGroupMember()
CountryService
CustomerGroupMember
/productprice/product/{id}
GET
findAllProductPriceOfProduct(id)
ProductService
Product
ProductPrice
/distributor/{id}
PUT
updateDistributorById(distributor)
ProductService
Distributor
/warehouse/{id}
GET
findWarehouseById(id)
CountryService
Warehouse
/shopemployee
GET
findAllShopEmployee()
CountryService
ShopEmployee
/productcategory/{id}
DELETE
deleteProductCategoryById(id)
ProductService
ProductCategory
/customerdelivery
POST
insertCustomerDelivery(customerdelivery)
ProductService
CustomerDelivery
/shopcustomer
POST
insertShopCustomer(shopcustomer)
CountryService
ShopCustomer
/discountcampaigncustomer/discountcampaign/{id}
GET
findAllDiscountCampaignCustomerOfDiscountCampaign(id)
CountryService
DiscountCampaign
DiscountCampaignCustomer
/discountcampaignproductcategory
GET
findAllDiscountCampaignProductCategory()
DiscountCampaignService
DiscountCampaignProductCategory
/warehouseresponsibility/shopemployee/{id}
GET
findAllWarehouseResponsibilityOfShopEmployee(id)
CountryService
ShopEmployee
WarehouseResponsibility
/discounttype
GET
findAllDiscountType()
DiscountCampaignService
DiscountType
/purchaserule/{id}
DELETE
deletePurchaseRuleById(id)
ProductService
PurchaseRule
/customerdelivery/{id}
GET
findCustomerDeliveryById(id)
ProductService
CustomerDelivery
/country/{id}
DELETE
deleteCountryById(id)
CountryService
Country
/warehouse/{id}
PUT
updateWarehouseById(warehouse)
CountryService
Warehouse
/customergroup/{id}
DELETE
deleteCustomerGroupById(id)
CountryService
CustomerGroup
/product/salestax/{id}
GET
findAllProductOfSalesTax(id)
ProductService
SalesTax
Product
/discountcampaigncustomer/shopcustomer/{id}
GET
findAllDiscountCampaignCustomerOfShopCustomer(id)
CountryService
ShopCustomer
DiscountCampaignCustomer
/shopemployee
POST
insertShopEmployee(shopemployee)
CountryService
ShopEmployee
/shopowner/{id}
PUT
updateShopOwnerById(shopowner)
ShopLicenseService
ShopOwner
/productprice/{id}
GET
findProductPriceById(id)
ProductService
ProductPrice
/warehouseresponsibility/{id}
DELETE
deleteWarehouseResponsibilityById(id)
CountryService
WarehouseResponsibility
/productdelivery/{id}
PUT
updateProductDeliveryById(productdelivery)
ProductService
ProductDelivery
/discountcampaigncustomergroup
POST
insertDiscountCampaignCustomerGroup(discountcampaigncustomergroup)
DiscountCampaignService
DiscountCampaignCustomerGroup
/shoplicense/{id}
GET
findShopLicenseById(id)
ShopLicenseService
ShopLicense
/purchaserule
POST
insertPurchaseRule(purchaserule)
ProductService
PurchaseRule
/country
POST
insertCountry(country)
CountryService
Country
/shopcustomer/{id}
PUT
updateShopCustomerById(shopcustomer)
CountryService
ShopCustomer
/customerdelivery/delivery/{id}
GET
findAllCustomerDeliveryOfDelivery(id)
ProductService
Delivery
CustomerDelivery
/distributor/{id}
DELETE
deleteDistributorById(id)
ProductService
Distributor
/productprice
POST
insertProductPrice(productprice)
ProductService
ProductPrice
/warehouseresponsibility/{id}
GET
findWarehouseResponsibilityById(id)
CountryService
WarehouseResponsibility
/discountcampaigncustomer
GET
findAllDiscountCampaignCustomer()
CountryService
DiscountCampaignCustomer
/discountcampaignproduct/{id}
GET
findDiscountCampaignProductById(id)
DiscountCampaignService
DiscountCampaignProduct
/discountcampaignproductcategory
POST
insertDiscountCampaignProductCategory(discountcampaignproductcategory)
DiscountCampaignService
DiscountCampaignProductCategory
/salestax
POST
insertSalesTax(salestax)
ProductService
SalesTax
/product/{id}
DELETE
deleteProductById(id)
ProductService
Product
/orderitem/customerorder/{id}
GET
findAllOrderItemOfCustomerOrder(id)
ProductService
CustomerOrder
OrderItem
/productdelivery
POST
insertProductDelivery(productdelivery)
ProductService
ProductDelivery
/warehouse
GET
findAllWarehouse()
CountryService
Warehouse
/product/{id}
PUT
updateProductById(product)
ProductService
Product
/productdelivery/{id}
GET
findProductDeliveryById(id)
ProductService
ProductDelivery
/discountcampaigncustomergroup
GET
findAllDiscountCampaignCustomerGroup()
DiscountCampaignService
DiscountCampaignCustomerGroup
/orderitem
GET
findAllOrderItem()
ProductService
OrderItem
/customerdelivery
GET
findAllCustomerDelivery()
ProductService
CustomerDelivery
/discountcampaign
POST
insertDiscountCampaign(discountcampaign)
DiscountCampaignService
DiscountCampaign
/purchaserule/{id}
GET
findPurchaseRuleById(id)
ProductService
PurchaseRule
/discountcampaignproductcategory/{id}
GET
findDiscountCampaignProductCategoryById(id)
DiscountCampaignService
DiscountCampaignProductCategory
/productdelivery
GET
findAllProductDelivery()
ProductService
ProductDelivery
/warehouseresponsibility
POST
insertWarehouseResponsibility(warehouseresponsibility)
CountryService
WarehouseResponsibility
/customergroupmember
POST
insertCustomerGroupMember(customergroupmember)
CountryService
CustomerGroupMember
/discountcampaigncustomergroup/{id}
DELETE
deleteDiscountCampaignCustomerGroupById(id)
DiscountCampaignService
DiscountCampaignCustomerGroup
/customerorder/{id}
GET
findCustomerOrderById(id)
CountryService
CustomerOrder
/discountcampaignproduct/product/{id}
GET
findAllDiscountCampaignProductOfProduct(id)
DiscountCampaignService
Product
DiscountCampaignProduct
/distributor
GET
findAllDistributor()
ProductService
Distributor
/productcategory
GET
findAllProductCategory()
ProductService
ProductCategory
/productdelivery/{id}
DELETE
deleteProductDeliveryById(id)
ProductService
ProductDelivery
/orderitem/product/{id}
GET
findAllOrderItemOfProduct(id)
ProductService
Product
OrderItem
/customergroupmember/customergroup/{id}
GET
findAllCustomerGroupMemberOfCustomerGroup(id)
CountryService
CustomerGroup
CustomerGroupMember
/shoplicense/{id}
DELETE
deleteShopLicenseById(id)
ShopLicenseService
ShopLicense
/productdelivery/product/{id}
GET
findAllProductDeliveryOfProduct(id)
ProductService
Product
ProductDelivery
/discountcampaignproduct/discountcampaign/{id}
GET
findAllDiscountCampaignProductOfDiscountCampaign(id)
DiscountCampaignService
DiscountCampaign
DiscountCampaignProduct
/discountcampaigncustomer
POST
insertDiscountCampaignCustomer(discountcampaigncustomer)
CountryService
DiscountCampaignCustomer
/shopowner/{id}
DELETE
deleteShopOwnerById(id)
ShopLicenseService
ShopOwner
/discountcampaign/{id}
PUT
updateDiscountCampaignById(discountcampaign)
DiscountCampaignService
DiscountCampaign
/discountcampaigncustomer/{id}
PUT
updateDiscountCampaignCustomerById(discountcampaigncustomer)
CountryService
DiscountCampaignCustomer
/productprice/{id}
DELETE
deleteProductPriceById(id)
ProductService
ProductPrice
/discountcampaign/discounttype/{id}
GET
findAllDiscountCampaignOfDiscountType(id)
DiscountCampaignService
DiscountType
DiscountCampaign
/discountcampaignproduct/{id}
PUT
updateDiscountCampaignProductById(discountcampaignproduct)
DiscountCampaignService
DiscountCampaignProduct
/product
POST
insertProduct(product)
ProductService
Product
/customerorder
POST
insertCustomerOrder(customerorder)
CountryService
CustomerOrder
/customergroupmember/{id}
GET
findCustomerGroupMemberById(id)
CountryService
CustomerGroupMember
/customergroup
GET
findAllCustomerGroup()
CountryService
CustomerGroup
/productprice/country/{id}
GET
findAllProductPriceOfCountry(id)
ProductService
Country
ProductPrice
/productdelivery/warehouse/{id}
GET
findAllProductDeliveryOfWarehouse(id)
ProductService
Warehouse
ProductDelivery
/discountcampaigncustomergroup/{id}
GET
findDiscountCampaignCustomerGroupById(id)
DiscountCampaignService
DiscountCampaignCustomerGroup
/salestax/{id}
GET
findSalesTaxById(id)
ProductService
SalesTax
/customergroupmember/{id}
PUT
updateCustomerGroupMemberById(customergroupmember)
CountryService
CustomerGroupMember
/customerorder/{id}
PUT
updateCustomerOrderById(customerorder)
CountryService
CustomerOrder
/warehouseresponsibility
GET
findAllWarehouseResponsibility()
CountryService
WarehouseResponsibility
/orderitem/{id}
GET
findOrderItemById(id)
ProductService
OrderItem
/discountcampaigncustomer/{id}
GET
findDiscountCampaignCustomerById(id)
CountryService
DiscountCampaignCustomer
/discountcampaignproductcategory/{id}
DELETE
deleteDiscountCampaignProductCategoryById(id)
DiscountCampaignService
DiscountCampaignProductCategory
/customerdelivery/{id}
DELETE
deleteCustomerDeliveryById(id)
ProductService
CustomerDelivery
/salestax/{id}
PUT
updateSalesTaxById(salestax)
ProductService
SalesTax
/discountcampaign/{id}
GET
findDiscountCampaignById(id)
DiscountCampaignService
DiscountCampaign
/warehouseresponsibility/{id}
PUT
updateWarehouseResponsibilityById(warehouseresponsibility)
CountryService
WarehouseResponsibility
/distributor
POST
insertDistributor(distributor)
ProductService
Distributor
/discountcampaignproductcategory/{id}
PUT
updateDiscountCampaignProductCategoryById(discountcampaignproductcategory)
DiscountCampaignService
DiscountCampaignProductCategory
/discountcampaignproduct
GET
findAllDiscountCampaignProduct()
DiscountCampaignService
DiscountCampaignProduct
/purchaserule/product/{id}
GET
findAllPurchaseRuleOfProduct(id)
ProductService
Product
PurchaseRule
/shoplicense/{id}
PUT
updateShopLicenseById(shoplicense)
ShopLicenseService
ShopLicense
/delivery/{id}
PUT
updateDeliveryById(delivery)
CountryService
Delivery
/shopowner
GET
findAllShopOwner()
ShopLicenseService
ShopOwner
/delivery/{id}
GET
findDeliveryById(id)
CountryService
Delivery
/discountcampaigncustomergroup/discountcampaign/{id}
GET
findAllDiscountCampaignCustomerGroupOfDiscountCampaign(id)
DiscountCampaignService
DiscountCampaign
DiscountCampaignCustomerGroup
/product
GET
findAllProduct()
ProductService
Product
/shopowner/shoplicense/{id}
GET
findAllShopOwnerOfShopLicense(id)
ShopLicenseService
ShopLicense
ShopOwner
/shopowner
POST
insertShopOwner(shopowner)
ShopLicenseService
ShopOwner
/salestax
GET
findAllSalesTax()
ProductService
SalesTax
/customerorder/{id}
DELETE
deleteCustomerOrderById(id)
CountryService
CustomerOrder
/productprice
GET
findAllProductPrice()
ProductService
ProductPrice
/shoplicense
GET
findAllShopLicense()
ShopLicenseService
ShopLicense
/shopcustomer
GET
findAllShopCustomer()
CountryService
ShopCustomer
/discountcampaignproductcategory/productcategory/{id}
GET
findAllDiscountCampaignProductCategoryOfProductCategory(id)
DiscountCampaignService
ProductCategory
DiscountCampaignProductCategory
/discountcampaignproduct
POST
insertDiscountCampaignProduct(discountcampaignproduct)
DiscountCampaignService
DiscountCampaignProduct
/orderitem
POST
insertOrderItem(orderitem)
ProductService
OrderItem
/customergroupmember/shopcustomer/{id}
GET
findAllCustomerGroupMemberOfShopCustomer(id)
CountryService
ShopCustomer
CustomerGroupMember
/discountcampaignproduct/{id}
DELETE
deleteDiscountCampaignProductById(id)
DiscountCampaignService
DiscountCampaignProduct
/customergroup/{id}
PUT
updateCustomerGroupById(customergroup)
CountryService
CustomerGroup
/orderitem/{id}
PUT
updateOrderItemById(orderitem)
ProductService
OrderItem
/discountcampaignproductcategory/discountcampaign/{id}
GET
findAllDiscountCampaignProductCategoryOfDiscountCampaign(id)
DiscountCampaignService
DiscountCampaign
DiscountCampaignProductCategory
/customergroupmember/{id}
DELETE
deleteCustomerGroupMemberById(id)
CountryService
CustomerGroupMember
/delivery/{id}
DELETE
deleteDeliveryById(id)
CountryService
Delivery
/customergroup/{id}
GET
findCustomerGroupById(id)
CountryService
CustomerGroup
/product/productcategory/{id}
GET
findAllProductOfProductCategory(id)
ProductService
ProductCategory
Product
/warehouse/{id}
DELETE
deleteWarehouseById(id)
CountryService
Warehouse
/purchaserule/warehouse/{id}
GET
findAllPurchaseRuleOfWarehouse(id)
ProductService
Warehouse
PurchaseRule
/product/{id}
GET
findProductById(id)
ProductService
Product
/shopcustomer/country/{id}
GET
findAllShopCustomerOfCountry(id)
CountryService
Country
ShopCustomer
Shop
Schema Name
: Shop
Alias
: Shop
Data Entities
Entity Name
Alias Name
Microservice
Data Schema
Country
Country
CountryService
Shop
CustomerDelivery
CustomerDelivery
ProductService
Shop
CustomerGroup
CustomerGroup
CountryService
Shop
CustomerGroupMember
CustomerGroupMember
CountryService
Shop
CustomerOrder
CustomerOrder
CountryService
Shop
Delivery
Delivery
CountryService
Shop
DiscountCampaign
DiscountCampaign
DiscountCampaignService
Shop
DiscountCampaignCustomer
DiscountCampaignCustomer
CountryService
Shop
DiscountCampaignCustomerGroup
DiscountCampaignCustomerGroup
DiscountCampaignService
Shop
DiscountCampaignProduct
DiscountCampaignProduct
DiscountCampaignService
Shop
DiscountCampaignProductCategory
DiscountCampaignProductCategory
DiscountCampaignService
Shop
DiscountType
DiscountType
DiscountCampaignService
Shop
Distributor
Distributor
ProductService
Shop
OrderItem
OrderItem
ProductService
Shop
Product
Product
ProductService
Shop
ProductCategory
ProductCategory
ProductService
Shop
ProductDelivery
ProductDelivery
ProductService
Shop
ProductPrice
ProductPrice
ProductService
Shop
PurchaseRule
PurchaseRule
ProductService
Shop
SalesTax
SalesTax
ProductService
Shop
ShopCustomer
ShopCustomer
CountryService
Shop
ShopEmployee
ShopEmployee
CountryService
Shop
ShopLicense
ShopLicense
ShopLicenseService
Shop
ShopOwner
ShopOwner
ShopLicenseService
Shop
Warehouse
Warehouse
CountryService
Shop
WarehouseResponsibility
WarehouseResponsibility
CountryService
Shop
Table of content