You can view deployment profile for an application version. You can also use the APIs to create and delete a deployment profile.

Deployment Profiles for Application Version

Retrieves the deployment profile for an application version based on the provided identification.

All of the Application Services roles can access this API.

HTTP Method

GET

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/application-version/ApplicationVersionID/deployment-profile

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/application-version/513/deployment-profile

Response

{
  "errors": false,
  "messageList": [],
  "count": 1,
  "results": [
    {
      "id": "311",
      "lockVersion": 1,
      "name": "SPRING TRAVEL DP - IT",
      "description": "IT Profile Content for Spring Travel App",
      "lastUpdated": 1322020758327,
      "lastUpdateUser": "SYSTEM",
      "created": 1322020758327,
      "createUser": "SYSTEM",
      "profileNodes": [
        {
          "id": "20",
          "lockVersion": 1,
          "node": {
            "id": "16",
            "lockVersion": 1,
            "name": "SpringTravel",
            "description": "Spring Travel app node",
            "cluster": false,
            "clusterSize": 1,
            "memoryMb": 2048,
            "vcpuCount": 1,
            "hostname": "",
            "logicalTemplateVersionRef": {
              "uri": "/darwin/api/2.0/logical-template-version/324",
              "id": "324",
              "name": "CentOS63 32bit v1.0.0"
            },
            "osVersionRef": {
              "uri": "/darwin/api/2.0/operating-system-version/115",
              "id": "115",
              "name": "CentOS32 v6.3.0"
            },
            "serviceNodeComponents": [],
            "applicationNodeComponents": [],
            "disks": [
														{
	            "description": "disk to store archive data",
	            "id": "23",
	            "lockVersion": 2,
	            "name": "archives",
	            "properties": [
	                {
	                    "overrideable": true,
	                    "propertyDefinition": {
	                        "description": null,
	                        "id": "173683",
	                        "key": "ProvisionMode",
	                        "lockVersion": 0,
	                        "name": "ProvisionMode",
	                        "required": true,
	                        "secure": false,
	                        "type": "STRING"
	                    },
	                    "value": "THICK"
	                },
	                {
	                    "overrideable": true,
	                    "propertyDefinition": {
	                        "description": null,
	                        "id": "173684",
	                        "key": "DiskSize",
	                        "lockVersion": 0,
	                        "name": "DiskSize",
	                        "required": true,
	                        "secure": false,
	                        "type": "STRING"
	                    },
	                    "value": "100"
	                },
	                {
	                    "overrideable": true,
	                    "propertyDefinition": {
	                        "description": null,
	                        "id": "173685",
	                        "key": "FileSystem",
	                        "lockVersion": 0,
	                        "name": "FileSystem",
	                        "required": true,
	                        "secure": false,
	                        "type": "STRING"
	                    },
	                    "value": ""
	                },
	                {
	                    "overrideable": true,
	                    "propertyDefinition": {
	                        "description": null,
	                        "id": "173686",
	                        "key": "MountPoint",
	                        "lockVersion": 0,
	                        "name": "MountPoint",
	                        "required": true,
	                        "secure": false,
	                        "type": "STRING"
	                    },
	                    "value": "/database/archives"
	                }
	            ],
	            "tags": [
	                {
	                    "createUser": "SYSTEM",
	                    "created": 1385434700027,
	                    "description": "Disk to store archive files.",
	                    "id": "49",
	                    "lastUpdateUser": "SYSTEM",
	                    "lastUpdated": 1385434700027,
	                    "lockVersion": 1,
	                    "name": "Archive",
	                    "type": "Disk Type"
	                }
	            ]
	        }
					],
            "nics": [
              {
                "id": "8",
                "lockVersion": 1,
                "name": "NIC0",
                "description": null,
                "networkName": "ServiceNetwork"
              },
              {
                "id": "14",
                "lockVersion": 1,
                "name": "NIC1",
                "description": null,
                "networkName": "MgmtNetwork"
              }
            ]
          },
          "physicalTemplateRef": {
            "uri": "/darwin/api/2.0/registered-physical-template/49",
            "id": "49",
            "name": "C63x32_v10"
          },
          "profileDisks": [
																		{
										"cloudStorageExtref": {
											"id": "vcac://sp/964185d6-3f40-44e0-9743-be5eed5528e1",
											"name": "gold"
									},
									"id": "22",
									"lockVersion": 1,
									"nodeDisk": {
										"description": "disk to store archive data",
										"id": "23",
										"lockVersion": 2,
										"name": "archives",
										"properties": [
											{
												"overrideable": true,
												"propertyDefinition": {
													"description": null,
													"id": "173683",
													"key": "ProvisionMode",
													"lockVersion": 0,
													"name": "ProvisionMode",
													"required": true,
													"secure": false,
													"type": "STRING"
												},
												"value": "THICK"
											},
											{
												"overrideable": true,
												"propertyDefinition": {
													"description": null,
													"id": "173684",
													"key": "DiskSize",
													"lockVersion": 0,
													"name": "DiskSize",
													"required": true,
													"secure": false,
													"type": "STRING"
												},
												"value": "100"
											},
											{
												"overrideable": true,
												"propertyDefinition": {
													"description": null,
													"id": "173685",
													"key": "FileSystem",
													"lockVersion": 0,
													"name": "FileSystem",
													"required": true,
													"secure": false,
													"type": "STRING"
												},
												"value": ""
											},
											{
												"overrideable": true,
												"propertyDefinition": {
													"description": null,
													"id": "173686",
													"key": "MountPoint",
													"lockVersion": 0,
													"name": "MountPoint",
													"required": true,
													"secure": false,
													"type": "STRING"
												},
												"value": "/database/archives"
											}
									],
									"tags": 	[
											{
												"createUser": "SYSTEM",
												"created": 1385434700027,
												"description": "Disk to store archive files.",
												"id": "49",
												"lastUpdateUser": "SYSTEM",
												"lastUpdated": 1385434700027,
												"lockVersion": 1,
												"name": "Archive",
												"type": "Disk Type"
											}
									]
							},
							"properties": [
								{
									"overrideable": true,
									"propertyDefinition": {
										"description": null,
										"id": "173683",
										"key": "ProvisionMode",
										"lockVersion": 0,
										"name": "ProvisionMode",
										"required": true,
										"secure": false,
										"type": "STRING"
								},
								"value": "THICK"
							},
							{
									"overrideable": true,
									"propertyDefinition": {
										"description": null,
										"id": "173684",
										"key": "DiskSize",
										"lockVersion": 0,
										"name": "DiskSize",
										"required": true,
										"secure": false,
										"type": "STRING"
								},
								"value": "80"
							},
							{
									"overrideable": true,
									"propertyDefinition": {
										"description": null,
										"id": "173685",
										"key": "FileSystem",
										"lockVersion": 0,
										"name": "FileSystem",
										"required": true,
										"secure": false,
										"type": "STRING"
								},
								"value": ""
							},
							{
									"overrideable": true,
									"propertyDefinition": {
										"description": null,
										"id": "173686",
										"key": "MountPoint",
										"lockVersion": 0,
										"name": "MountPoint",
										"required": true,
										"secure": false,
										"type": "STRING"
								},
								"value": "/database/archives"
							}
						]
					}
],			
          "properties": [
            {
              "propertyDefinition": {
                "id": "521",
                "lockVersion": 0,
                "name": "vCPU",
                "description": null,
                "key": "vCPU",
                "type": "STRING",
                "secure": false,
                "required": true
              },
              "value": "1",
              "overrideable": true
            }
[…]
          ]
        }
      ],
      "profileNodeComponents": [
        {
          "id": "33",
          "lockVersion": 1,
          "name": null,
          "description": null,
          "nodeComponent": {
            "id": "9820",
            "lockVersion": 0,
            "name": "SpringTravelApp",
            "description": null,
            "nodeComponentDetailsRef": {
              "uri": "/darwin/api/2.0/node-component-details/9820",
              "id": "9820",
              "name": "SpringTravelApp"
            }
          },
          "properties": [
            {
              "propertyDefinition": {
                "id": "152",
                "lockVersion": 0,
                "name": null,
                "description": null,
                "key": "war_file",
                "type": "CONTENT",
                "secure": false,
                "required": true
              },
              "value": "https://nexus.springsource.com/service/local/repositories/darwin-artifact-binary/content/com/vmware/darwin/app/swf-booking-mvc/1.0/swf-booking-mvc-1.0.war",
              "overrideable": true
            }
[…]
          ],
          "scripts": []
        },
        {
          "id": "34",
          "lockVersion": 1,
          "name": null,
          "description": null,
          "nodeComponent": {
            "id": "9801",
            "lockVersion": 0,
            "name": "tcServer",
            "description": null,
            "nodeComponentDetailsRef": {
              "uri": "/darwin/api/2.0/node-component-details/9801",
              "id": "9801",
              "name": "tcServer"
            },
            "serviceRef": {
              "uri": null,
              "id": null,
              "name": null
            },
            "preinstalled": false,
            "applicationNodeComponents": []
          },
          "properties": [
            {
              "propertyDefinition": {
                "id": "905",
                "lockVersion": 0,
                "name": null,
                "description": null,
                "key": "global_conf",
                "type": "CONTENT",
                "secure": false,
                "required": true
              },
              "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
              "overrideable": true
            }
[…]
          ],
          "scripts": []
        }
      ],
      "applicationVersionRef": {
        "uri": "/darwin/api/2.0/application-version/513",
        "id": "513",
        "name": "Spring Travel v1.0.0"
      },
      "deploymentProfileNetworkMappings": [
        {
          "id": "5",
          "lockVersion": 1,
          "networkName": "ServiceNetwork",
          "cloudNetworkExtref": {
            "id": "https://10.64.62.75/api/admin/network/c6c751df-4a78-4f18-bbef-82bb8e30372e",
            "name": "itest-PAYG-T2-direct"
          },
          "nodeNames": [
            "SpringTravel"
          ]
        },
        {
          "id": "6",
          "lockVersion": 1,
          "networkName": "MgmtNetwork",
          "cloudNetworkExtref": {
            "id": "https://10.64.62.75/api/admin/network/c6c751df-4a78-4f18-bbef-82bb8e30372e",
            "name": "itest-PAYG-T2-direct"
          },
          "nodeNames": [
            "SpringTravel"
          ]
        }
      ],
      "deploymentEnvironmentRef": {
        "uri": "/darwin/api/2.0/deployment-environment/10",
        "id": "10",
        "name": "itest-PAYG-T2"
      }
    }
  ]
}

