// removed jquery ui css and js

View Imported Applications

Details

API Details
Name

View Imported Application(s)

Description

View the current status of all imported applications See Deployment Export/Import for additional context.

MethodGET
URI
  • v1/imports/importId

  • v1/imports?importedAppId
  • v1/imports?liveStatusCheck=true
  • v1/imports/

CloudCenter ReleaseIntroduced in CloudCenter 4.5.7
Notes
  • Available in CloudCenter 4.5.7.
  • For additional context on <PORT> usage in the following example(s), see Base URI Format.
ESB Header
  • action: get.imports
  •  action: get.imports.importId   
  • action: get.imports.
    actionparam: importedAppId=importedAppId 
  • action: get.imports. 
    actionparam: liveStatusCheck=true

Example 1: v1/imports/importId

curl -k -X GET -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/imports/1"

Response

 Click here to expand...
{
    "id": "1",
    "resource": "https://<HOST>:<PORT>/v1/imports/1",
    "perms": [],
    "password": "===redacted===",
    "depEnvId": 1,
    "specifications": [],
    "childJobPortSpecs": [{
        "id": "2",
        "resource": "https://<HOST>:<PORT>/v1/imports/1/2",
        "perms": [],
        "password": null,
        "depEnvId": null,
        "specifications": [{
            "id": "1",
            "resource": null,
            "perms": [],
            "specType": "APP_DEFINITION",
            "value": "true"
        }, {
            "id": "2",
            "resource": null,
            "perms": [],
            "specType": "APP_DATA_BACKUP",
            "value": "true"
        }],
        "childJobPortSpecs": [],
        "createDate": 1480377263000,
        "status": null,
        "workflowInstance": null,
        "repositoryId": null,
        "cloudAccountId": null,
        "pathValue": null,
        "artifactRepositoryId": null,
        "artifactPathValue": null,
        "cloudType": null,
        "appName": null,
        "appVersion": null,
        "exportedServiceName": "CentOS",
        "tierName": "CentOS_3",
        "mappedServiceName": "CentOS",
        "exportedImageName": "CentOS 6.x",
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": null
    }, {
        "id": "3",
        "resource": "https://<HOST>:<PORT>/v1/imports/1/3",
        "perms": [],
        "password": null,
        "depEnvId": null,
        "specifications": [{
            "id": "4",
            "resource": null,
            "perms": [],
            "specType": "APP_DEFINITION",
            "value": "true"
        }, {
            "id": "3",
            "resource": null,
            "perms": [],
            "specType": "APP_DATA_BACKUP",
            "value": "true"
        }],
        "childJobPortSpecs": [],
        "createDate": 1480377263000,
        "status": null,
        "workflowInstance": null,
        "repositoryId": null,
        "cloudAccountId": null,
        "pathValue": null,
        "artifactRepositoryId": null,
        "artifactPathValue": null,
        "cloudType": null,
        "appName": null,
        "appVersion": null,
        "exportedServiceName": "CentOS",
        "tierName": "CentOS_2",
        "mappedServiceName": "CentOS",
        "exportedImageName": "CentOS 5.x",
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": null
    }],
    "createDate": 1480377263000,
    "status": "FINISHED",
    "workflowInstance": {
        "workflowId": "importWorkflow",
        "name": "Import Application Deployment",
        "description": "Import Application Deployment",
        "startTime": 1480377263082,
        "endTime": 1480377270560,
        "state": "FINISHED",
        "activityExecution": {
            "activityId": "processMetadataActivity",
            "name": "Process Application Metadata",
            "description": "Process Application Metadata",
            "startTime": 1480377263082,
            "endTime": 1480377264003,
            "state": "FINISHED",
            "progress": {
                "percentage": 100,
                "message": "completed"
            },
            "next": {
                "activityId": "importImagesActivity",
                "name": "Import Cloud Images",
                "description": "Import Cloud Images",
                "startTime": 1480377264010,
                "endTime": 1480377264875,
                "state": "FINISHED",
                "progress": null,
                "next": {
                    "activityId": "importDataActivity",
                    "name": "Import Backup Data Files",
                    "description": "Import Backup Data Files",
                    "startTime": 1480377264876,
                    "endTime": 1480377264882,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importApplicationActivity",
                        "name": "Import Application",
                        "description": "Import Application",
                        "startTime": 1480377264883,
                        "endTime": 1480377270558,
                        "state": "FINISHED",
                        "progress": {
                            "percentage": 100,
                            "message": "completed"
                        },
                        "next": null,
                        "subExecutions": [{
                            "activityId": "mapInstanceTypesActivity",
                            "name": "Mapping Instance Types",
                            "description": "Mapping Instance Types",
                            "startTime": 1480377264920,
                            "endTime": 1480377265835,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": {
                                "activityId": "createLogicalImagesActivity",
                                "name": "Create Logical Images",
                                "description": "Create Logical Images",
                                "startTime": 1480377265836,
                                "endTime": 1480377266546,
                                "state": "FINISHED",
                                "progress": {
                                    "percentage": 100,
                                    "message": "completed"
                                },
                                "next": {
                                    "activityId": "importServicesActivity",
                                    "name": "Import Services",
                                    "description": "Import Services",
                                    "startTime": 1480377266547,
                                    "endTime": 1480377267502,
                                    "state": "FINISHED",
                                    "progress": {
                                        "percentage": 100,
                                        "message": "completed"
                                    },
                                    "next": {
                                        "activityId": "importProfileActivity",
                                        "name": "Import Application Profile",
                                        "description": "Import Application Profile",
                                        "startTime": 1480377267504,
                                        "endTime": 1480377269486,
                                        "state": "FINISHED",
                                        "progress": {
                                            "percentage": 100,
                                            "message": "completed"
                                        },
                                        "next": {
                                            "activityId": "importJobsActivity",
                                            "name": "Import Deployment Data",
                                            "description": "Import Deployment Data",
                                            "startTime": 1480377269496,
                                            "endTime": 1480377270554,
                                            "state": "FINISHED",
                                            "progress": {
                                                "percentage": 100,
                                                "message": "completed"
                                            },
                                            "next": null,
                                            "subExecutions": [],
                                            "id": "9a91b248-16e9-4655-84b8-7888eaa72afb"
                                        },
                                        "subExecutions": [],
                                        "id": "0ec6c1c3-e9d6-4fae-9036-d64766a5d188"
                                    },
                                    "subExecutions": [],
                                    "id": "e5786328-7bef-45e1-a09a-5715898d1f1d"
                                },
                                "subExecutions": [],
                                "id": "d51178ef-5734-4f43-ad94-dd57ec95c31e"
                            },
                            "subExecutions": [],
                            "id": "4b88b597-0955-42d4-b3a9-b3704ffc6c2f"
                        }],
                        "id": "f1792a4b-cd68-4fe5-8868-7bd38fe21021"
                    },
                    "subExecutions": [],
                    "id": "0f8cc51d-82b3-44dc-b1ff-ecd9c4b5f5bb"
                },
                "subExecutions": [],
                "id": "2e62586a-4703-41d9-ab00-c2e92496add6"
            },
            "subExecutions": [],
            "id": "330d17e4-c6aa-451d-b27e-a47c5d81e055"
        },
        "id": "f375d012-8d97-4398-b8b0-817ecc53b1d9"
    },
    "repositoryId": "1",
    "cloudAccountId": "1",
    "pathValue": "NOV28/2Tier_2/7",
    "artifactRepositoryId": "1",
    "artifactPathValue": "Import/NOV28/2Tier_IMP",
    "cloudType": "AWSCloud-us-west-1",
    "appName": "2Tier_IMP",
    "appVersion": "5.8",
    "exportedServiceName": null,
    "tierName": null,
    "mappedServiceName": null,
    "exportedImageName": null,
    "exportedImageId": null,
    "importService": false,
    "exportedImageMappings": [],
    "importedAppId": "40"
}

Example 2: v1/imports?importedAppId=56

curl -k -X GET -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/imports?importedAppId=56"

Respons

 Click here to expand...
{
    "resource": "https://<HOST>:<PORT>/v1/imports?importedAppId=56",
    "size": 0,
    "pageNumber": 0,
    "totalElements": 0,
    "totalPages": 0,
    "jobImportRequests": [{
        "id": "17",
        "resource": "https://<HOST>:<PORT>/v1/imports/17?importedAppId=56",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "19",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "23",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "24",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }, {
                "id": "25",
                "resource": null,
                "perms": [],
                "specType": "SERVICE_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480458018000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_2",
            "mappedServiceName": "CentOsMappingService",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null,
            "importService": true,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "18",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "22",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480458018000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_3",
            "mappedServiceName": null,
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480458018000,
        "status": "FINISHED",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480458018030,
            "endTime": 1480458031278,
            "state": "FINISHED",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480458018030,
                "endTime": 1480458018737,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480458018738,
                    "endTime": 1480458024080,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480458024082,
                        "endTime": 1480458024096,
                        "state": "FINISHED",
                        "progress": null,
                        "next": {
                            "activityId": "importApplicationActivity",
                            "name": "Import Application",
                            "description": "Import Application",
                            "startTime": 1480458024097,
                            "endTime": 1480458031276,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [{
                                "activityId": "mapInstanceTypesActivity",
                                "name": "Mapping Instance Types",
                                "description": "Mapping Instance Types",
                                "startTime": 1480458024110,
                                "endTime": 1480458024875,
                                "state": "FINISHED",
                                "progress": {
                                    "percentage": 100,
                                    "message": "completed"
                                },
                                "next": {
                                    "activityId": "createLogicalImagesActivity",
                                    "name": "Create Logical Images",
                                    "description": "Create Logical Images",
                                    "startTime": 1480458024877,
                                    "endTime": 1480458026211,
                                    "state": "FINISHED",
                                    "progress": {
                                        "percentage": 100,
                                        "message": "completed"
                                    },
                                    "next": {
                                        "activityId": "importServicesActivity",
                                        "name": "Import Services",
                                        "description": "Import Services",
                                        "startTime": 1480458026213,
                                        "endTime": 1480458028868,
                                        "state": "FINISHED",
                                        "progress": {
                                            "percentage": 100,
                                            "message": "completed"
                                        },
                                        "next": {
                                            "activityId": "importProfileActivity",
                                            "name": "Import Application Profile",
                                            "description": "Import Application Profile",
                                            "startTime": 1480458028870,
                                            "endTime": 1480458030400,
                                            "state": "FINISHED",
                                            "progress": {
                                                "percentage": 100,
                                                "message": "completed"
                                            },
                                            "next": {
                                                "activityId": "importJobsActivity",
                                                "name": "Import Deployment Data",
                                                "description": "Import Deployment Data",
                                                "startTime": 1480458030406,
                                                "endTime": 1480458031273,
                                                "state": "FINISHED",
                                                "progress": {
                                                    "percentage": 100,
                                                    "message": "completed"
                                                },
                                                "next": null,
                                                "subExecutions": [],
                                                "id": "0b503b05-f1ca-4d68-9c9f-7cd56b2dd936"
                                            },
                                            "subExecutions": [],
                                            "id": "6098ee1a-c0fd-47f7-823c-478b6311829d"
                                        },
                                        "subExecutions": [],
                                        "id": "f84a480a-2421-4e83-a2c5-f06cefd01250"
                                    },
                                    "subExecutions": [],
                                    "id": "f0c0fd08-eb99-4165-97ff-40c462f850f4"
                                },
                                "subExecutions": [],
                                "id": "426e7a75-dabc-4d53-8854-ad869de3a8c2"
                            }],
                            "id": "4eebd276-e085-4f7b-9d6d-498d8cd9c419"
                        },
                        "subExecutions": [],
                        "id": "9eb3dcb4-1661-4c5e-848d-1d0f75b0af0b"
                    },
                    "subExecutions": [{
                        "activityId": "importImageActivity",
                        "name": "Import Cloud Image",
                        "description": "Import Cloud Image",
                        "startTime": 1480458019494,
                        "endTime": 1480458021763,
                        "state": "FINISHED",
                        "progress": {
                            "percentage": 100,
                            "message": "completed"
                        },
                        "next": {
                            "activityId": "importImageActivity",
                            "name": "Import Cloud Image",
                            "description": "Import Cloud Image",
                            "startTime": 1480458021784,
                            "endTime": 1480458024077,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "166eedf2-c20a-4081-811b-43367ad27555"
                        },
                        "subExecutions": [],
                        "id": "3c16e060-7e41-4a35-a052-16ecf4428450"
                    }],
                    "id": "3799a499-1b89-4bf6-b317-fdabd1283bdc"
                },
                "subExecutions": [],
                "id": "86fe6f6a-9223-4bf9-84ee-1b87035715bd"
            },
            "id": "11ede000-c2b5-4d55-a100-b41c358a11b8"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/export/2Tier_IMP/21",
        "artifactRepositoryId": "1",
        "artifactPathValue": "NOV29/import/2Tier_IMP/2",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "2Tier_IMP_Copy2",
        "appVersion": "5.8",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [{
            "importImage": false,
            "mappedImageName": "CentOS 5.x",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null
        }, {
            "importImage": false,
            "mappedImageName": "CentOS 6.x",
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null
        }, {
            "importImage": true,
            "mappedImageName": "CentOs7MappingImage",
            "exportedImageName": "CentOS 7.x",
            "exportedImageId": null
        }],
        "importedAppId": "56"
    }]
}

Example 3: v1/imports?liveStatusCheck=true

curl -k -X GET -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/imports?liveStatusCheck=true"

Response

 Click here to expand...
{
    "resource": "https://<HOST>:<PORT>/v1/imports?liveStatusCheck=true",
    "size": 0,
    "pageNumber": 0,
    "totalElements": 0,
    "totalPages": 0,
    "jobImportRequests": [{
        "id": "23",
        "resource": "https://<HOST>:<PORT>/v1/imports/23?liveStatusCheck=true",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "24",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "30",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "31",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461985000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "apache2",
            "tierName": "WebServer",
            "mappedServiceName": "apache2",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "25",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "33",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }, {
                "id": "32",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461985000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "mysqlnd",
            "tierName": "Database",
            "mappedServiceName": "mysqlnd",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480461985000,
        "status": "ERROR",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480461985464,
            "endTime": 1480462049085,
            "state": "ERROR",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480461985464,
                "endTime": 1480461986247,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480461986248,
                    "endTime": 1480461986997,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480461986998,
                        "endTime": null,
                        "state": "WAITING",
                        "progress": null,
                        "next": null,
                        "subExecutions": [{
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461987011,
                            "endTime": 1480461991086,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "4a41ffe4-ba91-4c56-9dbd-f77e8999f212"
                        }, {
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461987041,
                            "endTime": null,
                            "state": "ERROR",
                            "progress": {
                                "percentage": -1,
                                "message": "stopping ..."
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "65c76a99-fc49-4320-8967-f750a1c1afdb"
                        }],
                        "id": "8d10e824-9fc4-4ea8-9b8b-8ba78de5ba2a"
                    },
                    "subExecutions": [],
                    "id": "962ba089-6b37-4ab1-abd9-9aaec3c8914a"
                },
                "subExecutions": [],
                "id": "9973230b-3f6b-4707-9574-ddafae4d670c"
            },
            "id": "97c3b580-2124-4823-b2d9-2f7001361587"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/Joomla_4/24",
        "artifactRepositoryId": "1",
        "artifactPathValue": "Import/NOV29/Joomla_4/Try2",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "Joomla_IMP_2",
        "appVersion": "3.3.6",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": null
    }, {
        "id": "20",
        "resource": "https://<HOST>:<PORT>/v1/imports/20?liveStatusCheck=true",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "21",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "26",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "27",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461604000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "mysqlnd",
            "tierName": "Database",
            "mappedServiceName": "mysqlnd",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "22",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "28",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }, {
                "id": "29",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461604000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "apache2",
            "tierName": "WebServer",
            "mappedServiceName": "apache2",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480461604000,
        "status": "ERROR",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480461604161,
            "endTime": 1480461668060,
            "state": "ERROR",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480461604161,
                "endTime": 1480461605128,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480461605128,
                    "endTime": 1480461605885,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480461605886,
                        "endTime": null,
                        "state": "WAITING",
                        "progress": null,
                        "next": null,
                        "subExecutions": [{
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461605899,
                            "endTime": 1480461610036,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "11d10566-8d77-4344-90cf-47fabfc50c41"
                        }, {
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461605931,
                            "endTime": null,
                            "state": "ERROR",
                            "progress": {
                                "percentage": -1,
                                "message": "stopping ..."
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "220f2c70-f971-418c-b3eb-66634a131245"
                        }],
                        "id": "0b903dba-36ba-4a97-b7e0-8241f9e9a6d6"
                    },
                    "subExecutions": [],
                    "id": "ab09a5ef-506c-401c-b51b-d548d56b3e56"
                },
                "subExecutions": [],
                "id": "ce2abfe2-e8fa-462e-b7ba-8aa69b798f0d"
            },
            "id": "67c70b06-b7c1-44fa-8d3e-5b9a7fb19e3b"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/Joomla_4/24",
        "artifactRepositoryId": "1",
        "artifactPathValue": "Import/NOV29/Joomla_4",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "Joomla_IMP",
        "appVersion": "3.3.6",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": null
    }, {
        "id": "17",
        "resource": "https://<HOST>:<PORT>/v1/imports/17?liveStatusCheck=true",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "19",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "23",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "24",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }, {
                "id": "25",
                "resource": null,
                "perms": [],
                "specType": "SERVICE_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480458018000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_2",
            "mappedServiceName": "CentOsMappingService",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null,
            "importService": true,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "18",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "22",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480458018000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_3",
            "mappedServiceName": null,
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480458018000,
        "status": "FINISHED",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480458018030,
            "endTime": 1480458031278,
            "state": "FINISHED",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480458018030,
                "endTime": 1480458018737,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480458018738,
                    "endTime": 1480458024080,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480458024082,
                        "endTime": 1480458024096,
                        "state": "FINISHED",
                        "progress": null,
                        "next": {
                            "activityId": "importApplicationActivity",
                            "name": "Import Application",
                            "description": "Import Application",
                            "startTime": 1480458024097,
                            "endTime": 1480458031276,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [{
                                "activityId": "mapInstanceTypesActivity",
                                "name": "Mapping Instance Types",
                                "description": "Mapping Instance Types",
                                "startTime": 1480458024110,
                                "endTime": 1480458024875,
                                "state": "FINISHED",
                                "progress": {
                                    "percentage": 100,
                                    "message": "completed"
                                },
                                "next": {
                                    "activityId": "createLogicalImagesActivity",
                                    "name": "Create Logical Images",
                                    "description": "Create Logical Images",
                                    "startTime": 1480458024877,
                                    "endTime": 1480458026211,
                                    "state": "FINISHED",
                                    "progress": {
                                        "percentage": 100,
                                        "message": "completed"
                                    },
                                    "next": {
                                        "activityId": "importServicesActivity",
                                        "name": "Import Services",
                                        "description": "Import Services",
                                        "startTime": 1480458026213,
                                        "endTime": 1480458028868,
                                        "state": "FINISHED",
                                        "progress": {
                                            "percentage": 100,
                                            "message": "completed"
                                        },
                                        "next": {
                                            "activityId": "importProfileActivity",
                                            "name": "Import Application Profile",
                                            "description": "Import Application Profile",
                                            "startTime": 1480458028870,
                                            "endTime": 1480458030400,
                                            "state": "FINISHED",
                                            "progress": {
                                                "percentage": 100,
                                                "message": "completed"
                                            },
                                            "next": {
                                                "activityId": "importJobsActivity",
                                                "name": "Import Deployment Data",
                                                "description": "Import Deployment Data",
                                                "startTime": 1480458030406,
                                                "endTime": 1480458031273,
                                                "state": "FINISHED",
                                                "progress": {
                                                    "percentage": 100,
                                                    "message": "completed"
                                                },
                                                "next": null,
                                                "subExecutions": [],
                                                "id": "0b503b05-f1ca-4d68-9c9f-7cd56b2dd936"
                                            },
                                            "subExecutions": [],
                                            "id": "6098ee1a-c0fd-47f7-823c-478b6311829d"
                                        },
                                        "subExecutions": [],
                                        "id": "f84a480a-2421-4e83-a2c5-f06cefd01250"
                                    },
                                    "subExecutions": [],
                                    "id": "f0c0fd08-eb99-4165-97ff-40c462f850f4"
                                },
                                "subExecutions": [],
                                "id": "426e7a75-dabc-4d53-8854-ad869de3a8c2"
                            }],
                            "id": "4eebd276-e085-4f7b-9d6d-498d8cd9c419"
                        },
                        "subExecutions": [],
                        "id": "9eb3dcb4-1661-4c5e-848d-1d0f75b0af0b"
                    },
                    "subExecutions": [{
                        "activityId": "importImageActivity",
                        "name": "Import Cloud Image",
                        "description": "Import Cloud Image",
                        "startTime": 1480458019494,
                        "endTime": 1480458021763,
                        "state": "FINISHED",
                        "progress": {
                            "percentage": 100,
                            "message": "completed"
                        },
                        "next": {
                            "activityId": "importImageActivity",
                            "name": "Import Cloud Image",
                            "description": "Import Cloud Image",
                            "startTime": 1480458021784,
                            "endTime": 1480458024077,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "166eedf2-c20a-4081-811b-43367ad27555"
                        },
                        "subExecutions": [],
                        "id": "3c16e060-7e41-4a35-a052-16ecf4428450"
                    }],
                    "id": "3799a499-1b89-4bf6-b317-fdabd1283bdc"
                },
                "subExecutions": [],
                "id": "86fe6f6a-9223-4bf9-84ee-1b87035715bd"
            },
            "id": "11ede000-c2b5-4d55-a100-b41c358a11b8"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/export/2Tier_IMP/21",
        "artifactRepositoryId": "1",
        "artifactPathValue": "NOV29/import/2Tier_IMP/2",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "2Tier_IMP_Copy2",
        "appVersion": "5.8",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [{
            "importImage": false,
            "mappedImageName": "CentOS 5.x",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null
        }, {
            "importImage": false,
            "mappedImageName": "CentOS 6.x",
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null
        }, {
            "importImage": true,
            "mappedImageName": "CentOs7MappingImage",
            "exportedImageName": "CentOS 7.x",
            "exportedImageId": null
        }],
        "importedAppId": "56"
    }, {
        "id": "14",
        "resource": "https://<HOST>:<PORT>/v1/imports/14?liveStatusCheck=true",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "16",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "21",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }, {
                "id": "20",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480457969000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_2",
            "mappedServiceName": "CentOS",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "15",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "19",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480457969000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_3",
            "mappedServiceName": null,
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480457969000,
        "status": "FINISHED",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480457969501,
            "endTime": 1480457979396,
            "state": "FINISHED",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480457969501,
                "endTime": 1480457970298,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480457970299,
                    "endTime": 1480457973595,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480457973597,
                        "endTime": 1480457973600,
                        "state": "FINISHED",
                        "progress": null,
                        "next": {
                            "activityId": "importApplicationActivity",
                            "name": "Import Application",
                            "description": "Import Application",
                            "startTime": 1480457973609,
                            "endTime": 1480457979394,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [{
                                "activityId": "mapInstanceTypesActivity",
                                "name": "Mapping Instance Types",
                                "description": "Mapping Instance Types",
                                "startTime": 1480457973614,
                                "endTime": 1480457974487,
                                "state": "FINISHED",
                                "progress": {
                                    "percentage": 100,
                                    "message": "completed"
                                },
                                "next": {
                                    "activityId": "createLogicalImagesActivity",
                                    "name": "Create Logical Images",
                                    "description": "Create Logical Images",
                                    "startTime": 1480457974488,
                                    "endTime": 1480457975430,
                                    "state": "FINISHED",
                                    "progress": {
                                        "percentage": 100,
                                        "message": "completed"
                                    },
                                    "next": {
                                        "activityId": "importServicesActivity",
                                        "name": "Import Services",
                                        "description": "Import Services",
                                        "startTime": 1480457975431,
                                        "endTime": 1480457977134,
                                        "state": "FINISHED",
                                        "progress": {
                                            "percentage": 100,
                                            "message": "completed"
                                        },
                                        "next": {
                                            "activityId": "importProfileActivity",
                                            "name": "Import Application Profile",
                                            "description": "Import Application Profile",
                                            "startTime": 1480457977136,
                                            "endTime": 1480457978410,
                                            "state": "FINISHED",
                                            "progress": {
                                                "percentage": 100,
                                                "message": "completed"
                                            },
                                            "next": {
                                                "activityId": "importJobsActivity",
                                                "name": "Import Deployment Data",
                                                "description": "Import Deployment Data",
                                                "startTime": 1480457978413,
                                                "endTime": 1480457979377,
                                                "state": "FINISHED",
                                                "progress": {
                                                    "percentage": 100,
                                                    "message": "completed"
                                                },
                                                "next": null,
                                                "subExecutions": [],
                                                "id": "276875d2-4c53-4b76-8399-2466531d5b2b"
                                            },
                                            "subExecutions": [],
                                            "id": "c233f74c-4f40-430c-b636-2abc5f58d000"
                                        },
                                        "subExecutions": [],
                                        "id": "b53c5e3d-7882-4c95-8c4b-5cc7cc959011"
                                    },
                                    "subExecutions": [],
                                    "id": "30680b54-d718-437d-8231-939e05cc003a"
                                },
                                "subExecutions": [],
                                "id": "0001eb3a-8e9a-4c10-bac4-290b7ab91f7a"
                            }],
                            "id": "50f292c6-622d-4f6f-b787-65a23cd559de"
                        },
                        "subExecutions": [],
                        "id": "4924b08f-c995-4dd4-a960-bc988379caaf"
                    },
                    "subExecutions": [{
                        "activityId": "importImageActivity",
                        "name": "Import Cloud Image",
                        "description": "Import Cloud Image",
                        "startTime": 1480457971239,
                        "endTime": 1480457973584,
                        "state": "FINISHED",
                        "progress": {
                            "percentage": 100,
                            "message": "completed"
                        },
                        "next": null,
                        "subExecutions": [],
                        "id": "b8821033-ac5a-45b7-bf9b-93101d2e8b1d"
                    }],
                    "id": "9d2eaa22-d8c8-4279-a8ec-46f8fe72029e"
                },
                "subExecutions": [],
                "id": "36804a5f-68c6-4e6c-bd20-2ac30e2991d5"
            },
            "id": "e13d0d3e-5bff-4b1c-9e0d-1977fc5075a7"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/export/2Tier_IMP/21",
        "artifactRepositoryId": "1",
        "artifactPathValue": "NOV29/import/2Tier_IMP/1",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "2Tier_IMP_Copy1",
        "appVersion": "5.8",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": "53"
    }]
}

