API Use Case: Application Deployment

Overview

Retrieve the application details and the job details before submitting the job request.

User Configuration Process

The following table identifies the process for this use case using CloudCenter APIs:

StepAPI OptionsDescription
1List Applications

Get a list of all applications belonging to the user.

The resource URL for this use case reflect the PetClinic application.

Use the appId and the appVersion of the application for which you are submitting this job to retrieve the resource URL.

2Get Application Details

Retrieve the application-specific parameters for the 2-tier PetClinic application when the job is deployed.

Retrieve the serviceTierId (mandatory) for each application tier as well as the whole application and use that information in the job submission API request along with the appId as well as the appVersion.

3Submit Job

Submit a sample job request for the 2-tier for the PetClinic application.

Use the serviceTierId from the previous step and configure the cloudParams (cloud properties that changes based on the cloud to which this job is submitted) and the appParams (application properties which remain the same regardless of the cloud to which this job is submitted)  – configure them for each tier.

This section provides examples for three different clouds – AWS, VMware, and Azure.

4Get Job Details

Retrieve the job details for the PetClinic application when the job is in progress.

The status in the response is JobInProgress.

5

Retrieve the job details for the PetClinic application when the job is deployed.

The status in the response is JobRunning.

Sample Requests and Responses

This section provides details on the various methods you can use to deploy applications using CloudCenter APIs.

Retrieve a List of All Apps Belonging to the User (1)

Request

curl -k -X GET -H "Accept: application/json" -u  engdemo_aZ4:3C68C177D54BBAB2 "https://cloudcenter.demo.com/v1/apps"

 

Response

 User Application List Response

Retrieve the Resource URL for the Application to be Deployed

Review the response for this call and retrieve the resource URL for the application that you are deploying!

