mjoniec / Proj2_Planes

Distributed air traffic control system. Microservices, DDD, Docker, HostedServices
0 stars 0 forks source link

traffic simulator after adding badWeather functionality #38

Closed mjoniec closed 3 years ago

mjoniec commented 3 years ago

After adding bad weather to domain object lifetime managers simulator do not covers that.

We can assume no bad weather functionality on simulated, but how to couple this with domain objects? Can simulated traffic make airport not to generate bad weather or take no action on its occurence to achieve safe ignoracne of the feature?

Also if we are to refactor split host servce worker class from domain object lifetime managers this task should wait till that is done. And then use, instead of like a reas host worker that only has one instance it d have 2 collections of airports and planes in it and update them all in loop.