Skip to content

Commit

Permalink
Update ip2geo test data url (#389)
Browse files Browse the repository at this point in the history
Signed-off-by: Heemin Kim <heemin@amazon.com>
  • Loading branch information
heemin32 authored Aug 22, 2023
1 parent f4514c1 commit 446fb23
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Enhancements
### Bug Fixes
* Revert datasource state when delete fails([#382](https://github.com/opensearch-project/geospatial/pull/382))
* Update ip2geo test data url([#389](https://github.com/opensearch-project/geospatial/pull/389))
### Infrastructure
* Make jacoco report to be generated faster in local ([#267](https://github.com/opensearch-project/geospatial/pull/267))
* Exclude lombok generated code from jacoco coverage report ([#268](https://github.com/opensearch-project/geospatial/pull/268))
Expand Down
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 446fb23

Please sign in to comment.