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

Deploying a Multi-tenant Service Cluster via REST API

Overview

DescriptionUsed to deploy a multi-tenant service cluster in Private PaaS.
URL

admin/service/definition

HTTP MethodPOST
Request/Response Formatapplication/json

Sample request

Sample Multi-tenant Service Cluster Definition
 {
   "serviceName": "<SERVICE_NAME>",
   "cartridgeType": "<SERVICE_TYPE>",
   "deploymentPolicyName": "<DEPOYMENT_POLICY_NAME>",
   "autoscalingPolicyName": "<AUTOSCALING_POLICY_NAME>",
   "clusterDomain": "<CLUSTER_DOMAIN>",
   "clusterSubDomain": "<CLUSTER_SUBDOMAIN>",
   "tenantRange": "*"
 }

For information on the parameter definitions, see the Sample Multi-tenant Service Cluster Definition.

Example

Use case: Create a multi-tenant service cluster. The example request is as follows:

curl -X POST -H "Content-Type: application/json" -d @request -k -v -u admin:admin https://<Sm_HOST>:9443/stratos/admin/service/definition

Sample response

{
  "stratosAdminResponse": {
    "message": "Successfully deployed service cluster definition with type appserverdev"
  }
}
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.