com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Adding an Application

You can add an application using the CLI tool, REST API or the PPaaS Console as shown below:

  • An application can only be multi-tenant, if all cartridges that correspond to the application are multi-tenant.
  • Instead of adding the artifact repository details in the multi-tenant application definition, you need to pass the details in the payload when signing up to the application.

 


Sample application definition JSON

{
  "applicationId": "wso2am-190-application",
  "multiTenant": true,
  "alias": "wso2am-190-application",
  "components": {
    "groups": [
      {
        "name": "keymanager-gw-manager-gw-worker",
        "alias": "keymanager-gw-manager-gw-worker",
        "groupMinInstances": 1,
        "groupMaxInstances": 1,
        "cartridges": [
          {
            "type": "wso2am-190-gw-manager",
            "cartridgeMin": 1,
            "cartridgeMax": 1,
            "subscribableInfo": {
              "alias": "gateway-manager",
              "deploymentPolicy": "deployment-policy-1",
              "autoscalingPolicy": "autoscaling-policy-1"
            }
          },
          {
            "type": "wso2am-190-gw-worker",
            "cartridgeMin": 1,
            "cartridgeMax": 1,
            "subscribableInfo": {
              "alias": "gateway-worker",
              "deploymentPolicy": "deployment-policy-1",
              "autoscalingPolicy": "autoscaling-policy-1"
            }
          },
          {
            "type": "wso2am-190-km",
            "cartridgeMin": 1,
            "cartridgeMax": 1,
            "subscribableInfo": {
              "alias": "key-manager",
              "deploymentPolicy": "deployment-policy-1",
              "autoscalingPolicy": "autoscaling-policy-1"
            }
          }
        ]
      },
      {
        "name": "pub-store-grp",
        "alias": "pub-store-grp",
        "groupMinInstances": 1,
        "groupMaxInstances": 1,
        "cartridges": [
          {
            "type": "wso2am-190-pub",
            "cartridgeMin": 1,
            "cartridgeMax": 1,
            "subscribableInfo": {
              "alias": "publisher",
              "deploymentPolicy": "deployment-policy-1",
              "autoscalingPolicy": "autoscaling-policy-1"
            }
          },
          {
            "type": "wso2am-190-store",
            "cartridgeMin": 1,
            "cartridgeMax": 1,
            "subscribableInfo": {
              "alias": "store",
              "deploymentPolicy": "deployment-policy-1",
              "autoscalingPolicy": "autoscaling-policy-1"
            }
          }
        ]
      }
    ],
    "dependencies": {
      "startupOrders": [
        {
          "aliases": [
            "group.keymanager-gw-manager-gw-worker",
            "group.pub-store-grp"
          ]
        }
      ],
      "terminationBehaviour": "terminate-none"
    }
  }
}
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.