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 6 Next »

The API manager comes with a number of samples which demonstrate its basic functionality. These samples are located in <PRODUCT_HOME>/samples folder. Inside this directory, you will find sub directories for each sample. Each sub directory contains the relevant configurations, scripts and instructions required to run the relevant sample. Each sample contains an APIPopulator script, which drives the API Manager via a REST API.

By default, the samples installation uses the admin user to create samples.

Before running the samples, ensure that the following are available:

  • JDK 1.6.0_23 or higher and Apache ANT 1.7 or higher installed as mentioned in the product Installation Prerequisites section.
  • A HTTP client tool such as cURL (http://curl.haxx.se/)
  • A JavaScript compatible web browser
  • An active Internet connection

Configuring Libraries

Your need to configure various libraries before installing examples. To do this, you must run ant inside the <PRODUCT_HOME>/bin directory.

Installing the samples

To install the samples as the admin user: To install it

1. Make sure the API manager is started.

2. Execute the APIPopulator.sh (for Linux) or APIPopulator.bat (for Windows) script for each sample.

Starting and Stopping the API Gateway

 

 

  • No labels