Create Deployment Profile

Creates a deployment profile. You must specify the property values to override.

Note:

The URI should not contain a deployment profile identification. Remove the identification or set it as 0.

The application publisher and developer or system administrator can access this API.

HTTP Method

POST

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment-profile

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment-profile

Request

    {
      "id": "",
      "lockVersion": 1,
      "name": "SPRING TRAVEL DP2",
      "description": "IT Profile Content for Spring Travel App",
      "lastUpdated": 1322020758327,
      "lastUpdateUser": "SYSTEM",
      "created": 1322020758327,
      "createUser": "SYSTEM",
      "profileNodes": [
        {
          "id": "20",
          "lockVersion": 1,
          "node": {
            "id": "16",
            "lockVersion": 1,
            "name": "SpringTravel",
            "description": "Spring Travel app node",
            "cluster": false,
            "clusterSize": 1,
            "memoryMb": 2048,
            "vcpuCount": 1,
            "hostname": "",
            "logicalTemplateVersionRef": {
              "uri": "/darwin/api/2.0/logical-template-version/324",
              "id": "324",
              "name": "CentOS63 32bit v1.0.0"
            },
            "osVersionRef": {
              "uri": "/darwin/api/2.0/operating-system-version/115",
              "id": "115",
              "name": "CentOS32 v6.3.0"
            },
            "serviceNodeComponents": [],
            "applicationNodeComponents": [],
            "disks": [],
            "nics": [
              {
                "id": "8",
                "lockVersion": 1,
                "name": "NIC0",
                "description": null,
                "networkName": "ServiceNetwork"
              },
              {
                "id": "14",
                "lockVersion": 1,
                "name": "NIC1",
                "description": null,
                "networkName": "MgmtNetwork"
              }
            ]
          },
          "physicalTemplateRef": {
            "uri": "/darwin/api/2.0/registered-physical-template/51",
            "id": "51",
            "name": "C63x32_OneMirror_v10"
          },
          "profileDisks": [],
          "properties": [
            {
              "propertyDefinition": {
                "id": "521",
                "lockVersion": 0,
                "name": "vCPU",
                "description": null,
                "key": "vCPU",
                "type": "STRING",
                "secure": false,
                "required": true
              },
              "value": "1",
              "overrideable": true
            }
          ]
        }
      ],
      "profileNodeComponents": [
        {
          "id": "33",
          "lockVersion": 1,
          "name": null,
          "description": null,
          "nodeComponent": {
            "id": "9820",
            "lockVersion": 0,
            "name": "SpringTravelApp",
            "description": null,
            "nodeComponentDetailsRef": {
              "uri": "/darwin/api/2.0/node-component-details/9820",
              "id": "9820",
              "name": "SpringTravelApp"
            }
          },
          "properties": [
            {
              "propertyDefinition": {
                "id": "152",
                "lockVersion": 0,
                "name": null,
                "description": null,
                "key": "war_file",
                "type": "CONTENT",
                "secure": false,
                "required": true
              },
              "value": "https://nexus.springsource.com/service/local/repositories/darwin-artifact-binary/content/com/vmware/darwin/app/swf-booking-mvc/1.0/swf-booking-mvc-1.0.war",
              "overrideable": true
            }
          ],
          "scripts": []
        },
        {
          "id": "34",
          "lockVersion": 1,
          "name": null,
          "description": null,
          "nodeComponent": {
            "id": "9801",
            "lockVersion": 0,
            "name": "tcServer",
            "description": null,
            "nodeComponentDetailsRef": {
              "uri": "/darwin/api/2.0/node-component-details/9801",
              "id": "9801",
              "name": "tcServer"
            },
            "serviceRef": {
              "uri": null,
              "id": null,
              "name": null
            },
            "preinstalled": false,
            "applicationNodeComponents": []
          },
          "properties": [
            {
              "propertyDefinition": {
                "id": "905",
                "lockVersion": 0,
                "name": null,
                "description": null,
                "key": "global_conf",
                "type": "CONTENT",
                "secure": false,
                "required": true
              },
              "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
              "overrideable": true
            }
          ],
          "scripts": []
        }
      ],
      "applicationVersionRef": {
        "uri": "/darwin/api/2.0/application-version/513",
        "id": "513",
        "name": "Spring Travel v1.0.0"
      },
      "deploymentProfileNetworkMappings": [
        {
          "id": "5",
          "lockVersion": 1,
          "networkName": "ServiceNetwork",
          "cloudNetworkExtref": {
            "id": "https://vcloud.eng.vmware.com/api/network/b95fc04d-99cc-4b9d-965c-80e9915abdba",
            "name": "ExternalNetwork-IPPOOL"
          },
          "nodeNames": [
            "SpringTravel"
          ]
        },
        {
          "id": "6",
          "lockVersion": 1,
          "networkName": "MgmtNetwork",
          "cloudNetworkExtref": {
            "id": "https://vcloud.eng.vmware.com/api/network/5d69948b-1360-455f-888e-05bf48f8db26",
            "name": "appit-red.orgnet.org"
          },
          "nodeNames": [
            "SpringTravel"
          ]
        }
      ],
      "deploymentEnvironmentRef": {
        "uri": "/darwin/api/2.0/deployment-environment/5",
        "id": "5",
        "name": "itest-PAYG"
      }
    }

