WSO2 API Management is an Open Source API Management tool that allows APIs/Services to be Secured, Monitored and Rate Controlled. This tool allows API Developers to design, publish, version and manage API lifecycles. It allows application developers to discover and start consuming APIs. The lightweight API Gateway intercepts all API requests applying Security, Rate Limiting and Monitoring aspects on your APIs.
More information about this product can be found here
- Download and install JDK 8 update 77 or later
- Get a clone or download the source from this repository (https://github.com/wso2/carbon-apimgt)
- Run the Maven command
mvn clean install
from within the carbon-apimgt directory. - Get a clone or download the source from this repository (https://github.com/wso2/product-apim)
- Run the Maven command
mvn clean install
from within the product-apim directory.
- Download and install Apache ActiveMQ 5.14.0 from here
- Start ActiveMQ using
./bin/activemq start
- Download the WSO2 Identity Server from here
- Extract the downloaded wso2is-5.3.0.zip file
- Go to the wso2is-5.3.0/bin directory and execute the wso2server.sh script using the command
./wso2server.sh start
- Find the API Manager analytics distribution from product-apim/analyzer/target
- Extract the distribution. Ex: unzip wso2apim-das-3.0.0.zip
- Go to the wso2apim-das-3.0.0/bin directory and execute the carbon.sh script:
./worker.sh
- Find the API Manager product distribution from product-apim/product/target
- Extract the distribution. Ex: unzip wso2apim-3.0.0.zip
- Go to the wso2apim-3.0.0/bin directory and execute the carbon.sh script:
./carbon.sh
- Find the API Manager gateway distribution from product-apim/gateway/target
- Extract the distribution. Ex: unzip wso2apim-gateway-3.0.0.zip
- Go to the wso2apim-gateway-3.0.0 directory and execute
bin/ballerina run service services.bsz
- Make sure you start the Gateway from
wso2apim-gateway-3.0.0
root directory; not inside/bin
directory. - Make sure you start the Gateway at the end, after starting all the other servers.
- After Publishing an API to gateway make sure that you restart the gateway by executing
bin/ballerina run service services.bsz org/wso2/carbon/apimgt/gateway
- Open your web browser and type the URL https://localhost:9292/publisher to go to the API Publisher application which allows you to design and publish APIs.
- On the web browser type the URL https://localhost:9292/store to visit the API Store to discover and consume APIs.