A sample domain mapping definition, together with information on all the properties that can be added in a domain mapping definition JSON are as follows:
Sample domain mapping definition JSON
The following are sample configurations that can be used in a JSON to define domain mapping for a deployed application:
Insert excerpt |
---|
| Adding Domain Mappings |
---|
| Adding Domain Mappings |
---|
nopanel | true |
---|
|
Property definitions
All the properties that correspond to the domain mapping resource are explained as follows:
Property | W | R | U | Description | M | DV | Data Type | Example |
---|
Anchor |
---|
| cartridgeAlias |
---|
| cartridgeAlias |
---|
| cartridgeAlias | √ | √ | | Alias of the cartridge | Yes | N/A | String | tomcat |
domainName | √ | √ | | Domain name of the application URL | Yes | N/A | String | abc.com |
contextPath | √ | √ | | Context path of the application URL | Yes | N/A | String | /abc/app |