Response

{
  "errors": false,
  "messageList": [
    {
      "messageType": "INFO",
      "message": "Deployment Profile saved successfully.",
      "messageKey": "deployment.profile.save.msg",
      "property": null
    }
  ],
  "result": {
    "id": "1001",
    "lockVersion": 2,
    "name": "SPRING TRAVEL DP2",
    "description": "IT Profile Content for Spring Travel App",
    "lastUpdated": 1383599165170,
    "lastUpdateUser": "admin",
    "created": 1383599165129,
    "createUser": "admin",
    "profileNodes": [
      {
        "id": "1001",
        "lockVersion": 2,
        "node": {
          "id": "16",
          "lockVersion": 1,
          "name": "SpringTravel",
          "description": "Spring Travel app node",
          "cluster": false,
          "clusterSize": 1,
          "memoryMb": 2048,
          "vcpuCount": 1,
          "hostname": "",
          "logicalTemplateVersionRef": {
            "uri": "/darwin/api/2.0/logical-template-version/324",
            "id": "324",
            "name": "CentOS63 32bit v1.0.0"
          },
          "osVersionRef": {
            "uri": "/darwin/api/2.0/operating-system-version/115",
            "id": "115",
            "name": "CentOS32 v6.3.0"
          },
          "serviceNodeComponents": [],
          "applicationNodeComponents": [],
          "disks": [],
          "nics": [
            {
              "id": "8",
              "lockVersion": 1,
              "name": "NIC0",
              "description": null,
              "networkName": "ServiceNetwork"
            },
            {
              "id": "14",
              "lockVersion": 1,
              "name": "NIC1",
              "description": null,
              "networkName": "MgmtNetwork"
            }
          ]
        },
        "physicalTemplateRef": {
          "uri": "/darwin/api/2.0/registered-physical-template/51",
          "id": "51",
          "name": "C63x32_OneMirror_v10"
        },
        "profileDisks": [],
        "properties": [
          {
            "propertyDefinition": {
              "id": "521",
              "lockVersion": 0,
              "name": "vCPU",
              "description": null,
              "key": "vCPU",
              "type": "STRING",
              "secure": false,
              "required": true
            },
            "value": "1",
            "overrideable": true
          },
          {
            "propertyDefinition": {
              "id": "524",
              "lockVersion": 0,
              "name": "Hostname",
              "description": null,
              "key": "Hostname",
              "type": "STRING",
              "secure": false,
              "required": false
            },
            "value": "",
            "overrideable": true
          }
        ]
      }
    ],
    "profileNodeComponents": [
      {
        "id": "1001",
        "lockVersion": 2,
        "name": null,
        "description": null,
        "nodeComponent": {
          "id": "9820",
          "lockVersion": 0,
          "name": "SpringTravelApp",
          "description": null,
          "nodeComponentDetailsRef": {
            "uri": "/darwin/api/2.0/node-component-details/9820",
            "id": "9820",
            "name": "SpringTravelApp"
          }
        },
        "properties": [
          {
            "propertyDefinition": {
              "id": "152",
              "lockVersion": 0,
              "name": null,
              "description": null,
              "key": "war_file",
              "type": "CONTENT",
              "secure": false,
              "required": true
            },
            "value": "https://nexus.springsource.com/service/local/repositories/darwin-artifact-binary/content/com/vmware/darwin/app/swf-booking-mvc/1.0/swf-booking-mvc-1.0.war",
            "overrideable": true
          },
          {
            "propertyDefinition": {
              "id": "153",
              "lockVersion": 0,
              "name": null,
              "description": null,
              "key": "webapps_dir",
              "type": "STRING",
              "secure": false,
              "required": true
            },
            "value": "${['self']['tcServer']['webapps_dir']}",
            "overrideable": false
          }
       ],
        "scripts": []
      },
      {
        "id": "1002",
        "lockVersion": 2,
        "name": null,
        "description": null,
        "nodeComponent": {
          "id": "9801",
          "lockVersion": 0,
          "name": "tcServer",
          "description": null,
          "nodeComponentDetailsRef": {
            "uri": "/darwin/api/2.0/node-component-details/9801",
            "id": "9801",
            "name": "tcServer"
          },
          "serviceRef": {
            "uri": null,
            "id": null,
            "name": null
          },
          "preinstalled": false,
          "applicationNodeComponents": []
        },
        "properties": [
          {
            "propertyDefinition": {
              "id": "905",
              "lockVersion": 0,
              "name": null,
              "description": null,
              "key": "global_conf",
              "type": "CONTENT",
              "secure": false,
              "required": true
            },
            "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
            "overrideable": true
          }
      ],
    "applicationVersionRef": {
      "uri": "/darwin/api/2.0/application-version/513",
      "id": "513",
      "name": "Spring Travel v1.0.0"
    },
    "deploymentProfileNetworkMappings": [
      {
        "id": "1001",
        "lockVersion": 1,
        "networkName": "ServiceNetwork",
        "cloudNetworkExtref": {
          "id": "https://darwin-vcloud-cell.eng.vmware.com/api/network/b95fc04d-99cc-4b9d-965c-80e9915abdba",
          "name": "ExternalNetwork-IPPOOL"
        },
        "nodeNames": [
          "SpringTravel"
        ]
      },
      {
        "id": "1002",
        "lockVersion": 1,
        "networkName": "MgmtNetwork",
        "cloudNetworkExtref": {
          "id": "https://darwin-vcloud-cell.eng.vmware.com/api/network/5d69948b-1360-455f-888e-05bf48f8db26",
          "name": "appit-red.orgnet.org"
        },
        "nodeNames": [
          "SpringTravel"
        ]
      }
    ],
    "deploymentEnvironmentRef": {
      "uri": "/darwin/api/2.0/deployment-environment/5",
      "id": "5",
      "name": "itest-PAYG"
    }
  }
}

Update Deployment Profile

Updates the existing deployment profile.

The application publisher and developer or system administrator can access this API.

HTTP Method

POST

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment-profile/DeploymentProfileID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment-profile/454

Request

{
    "lockVersion": 1,
    "name": "Deployment Profile for CDB",   
    "profileNodes": [
        {
            "id": "1314",
            "lockVersion": 1,
            "node": {
                "id": "2",
                "lockVersion": 7,
                "name": "database",
                "description": "DB TIER NODE",
                "cluster": false,
                "clusterSize": 1,
                "memoryMb": 512,
                "vcpuCount": 1,
                "hostname": "",
                "logicalTemplateVersionRef": {
                    "uri": "/darwin/api/2.0/logical-template-version/324",
                    "id": "324",
                    "name": "CentOS63 32bit v1.0.0"
                },
                "osVersionRef": {
                    "uri": "/darwin/api/2.0/operating-system-version/115",
                    "id": "115",
                    "name": "CentOS32 v6.3.0"
                },
                "serviceNodeComponents": [],
                "applicationNodeComponents": [],
                "disks": [],
                "nics": [
                    {
                        "id": "1",
                        "lockVersion": 7,
                        "name": "NIC0",
                        "description": null,
                        "networkName": "ServiceNetwork"
                    }
                ]
            },
            "physicalTemplateRef": {
                "uri": "/darwin/api/2.0/registered-physical-template/1",
                "id": "1",
                "name": "centos63x32"
            },
            "profileDisks": [],
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "501",
                        "lockVersion": 0,
                        "name": "vCPU",
                        "description": null,
                        "key": "vCPU",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "1",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "502",
                        "lockVersion": 0,
                        "name": "Memory(MB)",
                        "description": null,
                        "key": "Memory(MB)",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "512",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "503",
                        "lockVersion": 0,
                        "name": "ClusterSize",
                        "description": null,
                        "key": "ClusterSize",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "1",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "570",
                        "lockVersion": 0,
                        "name": "Hostname",
                        "description": null,
                        "key": "Hostname",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": true
                }
            ]
        },
        {
            "id": "1315",
            "lockVersion": 1,
            "node": {
                "id": "3",
                "lockVersion": 7,
                "name": "appserver",
                "description": "APP SERVER TIER NODE",
                "cluster": true,
                "clusterSize": 1,
                "memoryMb": 2048,
                "vcpuCount": 1,
                "hostname": "",
                "logicalTemplateVersionRef": {
                    "uri": "/darwin/api/2.0/logical-template-version/324",
                    "id": "324",
                    "name": "CentOS63 32bit v1.0.0"
                },
                "osVersionRef": {
                    "uri": "/darwin/api/2.0/operating-system-version/115",
                    "id": "115",
                    "name": "CentOS32 v6.3.0"
                },
                "serviceNodeComponents": [],
                "applicationNodeComponents": [],
                "disks": [],
                "nics": [
                    {
                        "id": "2",
                        "lockVersion": 7,
                        "name": "NIC0",
                        "description": null,
                        "networkName": "ServiceNetwork"
                    }
                ]
            },
            "physicalTemplateRef": {
                "uri": "/darwin/api/2.0/registered-physical-template/1",
                "id": "1",
                "name": "centos63x32"
            },
            "profileDisks": [],
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "504",
                        "lockVersion": 0,
                        "name": "vCPU",
                        "description": null,
                        "key": "vCPU",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "2",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "505",
                        "lockVersion": 0,
                        "name": "Memory(MB)",
                        "description": null,
                        "key": "Memory(MB)",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "2048",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "506",
                        "lockVersion": 0,
                        "name": "ClusterSize",
                        "description": null,
                        "key": "ClusterSize",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "3",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "571",
                        "lockVersion": 0,
                        "name": "Hostname",
                        "description": null,
                        "key": "Hostname",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": true
                }
            ]
        },
        {
            "id": "1316",
            "lockVersion": 1,
            "node": {
                "id": "60102",
                "lockVersion": 4,
                "name": "load_balancer",
                "description": "WEB SERVER TIER NODE",
                "cluster": false,
                "clusterSize": 1,
                "memoryMb": 512,
                "vcpuCount": 1,
                "hostname": "",
                "logicalTemplateVersionRef": {
                    "uri": "/darwin/api/2.0/logical-template-version/324",
                    "id": "324",
                    "name": "CentOS63 32bit v1.0.0"
                },
                "osVersionRef": {
                    "uri": "/darwin/api/2.0/operating-system-version/115",
                    "id": "115",
                    "name": "CentOS32 v6.3.0"
                },
                "serviceNodeComponents": [],
                "applicationNodeComponents": [],
                "disks": [],
                "nics": [
                    {
                        "id": "60114",
                        "lockVersion": 1,
                        "name": "NIC1",
                        "description": null,
                        "networkName": "MgmtNetwork"
                    },
                    {
                        "id": "60108",
                        "lockVersion": 3,
                        "name": "NIC0",
                        "description": null,
                        "networkName": "ServiceNetwork"
                    }
                ]
            },
            "physicalTemplateRef": {
                "uri": "/darwin/api/2.0/registered-physical-template/1",
                "id": "1",
                "name": "centos63x32"
            },
            "profileDisks": [],
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "171446",
                        "lockVersion": 0,
                        "name": "Memory(MB)",
                        "description": null,
                        "key": "Memory(MB)",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "512",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "171447",
                        "lockVersion": 0,
                        "name": "vCPU",
                        "description": null,
                        "key": "vCPU",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "1",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "171448",
                        "lockVersion": 0,
                        "name": "ClusterSize",
                        "description": null,
                        "key": "ClusterSize",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "1",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "171449",
                        "lockVersion": 0,
                        "name": "Hostname",
                        "description": null,
                        "key": "Hostname",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": true
                }
            ]
        }
    ],
    "profileNodeComponents": [
        {
            "id": "3027",
            "lockVersion": 1,
            "name": null,
            "description": null,
            "nodeComponent": {
                "id": "1001",
                "lockVersion": 0,
                "name": "MySql",
                "description": null,
                "nodeComponentDetailsRef": {
                    "uri": "/darwin/api/2.0/node-component-details/1001",
                    "id": "1001",
                    "name": "MySql"
                },
                "serviceRef": {
                    "uri": null,
                    "id": null,
                    "name": null
                },
                "preinstalled": false,
                "applicationNodeComponents": []
            },
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "3",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "db_port",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "3306",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "288",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "max_allowed_packet",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "1024M",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "291",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "Install_Path",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "292",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "db_root_password",
                        "type": "STRING",
                        "secure": true,
                        "required": true
                    },
                    "value": "AqOj4V2w@whxuU!",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "298",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "db_root_username",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "root",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "900",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "global_conf",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "43010",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JAVA_HOME",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "/opt/vmware-jre",
                    "overrideable": true
                }
            ],
            "scripts": []
        },
        {
            "id": "3028",
            "lockVersion": 1,
            "name": null,
            "description": null,
            "nodeComponent": {
                "id": "2000",
                "lockVersion": 0,
                "name": "initialize_db_script",
                "description": null,
                "nodeComponentDetailsRef": {
                    "uri": "/darwin/api/2.0/node-component-details/2000",
                    "id": "2000",
                    "name": "initialize_db_script"
                }
            },
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "26",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "initialize_db_script",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/create_bank_db.sql",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "40",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "db_username",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "dukes_admin",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "41",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "db_password",
                        "type": "STRING",
                        "secure": true,
                        "required": true
                    },
                    "value": "ENC{umXy9VOJOFPbaIuUgFE3JA/snipG4YRCqsmlWwhC58cV+3IQEK5RYkLlXNJ2pDiS}CNE",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "290",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "init_db_password",
                        "type": "STRING",
                        "secure": true,
                        "required": true
                    },
                    "value": "${['database']['MySql']['db_root_password']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "296",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "init_db_username",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['database']['MySql']['db_root_username']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "299",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "sample_db",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "dukes_db",
                    "overrideable": true
                }
            ],
            "scripts": []
        },
        {
            "id": "3029",
            "lockVersion": 1,
            "name": null,
            "description": null,
            "nodeComponent": {
                "id": "1002",
                "lockVersion": 0,
                "name": "JBossAppServer",
                "description": null,
                "nodeComponentDetailsRef": {
                    "uri": "/darwin/api/2.0/node-component-details/1002",
                    "id": "1002",
                    "name": "JBossAppServer"
                },
                "serviceRef": {
                    "uri": null,
                    "id": null,
                    "name": null
                },
                "preinstalled": false,
                "applicationNodeComponents": []
            },
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "9",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "cheetah_install_script",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/cheetah_install.sh",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "10",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "jboss_install_script",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/install.sh",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "11",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_JMX_CONSOLE_USERS_TEMPLATE",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/jmx-console-users.properties.tmpl",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "14",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_NAME_AND_VERSION",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "jboss-5.1.0.GA",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "18",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_JMX_USER",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "admin",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "19",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "cheetah_tgz_url",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/cheetah-2.4.4.tar.gz",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "20",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "jboss_configure_script",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/configure.sh",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "22",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_JMX_PWD",
                        "type": "STRING",
                        "secure": true,
                        "required": true
                    },
                    "value": "AqOj4V2w@whxuU!",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "23",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "zip_url",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/jboss-5.1.0.GA.zip",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "24",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_INSTANCE_NAME",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "default",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "25",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "Install_Path",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "38",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_BOOTRC_TEMPLATE",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/boot.rc.tmpl",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "162",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JVM_ROUTE",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['self']['host']['node_array_index']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "901",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "global_conf",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "2265",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JBOSS_PORT_NUMBER",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "8080",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "31505",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JAVA_HOME",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "/opt/vmware-jre",
                    "overrideable": true
                }
            ],
            "scripts": []
        },
        {
            "id": "3030",
            "lockVersion": 1,
            "name": null,
            "description": null,
            "nodeComponent": {
                "id": "3000",
                "lockVersion": 0,
                "name": "Dukes_Bank_App",
                "description": null,
                "nodeComponentDetailsRef": {
                    "uri": "/darwin/api/2.0/node-component-details/3000",
                    "id": "3000",
                    "name": "Dukes_Bank_App"
                }
            },
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "4",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "jboss_deploy_datasource_script",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/deploy_datasource.sh",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "5",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "jboss_deploy_component_script",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/deploy_component.sh",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "6",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "db_port",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['database']['MySql']['db_port']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "7",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "db_host",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['database']['host']['ip']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "12",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "JBOSS_DATASOURCE_TEMPLATE",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/jboss-ds.xml.tmpl",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "13",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "db_password",
                        "type": "STRING",
                        "secure": true,
                        "required": true
                    },
                    "value": "${['database']['initialize_db_script']['db_password']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "16",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "db_user",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['database']['initialize_db_script']['db_username']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "17",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "EAR_FILE",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/dukesbank-2b.ear",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "21",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "JAR_FILE",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/mysql.jdbc-5.1.6.jar",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "31498",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "APPD_SCRIPT",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "https://${darwin.server.ip}:8443/darwin/conf/appd_functions.sh",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "31506",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "JAVA_HOME",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['self']['JBossAppServer']['JAVA_HOME']}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "111115",
                        "lockVersion": 0,
                        "name": "",
                        "description": null,
                        "key": "dukes_db",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "${['database']['initialize_db_script']['sample_db']}",
                    "overrideable": false
                }
            ],
            "scripts": []
        },
        {
            "id": "3031",
            "lockVersion": 1,
            "name": null,
            "description": null,
            "nodeComponent": {
                "id": "1003",
                "lockVersion": 0,
                "name": "Apache_LB",
                "description": null,
                "nodeComponentDetailsRef": {
                    "uri": "/darwin/api/2.0/node-component-details/1003",
                    "id": "1003",
                    "name": "Apache_LB"
                },
                "serviceRef": {
                    "uri": null,
                    "id": null,
                    "name": null
                },
                "preinstalled": false,
                "applicationNodeComponents": []
            },
            "properties": [
                {
                    "propertyDefinition": {
                        "id": "27",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "http_node_port",
                        "type": "ARRAY",
                        "secure": false,
                        "required": true
                    },
                    "value": "${#util.all(\"['appserver']['JBossAppServer']['JBOSS_PORT_NUMBER']\")}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "28",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "autogen_sticky_cookie",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "NO",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "29",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "http_proxy_port",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "8081",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "30",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "http_node_ips",
                        "type": "ARRAY",
                        "secure": false,
                        "required": true
                    },
                    "value": "${#util.all(\"['appserver']['host']['ip']\")}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "31",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "http_port",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "80",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "163",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "appsrv_routes",
                        "type": "ARRAY",
                        "secure": false,
                        "required": true
                    },
                    "value": "${#util.all(\"['appserver']['JBossAppServer']['JVM_ROUTE']\")}",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "700",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "service_restart",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": true
                    },
                    "value": "service httpd restart",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "701",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "service_start",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "service httpd start",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "702",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "service_stop",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "service httpd stop",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "703",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "tomcat_context",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "704",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "ajp_proxy_context",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "705",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "config_httpd_conf",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "/etc/httpd/conf/httpd.conf",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "706",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "config_conf_d",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "/etc/httpd/conf.d",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "707",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "config_static_site",
                        "type": "COMPUTED",
                        "secure": false,
                        "required": false
                    },
                    "value": "/var/www/html",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "708",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "use_ajp",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "NO",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "902",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "global_conf",
                        "type": "CONTENT",
                        "secure": false,
                        "required": true
                    },
                    "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
                    "overrideable": true
                },
                {
                    "propertyDefinition": {
                        "id": "1111",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "httpd_dir",
                        "type": "STRING",
                        "secure": false,
                        "required": false
                    },
                    "value": "/etc/httpd",
                    "overrideable": false
                },
                {
                    "propertyDefinition": {
                        "id": "43000",
                        "lockVersion": 0,
                        "name": null,
                        "description": null,
                        "key": "JAVA_HOME",
                        "type": "STRING",
                        "secure": false,
                        "required": true
                    },
                    "value": "/opt/vmware-jre",
                    "overrideable": true
                }
            ],
            "scripts": []
        }
    ],
    "applicationVersionRef": {
        "uri": "/darwin/api/2.0/application-version/501",
        "id": "501",
        "name": "Clustered Dukes Bank App v2.1.0"
    },
    "deploymentProfileNetworkMappings": [
        {
            "id": "485",
            "lockVersion": 0,
            "networkName": "MgmtNetwork",
            "cloudNetworkExtref": {
                "id": "network://vcac-default-network",
                "name": "VCAC-DEFAULT-NETWORK"
            },
            "nodeNames": [
                "load_balancer"
            ]
        },
        {
            "id": "486",
            "lockVersion": 0,
            "networkName": "ServiceNetwork",
            "cloudNetworkExtref": {
                "id": "network://vcac-default-network",
                "name": "VCAC-DEFAULT-NETWORK"
            },
            "nodeNames": [
                "database",
                "appserver",
                "load_balancer"
            ]
        }
    ],
    "deploymentEnvironmentRef": {
        "uri": "/darwin/api/2.0/deployment-environment/1",
        "id": "1",
        "name": "vCAC-6.0-DE"
    }
}

