Skip to content
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

Merged
merged 5 commits into from
Jan 3, 2018

Conversation

HendrikLeuschner
Copy link
Collaborator

md5 hash extracted from any single .md5 file with any name in folder 'graphs' and returned as parameter in response of all services.

@TimMcCauley
Copy link
Contributor

@HendrikLeuschner Is the md5 file read for every request?

Copy link
Contributor

@TimMcCauley TimMcCauley left a 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.

@TimMcCauley TimMcCauley added this to the 4.5 milestone Jan 2, 2018
osm_md5_hash = FileUtility.readFile(md5Files[0].toString()).trim();
}
catch (IOException e)
{}
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants