Working with the Microgateway in a Windows Environment
You can work with the WSO2 API Manager Microgateway in a Microsoft Windows environment as follows:
Before you begin
Make sure to have the following prerequisites in place to initialize a Microgateway instance,
WSO2 API Manager (WSO2 API-M) 2.5.0 or later.
This is required to bootstrap the Microgateway.WSO2 Microgateway CLI tool
NSSM (the Non-Sucking Service Manager)
This is required if you need to run the Microgateway as a Windows service.
Running the Microgateway on a Windows operation system
Follow the steps below run a WSO2 API Manager Microgateway instance in a Windows environment.
Run the Microgateway as a Windows service
Testing the Microgateway
You can invoke the API through the Microgateway using the following cURL command in order to test the Microgateway. By default, the Microgateway serves the HTTPS/WSS request via the 9095 port.
Resetting the Microgateway CLI tool
When you run the Microgateway CLI tool for the first time, it preserves all the information (i.e., your username, APIM base URL, TrustStore location and the TrustStore password) with the exception of your password, for later use. If you want to reset the Microgateway CLI tool in order to clear all the data that has been preserved by the Microgateway CLI tool, you can use the –reset argument as follows. Note that you can invoke the Microgateway CLI tool reset command from any directory in the system.
micro-gw reset