Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

  1. Download the Geolocation data from here.
  2. Unzip the file you downloaded.
  3. Create the database by executing one of the scripts in the Geolocation Data/dbscripts directory. In this example, mysql.sql is executed.

    This can be done using the MySQL Workbench.

    For detailed instructions to run the database script, see MySQL Documentation - The Workbench Scripting Shell.

  4. 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
  5. Download a JDBC provider depending on the database you are using (MySQL in this example), and copy it to <APIM_HOME>/repository/components/lib directory.
  6. Configure datasource in the <Product-home>/repository/conf/datasources/geolocation-datasources.xml file as follows.
  7. Log into the WSO2 API Manager Admin Dashboard using the https://localhost:<SERVER_PORT>/admin-dashboard URL.
  8. Under Analytics, click Configure Alerts to open the Alert Configurations page.
  9. Click Activate for APIM_GEO_LOCATION_STATS.
  • No labels