-
Notifications
You must be signed in to change notification settings - Fork 195
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
-download task support for geoip #3373
-download task support for geoip #3373
Conversation
Signed-off-by: rajeshLovesToCode <[email protected]>
Signed-off-by: rajeshLovesToCode <[email protected]>
Signed-off-by: rajeshLovesToCode <[email protected]>
assertThat(geoData.get("country_iso_code"), equalTo("US")); | ||
assertThat(geoData.get("ip"), equalTo("2001:4860:4860:0:0:0:0:8888")); | ||
assertThat(geoData.get("country_iso_code"), equalTo("FR")); | ||
assertThat(geoData.get("ip"), equalTo("2a02:ec00:0:0:0:0:0:0")); |
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.
Nit. It probably better to make this as
assertThat(geoData.get("ip"), equalTo(IP));
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.
hi @kkondaka pr updated with the fix
assertThat(geoData.get("country_name"), equalTo("United States")); | ||
assertThat(geoData.get("ip"), equalTo("2001:4860:4860:0:0:0:0:8888")); | ||
assertThat(geoData.get("country_name"), equalTo("France")); | ||
assertThat(geoData.get("ip"), equalTo("2a02:ec00:0:0:0:0:0:0")); |
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.
same here.
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.
hi @kkondaka pr updated with the fix
Signed-off-by: rajeshLovesToCode <[email protected]>
2888031
* -download task support for geoip Signed-off-by: rajeshLovesToCode <[email protected]> * -download task support for geoip Signed-off-by: rajeshLovesToCode <[email protected]> * -download task support for geoip Signed-off-by: rajeshLovesToCode <[email protected]> * -fix for geoip IP constant Signed-off-by: rajeshLovesToCode <[email protected]> (cherry picked from commit 56b74be)
* -download task support for geoip Signed-off-by: rajeshLovesToCode <[email protected]> * -download task support for geoip Signed-off-by: rajeshLovesToCode <[email protected]> * -download task support for geoip Signed-off-by: rajeshLovesToCode <[email protected]> * -fix for geoip IP constant Signed-off-by: rajeshLovesToCode <[email protected]> (cherry picked from commit 56b74be) Co-authored-by: rajeshLovesToCode <[email protected]>
Signed-off-by: rajeshLovesToCode [email protected]
Description
Implemented downlaod maxmind test mmdb files to resource folder
Issues Resolved
GitHub-issue #253
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.