-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add md5 hash as additional return value for all services #62
Conversation
@HendrikLeuschner Is the md5 file read for every request? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be read on initialize once and help globally for every service to read.
osm_md5_hash = FileUtility.readFile(md5Files[0].toString()).trim(); | ||
} | ||
catch (IOException e) | ||
{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth adding an error message to the log if there is a problem reading the md5 files seeing as this is a new feature and so would be easier for debugging. It doesn't need to be sent to the user, just logged.
md5 hash extracted from any single .md5 file with any name in folder 'graphs' and returned as parameter in response of all services.