forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GeoIP database service URL (elastic#69862)
This change updates GeoIP database service URL to the new https://geoip.elastic.co/v1/database and removes (now optional) key/UUID parameter. It also fixes geoip-fixture to provide 3 different test databases (City, Country and ASN). It also unmutes GeoIpDownloaderIT. testGeoIpDatabasesDownload with additional logging and increased timeouts which tries to address elastic#69594
- Loading branch information
1 parent
954e2cc
commit f4e04a5
Showing
11 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-9.9 KB
test/fixtures/geoip-fixture/src/main/resources/GeoIP2-City-Test.mmdb.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.27 KB
test/fixtures/geoip-fixture/src/main/resources/GeoLite2-Country.mmdb.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
[ | ||
{ | ||
"md5_hash": "dd3ac893b3b858d8f45674345dfe6fe9", | ||
"md5_hash": "a7813f5053276eb22639b61c61e3e56c", | ||
"name": "GeoLite2-City.mmdb.gz", | ||
"url": "endpoint/db.mmdb.gz", | ||
"url": "endpoint/db/GeoLite2-City.mmdb.gz", | ||
"provider": "maxmind" | ||
}, | ||
{ | ||
"md5_hash": "dd3ac893b3b858d8f45674345dfe6fe9", | ||
"md5_hash": "f452b1aece8dc6137485ddbb0401d6fe", | ||
"name": "GeoLite2-ASN.mmdb.gz", | ||
"url": "endpoint/db.mmdb.gz", | ||
"url": "endpoint/db/GeoLite2-ASN.mmdb.gz", | ||
"provider": "maxmind" | ||
}, | ||
{ | ||
"md5_hash": "dd3ac893b3b858d8f45674345dfe6fe9", | ||
"md5_hash": "dc366cf57a4f101d722b4cd10d4a9825", | ||
"name": "GeoLite2-Country.mmdb.gz", | ||
"url": "endpoint/db.mmdb.gz", | ||
"url": "endpoint/db/GeoLite2-Country.mmdb.gz", | ||
"provider": "maxmind" | ||
} | ||
] |