| Entity Name | Alias Name | Microservice | Data Schema |
| ShopLicense | ShopLicense | ShopLicenseService | Shop |
| ShopOwner | ShopOwner | ShopLicenseService | Shop |
| Relative mapping URL | Request Method | Method Name | Microservice | Involved Entities |
| /shoplicense | POST | insertShopLicense(shoplicense) | ShopLicenseService | ShopLicense |
| /shopowner/{id} | GET | findShopOwnerById(id) | ShopLicenseService | ShopOwner |
| /shopowner/{id} | PUT | updateShopOwnerById(shopowner) | ShopLicenseService | ShopOwner |
| /shoplicense/{id} | GET | findShopLicenseById(id) | ShopLicenseService | ShopLicense |
| /shoplicense/{id} | DELETE | deleteShopLicenseById(id) | ShopLicenseService | ShopLicense |
| /shopowner/{id} | DELETE | deleteShopOwnerById(id) | ShopLicenseService | ShopOwner |
| /shoplicense/{id} | PUT | updateShopLicenseById(shoplicense) | ShopLicenseService | ShopLicense |
| /shopowner | GET | findAllShopOwner() | ShopLicenseService | ShopOwner |
| /shopowner/shoplicense/{id} | GET | findAllShopOwnerOfShopLicense(id) | ShopLicenseService | ShopLicense ShopOwner |
| /shopowner | POST | insertShopOwner(shopowner) | ShopLicenseService | ShopOwner |
| /shoplicense | GET | findAllShopLicense() | ShopLicenseService | ShopLicense |
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Entity Name: ShopLicense
Data Schema: Shop
Master Service: ShopLicenseService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| EmployeeCount | INT | ShopLicense | |
| LicenseName | STRING | ShopLicense | |
| Price | DOUBLE | ShopLicense | |
| PrimaryKey | LONG | ShopLicense | |
| ServerReplicationVersion | LONG | ShopLicense | |
| TransactionFee | DOUBLE | ShopLicense | |
| WarehouseCount | INT | ShopLicense |
Pseudo code snippet
final ShopLicense shoplicense = (ShopLicense) this.callMicroservice(ServiceNames.SHOP_LICENSE_SERVICE + "/shoplicense/" + id, ShopLicense.class);Entity Name: ShopOwner
Data Schema: Shop
Master Service: ShopLicenseService
| 3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
| Property Name | Datatype | Data Entity | Reference Entity |
| OwnerName | STRING | ShopOwner | |
| PrimaryKey | LONG | ShopOwner | |
| ServerReplicationVersion | LONG | ShopOwner | |
| ShopLicense | LONG | ShopOwner | ShopLicense |
Pseudo code snippet
final ShopOwner shopowner = (ShopOwner) this.callMicroservice(ServiceNames.SHOP_LICENSE_SERVICE + "/shopowner/" + id, ShopOwner.class);