Kuno
Question about REST API
Context : ground control in aerodrome
I have :
1) Console App where all aerodrome processes are happening
2) REST API should be as a messenger service between the business logic (console app from above) and any other part of the service
Let's admit I receive a request: "I want to land on your runway", after that I have to analyze the information about my runway (is that possible to land on rigth now ?) from business logic, and this business logic is a separate console app, and I don't understand how to use this console app from REST API ?
Or maybe it is a bad architecture initially ?
28 replies
How to bind REST API and business logic ?
Hello, I have a console app (core application), which is simulating ground traffic in aerodrome, but besides I have to get a requests from other services (like "May aircraft A23 take off?") and send the changes(like "aircraft A23 has landed on runway 53") to the other APIs.
i don't understand the following :
1) how to implement sending messages, does it have to be inside business logic or like a separate module?
2) how to bind REST API and my core app (to change the state of my aerodrome for example, like in example above)
3) how to launch all of them simultaneously ?
6 replies