Versions Compared

Key

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

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:

Table of Contents
maxLevel3
 

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:

Excerpt
Code Block
{
  "domainMappings": [
    {
      "cartridgeAlias": "tomcat",
      "domainName": "abc.com",
      "contextPath": "/abc/app"
    }
  ]
}

Property definitions

All the properties that correspond to the domain mapping resource are explained as follows: 

PropertyImage AddedImage AddedImage AddedDescriptionImage AddedImage AddedData
Type 
Example

Anchor
cartridgeAlias
cartridgeAlias
cartridgeAlias

 Alias of the cartridgeYesN/AStringtomcat
Anchor
domainName
domainName
domainName
 Domain name of the application URLYesN/AStringabc.com
Anchor
contextPath
contextPath
contextPath
 Context path of the application URLYesN/AString/abc/app