Example 4: v1/imports

curl -k -X GET -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/imports"

Response

 Click here to expand...
{
    "resource": "https://<HOST>:<PORT>/v1/imports",
    "size": 0,
    "pageNumber": 0,
    "totalElements": 0,
    "totalPages": 0,
    "jobImportRequests": [{
        "id": "23",
        "resource": "https://<HOST>:<PORT>/v1/imports/23",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "25",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "32",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "33",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461985000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "mysqlnd",
            "tierName": "Database",
            "mappedServiceName": "mysqlnd",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "24",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "30",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "31",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461985000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "apache2",
            "tierName": "WebServer",
            "mappedServiceName": "apache2",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480461985000,
        "status": "ERROR",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480461985464,
            "endTime": 1480462049085,
            "state": "ERROR",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480461985464,
                "endTime": 1480461986247,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480461986248,
                    "endTime": 1480461986997,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480461986998,
                        "endTime": null,
                        "state": "WAITING",
                        "progress": null,
                        "next": null,
                        "subExecutions": [{
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461987011,
                            "endTime": 1480461991086,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "4a41ffe4-ba91-4c56-9dbd-f77e8999f212"
                        }, {
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461987041,
                            "endTime": null,
                            "state": "ERROR",
                            "progress": {
                                "percentage": -1,
                                "message": "stopping ..."
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "65c76a99-fc49-4320-8967-f750a1c1afdb"
                        }],
                        "id": "8d10e824-9fc4-4ea8-9b8b-8ba78de5ba2a"
                    },
                    "subExecutions": [],
                    "id": "962ba089-6b37-4ab1-abd9-9aaec3c8914a"
                },
                "subExecutions": [],
                "id": "9973230b-3f6b-4707-9574-ddafae4d670c"
            },
            "id": "97c3b580-2124-4823-b2d9-2f7001361587"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/Joomla_4/24",
        "artifactRepositoryId": "1",
        "artifactPathValue": "Import/NOV29/Joomla_4/Try2",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "Joomla_IMP_2",
        "appVersion": "3.3.6",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": null
    }, {
        "id": "20",
        "resource": "https://<HOST>:<PORT>/v1/imports/20",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "21",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "26",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "27",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461604000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "mysqlnd",
            "tierName": "Database",
            "mappedServiceName": "mysqlnd",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "22",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "29",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "28",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480461604000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "apache2",
            "tierName": "WebServer",
            "mappedServiceName": "apache2",
            "exportedImageName": "Ubuntu 12.04",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480461604000,
        "status": "ERROR",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480461604161,
            "endTime": 1480461668060,
            "state": "ERROR",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480461604161,
                "endTime": 1480461605128,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480461605128,
                    "endTime": 1480461605885,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480461605886,
                        "endTime": null,
                        "state": "WAITING",
                        "progress": null,
                        "next": null,
                        "subExecutions": [{
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461605899,
                            "endTime": 1480461610036,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "11d10566-8d77-4344-90cf-47fabfc50c41"
                        }, {
                            "activityId": "copyBackupDataActivity",
                            "name": "Copy Backup Data File",
                            "description": "Copy Backup Data File",
                            "startTime": 1480461605931,
                            "endTime": null,
                            "state": "ERROR",
                            "progress": {
                                "percentage": -1,
                                "message": "stopping ..."
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "220f2c70-f971-418c-b3eb-66634a131245"
                        }],
                        "id": "0b903dba-36ba-4a97-b7e0-8241f9e9a6d6"
                    },
                    "subExecutions": [],
                    "id": "ab09a5ef-506c-401c-b51b-d548d56b3e56"
                },
                "subExecutions": [],
                "id": "ce2abfe2-e8fa-462e-b7ba-8aa69b798f0d"
            },
            "id": "67c70b06-b7c1-44fa-8d3e-5b9a7fb19e3b"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/Joomla_4/24",
        "artifactRepositoryId": "1",
        "artifactPathValue": "Import/NOV29/Joomla_4",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "Joomla_IMP",
        "appVersion": "3.3.6",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [],
        "importedAppId": null
    }, {
        "id": "17",
        "resource": "https://<HOST>:<PORT>/v1/imports/17",
        "perms": [],
        "password": "===redacted===",
        "depEnvId": 1,
        "specifications": [],
        "childJobPortSpecs": [{
            "id": "19",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "24",
                "resource": null,
                "perms": [],
                "specType": "APP_DATA_BACKUP",
                "value": "true"
            }, {
                "id": "23",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }, {
                "id": "25",
                "resource": null,
                "perms": [],
                "specType": "SERVICE_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480458018000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_2",
            "mappedServiceName": "CentOsMappingService",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null,
            "importService": true,
            "exportedImageMappings": [],
            "importedAppId": null
        }, {
            "id": "18",
            "resource": null,
            "perms": [],
            "password": null,
            "depEnvId": null,
            "specifications": [{
                "id": "22",
                "resource": null,
                "perms": [],
                "specType": "APP_DEFINITION",
                "value": "true"
            }],
            "childJobPortSpecs": [],
            "createDate": 1480458018000,
            "status": null,
            "workflowInstance": null,
            "repositoryId": null,
            "cloudAccountId": null,
            "pathValue": null,
            "artifactRepositoryId": null,
            "artifactPathValue": null,
            "cloudType": null,
            "appName": null,
            "appVersion": null,
            "exportedServiceName": "CentOS",
            "tierName": "CentOS_3",
            "mappedServiceName": null,
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null,
            "importService": false,
            "exportedImageMappings": [],
            "importedAppId": null
        }],
        "createDate": 1480458018000,
        "status": "FINISHED",
        "workflowInstance": {
            "workflowId": "importWorkflow",
            "name": "Import Application Deployment",
            "description": "Import Application Deployment",
            "startTime": 1480458018030,
            "endTime": 1480458031278,
            "state": "FINISHED",
            "activityExecution": {
                "activityId": "processMetadataActivity",
                "name": "Process Application Metadata",
                "description": "Process Application Metadata",
                "startTime": 1480458018030,
                "endTime": 1480458018737,
                "state": "FINISHED",
                "progress": {
                    "percentage": 100,
                    "message": "completed"
                },
                "next": {
                    "activityId": "importImagesActivity",
                    "name": "Import Cloud Images",
                    "description": "Import Cloud Images",
                    "startTime": 1480458018738,
                    "endTime": 1480458024080,
                    "state": "FINISHED",
                    "progress": null,
                    "next": {
                        "activityId": "importDataActivity",
                        "name": "Import Backup Data Files",
                        "description": "Import Backup Data Files",
                        "startTime": 1480458024082,
                        "endTime": 1480458024096,
                        "state": "FINISHED",
                        "progress": null,
                        "next": {
                            "activityId": "importApplicationActivity",
                            "name": "Import Application",
                            "description": "Import Application",
                            "startTime": 1480458024097,
                            "endTime": 1480458031276,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [{
                                "activityId": "mapInstanceTypesActivity",
                                "name": "Mapping Instance Types",
                                "description": "Mapping Instance Types",
                                "startTime": 1480458024110,
                                "endTime": 1480458024875,
                                "state": "FINISHED",
                                "progress": {
                                    "percentage": 100,
                                    "message": "completed"
                                },
                                "next": {
                                    "activityId": "createLogicalImagesActivity",
                                    "name": "Create Logical Images",
                                    "description": "Create Logical Images",
                                    "startTime": 1480458024877,
                                    "endTime": 1480458026211,
                                    "state": "FINISHED",
                                    "progress": {
                                        "percentage": 100,
                                        "message": "completed"
                                    },
                                    "next": {
                                        "activityId": "importServicesActivity",
                                        "name": "Import Services",
                                        "description": "Import Services",
                                        "startTime": 1480458026213,
                                        "endTime": 1480458028868,
                                        "state": "FINISHED",
                                        "progress": {
                                            "percentage": 100,
                                            "message": "completed"
                                        },
                                        "next": {
                                            "activityId": "importProfileActivity",
                                            "name": "Import Application Profile",
                                            "description": "Import Application Profile",
                                            "startTime": 1480458028870,
                                            "endTime": 1480458030400,
                                            "state": "FINISHED",
                                            "progress": {
                                                "percentage": 100,
                                                "message": "completed"
                                            },
                                            "next": {
                                                "activityId": "importJobsActivity",
                                                "name": "Import Deployment Data",
                                                "description": "Import Deployment Data",
                                                "startTime": 1480458030406,
                                                "endTime": 1480458031273,
                                                "state": "FINISHED",
                                                "progress": {
                                                    "percentage": 100,
                                                    "message": "completed"
                                                },
                                                "next": null,
                                                "subExecutions": [],
                                                "id": "0b503b05-f1ca-4d68-9c9f-7cd56b2dd936"
                                            },
                                            "subExecutions": [],
                                            "id": "6098ee1a-c0fd-47f7-823c-478b6311829d"
                                        },
                                        "subExecutions": [],
                                        "id": "f84a480a-2421-4e83-a2c5-f06cefd01250"
                                    },
                                    "subExecutions": [],
                                    "id": "f0c0fd08-eb99-4165-97ff-40c462f850f4"
                                },
                                "subExecutions": [],
                                "id": "426e7a75-dabc-4d53-8854-ad869de3a8c2"
                            }],
                            "id": "4eebd276-e085-4f7b-9d6d-498d8cd9c419"
                        },
                        "subExecutions": [],
                        "id": "9eb3dcb4-1661-4c5e-848d-1d0f75b0af0b"
                    },
                    "subExecutions": [{
                        "activityId": "importImageActivity",
                        "name": "Import Cloud Image",
                        "description": "Import Cloud Image",
                        "startTime": 1480458019494,
                        "endTime": 1480458021763,
                        "state": "FINISHED",
                        "progress": {
                            "percentage": 100,
                            "message": "completed"
                        },
                        "next": {
                            "activityId": "importImageActivity",
                            "name": "Import Cloud Image",
                            "description": "Import Cloud Image",
                            "startTime": 1480458021784,
                            "endTime": 1480458024077,
                            "state": "FINISHED",
                            "progress": {
                                "percentage": 100,
                                "message": "completed"
                            },
                            "next": null,
                            "subExecutions": [],
                            "id": "166eedf2-c20a-4081-811b-43367ad27555"
                        },
                        "subExecutions": [],
                        "id": "3c16e060-7e41-4a35-a052-16ecf4428450"
                    }],
                    "id": "3799a499-1b89-4bf6-b317-fdabd1283bdc"
                },
                "subExecutions": [],
                "id": "86fe6f6a-9223-4bf9-84ee-1b87035715bd"
            },
            "id": "11ede000-c2b5-4d55-a100-b41c358a11b8"
        },
        "repositoryId": "1",
        "cloudAccountId": "1",
        "pathValue": "NOV29/export/2Tier_IMP/21",
        "artifactRepositoryId": "1",
        "artifactPathValue": "NOV29/import/2Tier_IMP/2",
        "cloudType": "AWSCloud-us-west-1",
        "appName": "2Tier_IMP_Copy2",
        "appVersion": "5.8",
        "exportedServiceName": null,
        "tierName": null,
        "mappedServiceName": null,
        "exportedImageName": null,
        "exportedImageId": null,
        "importService": false,
        "exportedImageMappings": [{
            "importImage": false,
            "mappedImageName": "CentOS 5.x",
            "exportedImageName": "CentOS 5.x",
            "exportedImageId": null
        }, {
            "importImage": false,
            "mappedImageName": "CentOS 6.x",
            "exportedImageName": "CentOS 6.x",
            "exportedImageId": null
        }, {
            "importImage": true,
            "mappedImageName": "CentOs7MappingImage",
            "exportedImageName": "CentOS 7.x",
            "exportedImageId": null
        }],
        "importedAppId": "56"
    }, ...]
}

