Skip to content

Commit

Permalink
Update ip2geo test data url
Browse files Browse the repository at this point in the history
Signed-off-by: Heemin Kim <[email protected]>
  • Loading branch information
heemin32 committed Aug 22, 2023
1 parent f4514c1 commit 79ace82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Ip2GeoDataServer {
private static final String ROOT = "ip2geo/server";
private static final int PORT = 8001;
private static final String EXTERNAL_ENDPOINT_PREFIX =
"https://github.com/opensearch-project/geospatial/blob/main/src/test/resources/ip2geo/server";
"https://raw.githubusercontent.com/opensearch-project/geospatial/main/src/test/resources/ip2geo/server";

private static HttpServer server;
private static volatile int counter = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/ip2geo/server/city/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"url": "https://github.com/opensearch-project/geospatial/blob/main/src/test/resources/ip2geo/server/city/city.zip",
"url": "https://github.com/opensearch-project/geospatial/raw/main/src/test/resources/ip2geo/server/city/city.zip",
"db_name": "data.csv",
"sha256_hash": "oDPgEv+9+kNov7bdQQiLrhr8jQeEPdLnuJ22Hz5npvk=",
"valid_for_in_days": 30,
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/ip2geo/server/country/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"url": "https://github.com/opensearch-project/geospatial/blob/main/src/test/resources/ip2geo/server/country/country.zip",
"url": "https://github.com/opensearch-project/geospatial/raw/main/src/test/resources/ip2geo/server/country/country.zip",
"db_name": "data.csv",
"sha256_hash": "oDPgEv+4+kNov7bdQQiLrhr8jQeEPdLnuJ11Hz5npvk=",
"valid_for_in_days": 30,
Expand Down

0 comments on commit 79ace82

Please sign in to comment.