This documentation is for the API Microgateway component that is coupled with WSO2 API Manager 2.6.0.
View the documentation for the latest release - WSO2 API Microgateway 3.0.2.
The backend URLs and credentials for endpoints can be provided for each Gateway node as system properties. Following are the supported functionalities:
To override the production endpoint of an API (e.g.,
TestAPI v1), provide the following system variable at server startup,
For the sandbox endpoint, provide the following system variable at server startup,
If there is more than one endpoint (e.g. load balance endpoint), use the following method to define each endpoint:
To set the endpoint using system properties, use the following method (replace . with _ in a Linux environment):
Define backend basic auth credentials
If the backend endpoint is protected with basic auth, provide credentials related to that endpoint. Use the following system variables to define them:
If a username is not defined, the username defined in the API (during API implementation) is used. To set the credentials using system properties, use the following method (replace . with _ in a Linux environment):