{
    "apps": [{
        "id": "4393",
        "resource": "https://cloudcenter.demo.com/v1/apps/4393?version=1.0",
        "perms": [],
        "name": "CentOS",
        "version": null,
        "description": "Launch a CentOS VM",
        "serviceTierId": "CentOS-4393",
        "versions": ["1.0"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4944",
        "resource": "https://cloudcenter.demo.com/v1/apps/4944?version=1.0",
        "perms": [],
        "name": "CICDTools-Artifactory and Jenkins",
        "version": null,
        "description": "",
        "serviceTierId": "CICDTools-ArtifactoryandJenkins-4944",
        "versions": ["1.0"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4414",
        "resource": "https://cloudcenter.demo.com/v1/apps/4414?version=1.5.x",
        "perms": [],
        "name": "Jenkins",
        "version": null,
        "description": "Jenkins CI",
        "serviceTierId": "Jenkins-4414",
        "versions": ["1.5.x"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4386",
        "resource": "https://cloudcenter.demo.com/v1/apps/4386?version=1.0",
        "perms": [],
        "name": "NFS",
        "version": null,
        "description": "Sample NFS Application",
        "serviceTierId": "NFS-4386",
        "versions": ["1.0"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4411",
        "resource": "https://cloudcenter.demo.com/v1/apps/4411?version=1.0.2",
        "perms": [],
        "name": "PetClinic",
        "version": null,
        "description": "PetClinic Sample App",
        "serviceTierId": "PetClinic-4411",
        "versions": ["1.0.1", "1.0.2"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4955",
        "resource": "https://cloudcenter.demo.com/v1/apps/4955?version=1.1.1",
        "perms": [],
        "name": "PetClinic MS",
        "version": null,
        "description": "The PetClinic application is designed to show how the Spring application frameworks can be used to build simple, but powerful database-oriented applications.",
        "serviceTierId": "PetClinicMS-4955",
        "versions": ["1.1.1"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4953",
        "resource": "https://cloudcenter.demo.com/v1/apps/4953?version=1.0",
        "perms": [],
        "name": "Sensu Server",
        "version": null,
        "description": "Sensu Monitor Server",
        "serviceTierId": "SensuServer-4953",
        "versions": ["1.0"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }, {
        "id": "4395",
        "resource": "https://cloudcenter.demo.com/v1/apps/4395?version=1.0",
        "perms": [],
        "name": "Ubuntu",
        "version": null,
        "description": "Launch an Ubuntu VM",
        "serviceTierId": "Ubuntu-4395",
        "versions": ["1.0"],
        "executor": "NTierExecutor",
        "category": "NTier"
    }],
    "size": 8
}

Retrieve PetClinic Application Details (2)

Request

curl -k -X GET -H "Accept: application/json" -u  engdemo_aZ4:3C68C177D54BBAB2 "https://cloudcenter.demo.com/v1/apps/4411?version=1.0.2""

Response

 PetClinic Application Details Response

Use the Retrieved URL to Obtain the serviceTierId for the Parent and Child Tiers

Review the response for this call and retrieve the serviceTierId for the enitre application that you are deploying!

{
    "id": "4411",
    "name": "PetClinic",
    "description": "PetClinic Sample App",
    "version": "1.0.2",
    "revisionId": 0,
    "serviceTierId": "PetClinic-4411",
    "executor": "NTierExecutor",
    "profileCategory": "NTier",
    "logoPath": "/assets/img/appLogo/4411/logo.png",
    "hwprofile": null,
    "serviceTiers": [{
        "id": "4412",
        "name": "AppServer",
        "description": null,
        "version": "1.0.2",
        "revisionId": 0,
        "serviceTierId": "tomcat7-4412",
        "executor": null,
        "profileCategory": null,
        "logoPath": "/assets/vendors/73/img/DefaultApp.png",
        "hwprofile": {
            "memorySize": 4096,
            "numOfCPUs": 1,
            "networkSpeed": null,
            "numOfNICs": 1,
            "localStorageCount": 0,
            "localStorageSize": 10,
            "cudaSupport": false,
            "ssdSupport": false,
            "supportHardwareProvision": false
        },
        "serviceTiers": [],
        "parameters": {
            "appParams": [{
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }],
            "envParams": []
        },
        "parameterSpecs": {
            "systemParams": {
                "params": [{
                    "paramName": "cliqrWebServerType",
                    "displayName": null,
                    "helpText": null,
                    "type": "string",
                    "valueList": null,
                    "defaultValue": "tomcat7",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "tierOrder",
                    "displayName": null,
                    "helpText": null,
                    "type": "integer",
                    "valueList": null,
                    "defaultValue": "1",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "defaultService",
                    "displayName": null,
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "minClusterSize",
                    "displayName": "Minimum number of nodes",
                    "helpText": null,
                    "type": "number",
                    "valueList": null,
                    "defaultValue": "1",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": {
                        "minValue": 1,
                        "maxValue": 1000,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "maxClusterSize",
                    "displayName": "Maximum number of nodes",
                    "helpText": null,
                    "type": "number",
                    "valueList": null,
                    "defaultValue": "2",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": {
                        "minValue": 1,
                        "maxValue": 1000,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrNoOfVolumes",
                    "displayName": "Number of Volumes",
                    "helpText": "Number of persistent data storage volumes for Web Server.",
                    "type": "number",
                    "valueList": null,
                    "defaultValue": "0",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 65536,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 5,
                        "step": 1,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrDBDataStorageSize",
                    "displayName": "Default Volume Size",
                    "helpText": "Persistent data storage for Web Server.",
                    "type": "number",
                    "valueList": null,
                    "defaultValue": "0",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": "GB",
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 65536,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 5,
                        "step": 5,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrJDKVersion",
                    "displayName": "App Run-time",
                    "helpText": null,
                    "type": "list",
                    "valueList": "JDK 6:JDK6,JDK 7:JDK7",
                    "defaultValue": "JDK7",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 0,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": true,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrWebappConfigFiles",
                    "displayName": "App Config files",
                    "helpText": "Application config files that contain system tokens and will be modified at deployment time. The config file is a relative path from the webapp context folder, e.g., WEB-INF/classes/db.conf. If there are multiple files, separate with semicolon.",
                    "type": "string",
                    "valueList": null,
                    "defaultValue": "WEB-INF/classes/spring/data-access.properties",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 0,
                        "maxLength": 255,
                        "regex": null,
                        "allowSpaces": true,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrWARFile",
                    "displayName": "App Package",
                    "helpText": "Application package file. The file is in relative path from %rootPath%.",
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": "myapp/myapp.war",
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 0,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrWebappContext",
                    "displayName": "Deploy Context",
                    "helpText": null,
                    "type": "string",
                    "valueList": null,
                    "defaultValue": "ROOT",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 0,
                        "maxLength": 255,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrEARPath",
                    "displayName": "EAR file",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrPlanPath",
                    "displayName": "Plan file",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "appMigrationFiles",
                    "displayName": "Application Migration Files",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "cliqrWARFile,cliqrEARPath,cliqrPlanPath",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrTomcat7PreStartAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrTomcat7PostStartAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrTomcat7PreStopAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrTomcat7PostStopAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "resumeScript",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "topTier",
                    "displayName": "topTier",
                    "helpText": null,
                    "type": "boolean",
                    "valueList": null,
                    "defaultValue": "true",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "enableAppCluster",
                    "displayName": "Enabled",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "1",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrAppClusterType",
                    "displayName": "Application Type",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "java",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrAppContainerType",
                    "displayName": "Application Container",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "tomcat6",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "minAppClusterSize",
                    "displayName": "Minimum number of nodes",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "1",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "maxAppClusterSize",
                    "displayName": "Maximum number of nodes",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "2",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "serviceTypeParam",
                    "displayName": "Parameter name for service config for this tier",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "cliqrAppContainerType",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }],
                "size": null
            },
            "customParams": {
                "params": [],
                "size": null
            },
            "envVars": {
                "envVars": [],
                "size": null
            }
        },
        "supportedClouds": [{
            "id": "VMWare-CliQr-Private-Cloud",
            "resource": "https://cloudcenter.demo.com/v1/apps/4412/cloudConfigs/VMWare-CliQr-Private-Cloud?version=1.0.2",
            "perms": []
        }, {
            "id": "Amazon-us-west-2",
            "resource": "https://cloudcenter.demo.com/v1/apps/4412/cloudConfigs/Amazon-us-west-2?version=1.0.2",
            "perms": []
        }],
        "appCategories": []
    }, {
        "id": "4413",
        "name": "Database",
        "description": null,
        "version": "1.0.2",
        "revisionId": 0,
        "serviceTierId": "mysql-4413",
        "executor": null,
        "profileCategory": null,
        "logoPath": "/assets/vendors/73/img/DefaultApp.png",
        "hwprofile": {
            "memorySize": 4096,
            "numOfCPUs": 1,
            "networkSpeed": null,
            "numOfNICs": 1,
            "localStorageCount": 0,
            "localStorageSize": 10,
            "cudaSupport": false,
            "ssdSupport": false,
            "supportHardwareProvision": false
        },
        "serviceTiers": [],
        "parameters": {
            "appParams": [{
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "cliqrDatabaseRootPass",
                "value": "password"
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }],
            "envParams": []
        },
        "parameterSpecs": {
            "systemParams": {
                "params": [{
                    "paramName": "cliqrDatabaseType",
                    "displayName": null,
                    "helpText": null,
                    "type": "string",
                    "valueList": null,
                    "defaultValue": "mysql",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "tierOrder",
                    "displayName": null,
                    "helpText": null,
                    "type": "integer",
                    "valueList": null,
                    "defaultValue": "1",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "defaultService",
                    "displayName": null,
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrVolumeIds",
                    "displayName": "Volume Ids",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "appMigrationFiles",
                    "displayName": "Application Migration Files",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "cliqrDBSetupScript",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrDatabaseRootPass",
                    "displayName": "Root Password",
                    "helpText": null,
                    "type": "password",
                    "valueList": null,
                    "defaultValue": "password",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": "password",
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 0,
                        "maxLength": 255,
                        "regex": null,
                        "allowSpaces": true,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrDBSetupScript",
                    "displayName": "DB Setup Script",
                    "helpText": "SQL script to create the database, import schema, import data, etc. The file is in relative path from %rootPath%.",
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": "myapp/sql/setup.sql",
                    "dataUnit": null,
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 255,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrNoOfVolumes",
                    "displayName": "Number of Volumes",
                    "helpText": "Number of persistent data storage volumes for Database.",
                    "type": "number",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 1,
                        "maxValue": 65536,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 5,
                        "step": 1,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrDBDataStorageSize",
                    "displayName": "Default Volume Size",
                    "helpText": "Persistent data storage for database file.",
                    "type": "number",
                    "valueList": null,
                    "defaultValue": "0",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": "GB",
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 65536,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 5,
                        "step": 5,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrDatabaseName",
                    "displayName": "Database Name",
                    "helpText": "This will be used while taking the backup of the Database during application migration. Use comma separated list for multiple Database Names.",
                    "type": "string",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": true,
                    "valueConstraint": {
                        "minValue": 0,
                        "maxValue": 255,
                        "maxLength": 0,
                        "regex": null,
                        "allowSpaces": false,
                        "sizeValue": 0,
                        "step": 0,
                        "calloutWorkflowName": null
                    },
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrMysqlPreStartAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrMysqlPostStartAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrMysqlPreStopAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "cliqrMysqlPostStopAction",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "resumeScript",
                    "displayName": null,
                    "helpText": null,
                    "type": "path",
                    "valueList": null,
                    "defaultValue": "",
                    "userVisible": true,
                    "userEditable": true,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "enableDatabase",
                    "displayName": "Enabled",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "0",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }, {
                    "paramName": "serviceTypeParam",
                    "displayName": "Parameter for service config for this tier",
                    "helpText": null,
                    "type": null,
                    "valueList": null,
                    "defaultValue": "cliqrDatabaseType",
                    "userVisible": false,
                    "userEditable": false,
                    "systemParam": true,
                    "exampleValue": null,
                    "dataUnit": null,
                    "optional": false,
                    "valueConstraint": null,
                    "scope": null,
                    "collectionList": []
                }],
                "size": null
            },
            "customParams": {
                "params": [],
                "size": null
            },
            "envVars": {
                "envVars": [],
                "size": null
            }
        },
        "supportedClouds": [{
            "id": "VMWare-CliQr-Private-Cloud",
            "resource": "https://cloudcenter.demo.com/v1/apps/4413/cloudConfigs/VMWare-CliQr-Private-Cloud?version=1.0.2",
            "perms": []
        }, {
            "id": "Amazon-us-west-2",
            "resource": "https://cloudcenter.demo.com/v1/apps/4413/cloudConfigs/Amazon-us-west-2?version=1.0.2",
            "perms": []
        }],
        "appCategories": []
    }],
    "parameters": {
        "appParams": [{
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }, {
            "name": "microSegmentation",
            "value": "0"
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": ""
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }],
        "envParams": []
    },
    "parameterSpecs": {
        "systemParams": {
            "params": [{
                "paramName": "cliqrWebappAccessLink",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrExternalHttpsEnabled",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "0",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrExternalHttpEnabled",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "1",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrExternalNoProtocolEnabled",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "0",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrForceHttpRedirect",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "0",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "useNonStandardPort",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "0",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrNonStandardPort",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "microSegmentation",
                "displayName": null,
                "helpText": null,
                "type": "string",
                "valueList": null,
                "defaultValue": "0",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "appPackage",
                "displayName": null,
                "helpText": null,
                "type": "path",
                "valueList": null,
                "defaultValue": "",
                "userVisible": true,
                "userEditable": true,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "OSSVC_HOME",
                "displayName": "Service directory",
                "helpText": null,
                "type": null,
                "valueList": null,
                "defaultValue": "/usr/local/osmosix/service",
                "userVisible": false,
                "userEditable": false,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrAppType",
                "displayName": "Application Type",
                "helpText": null,
                "type": null,
                "valueList": null,
                "defaultValue": "n-tier",
                "userVisible": false,
                "userEditable": false,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrUseCustomCert",
                "displayName": "Use my own SSL Certificate",
                "helpText": null,
                "type": null,
                "valueList": null,
                "defaultValue": "0",
                "userVisible": false,
                "userEditable": false,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrSSLCert",
                "displayName": "SSL Certificate location",
                "helpText": null,
                "type": null,
                "valueList": null,
                "defaultValue": "",
                "userVisible": false,
                "userEditable": false,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }, {
                "paramName": "cliqrSSLKey",
                "displayName": "SSL Key location",
                "helpText": null,
                "type": null,
                "valueList": null,
                "defaultValue": "",
                "userVisible": false,
                "userEditable": false,
                "systemParam": true,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": null,
                "scope": null,
                "collectionList": []
            }],
            "size": null
        },
        "customParams": {
            "params": [{
                "paramName": "JOB_BUILD_NUMBER",
                "displayName": "Job Build Number",
                "helpText": "",
                "type": "string",
                "valueList": null,
                "defaultValue": "",
                "userVisible": true,
                "userEditable": true,
                "systemParam": false,
                "exampleValue": null,
                "dataUnit": null,
                "optional": false,
                "valueConstraint": {
                    "minValue": 0,
                    "maxValue": 0,
                    "maxLength": 255,
                    "regex": null,
                    "allowSpaces": true,
                    "sizeValue": 0,
                    "step": 0,
                    "calloutWorkflowName": null
                },
                "scope": null,
                "collectionList": []
            }],
            "size": null
        },
        "envVars": {
            "envVars": [],
            "size": null
        }
    },
    "supportedClouds": [{
        "id": "VMWare-CliQr-Private-Cloud",
        "resource": "https://cloudcenter.demo.com/v1/apps/4412/cloudConfigs/VMWare-CliQr-Private-Cloud?version=1.0.2",
        "perms": []
    }, {
        "id": "Amazon-us-west-2",
        "resource": "https://cloudcenter.demo.com/v1/apps/4412/cloudConfigs/Amazon-us-west-2?version=1.0.2",
        "perms": []
    }],
    "appCategories": []
}


Submit a Sample PetClinic Job Request (3)

This section provides a complete request and response for VMware and additional Request Body examples for AWS and Azure.

Request

curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u  engdemo_aZ4:3C68C177D54BBAB2 "https://cloudcenter.demo.com/v1/jobs" -d @petclinic-cloudcenterdemo.json

Request Body for VMware Cloud

Use the Retrieved serviceTierID to Configure Custom Cloud Parameters

Use the serviceTierId for each of the parent and child tiers to configure the following details:

  1. The application build version, appVersion, with which a new job is started. If the appVersion is not specified, the latest application build version is used.
  2. The name of the deployment environment in which this application is launched.
  3. The appParams at the parent level to provide global information about the application property.
  4. The cloudParams details (the name of the cloud region and instance type).
  5. The tenantId used by a tenant admin to invoke any API. The tenant admin must belong to this CloudCenter tenant. Typically, you only need to provide this value for the parent cloud (if using VMware or OpenStack).
  6. The cloudProperties details (differs for each cloud). This section provides the name configuration details for VMware. Refer to your VMware Documentation for additional details. For all names described here, the value type = string.

    nameDescription
    UserClusterNameThe name of the cluster (group of hosts) in the VMware cloud console.
    UserResourcePoolNameThe name of the resource pools used to hierarchically partition available CPU and memory resources of a standalone host or a cluster in the VMware cloud console.
    UserTargetDeploymentFolderThe name of the default folder used to group objects of the same type in the VMware cloud console.
    UserDataCenterNameThe name of the standard network that provides VM communication on a standalone host in the VMware cloud console.
    UserDatastoreClusterThe name of the logical container that holds VM and other files necessary for VM operations in the VMware cloud console. This field accepts comma-separated values of datastore cluster names.
    attachPublicIPThe public IP address that is reachable via the Internet for communication between your CloudCenter VMware region and the Internet.
    subnetIdThe IP address of the sub-network within the specified VMware region.
  7. The VMware NICs details (the id of the NIC, the allocationMode, the allocatePublicIp, and the NIC order).
{
    "serviceTierId": "PetClinic-4411",
    "appVersion": "1.0.2",
    "name": "PC_TengdemoUA_20151228_002",
    "environment": "AllPrivateClouds",
    "parameters": {
        "appParams": [{
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }],
        "cloudParams": {
            "cloud": "VMWare-CliQr-Private-Cloud",
            "instance": "medium",
            "cloudProperties": [{
                "name": "TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }]
        }
    },
    "jobs": [{
            "serviceTierId": "tomcat7-4412",
            "parameters": {
                "cloudParams": {
                    "cloud": "VMWare-CliQr-Private-Cloud",
                    "instance": "medium",
                    "cloudProperties": [{
                        "name": "UserClusterName",
                        "value": "CliQr"
                    }, {
                        "name": "UserResourcePoolName",
                        "value": "DevOps"
                    }, {
                        "name": "UserTargetDeploymentFolder",
                        "value": "/Gautam"
                    }, {
                        "name": "UserDataCenterName",
                        "value": "SCL2"
                    }, {
                        "name": "UserDatastoreCluster",
                        "value": "DevOps-DS-cluster"
                    }, {
                        "name": "attachPublicIP",
                        "value": "false"
                    }, {
                        "name": "subnetId",
                        "value": "1004-QA (CliQrDSwitch)"
                    }, {
                        "name": "TenantId",
                        "value": "413ad900a0e040c18735f8722f5afc20"
                    }]
                },
                "appParams": [{
                    "name": "GREET",
                    "value": "HELLOWORLD"
                }],
                "nics": [{
                    "id": "1004-QA (CliQrDSwitch)",
                    "allocationMode": "DHCP",
                    "allocatePublicIp": "false",
                    "order": 1
                }]
            }
        }, {
            "serviceTierId": "mysql-4413",
            "parameters": {
                "cloudParams": {
                    "cloud": "VMWare-CliQr-Private-Cloud",
                    "instance": "medium",
                    "cloudProperties": [{
                        "name": "UserClusterName",
                        "value": "CloudCenter"
                    }, {
                        "name": "UserResourcePoolName",
                        "value": "DevOps"
                    }, {
                        "name": "UserTargetDeploymentFolder",
                        "value": "/Gautam"
                    }, {
                        "name": "UserDataCenterName",
                        "value": "SCL2"
                    }, {
                        "name": "UserDatastoreCluster",
                        "value": "DevOps-DS-cluster"
                    }, {
                        "name": "attachPublicIP",
                        "value": "false"
                    }, {
                        "name": "subnetId",
                        "value": "1004-QA (CliQrDSwitch)"
                    }, {
                        "name": "TenantId",
                        "value": "413ad900a0e040c18735f8722f5afc20"
                    }]
                },
                "appParams": [{
                    "name": "GREET",
                    "value": "HELLOWORLD"
                }],
                "nics": [{
                    "id": "1004-QA (CliQrDSwitch)",
                    "allocationMode": "DHCP",
                    "allocatePublicIp": "false",
                    "order": 1
                }]
            }
        }
    ]
}
 Request Body for AWS Cloud

Request Body for AWS Cloud

Use the Retrieved serviceTierID to Configure Custom Cloud Parameters

Use the serviceTierId for each of the parent and child tiers to configure the following details:

  1. The application build version, appVersion, with which a new job is started. If the appVersion is not specified, the latest application build version is used.
  2. The name of the deployment environment in which this application is launched.
  3. The appParams at the parent level to provide global information about the application property.
  4. The cloudParams details (the name of the cloud region and instance)
  5. The cloudProperties details (differs for each cloud). This section provides the name configuration details for AWS. Refer to your AWS Documentation for additional details. For all names described here, the value type = string.

    nameDescription
    vpcIdThe name of the VPC into which the stack is to be launched in the specified AWS region.
    attachPublicIPThe public IP address that is reachable via the Internet for communication between your CloudCenter AWS region and the Internet.
    subnetIdThe IP address of the sub-network within the specified AWS region.
  6. The VMware NICs details (the id of the NIC, the allocationMode, the allocatePublicIp details, and the NIC order).
  7. The AWS NICs details (the id of the NIC, the privateIPAllocationMode, the nicNetworkType, and the NIC order).
 {
    "serviceTierId": "PetClinic-4411",
    "appVersion": "1.0.2",
    "name": "PC_TengdemoUA_20151228_002",
    "environment": "AllPrivateClouds",
    "parameters": {
        "appParams": [{
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }],
        "cloudParams": {
            "cloud": "Amazon-us-west-2"
        }
    },
    "jobs": [{
        "serviceTierId": "tomcat7-4412",
        "parameters": {
            "cloudParams": {
                "cloud": "Amazon-us-west-2",
                "instance": "m1.small",
                "subnetId": "vpc-313eac54",
                "attachPublicIp": "true",
                "cloudProperties": [{
                    "name": "vpcId",
                    "value": "vpc-313eac54"
                }, {
                    "name": "attachPublicIP",
                    "value": "true"
                }]
            },
            "appParams": [{
                "name": "GREET",
                "value": "HELLOWORLD"
            }],
            "nics": [{
                "id": "1004-QA (CliQrDSwitch)",
                "allocationMode": "DHCP",
                "allocatePublicIp": "false",
                "order": 1
            }]
        }
    }, {
        "serviceTierId": "mysql-4413",
        "parameters": {
            "cloudParams": {
                "cloud": "Amazon-us-west-2",
                "instance": "m1.medium",
                "subnetId": "vpc-313eac54",
                "attachPublicIp": "true",
                "cloudProperties": [{
                    "name": "vpcId",
                    "value": "vpc-313eac54"
                }, {
                    "name": "attachPublicIP",
                    "value": "true"
                }]
            },
            "appParams": [{
                "name": "GREET",
                "value": "HELLOWORLD"
            }],
            "nics": [{
                "networkID": "subnet-f405a9ad",
                "privateIPAllocationMode": "DHCP",
                "order": 1,
                "nicNetworkType": "NETWORK"
            }]
        }
    }]
}
 Request Body for Azure Cloud

Request Body for Azure Cloud

Use the Retrieved serviceTierID to Configure Custom Cloud Parameters

Use the serviceTierId for each of the parent and child tiers to configure the following details:

  1. The application build version, appVersion, with which a new job is started. If the appVersion is not specified, the latest application build version is used.
  2. The name of the deployment environment in which this application is launched.
  3. The appParams at the parent level to provide global information about the application property.
  4. The cloudParams details (the name of the cloud region and instance)
  5. The cloudProperties details (differs for each cloud). This section provides the name configuration details for Azure. Refer to your Azure Documentation for additional details. For all names described here, the value type = string.

    nameDescription
    vnIdThe name of the  in the Azure cloud console.
  6. The Azure NICs details (the networkId of the NIC, the NIC order, the nicNetworkType, and the  publicIpAllocate details ).
{
    "serviceTierId": "PetClinic-4411",
    "appVersion": "1.0.2",
    "name": "PC_TengdemoUA_20151228_002",
    "environment": "AllPrivateClouds",
    "parameters": {
        "appParams": [{
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }],
        "cloudParams": {
            "cloud": "Azure-us-east"
        }
    },
    "jobs": [{
        "serviceTierId": "tomcat7-4412",
        "parameters": {
            "cloudParams": {
                "cloud": "Azure-us-east",
                "instance": "Small",
                "cloudProperties": [{
                    "name": "vnId",
                    "value": "cliqrsaas"
                }]
            },
            "appParams": [{
                "name": "GREET",
                "value": "HELLOWORLD"
            }],
            "nics": [{
                "networkID": "Subnet-1",
                "order": 1,
                "nicNetworkType": "NETWORK",
                "publicIpAllocate": true
            }]
        }
    }, {
        "serviceTierId": "mysql-4413",
        "parameters": {
            "cloudParams": {
                "cloud": "Azure-us-east",
                "instance": "Medium",
                "cloudProperties": [{
                    "name": "vnId",
                    "value": "cliqrsaas"
                }]
            },
            "appParams": [{
                "name": "GREET",
                "value": "HELLOWORLD"
            }],
            "nics": [{
                "networkID": "Subnet-1",
                "order": 1,
                "nicNetworkType": "NETWORK",
                "publicIpAllocate": true
            }]
        }
    }]
} 

Response for VMware Cloud

 PetClicnic Job Response
 {
    "id": "21566",
    "resource": "https://cloudcenter.demo.com/v1/jobs/21566",
    "perms": [],
    "name": "PC_TengdemoUA_20151228_002_run_1",
    "desc": null,
    "status": null,
    "statusMsg": null,
    "serviceTierId": "PetClinic-4411",
    "appId": "4411",
    "appName": "PetClinic",
    "appVersion": "1.0.2",
    "depInitiatingUserId": null,
    "environmentId": null,
    "environment": null,
    "environmentApprovalStatus": null,
    "keepExistingDeploymentAfterPromote": true,
    "provisionBareMetal": false,
    "bareMetalMachines": [],
    "startTime": null,
    "endTime": null,
    "preventTermination": false,
    "accessLink": "",
    "parameters": {
        "cloudParams": {
            "cloud": "VMWare-CliQr-Private-Cloud",
            "instance": "xsmall",
            "rootVolumeSize": null,
            "storage": null,
            "cloudProperties": [{
                "name": "TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "numNICs",
                "value": "1"
            }]
        },
        "appParams": [{
            "name": "launchUserName",
            "value": "engdemo_aZ4"
        }, {
            "name": "NumNodes",
            "value": "1"
        }, {
            "name": "launchIdent",
            "value": "{user}engdemo_aZ4{group}{vendor}73"
        }, {
            "name": "launchVendorId",
            "value": "73"
        }, {
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "SharedStorageMount",
            "value": "/shared"
        }, {
            "name": "launchUserId",
            "value": "20298"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "version",
            "value": "1.0.2"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }, {
            "name": "SharedStorageName",
            "value": "mystor"
        }, {
            "name": "Cloud_Setting_TenantId",
            "value": "413ad900a0e040c18735f8722f5afc20"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "bareMetalMachine",
            "value": "false"
        }, {
            "name": "Cloud_Setting_numNICs",
            "value": "1"
        }, {
            "name": "CliqrDepEnvId",
            "value": "175"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "cliqrAppName",
            "value": "PetClinic"
        }, {
            "name": "CliqrDepEnvName",
            "value": "AllPrivateClouds"
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "parentJobName",
            "value": "PC_TengdemoUA_20151228_002_run_1"
        }, {
            "name": "parentJobId",
            "value": "21566"
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "sshUserName",
            "value": "cliqruser"
        }, {
            "name": "microSegmentation",
            "value": "0"
        }],
        "envParams": [{
            "name": "Cloud_Setting_TenantId",
            "value": "413ad900a0e040c18735f8722f5afc20"
        }, {
            "name": "NumNodes",
            "value": "1"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "bareMetalMachine",
            "value": "false"
        }, {
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "SharedStorageMount",
            "value": "/shared"
        }, {
            "name": "Cloud_Setting_numNICs",
            "value": "1"
        }, {
            "name": "CliqrDepEnvId",
            "value": "175"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "CliqrDepEnvName",
            "value": "AllPrivateClouds"
        }, {
            "name": "version",
            "value": "1.0.2"
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "SharedStorageName",
            "value": "mystor"
        }, {
            "name": "microSegmentation",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }]
    },
    "virtualMachines": [],
    "nics": [],
    "metadatas": [],
    "deploymentInfo": {
        "deploymentId": 6034,
        "deploymentName": "PC_TengdemoUA_20151228_002",
        "deploymentHealthStatus": "In Progress",
        "deploymentStatus": "In Progress",
        "deploymentOwnerId": 20298,
        "isSuspendSupported": false,
        "isDeploymentTerminated": false
    },
    "tags": [],
    "policies": [],
    "volumeInfos": [],
    "costDetails": null,
    "actions": ["TERMINATE", "ON_TERMINATE_PROTECTION"],
    "terminateProtection": false,
    "jobs": [{
        "id": "21567",
        "resource": "https://cloudcenter.demo.com/v1/jobs/21567",
        "perms": [],
        "name": "AppServer",
        "desc": null,
        "status": null,
        "statusMsg": null,
        "serviceTierId": "tomcat7-4412",
        "appId": "4412",
        "appName": "AppServer",
        "appVersion": "1.0.2",
        "depInitiatingUserId": null,
        "environmentId": null,
        "environment": null,
        "environmentApprovalStatus": null,
        "keepExistingDeploymentAfterPromote": true,
        "provisionBareMetal": false,
        "bareMetalMachines": [],
        "startTime": null,
        "endTime": null,
        "preventTermination": false,
        "accessLink": null,
        "parameters": {
            "cloudParams": {
                "cloud": "VMWare-CliQr-Private-Cloud",
                "instance": "medium",
                "rootVolumeSize": null,
                "storage": null,
                "cloudProperties": [{
                    "name": "UserClusterName",
                    "value": "CliQr"
                }, {
                    "name": "TenantId",
                    "value": "413ad900a0e040c18735f8722f5afc20"
                }, {
                    "name": "UserResourcePoolName",
                    "value": "DevOps"
                }, {
                    "name": "UserTargetDeploymentFolder",
                    "value": "/Gautam"
                }, {
                    "name": "attachPublicIP",
                    "value": "false"
                }, {
                    "name": "UserDataCenterName",
                    "value": "SCL2"
                }, {
                    "name": "subnetId",
                    "value": "1004-QA (CliQrDSwitch)"
                }, {
                    "name": "numNICs",
                    "value": "1"
                }, {
                    "name": "UserDatastoreCluster",
                    "value": "DevOps-DS-cluster"
                }]
            },
            "appParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "cliqrAppTierName",
                "value": "AppServer"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21567"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "tomcat7"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }],
            "envParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "cliqrAppTierName",
                "value": "AppServer"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21567"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "tomcat7"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }]
        },
        "virtualMachines": [],
        "nics": [],
        "metadatas": [],
        "deploymentInfo": null,
        "tags": [],
        "policies": [],
        "volumeInfos": [],
        "costDetails": null,
        "actions": [],
        "terminateProtection": false,
        "jobs": []
    }, {
        "id": "21568",
        "resource": "https://cloudcenter.demo.com/v1/jobs/21568",
        "perms": [],
        "name": "Database",
        "desc": null,
        "status": null,
        "statusMsg": null,
        "serviceTierId": "mysql-4413",
        "appId": "4413",
        "appName": "Database",
        "appVersion": "1.0.2",
        "depInitiatingUserId": null,
        "environmentId": null,
        "environment": null,
        "environmentApprovalStatus": null,
        "keepExistingDeploymentAfterPromote": true,
        "provisionBareMetal": false,
        "bareMetalMachines": [],
        "startTime": null,
        "endTime": null,
        "preventTermination": false,
        "accessLink": null,
        "parameters": {
            "cloudParams": {
                "cloud": "VMWare-CliQr-Private-Cloud",
                "instance": "medium",
                "rootVolumeSize": null,
                "storage": null,
                "cloudProperties": [{
                    "name": "UserClusterName",
                    "value": "CliQr"
                }, {
                    "name": "TenantId",
                    "value": "413ad900a0e040c18735f8722f5afc20"
                }, {
                    "name": "UserResourcePoolName",
                    "value": "DevOps"
                }, {
                    "name": "UserTargetDeploymentFolder",
                    "value": "/Gautam"
                }, {
                    "name": "attachPublicIP",
                    "value": "false"
                }, {
                    "name": "UserDataCenterName",
                    "value": "SCL2"
                }, {
                    "name": "subnetId",
                    "value": "1004-QA (CliQrDSwitch)"
                }, {
                    "name": "numNICs",
                    "value": "1"
                }, {
                    "name": "UserDatastoreCluster",
                    "value": "DevOps-DS-cluster"
                }]
            },
            "appParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrAppTierName",
                "value": "Database"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21568"
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "mysql"
            }, {
                "name": "cliqrDatabaseRootPass",
                "value": "password"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }],
            "envParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrAppTierName",
                "value": "Database"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21568"
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "mysql"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }]
        },
        "virtualMachines": [],
        "nics": [],
        "metadatas": [],
        "deploymentInfo": null,
        "tags": [],
        "policies": [],
        "volumeInfos": [],
        "costDetails": null,
        "actions": [],
        "terminateProtection": false,
        "jobs": []
    }]
}

Retrieve Details of a PetClinic Job in Progress (4)

Request

curl -k -X GET -H "Accept: application/json" -u  engdemo_aZ4:3C68C177D54BBAB2 "https://cloudcenter.demo.com/v1/jobs/21566"

Response

 PetClinic Job in Progress Response
{
    "id": "21566",
    "resource": "https://cloudcenter.demo.com/v1/jobs/21566",
    "perms": [],
    "name": "PC_TengdemoUA_20151228_002_run_1",
    "desc": null,
    "status": "JobInProgress",
    "statusMsg": null,
    "serviceTierId": "PetClinic-4411",
    "appId": "4411",
    "appName": "PetClinic",
    "appVersion": "1.0.2",
    "depInitiatingUserId": null,
    "environmentId": null,
    "environment": null,
    "environmentApprovalStatus": null,
    "keepExistingDeploymentAfterPromote": true,
    "provisionBareMetal": false,
    "bareMetalMachines": [],
    "startTime": "2015-12-29 03:41:09.0",
    "endTime": "N/A",
    "preventTermination": false,
    "accessLink": "",
    "parameters": {
        "cloudParams": {
            "cloud": "VMWare-CliQr-Private-Cloud",
            "instance": "xsmall",
            "rootVolumeSize": null,
            "storage": null,
            "cloudProperties": [{
                "name": "TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "numNICs",
                "value": "1"
            }]
        },
        "appParams": [{
            "name": "launchUserName",
            "value": "engdemo_aZ4"
        }, {
            "name": "NumNodes",
            "value": "1"
        }, {
            "name": "launchIdent",
            "value": "{user}engdemo_aZ4{group}{vendor}73"
        }, {
            "name": "launchVendorId",
            "value": "73"
        }, {
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "SharedStorageMount",
            "value": "/shared"
        }, {
            "name": "launchUserId",
            "value": "20298"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "version",
            "value": "1.0.2"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }, {
            "name": "SharedStorageName",
            "value": "mystor"
        }, {
            "name": "Cloud_Setting_TenantId",
            "value": "413ad900a0e040c18735f8722f5afc20"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "bareMetalMachine",
            "value": "false"
        }, {
            "name": "Cloud_Setting_numNICs",
            "value": "1"
        }, {
            "name": "CliqrDepEnvId",
            "value": "175"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "cliqrAppName",
            "value": "PetClinic"
        }, {
            "name": "CliqrDepEnvName",
            "value": "AllPrivateClouds"
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "parentJobName",
            "value": "PC_TengdemoUA_20151228_002_run_1"
        }, {
            "name": "parentJobId",
            "value": "21566"
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "sshUserName",
            "value": "cliqruser"
        }, {
            "name": "microSegmentation",
            "value": "0"
        }],
        "envParams": [{
            "name": "Cloud_Setting_TenantId",
            "value": "413ad900a0e040c18735f8722f5afc20"
        }, {
            "name": "NumNodes",
            "value": "1"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "bareMetalMachine",
            "value": "false"
        }, {
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "SharedStorageMount",
            "value": "/shared"
        }, {
            "name": "Cloud_Setting_numNICs",
            "value": "1"
        }, {
            "name": "CliqrDepEnvId",
            "value": "175"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "CliqrDepEnvName",
            "value": "AllPrivateClouds"
        }, {
            "name": "version",
            "value": "1.0.2"
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "SharedStorageName",
            "value": "mystor"
        }, {
            "name": "microSegmentation",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }]
    },
    "virtualMachines": [],
    "nics": [],
    "metadatas": [],
    "deploymentInfo": {
        "deploymentId": 6034,
        "deploymentName": "PC_TengdemoUA_20151228_002",
        "deploymentHealthStatus": "In Progress",
        "deploymentStatus": "In Progress",
        "deploymentOwnerId": 20298,
        "isSuspendSupported": false,
        "isDeploymentTerminated": false
    },
    "tags": [],
    "policies": [],
    "volumeInfos": [],
    "costDetails": null,
    "actions": ["TERMINATE", "ON_TERMINATE_PROTECTION"],
    "terminateProtection": false,
    "jobs": [{
        "id": "21567",
        "resource": "https://cloudcenter.demo.com/v1/jobs/21567",
        "perms": [],
        "name": "AppServer",
        "desc": null,
        "status": "JobStarting",
        "statusMsg": null,
        "serviceTierId": "tomcat7-4412",
        "appId": "4412",
        "appName": "AppServer",
        "appVersion": "1.0.2",
        "depInitiatingUserId": null,
        "environmentId": null,
        "environment": null,
        "environmentApprovalStatus": null,
        "keepExistingDeploymentAfterPromote": true,
        "provisionBareMetal": false,
        "bareMetalMachines": [],
        "startTime": "2015-12-29 03:41:21.0",
        "endTime": "N/A",
        "preventTermination": false,
        "accessLink": null,
        "parameters": {
            "cloudParams": {
                "cloud": "VMWare-CliQr-Private-Cloud",
                "instance": "medium",
                "rootVolumeSize": null,
                "storage": null,
                "cloudProperties": [{
                    "name": "UserClusterName",
                    "value": "CliQr"
                }, {
                    "name": "TenantId",
                    "value": "413ad900a0e040c18735f8722f5afc20"
                }, {
                    "name": "UserResourcePoolName",
                    "value": "DevOps"
                }, {
                    "name": "UserTargetDeploymentFolder",
                    "value": "/Gautam"
                }, {
                    "name": "attachPublicIP",
                    "value": "false"
                }, {
                    "name": "UserDataCenterName",
                    "value": "SCL2"
                }, {
                    "name": "subnetId",
                    "value": "1004-QA (CliQrDSwitch)"
                }, {
                    "name": "numNICs",
                    "value": "1"
                }, {
                    "name": "UserDatastoreCluster",
                    "value": "DevOps-DS-cluster"
                }]
            },
            "appParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "cliqrAppTierName",
                "value": "AppServer"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21567"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "tomcat7"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }],
            "envParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "cliqrAppTierName",
                "value": "AppServer"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21567"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "tomcat7"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }]
        },
        "virtualMachines": [{
            "id": "cqjw-7fe08b32b",
            "resource": "https://cloudcenter.demo.com/v1/virtualmachines/cqjw-7fe08b32b/metrics?jobId=21567",
            "perms": [],
            "publicIp": null,
            "privateIp": null,
            "hostName": null,
            "status": "NodeStarting",
            "startTime": "2015-12-29 03:41:30.0",
            "endTime": null,
            "nodeNetworkInterfaces": [{
                "privateIPAddress": null,
                "publicIPAddress": null,
                "networkDisplayName": null,
                "interfaceIndex": 0
            }],
            "costDetails": null,
            "additionalInfo": []
        }],
        "nics": [],
        "metadatas": [],
        "deploymentInfo": null,
        "tags": [],
        "policies": [],
        "volumeInfos": [],
        "costDetails": null,
        "actions": [],
        "terminateProtection": false,
        "jobs": []
    }, {
        "id": "21568",
        "resource": "https://cloudcenter.demo.com/v1/jobs/21568",
        "perms": [],
        "name": "Database",
        "desc": null,
        "status": "JobStarting",
        "statusMsg": null,
        "serviceTierId": "mysql-4413",
        "appId": "4413",
        "appName": "Database",
        "appVersion": "1.0.2",
        "depInitiatingUserId": null,
        "environmentId": null,
        "environment": null,
        "environmentApprovalStatus": null,
        "keepExistingDeploymentAfterPromote": true,
        "provisionBareMetal": false,
        "bareMetalMachines": [],
        "startTime": "2015-12-29 03:41:12.0",
        "endTime": "N/A",
        "preventTermination": false,
        "accessLink": null,
        "parameters": {
            "cloudParams": {
                "cloud": "VMWare-CliQr-Private-Cloud",
                "instance": "medium",
                "rootVolumeSize": null,
                "storage": null,
                "cloudProperties": [{
                    "name": "UserClusterName",
                    "value": "CliQr"
                }, {
                    "name": "TenantId",
                    "value": "413ad900a0e040c18735f8722f5afc20"
                }, {
                    "name": "UserResourcePoolName",
                    "value": "DevOps"
                }, {
                    "name": "UserTargetDeploymentFolder",
                    "value": "/Gautam"
                }, {
                    "name": "attachPublicIP",
                    "value": "false"
                }, {
                    "name": "UserDataCenterName",
                    "value": "SCL2"
                }, {
                    "name": "subnetId",
                    "value": "1004-QA (CliQrDSwitch)"
                }, {
                    "name": "numNICs",
                    "value": "1"
                }, {
                    "name": "UserDatastoreCluster",
                    "value": "DevOps-DS-cluster"
                }]
            },
            "appParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrAppTierName",
                "value": "Database"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21568"
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "mysql"
            }, {
                "name": "cliqrDatabaseRootPass",
                "value": "password"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }],
            "envParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrAppTierName",
                "value": "Database"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21568"
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "mysql"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }]
        },
        "virtualMachines": [{
            "id": "cqjw-982e46eeb",
            "resource": "https://cloudcenter.demo.com/v1/virtualmachines/cqjw-982e46eeb/metrics?jobId=21568",
            "perms": [],
            "publicIp": null,
            "privateIp": null,
            "hostName": null,
            "status": "NodeStarting",
            "startTime": "2015-12-29 03:41:21.0",
            "endTime": null,
            "nodeNetworkInterfaces": [{
                "privateIPAddress": null,
                "publicIPAddress": null,
                "networkDisplayName": null,
                "interfaceIndex": 0
            }],
            "costDetails": null,
            "additionalInfo": []
        }],
        "nics": [],
        "metadatas": [],
        "deploymentInfo": null,
        "tags": [],
        "policies": [],
        "volumeInfos": [],
        "costDetails": null,
        "actions": [],
        "terminateProtection": false,
        "jobs": []
    }]
}

 

Retrieve Deployed PetClinic Job Details (5)

Request

curl -k -X GET -H "Accept: application/json" -u engdemo_aZ4:3C68C177D54BBAB2 "https://cloudcenter.demo.com/v1/jobs/21566"

Response

 PetClinic Deployed Job Response
{
    "id": "21566",
    "resource": "https://cloudcenter.demo.com/v1/jobs/21566",
    "perms": [],
    "name": "PC_TengdemoUA_20151228_002_run_1",
    "desc": null,
    "status": "JobRunning",
    "statusMsg": null,
    "serviceTierId": "PetClinic-4411",
    "appId": "4411",
    "appName": "PetClinic",
    "appVersion": "1.0.2",
    "depInitiatingUserId": null,
    "environmentId": null,
    "environment": null,
    "environmentApprovalStatus": null,
    "keepExistingDeploymentAfterPromote": true,
    "provisionBareMetal": false,
    "bareMetalMachines": [],
    "startTime": "2015-12-29 03:41:09.0",
    "endTime": "N/A",
    "preventTermination": false,
    "accessLink": "",
    "parameters": {
        "cloudParams": {
            "cloud": "VMWare-CliQr-Private-Cloud",
            "instance": "xsmall",
            "rootVolumeSize": null,
            "storage": null,
            "cloudProperties": [{
                "name": "TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "numNICs",
                "value": "1"
            }]
        },
        "appParams": [{
            "name": "launchUserName",
            "value": "engdemo_aZ4"
        }, {
            "name": "NumNodes",
            "value": "1"
        }, {
            "name": "launchIdent",
            "value": "{user}engdemo_aZ4{group}{vendor}73"
        }, {
            "name": "launchVendorId",
            "value": "73"
        }, {
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "SharedStorageMount",
            "value": "/shared"
        }, {
            "name": "launchUserId",
            "value": "20298"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "version",
            "value": "1.0.2"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }, {
            "name": "SharedStorageName",
            "value": "mystor"
        }, {
            "name": "Cloud_Setting_TenantId",
            "value": "413ad900a0e040c18735f8722f5afc20"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "bareMetalMachine",
            "value": "false"
        }, {
            "name": "Cloud_Setting_numNICs",
            "value": "1"
        }, {
            "name": "CliqrDepEnvId",
            "value": "175"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "cliqrAppName",
            "value": "PetClinic"
        }, {
            "name": "CliqrDepEnvName",
            "value": "AllPrivateClouds"
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "parentJobName",
            "value": "PC_TengdemoUA_20151228_002_run_1"
        }, {
            "name": "parentJobId",
            "value": "21566"
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "sshUserName",
            "value": "cliqruser"
        }, {
            "name": "microSegmentation",
            "value": "0"
        }],
        "envParams": [{
            "name": "Cloud_Setting_TenantId",
            "value": "413ad900a0e040c18735f8722f5afc20"
        }, {
            "name": "NumNodes",
            "value": "1"
        }, {
            "name": "cliqrUseCustomCert",
            "value": "0"
        }, {
            "name": "bareMetalMachine",
            "value": "false"
        }, {
            "name": "cliqrWebappAccessLink",
            "value": ""
        }, {
            "name": "SharedStorageMount",
            "value": "/shared"
        }, {
            "name": "Cloud_Setting_numNICs",
            "value": "1"
        }, {
            "name": "CliqrDepEnvId",
            "value": "175"
        }, {
            "name": "cliqrForceHttpRedirect",
            "value": "0"
        }, {
            "name": "cliqrSSLCert",
            "value": ""
        }, {
            "name": "appPackage",
            "value": ""
        }, {
            "name": "cliqrAppType",
            "value": "n-tier"
        }, {
            "name": "CliqrDepEnvName",
            "value": "AllPrivateClouds"
        }, {
            "name": "version",
            "value": "1.0.2"
        }, {
            "name": "OSSVC_HOME",
            "value": "/usr/local/osmosix/service"
        }, {
            "name": "useNonStandardPort",
            "value": "0"
        }, {
            "name": "cliqrExternalHttpEnabled",
            "value": "1"
        }, {
            "name": "cliqrSSLKey",
            "value": ""
        }, {
            "name": "cliqrExternalNoProtocolEnabled",
            "value": "0"
        }, {
            "name": "JOB_BUILD_NUMBER",
            "value": "002"
        }, {
            "name": "cliqrExternalHttpsEnabled",
            "value": "0"
        }, {
            "name": "SharedStorageName",
            "value": "mystor"
        }, {
            "name": "microSegmentation",
            "value": "0"
        }, {
            "name": "cliqrNonStandardPort",
            "value": ""
        }]
    },
    "virtualMachines": [],
    "nics": [],
    "metadatas": [],
    "deploymentInfo": {
        "deploymentId": 6034,
        "deploymentName": "PC_TengdemoUA_20151228_002",
        "deploymentHealthStatus": "In Progress",
        "deploymentStatus": "In Progress",
        "deploymentOwnerId": 20298,
        "isSuspendSupported": false,
        "isDeploymentTerminated": false
    },
    "tags": [],
    "policies": [],
    "volumeInfos": [],
    "costDetails": null,
    "actions": ["TERMINATE", "ON_TERMINATE_PROTECTION"],
    "terminateProtection": false,
    "jobs": [{
        "id": "21567",
        "resource": "https://cloudcenter.demo.com/v1/jobs/21567",
        "perms": [],
        "name": "AppServer",
        "desc": null,
        "status": "JobRunning",
        "statusMsg": null,
        "serviceTierId": "tomcat7-4412",
        "appId": "4412",
        "appName": "AppServer",
        "appVersion": "1.0.2",
        "depInitiatingUserId": null,
        "environmentId": null,
        "environment": null,
        "environmentApprovalStatus": null,
        "keepExistingDeploymentAfterPromote": true,
        "provisionBareMetal": false,
        "bareMetalMachines": [],
        "startTime": "2015-12-29 03:41:21.0",
        "endTime": "N/A",
        "preventTermination": false,
        "accessLink": null,
        "parameters": {
            "cloudParams": {
                "cloud": "VMWare-CliQr-Private-Cloud",
                "instance": "medium",
                "rootVolumeSize": null,
                "storage": null,
                "cloudProperties": [{
                    "name": "UserClusterName",
                    "value": "CliQr"
                }, {
                    "name": "TenantId",
                    "value": "413ad900a0e040c18735f8722f5afc20"
                }, {
                    "name": "UserResourcePoolName",
                    "value": "DevOps"
                }, {
                    "name": "UserTargetDeploymentFolder",
                    "value": "/Gautam"
                }, {
                    "name": "attachPublicIP",
                    "value": "false"
                }, {
                    "name": "UserDataCenterName",
                    "value": "SCL2"
                }, {
                    "name": "subnetId",
                    "value": "1004-QA (CliQrDSwitch)"
                }, {
                    "name": "numNICs",
                    "value": "1"
                }, {
                    "name": "UserDatastoreCluster",
                    "value": "DevOps-DS-cluster"
                }]
            },
            "appParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "cliqrAppTierName",
                "value": "AppServer"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21567"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "tomcat7"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }],
            "envParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "minAppClusterSize",
                "value": "1"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrWebServerType",
                "value": "tomcat7"
            }, {
                "name": "cliqrNoOfVolumes",
                "value": "0"
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrWARFile,cliqrEARPath,cliqrPlanPath"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrWebappConfigFiles",
                "value": "WEB-INF/classes/spring/data-access.properties"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "cliqrAppClusterType",
                "value": "java"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "minClusterSize",
                "value": "1"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "cliqrJDKVersion",
                "value": "JDK7"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrTomcat7PreStartAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrTomcat7PostStartAction",
                "value": ""
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "topTier",
                "value": "true"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrTomcat7PostStopAction",
                "value": ""
            }, {
                "name": "cliqrAppTierName",
                "value": "AppServer"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21567"
            }, {
                "name": "cliqrEARPath",
                "value": ""
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "tomcat7"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "cliqrPlanPath",
                "value": ""
            }, {
                "name": "cliqrAppContainerType",
                "value": "tomcat6"
            }, {
                "name": "cliqrWARFile",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%.war"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "maxAppClusterSize",
                "value": "2"
            }, {
                "name": "enableAppCluster",
                "value": "1"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "cliqrTomcat7PreStopAction",
                "value": ""
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "maxClusterSize",
                "value": "2"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrAppContainerType"
            }, {
                "name": "cliqrWebappContext",
                "value": "ROOT"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }]
        },
        "virtualMachines": [{
            "id": "cqjw-7fe08b32b",
            "resource": "https://cloudcenter.demo.com/v1/virtualmachines/cqjw-7fe08b32b/metrics?jobId=21567",
            "perms": [],
            "publicIp": null,
            "privateIp": null,
            "hostName": null,
            "status": "NodeStarting",
            "startTime": "2015-12-29 03:41:30.0",
            "endTime": null,
            "nodeNetworkInterfaces": [{
                "privateIPAddress": null,
                "publicIPAddress": null,
                "networkDisplayName": null,
                "interfaceIndex": 0
            }],
            "costDetails": null,
            "additionalInfo": []
        }],
        "nics": [],
        "metadatas": [],
        "deploymentInfo": null,
        "tags": [],
        "policies": [],
        "volumeInfos": [],
        "costDetails": null,
        "actions": [],
        "terminateProtection": false,
        "jobs": []
    }, {
        "id": "21568",
        "resource": "https://cloudcenter.demo.com/v1/jobs/21568",
        "perms": [],
        "name": "Database",
        "desc": null,
        "status": "JobRunning",
        "statusMsg": null,
        "serviceTierId": "mysql-4413",
        "appId": "4413",
        "appName": "Database",
        "appVersion": "1.0.2",
        "depInitiatingUserId": null,
        "environmentId": null,
        "environment": null,
        "environmentApprovalStatus": null,
        "keepExistingDeploymentAfterPromote": true,
        "provisionBareMetal": false,
        "bareMetalMachines": [],
        "startTime": "2015-12-29 03:41:12.0",
        "endTime": "N/A",
        "preventTermination": false,
        "accessLink": null,
        "parameters": {
            "cloudParams": {
                "cloud": "VMWare-CliQr-Private-Cloud",
                "instance": "medium",
                "rootVolumeSize": null,
                "storage": null,
                "cloudProperties": [{
                    "name": "UserClusterName",
                    "value": "CliQr"
                }, {
                    "name": "TenantId",
                    "value": "413ad900a0e040c18735f8722f5afc20"
                }, {
                    "name": "UserResourcePoolName",
                    "value": "DevOps"
                }, {
                    "name": "UserTargetDeploymentFolder",
                    "value": "/Gautam"
                }, {
                    "name": "attachPublicIP",
                    "value": "false"
                }, {
                    "name": "UserDataCenterName",
                    "value": "SCL2"
                }, {
                    "name": "subnetId",
                    "value": "1004-QA (CliQrDSwitch)"
                }, {
                    "name": "numNICs",
                    "value": "1"
                }, {
                    "name": "UserDatastoreCluster",
                    "value": "DevOps-DS-cluster"
                }]
            },
            "appParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrAppTierName",
                "value": "Database"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21568"
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "mysql"
            }, {
                "name": "cliqrDatabaseRootPass",
                "value": "password"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }],
            "envParams": [{
                "name": "Cloud_Setting_UserResourcePoolName",
                "value": "DevOps"
            }, {
                "name": "launchIdent",
                "value": "{user}engdemo_aZ4{group}{vendor}73"
            }, {
                "name": "cliqrMysqlPreStartAction",
                "value": ""
            }, {
                "name": "Cloud_Setting_UserDataCenterName",
                "value": "SCL2"
            }, {
                "name": "enableDatabase",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserDatastoreCluster",
                "value": "DevOps-DS-cluster"
            }, {
                "name": "cliqrSSLCert",
                "value": ""
            }, {
                "name": "appPackage",
                "value": ""
            }, {
                "name": "cliqrAppType",
                "value": "n-tier"
            }, {
                "name": "resumeScript",
                "value": ""
            }, {
                "name": "cliqrMysqlPostStartAction",
                "value": ""
            }, {
                "name": "cliqrNoOfVolumes",
                "value": ""
            }, {
                "name": "cliqrSSLKey",
                "value": ""
            }, {
                "name": "appMigrationFiles",
                "value": "cliqrDBSetupScript"
            }, {
                "name": "defaultService",
                "value": ""
            }, {
                "name": "cliqrExternalHttpsEnabled",
                "value": "0"
            }, {
                "name": "cliqrNonStandardPort",
                "value": ""
            }, {
                "name": "imageName",
                "value": "Ubuntu 12.04"
            }, {
                "name": "CliqrDepEnvId",
                "value": "175"
            }, {
                "name": "cliqrAppName",
                "value": "PetClinic"
            }, {
                "name": "Cloud_Setting_subnetId",
                "value": "1004-QA (CliQrDSwitch)"
            }, {
                "name": "parentJobName",
                "value": "PC_TengdemoUA_20151228_002_run_1"
            }, {
                "name": "cliqrMysqlPostStopAction",
                "value": ""
            }, {
                "name": "cliqrDBSetupScript",
                "value": "%REPO_ID_78%PetClinic/org/springframework/samples/spring-petclinic/1.0.1-%JOB_BUILD_NUMBER%/spring-petclinic-1.0.1-%JOB_BUILD_NUMBER%-initDB.sql"
            }, {
                "name": "parentJobId",
                "value": "21566"
            }, {
                "name": "sshUserName",
                "value": "cliqruser"
            }, {
                "name": "cliqrAppTierName",
                "value": "Database"
            }, {
                "name": "Cloud_Setting_attachPublicIP",
                "value": "false"
            }, {
                "name": "cliqrDatabaseName",
                "value": ""
            }, {
                "name": "osName",
                "value": "Linux"
            }, {
                "name": "launchUserName",
                "value": "engdemo_aZ4"
            }, {
                "name": "NumNodes",
                "value": "1"
            }, {
                "name": "launchVendorId",
                "value": "73"
            }, {
                "name": "cliqrVolumeIds",
                "value": ""
            }, {
                "name": "cliqrWebappAccessLink",
                "value": ""
            }, {
                "name": "SharedStorageMount",
                "value": "/shared"
            }, {
                "name": "launchUserId",
                "value": "20298"
            }, {
                "name": "currentTierJobId",
                "value": "21568"
            }, {
                "name": "version",
                "value": "1.0.2"
            }, {
                "name": "OSSVC_CONFIG",
                "value": "mysql"
            }, {
                "name": "Cloud_Setting_UserClusterName",
                "value": "CliQr"
            }, {
                "name": "useNonStandardPort",
                "value": "0"
            }, {
                "name": "cliqrDBDataStorageSize",
                "value": "0"
            }, {
                "name": "Cloud_Setting_UserTargetDeploymentFolder",
                "value": "/Gautam"
            }, {
                "name": "JOB_BUILD_NUMBER",
                "value": "002"
            }, {
                "name": "SharedStorageName",
                "value": "mystor"
            }, {
                "name": "Cloud_Setting_TenantId",
                "value": "413ad900a0e040c18735f8722f5afc20"
            }, {
                "name": "cliqrMysqlPreStopAction",
                "value": ""
            }, {
                "name": "cliqrUseCustomCert",
                "value": "0"
            }, {
                "name": "bareMetalMachine",
                "value": "false"
            }, {
                "name": "Cloud_Setting_numNICs",
                "value": "1"
            }, {
                "name": "cliqrForceHttpRedirect",
                "value": "0"
            }, {
                "name": "CliqrDepEnvName",
                "value": "AllPrivateClouds"
            }, {
                "name": "OSSVC_HOME",
                "value": "/usr/local/osmosix/service"
            }, {
                "name": "cliqrDatabaseType",
                "value": "mysql"
            }, {
                "name": "cliqrExternalHttpEnabled",
                "value": "1"
            }, {
                "name": "cliqrExternalNoProtocolEnabled",
                "value": "0"
            }, {
                "name": "tierOrder",
                "value": "1"
            }, {
                "name": "serviceTypeParam",
                "value": "cliqrDatabaseType"
            }, {
                "name": "microSegmentation",
                "value": "0"
            }]
        },
        "virtualMachines": [{
            "id": "cqjw-982e46eeb",
            "resource": "https://cloudcenter.demo.com/v1/virtualmachines/cqjw-982e46eeb/metrics?jobId=21568",
            "perms": [],
            "publicIp": null,
            "privateIp": null,
            "hostName": null,
            "status": "NodeStarting",
            "startTime": "2015-12-29 03:41:21.0",
            "endTime": null,
            "nodeNetworkInterfaces": [{
                "privateIPAddress": null,
                "publicIPAddress": null,
                "networkDisplayName": null,
                "interfaceIndex": 0
            }],
            "costDetails": null,
            "additionalInfo": []
        }],
        "nics": [],
        "metadatas": [],
        "deploymentInfo": null,
        "tags": [],
        "policies": [],
        "volumeInfos": [],
        "costDetails": null,
        "actions": [],
        "terminateProtection": false,
        "jobs": []
    }]
}