Table of content



The CargoType entity within the microservice architecture

Entity-Relationship-Model of <CargoService>

Entity Name: CargoType

Data Schema: AirportLogistics

Master Service: CargoService


Dataflow of entity of CargoType

Microservices

3.1 AirplaneService3.2 AirportService3.3 CargoService3.4 CountryService3.5 EmployeeService3.6 LuggageService
3.7 PassengerBookingService

Entity Properties

Property NameDatatypeData EntityReference Entity
DescriptionSTRINGCargoType
PrimaryKeyLONGCargoType
ServerReplicationVersionLONGCargoType
TypeNameSTRINGCargoType

Service Interfaces

Relative mapping URLRequest MethodMethod NameMicroserviceInvolved Entities
/cargo/cargotype/{id}GETfindAllCargoOfCargoType(id)CargoServiceCargoType Cargo
/cargotype/{id}GETfindCargoTypeById(id)CargoServiceCargoType
/cargotype/{id}DELETEdeleteCargoTypeById(id)CargoServiceCargoType
/cargotype/{id}PUTupdateCargoTypeById(cargotype)CargoServiceCargoType
/cargotypeGETfindAllCargoType()CargoServiceCargoType
/cargotypePOSTinsertCargoType(cargotype)CargoServiceCargoType

Distributed transaction of <CargoType>

Pseudo code snippet

final CargoType cargotype = (CargoType) this.callMicroservice(ServiceNames.CARGO_SERVICE + "/cargotype/" + id, CargoType.class);
if (cargotype != null) {
}
return cargotype;


Table of content