Request Attributes

importId
  • Description: Unique, system-generated identifier for the imported application.

  • Type: String

 

Optional

 importedAppId   
  • Description: Unique, system-generated identifier for the application that was imported.

  • Type: String

Optional

liveStatusCheck
  • Description: Displays the current status of exported and imported applications.
  • Type: Boolean
    • true = Displays the current status of the job from the CCO.
    • false = (Default) Displays the current status of the job from the database.

Optional

Response Attributes

resource
  • Description: Unique URL to access this resource.
  • Type: String

jobImportRequests

 Click here to expand...

jobImportRequests
  • Description: Identifies the details for an import request.
    Type: Sequence of import attributes

    id
    • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

    • Type: String
    resource
    • Description: Unique URL to access this resource.
    • Type: String
    perms (click for additional context)
    password
    • Description: Password for the user's account. Effective Cloud Center 4.6.1, the CloudCenter platform enforces a minimum password length of 5 characters for all settings.
    • Type: String
    depEnvId
    • DescriptionUnique, system-generated identifier for the deployment environment. See Deployment Environments for additional details. This attribute is the same as the environmentId attribute.
    • Type: String
    specifications (click for additional details)
    childJobPortSpecs (click for additional details)
    createDate
    • DescriptionIndicates when the account was created for this trial user
    • Type: Long
    status
    • Description: Status of the job/deployment. See Deployment and VM States for additional context.
    • Type: Enumeration

      EnumerationDescription
      allAll jobs or deployments in this CloudCenter instance.
      runningRunning (successful) jobs or deployments in this CloudCenter instance.
      activeActive (any live state, in addition to the running state) jobs or deployments in this CloudCenter instance.
    workflowInstance (click for additional details)
    repositoryId
    • Description: Unique, system-generated identifier for the repository.  See Artifact Repository and Share Artifact Repositories for additional context. This ID refers to the location where the exported CloudCenter ZIP file is stored.
    • Type: String
    cloudAccountId
    • Description: Unique, system-generated identifier for the cloudAccount
    • Type: String
    pathValue
    • Description: The username credentials expected by the CloudCenter platform when you export applications. Provide a valid path on the repository. If the folder does not exist in this path, CloudCenter attempts to create the folder provided you have the appropriate permissions for this repository. This field does not accept email addresses.
    • Type: String
    artifactRepositoryId
    • Description: Unique, system-generated identifier for the artifact repository. See Artifact Repository and Share Artifact Repositories for additional context. It is the location where the imported artifacts are stored and the imported CloudCenter resources such as application profiles and services point to this repository.
    • Type: String
    artifactPathValue
    • Description: The username credential expected by the CloudCenter platform for the artifact location when you export/import applications. If this value is an email address, provide the email as shown in the request and response examples.
    • Type: String
    cloudType
    • Description: The type of associated cloud
    • Type: String
    appName
    • Description: The name of the application in use.
    • Type: String
    appVersion
    • Description: The application build version with which a new job is started. If the appVersion is not specified, the latest application build version is used.

    • Type: String
    exportedServiceName  
    • Description:  The name of the CloudCenter service that was exported from another CloudCenter instance.

    • Type: String
    tierName    
    • Description:  The name of the tier that was exported in the application profile 
    • Type: String
    mappedServiceName  
    • Description: A mapped service name can be one of two options:

      • The name of the service to which an exported service is mapped or

      • The name of a new service if importService = true

    • Type: String
     exportedImageName   
    • Description: The name of the image that was exported using the Export Application feature.

    • Type: String
     exportedImageId   
    • Description: Unique, system-generated identifier for the image that is contained in the exported ZIP file. This ID may be null if the base image was not exported

    • Type: String
     importService 
    • Description: Identifies if this exported service must be imported.
    • Type: Boolean
      • true = This exported service must be imported.
      • false = (Default) This exported service must not be imported.
    exportedImageMappings (click for additional context)
     importedAppId   
    • Description: Unique, system-generated identifier for the application that was imported.

    • Type: String

© 2017 Cisco Systems