Response

{
    "errors": false,
    "messageList": [
        {
            "messageType": "INFO",
            "message": "Deployment Profile saved successfully.",
            "messageKey": "deployment.profile.save.msg",
            "property": null
        }
    ],
    "result": {
        "id": "454",
        "lockVersion": 2,
        "name": "Deployment Profile for CDB",
        "description": null,
        "lastUpdated": 1384408329994,
        "lastUpdateUser": "admin",
        "created": 1384407985790,
        "createUser": "admin",
        "profileNodes": [
            {
                "id": "1314",
                "lockVersion": 2,
                "node": {
                    "id": "2",
                    "lockVersion": 7,
                    "name": "database",
                    "description": "DB TIER NODE",
                    "cluster": false,
                    "clusterSize": 1,
                    "memoryMb": 512,
                    "vcpuCount": 1,
                    "hostname": "",
                    "logicalTemplateVersionRef": {
                        "uri": "/darwin/api/2.0/logical-template-version/324",
                        "id": "324",
                        "name": "CentOS63 32bit v1.0.0"
                    },
                    "osVersionRef": {
                        "uri": "/darwin/api/2.0/operating-system-version/115",
                        "id": "115",
                        "name": "CentOS32 v6.3.0"
                    },
                    "serviceNodeComponents": [],
                    "applicationNodeComponents": [],
                    "disks": [],
                    "nics": [
                        {
                            "id": "1",
                            "lockVersion": 7,
                            "name": "NIC0",
                            "description": null,
                            "networkName": "ServiceNetwork"
                        }
                    ]
                },
                "physicalTemplateRef": {
                    "uri": "/darwin/api/2.0/registered-physical-template/1",
                    "id": "1",
                    "name": "centos63x32"
                },
                "profileDisks": [],
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "501",
                            "lockVersion": 0,
                            "name": "vCPU",
                            "description": null,
                            "key": "vCPU",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "1",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "502",
                            "lockVersion": 0,
                            "name": "Memory(MB)",
                            "description": null,
                            "key": "Memory(MB)",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "512",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "503",
                            "lockVersion": 0,
                            "name": "ClusterSize",
                            "description": null,
                            "key": "ClusterSize",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "1",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "570",
                            "lockVersion": 0,
                            "name": "Hostname",
                            "description": null,
                            "key": "Hostname",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    }
                ]
            },
            {
                "id": "1315",
                "lockVersion": 2,
                "node": {
                    "id": "3",
                    "lockVersion": 7,
                    "name": "appserver",
                    "description": "APP SERVER TIER NODE",
                    "cluster": true,
                    "clusterSize": 1,
                    "memoryMb": 2048,
                    "vcpuCount": 1,
                    "hostname": "",
                    "logicalTemplateVersionRef": {
                        "uri": "/darwin/api/2.0/logical-template-version/324",
                        "id": "324",
                        "name": "CentOS63 32bit v1.0.0"
                    },
                    "osVersionRef": {
                        "uri": "/darwin/api/2.0/operating-system-version/115",
                        "id": "115",
                        "name": "CentOS32 v6.3.0"
                    },
                    "serviceNodeComponents": [],
                    "applicationNodeComponents": [],
                    "disks": [],
                    "nics": [
                        {
                            "id": "2",
                            "lockVersion": 7,
                            "name": "NIC0",
                            "description": null,
                            "networkName": "ServiceNetwork"
                        }
                    ]
                },
                "physicalTemplateRef": {
                    "uri": "/darwin/api/2.0/registered-physical-template/1",
                    "id": "1",
                    "name": "centos63x32"
                },
                "profileDisks": [],
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "504",
                            "lockVersion": 0,
                            "name": "vCPU",
                            "description": null,
                            "key": "vCPU",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "2",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "505",
                            "lockVersion": 0,
                            "name": "Memory(MB)",
                            "description": null,
                            "key": "Memory(MB)",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "2048",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "506",
                            "lockVersion": 0,
                            "name": "ClusterSize",
                            "description": null,
                            "key": "ClusterSize",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "3",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "571",
                            "lockVersion": 0,
                            "name": "Hostname",
                            "description": null,
                            "key": "Hostname",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    }
                ]
            },
            {
                "id": "1316",
                "lockVersion": 2,
                "node": {
                    "id": "60102",
                    "lockVersion": 4,
                    "name": "load_balancer",
                    "description": "WEB SERVER TIER NODE",
                    "cluster": false,
                    "clusterSize": 1,
                    "memoryMb": 512,
                    "vcpuCount": 1,
                    "hostname": "",
                    "logicalTemplateVersionRef": {
                        "uri": "/darwin/api/2.0/logical-template-version/324",
                        "id": "324",
                        "name": "CentOS63 32bit v1.0.0"
                    },
                    "osVersionRef": {
                        "uri": "/darwin/api/2.0/operating-system-version/115",
                        "id": "115",
                        "name": "CentOS32 v6.3.0"
                    },
                    "serviceNodeComponents": [],
                    "applicationNodeComponents": [],
                    "disks": [],
                    "nics": [
                        {
                            "id": "60114",
                            "lockVersion": 1,
                            "name": "NIC1",
                            "description": null,
                            "networkName": "MgmtNetwork"
                        },
                        {
                            "id": "60108",
                            "lockVersion": 3,
                            "name": "NIC0",
                            "description": null,
                            "networkName": "ServiceNetwork"
                        }
                    ]
                },
                "physicalTemplateRef": {
                    "uri": "/darwin/api/2.0/registered-physical-template/1",
                    "id": "1",
                    "name": "centos63x32"
                },
                "profileDisks": [],
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "171446",
                            "lockVersion": 0,
                            "name": "Memory(MB)",
                            "description": null,
                            "key": "Memory(MB)",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "512",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "171447",
                            "lockVersion": 0,
                            "name": "vCPU",
                            "description": null,
                            "key": "vCPU",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "1",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "171448",
                            "lockVersion": 0,
                            "name": "ClusterSize",
                            "description": null,
                            "key": "ClusterSize",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "1",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "171449",
                            "lockVersion": 0,
                            "name": "Hostname",
                            "description": null,
                            "key": "Hostname",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    }
                ]
            }
        ],
        "profileNodeComponents": [
            {
                "id": "3027",
                "lockVersion": 2,
                "name": null,
                "description": null,
                "nodeComponent": {
                    "id": "1001",
                    "lockVersion": 0,
                    "name": "MySql",
                    "description": null,
                    "nodeComponentDetailsRef": {
                        "uri": "/darwin/api/2.0/node-component-details/1001",
                        "id": "1001",
                        "name": "MySql"
                    },
                    "serviceRef": {
                        "uri": null,
                        "id": null,
                        "name": null
                    },
                    "preinstalled": false,
                    "applicationNodeComponents": []
                },
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "3",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "db_port",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "3306",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "288",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "max_allowed_packet",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "1024M",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "291",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "Install_Path",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "292",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "db_root_password",
                            "type": "STRING",
                            "secure": true,
                            "required": true
                        },
                        "value": "ENC{lBWAu1KTDtYbAeZbWuYqqlefanZeDrjGIwZbXYyC78rfubnHVYlYJlvLsqzaeeyp}CNE",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "298",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "db_root_username",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "root",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "900",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "global_conf",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "43010",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JAVA_HOME",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "/opt/vmware-jre",
                        "overrideable": false
                    }
                ],
                "scripts": []
            },
            {
                "id": "3028",
                "lockVersion": 2,
                "name": null,
                "description": null,
                "nodeComponent": {
                    "id": "2000",
                    "lockVersion": 0,
                    "name": "initialize_db_script",
                    "description": null,
                    "nodeComponentDetailsRef": {
                        "uri": "/darwin/api/2.0/node-component-details/2000",
                        "id": "2000",
                        "name": "initialize_db_script"
                    }
                },
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "26",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "initialize_db_script",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/create_bank_db.sql",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "40",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "db_username",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "dukes_admin",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "41",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "db_password",
                            "type": "STRING",
                            "secure": true,
                            "required": true
                        },
                        "value": "ENC{umXy9VOJOFPbaIuUgFE3JA/snipG4YRCqsmlWwhC58cV+3IQEK5RYkLlXNJ2pDiS}CNE",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "290",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "init_db_password",
                            "type": "STRING",
                            "secure": true,
                            "required": true
                        },
                        "value": "${['database']['MySql']['db_root_password']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "296",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "init_db_username",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['database']['MySql']['db_root_username']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "299",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "sample_db",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "dukes_db",
                        "overrideable": false
                    }
                ],
                "scripts": []
            },
            {
                "id": "3029",
                "lockVersion": 2,
                "name": null,
                "description": null,
                "nodeComponent": {
                    "id": "1002",
                    "lockVersion": 0,
                    "name": "JBossAppServer",
                    "description": null,
                    "nodeComponentDetailsRef": {
                        "uri": "/darwin/api/2.0/node-component-details/1002",
                        "id": "1002",
                        "name": "JBossAppServer"
                    },
                    "serviceRef": {
                        "uri": null,
                        "id": null,
                        "name": null
                    },
                    "preinstalled": false,
                    "applicationNodeComponents": []
                },
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "9",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "cheetah_install_script",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/cheetah_install.sh",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "10",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "jboss_install_script",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/install.sh",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "11",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_JMX_CONSOLE_USERS_TEMPLATE",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/jmx-console-users.properties.tmpl",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "14",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_NAME_AND_VERSION",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "jboss-5.1.0.GA",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "18",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_JMX_USER",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "admin",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "19",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "cheetah_tgz_url",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/cheetah-2.4.4.tar.gz",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "20",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "jboss_configure_script",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/configure.sh",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "22",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_JMX_PWD",
                            "type": "STRING",
                            "secure": true,
                            "required": true
                        },
                        "value": "ENC{dAVB2/F1LAf0iCi4563nizolub/vJhJ0Frpm1YoHyGSQBLIZ0Q3c6ZVM2Bm+wOS1}CNE",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "23",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "zip_url",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/jboss-5.1.0.GA.zip",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "24",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_INSTANCE_NAME",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "default",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "25",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "Install_Path",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "38",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_BOOTRC_TEMPLATE",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/services/jboss/boot.rc.tmpl",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "162",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JVM_ROUTE",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['self']['host']['node_array_index']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "901",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "global_conf",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "2265",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JBOSS_PORT_NUMBER",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "8080",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "31505",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JAVA_HOME",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "/opt/vmware-jre",
                        "overrideable": false
                    }
                ],
                "scripts": []
            },
            {
                "id": "3030",
                "lockVersion": 2,
                "name": null,
                "description": null,
                "nodeComponent": {
                    "id": "3000",
                    "lockVersion": 0,
                    "name": "Dukes_Bank_App",
                    "description": null,
                    "nodeComponentDetailsRef": {
                        "uri": "/darwin/api/2.0/node-component-details/3000",
                        "id": "3000",
                        "name": "Dukes_Bank_App"
                    }
                },
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "4",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "jboss_deploy_datasource_script",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/deploy_datasource.sh",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "5",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "jboss_deploy_component_script",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/deploy_component.sh",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "6",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "db_port",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['database']['MySql']['db_port']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "7",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "db_host",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['database']['host']['ip']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "12",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "JBOSS_DATASOURCE_TEMPLATE",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/jboss-ds.xml.tmpl",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "13",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "db_password",
                            "type": "STRING",
                            "secure": true,
                            "required": true
                        },
                        "value": "${['database']['initialize_db_script']['db_password']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "16",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "db_user",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['database']['initialize_db_script']['db_username']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "17",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "EAR_FILE",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/dukesbank-2b.ear",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "21",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "JAR_FILE",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "http://${darwin.content.server.ip}/artifacts/app-components/dukesbank/mysql.jdbc-5.1.6.jar",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "31498",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "APPD_SCRIPT",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "https://${darwin.server.ip}:8443/darwin/conf/appd_functions.sh",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "31506",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "JAVA_HOME",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['self']['JBossAppServer']['JAVA_HOME']}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "111115",
                            "lockVersion": 0,
                            "name": "",
                            "description": null,
                            "key": "dukes_db",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "${['database']['initialize_db_script']['sample_db']}",
                        "overrideable": false
                    }
                ],
                "scripts": []
            },
            {
                "id": "3031",
                "lockVersion": 2,
                "name": null,
                "description": null,
                "nodeComponent": {
                    "id": "1003",
                    "lockVersion": 0,
                    "name": "Apache_LB",
                    "description": null,
                    "nodeComponentDetailsRef": {
                        "uri": "/darwin/api/2.0/node-component-details/1003",
                        "id": "1003",
                        "name": "Apache_LB"
                    },
                    "serviceRef": {
                        "uri": null,
                        "id": null,
                        "name": null
                    },
                    "preinstalled": false,
                    "applicationNodeComponents": []
                },
                "properties": [
                    {
                        "propertyDefinition": {
                            "id": "27",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "http_node_port",
                            "type": "ARRAY",
                            "secure": false,
                            "required": true
                        },
                        "value": "${#util.all(\"['appserver']['JBossAppServer']['JBOSS_PORT_NUMBER']\")}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "28",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "autogen_sticky_cookie",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "NO",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "29",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "http_proxy_port",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "8081",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "30",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "http_node_ips",
                            "type": "ARRAY",
                            "secure": false,
                            "required": true
                        },
                        "value": "${#util.all(\"['appserver']['host']['ip']\")}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "31",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "http_port",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "80",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "163",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "appsrv_routes",
                            "type": "ARRAY",
                            "secure": false,
                            "required": true
                        },
                        "value": "${#util.all(\"['appserver']['JBossAppServer']['JVM_ROUTE']\")}",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "700",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "service_restart",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": true
                        },
                        "value": "service httpd restart",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "701",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "service_start",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "service httpd start",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "702",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "service_stop",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "service httpd stop",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "703",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "tomcat_context",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "704",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "ajp_proxy_context",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "705",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "config_httpd_conf",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "/etc/httpd/conf/httpd.conf",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "706",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "config_conf_d",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "/etc/httpd/conf.d",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "707",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "config_static_site",
                            "type": "COMPUTED",
                            "secure": false,
                            "required": false
                        },
                        "value": "/var/www/html",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "708",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "use_ajp",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "NO",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "902",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "global_conf",
                            "type": "CONTENT",
                            "secure": false,
                            "required": true
                        },
                        "value": "https://${darwin.server.ip}:8443/darwin/conf/darwin_global.conf",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "1111",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "httpd_dir",
                            "type": "STRING",
                            "secure": false,
                            "required": false
                        },
                        "value": "/etc/httpd",
                        "overrideable": false
                    },
                    {
                        "propertyDefinition": {
                            "id": "43000",
                            "lockVersion": 0,
                            "name": null,
                            "description": null,
                            "key": "JAVA_HOME",
                            "type": "STRING",
                            "secure": false,
                            "required": true
                        },
                        "value": "/opt/vmware-jre",
                        "overrideable": false
                    }
                ],
                "scripts": []
            }
        ],
        "applicationVersionRef": {
            "uri": "/darwin/api/2.0/application-version/501",
            "id": "501",
            "name": "Clustered Dukes Bank App v2.1.0"
        },
        "deploymentProfileNetworkMappings": [
            {
                "id": "485",
                "lockVersion": 1,
                "networkName": "MgmtNetwork",
                "cloudNetworkExtref": {
                    "id": "network://vcac-default-network",
                    "name": "VCAC-DEFAULT-NETWORK"
                },
                "nodeNames": [
                    "load_balancer"
                ]
            },
            {
                "id": "486",
                "lockVersion": 1,
                "networkName": "ServiceNetwork",
                "cloudNetworkExtref": {
                    "id": "network://vcac-default-network",
                    "name": "VCAC-DEFAULT-NETWORK"
                },
                "nodeNames": [
                    "database",
                    "appserver",
                    "load_balancer"
                ]
            }
        ],
        "deploymentEnvironmentRef": {
            "uri": "/darwin/api/2.0/deployment-environment/1",
            "id": "1",
            "name": "vCAC-6.0-DE"
        }
    }
}

Find Deployment Profile

Searches for a deployment profile.

HTTP Method

GET

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/application-version/AppVersionID/dp-search?profileName=dp-name

dp-name is the deployment profile name and AppVersionID is the application version ID.

Example URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/application-version/17272/dp-search?profileName=dpTest

Response

{
  "errors": false,
  "messageList": [],
  "count": 1,
  "results": [
    {
      "id": "165",
      "lockVersion": 2,
      "name": "dpTest",
      "description": null,
      "lastUpdated": 1408344456894,
      "lastUpdateUser": "username",
      "created": 1408344233563,
      "createUser": "username",
      "profileNodes": [
        {
          "id": "246",
          "lockVersion": 2,
          "node": {
            "id": "25",
            "lockVersion": 6,
            "name": "load_balancer",
[…]

Delete Deployment Profile

Removes the existing deployment profile.

The application publisher and developer or system administrator can access this API.

HTTP Method

DELETE

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment-profile/DeploymentProfileID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment-profile/1001

Response

{
  "errors": false,
  "messageList": [
    {
      "messageType": "INFO",
      "message": "Successfully deleted Deployment Profile.",
      "messageKey": "delete.msg",
      "property": null
    }
  ]
}