Sometimes construction requires dirty hacks

For badge [I fixed it!]

To cut corners, we decided to have all our cloud storage in the form of a static hash map. Since this might in turn lead to storage problems, we also decided to delete the images from the cloud after sending them to the app, meaning that the system only supports only one client at the moment. If we were to have two, whichever client pulls the images first is the one who gets to know about intruders. No safety risks there!

The dirty code in question:https://github.com/BoldizarF/ariot19/blob/master/rest-api/WatchDogApi/WatchDogApi/Controllers/ImageStorage.cs

Leave a Reply

Your e-mail address will not be published. Required fields are marked *