Entity Name: Airline
Data Schema: AirportLogistics
Master Service: AirplaneService
| 3.1 AirplaneService | 3.2 AirportService | 3.3 CargoService | 3.4 CountryService | 3.5 EmployeeService | 3.6 LuggageService |
| 3.7 PassengerBookingService |
| Property Name | Datatype | Data Entity | Reference Entity |
| AirlineName | STRING | Airline | |
| PrimaryKey | LONG | Airline | |
| ServerReplicationVersion | LONG | Airline |
| Relative mapping URL | Request Method | Method Name | Microservice | Involved Entities |
| /airline/{id} | PUT | updateAirlineById(airline) | AirplaneService | Airline |
| /airplane/airline/{id} | GET | findAllAirplaneOfAirline(id) | AirplaneService | Airline Airplane |
| /airline | GET | findAllAirline() | AirplaneService | Airline |
| /airline | POST | insertAirline(airline) | AirplaneService | Airline |
| /employee/airline/{id} | GET | findAllEmployeeOfAirline(id) | EmployeeService | Airline Employee |
| /airline/{id} | DELETE | deleteAirlineById(id) | AirplaneService | Airline |
| /airline/{id} | GET | findAirlineById(id) | AirplaneService | Airline |
Pseudo code snippet
final Airline airline = (Airline) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airline/" + id, Airline.class);