Table of content



The LuggageType entity within the microservice architecture

Entity-Relationship-Model of <LuggageService>

Entity Name: LuggageType

Data Schema: AirportLogistics

Master Service: LuggageService


Dataflow of entity of LuggageType

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
DescriptionSTRINGLuggageType
PrimaryKeyLONGLuggageType
ServerReplicationVersionLONGLuggageType
TypeNameSTRINGLuggageType

Service Interfaces

Relative mapping URLRequest MethodMethod NameMicroserviceInvolved Entities
/luggagetypePOSTinsertLuggageType(luggagetype)LuggageServiceLuggageType
/luggagetypeGETfindAllLuggageType()LuggageServiceLuggageType
/luggagetype/{id}GETfindLuggageTypeById(id)LuggageServiceLuggageType
/luggagetype/{id}DELETEdeleteLuggageTypeById(id)LuggageServiceLuggageType
/luggagetype/{id}PUTupdateLuggageTypeById(luggagetype)LuggageServiceLuggageType
/luggage/luggagetype/{id}GETfindAllLuggageOfLuggageType(id)LuggageServiceLuggageType Luggage

Distributed transaction of <LuggageType>

Pseudo code snippet

final LuggageType luggagetype = (LuggageType) this.callMicroservice(ServiceNames.LUGGAGE_SERVICE + "/luggagetype/" + id, LuggageType.class);
if (luggagetype != null) {
}
return luggagetype;


Table of content