Table of content



3.1. AirplaneService


Entity-Relationship-Model of AirplaneService

Schema Entities

Entity NameAlias NameMicroserviceData Schema
AirlineAirlineAirplaneServiceAirportLogistics
AirplaneAirplaneAirplaneServiceAirportLogistics
AirplaneEquipmentAirplaneEquipmentAirplaneServiceAirportLogistics
AirplaneProducerAirplaneProducerAirplaneServiceAirportLogistics
AirplaneTypeAirplaneTypeAirplaneServiceAirportLogistics
EmployeeEmployeeEmployeeServiceAirportLogistics
EquipmentTypeEquipmentTypeAirplaneServiceAirportLogistics
FlightFlightAirportServiceAirportLogistics
SeatSeatPassengerBookingServiceAirportLogistics

Service Interfaces

Relative mapping URLRequest MethodMethod NameMicroserviceInvolved Entities
/airplaneequipment/airplane/{id}GETfindAllAirplaneEquipmentOfAirplane(id)AirplaneServiceAirplane AirplaneEquipment
/airplane/airplanetype/{id}GETfindAllAirplaneOfAirplaneType(id)AirplaneServiceAirplaneType Airplane
/airlineGETfindAllAirline()AirplaneServiceAirline
/equipmenttype/{id}GETfindEquipmentTypeById(id)AirplaneServiceEquipmentType
/airplaneproducer/{id}DELETEdeleteAirplaneProducerById(id)AirplaneServiceAirplaneProducer
/airplaneproducer/{id}PUTupdateAirplaneProducerById(airplaneproducer)AirplaneServiceAirplaneProducer
/airplane/{id}PUTupdateAirplaneById(airplane)AirplaneServiceAirplane
/airplaneGETfindAllAirplane()AirplaneServiceAirplane
/airplanetype/{id}DELETEdeleteAirplaneTypeById(id)AirplaneServiceAirplaneType
/airplane/{id}DELETEdeleteAirplaneById(id)AirplaneServiceAirplane
/airplaneequipment/equipmenttype/{id}GETfindAllAirplaneEquipmentOfEquipmentType(id)AirplaneServiceEquipmentType AirplaneEquipment
/airplaneequipment/{id}PUTupdateAirplaneEquipmentById(airplaneequipment)AirplaneServiceAirplaneEquipment
/airplaneequipmentPOSTinsertAirplaneEquipment(airplaneequipment)AirplaneServiceAirplaneEquipment
/equipmenttypePOSTinsertEquipmentType(equipmenttype)AirplaneServiceEquipmentType
/airplaneproducerPOSTinsertAirplaneProducer(airplaneproducer)AirplaneServiceAirplaneProducer
/airplaneproducerGETfindAllAirplaneProducer()AirplaneServiceAirplaneProducer
/airplaneproducer/{id}GETfindAirplaneProducerById(id)AirplaneServiceAirplaneProducer
/airplanetypeGETfindAllAirplaneType()AirplaneServiceAirplaneType
/airplanetypePOSTinsertAirplaneType(airplanetype)AirplaneServiceAirplaneType
/airplanePOSTinsertAirplane(airplane)AirplaneServiceAirplane
/airplaneequipmentGETfindAllAirplaneEquipment()AirplaneServiceAirplaneEquipment
/airplanetype/{id}PUTupdateAirplaneTypeById(airplanetype)AirplaneServiceAirplaneType
/airline/{id}PUTupdateAirlineById(airline)AirplaneServiceAirline
/airlinePOSTinsertAirline(airline)AirplaneServiceAirline
/airline/{id}GETfindAirlineById(id)AirplaneServiceAirline
/equipmenttype/{id}DELETEdeleteEquipmentTypeById(id)AirplaneServiceEquipmentType
/equipmenttypeGETfindAllEquipmentType()AirplaneServiceEquipmentType
/airplanetype/airplaneproducer/{id}GETfindAllAirplaneTypeOfAirplaneProducer(id)AirplaneServiceAirplaneProducer AirplaneType
/airplanetype/{id}GETfindAirplaneTypeById(id)AirplaneServiceAirplaneType
/airline/{id}DELETEdeleteAirlineById(id)AirplaneServiceAirline
/airplaneequipment/{id}GETfindAirplaneEquipmentById(id)AirplaneServiceAirplaneEquipment
/airplane/{id}GETfindAirplaneById(id)AirplaneServiceAirplane
/airplane/airline/{id}GETfindAllAirplaneOfAirline(id)AirplaneServiceAirline Airplane
/equipmenttype/{id}PUTupdateEquipmentTypeById(equipmenttype)AirplaneServiceEquipmentType
/airplaneequipment/{id}DELETEdeleteAirplaneEquipmentById(id)AirplaneServiceAirplaneEquipment

