Table of content



The AirplaneProducer entity within the microservice architecture

Entity-Relationship-Model of <AirplaneService>

Entity Name: AirplaneProducer

Data Schema: AirportLogistics

Master Service: AirplaneService


Dataflow 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

Service Interfaces

Relative mapping URLRequest MethodMethod NameMicroserviceInvolved Entities
/airplaneproducerGETfindAllAirplaneProducer()AirplaneServiceAirplaneProducer
/airplaneproducer/{id}GETfindAirplaneProducerById(id)AirplaneServiceAirplaneProducer
/airplanetype/airplaneproducer/{id}GETfindAllAirplaneTypeOfAirplaneProducer(id)AirplaneServiceAirplaneProducer AirplaneType
/airplaneproducerPOSTinsertAirplaneProducer(airplaneproducer)AirplaneServiceAirplaneProducer
/airplaneproducer/{id}PUTupdateAirplaneProducerById(airplaneproducer)AirplaneServiceAirplaneProducer
/airplaneproducer/{id}DELETEdeleteAirplaneProducerById(id)AirplaneServiceAirplaneProducer

Distributed transaction of <AirplaneProducer>

Pseudo code snippet

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


Table of content