Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow the instructions below to access the WSO2 service:

Note

Prerequisites

Anchor
pre
pre
Define The service URL will depend on the port mapping that you defined in the cartridge definition.

Expand
titleClick here for more information...

When creating the dependent artifacts that are needed to deploy an application, you need to define port mapping, in the cartridge definition JSON, for each port that will be used with the WSO2 product cartridge. 
The following examples illustrate how unique proxy ports can be set for ports that are used with the cartridge. 

Localtabgroup
Localtab
activetrue
titleEC2
Code Block
 "portMapping": [
        {
            "name": "mgt-http",
            "protocol": "http",
            "port": 9763,
            "proxyPort": 80
        },
        {
            "name": "mgt-https",
            "protocol": "https",
            "port": 9443,
            "proxyPort": 443
        }
    ],
Localtab
titleKubernetes
Code Block
 "portMapping": [
        {
            "name": "mgt-http",
            "protocol": "http",
            "port": 9763,
            "proxyPort": 0,
            "kubernetesPortType": "NodePort"
        },
        {
            "name": "mgt-https",
            "protocol": "https",
            "port": 9443,
            "proxyPort": 0,
            "kubernetesPortType": "NodePort"
        }
    ],

...