billxinli / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.

Home Page:http://wso2.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WSO2 API Management

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

Building from source

  1. Download and install JDK 8 update 77 or later
  2. Get a clone or download the source from this repository (https://github.com/wso2/carbon-apimgt)
  3. Run the Maven command mvn clean install from within the carbon-apimgt directory.
  4. Get a clone or download the source from this repository (https://github.com/wso2/product-apim)
  5. Run the Maven command mvn clean install from within the product-apim directory.

Running the product

Running WSO2 API Manager Default Profile

  1. Go to the default runtime dir wso2apim-${project.version}/wso2/default/bin directory and execute the carbon.sh script: ./carbon.sh

Running WSO2 API Manager Gateway

  1. Download the API Manager gateway distribution from releases OR if you built from source, find the binary from product-apim/gateway/target.
  2. Extract the distribution. Ex: unzip wso2apim-gateway-${project.version}.zip
  3. Go to the wso2apim-gateway-${project.version} directory and execute bin/ballerina run service services.bsz

Note:

  • 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

Testing

Product profiles

Running WSO2 Key Manager Profile

  1. Download the product distribution from releases OR if you built from source, find the binary from product-apim/product/target.
  2. Extract the distribution. Ex: unzip wso2apim-${project.version}.zip
  3. Go to the key manager runtime dir wso2apim-${project.version}/wso2/key-manager/bin directory and execute the carbon.sh script: ./carbon.sh

About

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.

http://wso2.github.io/

License:Apache License 2.0


Languages

Language:Java 95.1%Language:Shell 2.4%Language:Batchfile 1.8%Language:Ballerina 0.7%