Updated to snapshot version of reactive-mongo due to re-introduction of parsing options string in mongouri
Some refactoring. Removing some Awaits and code snippets that would potentially block.
Instead of an explicit fileExists function the scanAndParseAsGridFS body parser now takes a function as a parameter to allow defining your own check.
Now throwing exceptions for duplicate files and invlid file names. This will make the code stop processing the request without having to wait for the file to be uploaded completely.
It does however introduce a couple of ugly [error] log messages from the PlayDefaultUpstreamHandler. Need to find a better way.
Some further refactoring
Merge branch 'master' of github.com:scalytica/clammyscan