Table of content



The Airline entity within the microservice architecture

Entity-Relationship-Model of <AirplaneService>

Entity Name: Airline

Data Schema: AirportLogistics

Master Service: AirplaneService


Dataflow of entity of Airline

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
AirlineNameSTRINGAirline
PrimaryKeyLONGAirline
ServerReplicationVersionLONGAirline

Service Interfaces

Relative mapping URLRequest MethodMethod NameMicroserviceInvolved Entities
/airline/{id}PUTupdateAirlineById(airline)AirplaneServiceAirline
/airplane/airline/{id}GETfindAllAirplaneOfAirline(id)AirplaneServiceAirline Airplane
/airlineGETfindAllAirline()AirplaneServiceAirline
/airlinePOSTinsertAirline(airline)AirplaneServiceAirline
/employee/airline/{id}GETfindAllEmployeeOfAirline(id)EmployeeServiceAirline Employee
/airline/{id}DELETEdeleteAirlineById(id)AirplaneServiceAirline
/airline/{id}GETfindAirlineById(id)AirplaneServiceAirline

Distributed transaction of <Airline>

Pseudo code snippet

final Airline airline = (Airline) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airline/" + id, Airline.class);
if (airline != null) {
}
return airline;


Table of content