In this example, a Listener, Service, and Route will be created, which will allow access to the Echo Service through Prizm Gateway™. To begin, sign in to the Console, then complete each step.
Create the Listener
-
Click Listeners on the side menu.
-
Click the Add action icon.
-
Enter the Listener name, for example "port-19091".
-
Enter the description, for example "HTTP port 19091".
-
Enter the port number, for example 19091.
-
Click SAVE.
Create the Service
-
Click Services on the side menu
-
Click the Add action icon.
-
Enter the Service name, for example "echo-service".
-
Enter the Service description, for example "NuWave Demo Echo Service".
-
Click Direct Connection.
-
Select HTTPS in the Protocol list.
-
Enter "echo-service.demo.nuwavetech.com" in the Host field.
-
Click SAVE
Create the Route
-
Click the newly created Service on the Services list.
-
Click the Routes tab.
-
Click the Add action icon.
-
Enter the Route name, for example "echo-route".
-
Enter the description, for example "Route requests with URI prefix /echo".
-
Select the Paths field.
-
Enter /echo and press ENTER.
-
-
Click SAVE.
Test the Configuration
-
From the Console Dashboard, start the gateway or redeploy the gateway configuration.
-
In your browser, enter the Echo Service URL: https://echo-service.demo.nuwavetech.com/echo.
-
In a second browser or tab, enter the URL using the address of the gateway listener, for example http://nonstop-host:19091/echo. The response through the gateway should be similar to the direct request through the browser.