AirplaneService inside the microservice architecture

Microservices

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





3.1.1 Airline


Entity Name: Airline

Data Schema: AirportLogistics

Master Service: AirplaneService


Call graph 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

Pseudo code snippet

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


3.1.2 Airplane


Entity Name: Airplane

Data Schema: AirportLogistics

Master Service: AirplaneService


Call graph of entity of Airplane

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
AirlineLONGAirplaneAirline
AirplaneIDSTRINGAirplane
AirplaneTypeLONGAirplaneAirplaneType
PrimaryKeyLONGAirplane
ServerReplicationVersionLONGAirplane

Pseudo code snippet

final Airplane airplane = (Airplane) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplane/" + id, Airplane.class);
if (airplane != null) {
    final Airline airline1 = (Airline) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airline/" + airplane.getAirline().getId(), Airline.class);
    if (airline1 != null) {
    }
    final AirplaneType airplanetype2 = (AirplaneType) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplanetype/" + airplane.getAirplaneType().getId(), AirplaneType.class);
    if (airplanetype2 != null) {
        final AirplaneProducer airplaneproducer3 = (AirplaneProducer) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplaneproducer/" + airplanetype2.getAirplaneProducer().getId(), AirplaneProducer.class);
        if (airplaneproducer3 != null) {
        }
    }
}
return airplane;


3.1.3 AirplaneEquipment


Entity Name: AirplaneEquipment

Data Schema: AirportLogistics

Master Service: AirplaneService


Call graph of entity of AirplaneEquipment

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
AirplaneLONGAirplaneEquipmentAirplane
EquipmentTypeLONGAirplaneEquipmentEquipmentType
PrimaryKeyLONGAirplaneEquipment
ServerReplicationVersionLONGAirplaneEquipment

Pseudo code snippet

final AirplaneEquipment airplaneequipment = (AirplaneEquipment) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplaneequipment/" + id, AirplaneEquipment.class);
if (airplaneequipment != null) {
    final Airplane airplane1 = (Airplane) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplane/" + airplaneequipment.getAirplane().getId(), Airplane.class);
    if (airplane1 != null) {
        final Airline airline2 = (Airline) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airline/" + airplane1.getAirline().getId(), Airline.class);
        if (airline2 != null) {
        }
        final AirplaneType airplanetype3 = (AirplaneType) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplanetype/" + airplane1.getAirplaneType().getId(), AirplaneType.class);
        if (airplanetype3 != null) {
            final AirplaneProducer airplaneproducer4 = (AirplaneProducer) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplaneproducer/" + airplanetype3.getAirplaneProducer().getId(), AirplaneProducer.class);
            if (airplaneproducer4 != null) {
            }
        }
    }
    final EquipmentType equipmenttype5 = (EquipmentType) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/equipmenttype/" + airplaneequipment.getEquipmentType().getId(), EquipmentType.class);
    if (equipmenttype5 != null) {
    }
}
return airplaneequipment;


3.1.4 AirplaneProducer


Entity Name: AirplaneProducer

Data Schema: AirportLogistics

Master Service: AirplaneService


Call graph of entity of AirplaneProducer

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
PrimaryKeyLONGAirplaneProducer
ProducerNameSTRINGAirplaneProducer
ServerReplicationVersionLONGAirplaneProducer

Pseudo code snippet

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


3.1.5 AirplaneType


Entity Name: AirplaneType

Data Schema: AirportLogistics

Master Service: AirplaneService


Call graph of entity of AirplaneType

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
AirplaneProducerLONGAirplaneTypeAirplaneProducer
PrimaryKeyLONGAirplaneType
ServerReplicationVersionLONGAirplaneType
TypeNameSTRINGAirplaneType

Pseudo code snippet

final AirplaneType airplanetype = (AirplaneType) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplanetype/" + id, AirplaneType.class);
if (airplanetype != null) {
    final AirplaneProducer airplaneproducer1 = (AirplaneProducer) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplaneproducer/" + airplanetype.getAirplaneProducer().getId(), AirplaneProducer.class);
    if (airplaneproducer1 != null) {
    }
}
return airplanetype;


3.1.6 EquipmentType


Entity Name: EquipmentType

Data Schema: AirportLogistics

Master Service: AirplaneService


Call graph of entity of EquipmentType

Microservices

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

Entity Properties

Property NameDatatypeData EntityReference Entity
PrimaryKeyLONGEquipmentType
ServerReplicationVersionLONGEquipmentType
TypeNameSTRINGEquipmentType

Pseudo code snippet

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


Table of content