- Download the Geolocation data from here.
- Unzip the file you downloaded.
Create the database by executing one of the scripts in the
Geolocation Data/dbscripts
directory.This can be done using the MySQL Workbench.
For detailed instructions to run the database script, see MySQL Documentation - The Workbench Scripting Shell.
Restore data to the BLOCKS and LOCATION tables by importing data from the following files.
Geolocation Data/data/BLOCKS.csv
Geolocation Data/data/LOCATION.csv
For more information, see MySQL Documentation - Data Export and Import.
- Download a JDBC provider depending on the database you are using, and copy it to
<APIM_HOME>/repository/components/lib
directory. - Configure datasource in the
<Product-home>/repository/conf/datasources/geolocation-datasources.xml
file. - Log into the WSO2 API Manager Admin Dashboard using the
https://localhost:<SERVER_PORT>/admin-dashboard
URL. - Under Analytics, click Configure Alerts to open the Alert Configurations page.
- Click Activate for
APIM_GEO_LOCATION_STATS
.
Unknown macro: {next_previous_links}
Manage space
Manage content
Integrations