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

Document is_anycast in CSVs #1069

Merged
merged 3 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/geoip/_curl-examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ curl -u "{account_id}:{license_key}" \
"https://geoip.maxmind.com/geoip/v2.1/country/{ip_address}?pretty"
```

```cli-City
```cli-City_Plus
# Retrieve data for your IP address.
curl -u "{account_id}:{license_key}" \
"https://geoip.maxmind.com/geoip/v2.1/city/me?pretty"
Expand Down
6 changes: 3 additions & 3 deletions content/geoip/release-notes/2023.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ your integration for the new data.

Please use the following example CSV files to test your integration:

- [GeoIP2-Enterprise-CSV_Example-is_anycast.zip](/static/GeoIP2-Enterprise-CSV_Example-is_anycast.zip)
- [GeoIP2-City-CSV_Example-is_anycast.zip](/static/GeoIP2-City-CSV_Example-is_anycast.zip)
- [GeoIP2-Country-CSV_Example-is_anycast.zip](/static/GeoIP2-Country-CSV_Example-is_anycast.zip)
- [GeoIP2-Enterprise-CSV_Example-is_anycast.zip](/static/GeoIP2-Enterprise-CSV_Example.zip)
- [GeoIP2-City-CSV_Example-is_anycast.zip](/static/GeoIP2-City-CSV_Example.zip)
- [GeoIP2-Country-CSV_Example-is_anycast.zip](/static/GeoIP2-Country-CSV_Example.zip)

We have also updated our tutorials on importing GeoIP databases. Please see
relevant links below:
Expand Down
35 changes: 35 additions & 0 deletions src/components/CsvBlockTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4414877149467-IP-Geolocation-Data#h_01FRRNFD5Z5EWNCAXM6SZZ5H2C"

Check warning on line 82 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80

Check warning on line 82 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -118,7 +118,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4414762983195-Country-level-and-City-level-Geolocation"

Check warning on line 121 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 121. Maximum allowed is 80

Check warning on line 121 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 121. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -158,7 +158,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4414762983195-Country-level-and-City-level-Geolocation"

Check warning on line 161 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 121. Maximum allowed is 80

Check warning on line 161 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 121. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -282,7 +282,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4414877149467-IP-Geolocation-Data#h_01FRRHZZP6RAYSNZTYE4MQ3MWY"

Check warning on line 285 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80

Check warning on line 285 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -320,7 +320,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4414877149467-IP-Geolocation-Data#h_01FRRHZZP6RAYSNZTYE4MQ3MWY"

Check warning on line 323 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80

Check warning on line 323 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -349,7 +349,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4414877149467-IP-Geolocation-Data#h_01FRRHZZP6RAYSNZTYE4MQ3MWY"

Check warning on line 352 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80

Check warning on line 352 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -380,7 +380,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4408200231067-IP-Network-Data#h_01FN989KHXR7TGXPB5T2DK0Q77"

Check warning on line 383 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80

Check warning on line 383 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand All @@ -396,7 +396,7 @@
<br/>
<br/>
<A
href="https://support.maxmind.com/hc/en-us/articles/4408200231067-IP-Network-Data#h_01FN98A5BNTS0GGWTD2QA4AHXN"

Check warning on line 399 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80

Check warning on line 399 in src/components/CsvBlockTable.tsx

View workflow job for this annotation

GitHub Actions / Test – Lint

This line has a length of 129. Maximum allowed is 80
rel="nofollow noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -518,6 +518,41 @@
</Tr>
</>
)}
<Tr>
<Td>is_anycast</Td>
<Td>boolean</Td>
<Td>
This is
{' '}
<Code>1</Code>
{' '}
if the network is an
{' '}
<A
href="https://en.wikipedia.org/wiki/Anycast"
rel="nofollow noopener noreferrer"
target="_blank"
>
anycast network
</A>
.
{ !isEnterprise && (
<div>
This column will be empty in GeoLite2-Country and GeoLite2-City.
</div>
)}
</Td>
{ !isEnterprise && (
<Td>
<ServiceTag
text="Country"
/>
<ServiceTag
text="City"
/>
</Td>
)}
</Tr>
</tbody>
</Table>
);
Expand Down
Binary file removed static/static/GeoIP2-City-CSV_Example-is_anycast.zip
Binary file not shown.
Binary file modified static/static/GeoIP2-City-CSV_Example.zip
Binary file not shown.
Binary file not shown.
Binary file modified static/static/GeoIP2-Country-CSV_Example.zip
Binary file not shown.
Binary file not shown.
Binary file modified static/static/GeoIP2-Enterprise-CSV_Example.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions test/e2e/redirects.fixture.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const devSiteStaticChecksums = [
{
checksum: '6e1e3ddc0f6a0eb782e49250608994fd9ce13308',
checksum: '9d56380fa24b355bf973d0d58bc4e84cbf3306dd',
uriPath: '/GeoIP2-Enterprise-CSV_Example.zip',
},
{
Expand Down Expand Up @@ -212,7 +212,7 @@ const wpStaticChecksums = [

const wpUploadsChecksums = [
{
checksum: '6e1e3ddc0f6a0eb782e49250608994fd9ce13308',
checksum: '9d56380fa24b355bf973d0d58bc4e84cbf3306dd',
uriPath: '/2015/07/GeoIP2-Enterprise-CSV_Example.zip',
},
{
Expand Down
Loading