Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Java Development Kit/JRE version 1.6.* or 1.7.*
  • Apache Ant 1.76.0 x or later.
  • An HTTP client tool such as cURL ( http://curl.haxx.se ).
  • A JavaScript compatible web browser.
  • An active Internet connection.

Setting up samples

  1. Download and install the API Manager according to the instructions given inĀ Getting Started.
  2. Before installing samples, you must configure libraries. Go to <APIM_HOME>/bin directory using a command prompt (on Windows) or text Linux console (on Linux) and type antcommand. This step populates master data required for the API Manager to start up. For example, on Windows:

  3. Start the API Manager by executing <APIM_HOME>/bin/wso2server.bat (on Windows) or <APIM_HOME>/bin/wso2server.sh (on Linux). For more information, see Running the API Manager. This step also populates more master data required for the server to start up.
  4. Next, shut down the API Manager.

    Warning

    It is a must to shut down the server before executing step 5 below.

  5. Run the ant command inside <APIM_HOME>/samples/Data directory. An output similar to following appears:

    It executes the UserPopulator.sql, which creates two user accounts as provider1 and subscriber1. You can use them to log in to the API Publisher and API Store respectively.

  6. Start the API Manager again and log in to the API Publisher (http://localhost:9763/publisher) using username/password as provider1/provider1. Similarly, log in to the API Store (https://localhost:9443/store) using username/password as subscriber1/subscriber1.

...