You can publish and unpublish deployment profiles of an application to the VMware vCloud Automation Center service catalog.

Publishes a deployment profile of an application to the VMware vCloud Automation Center service catalog.

The Application Deployer can access this API.

POST

https://ApplicationServicesServerIP:8443/darwin/api/2.0/vcac-catalog-publish

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/vcac-catalog-publish
{
   "name":"DUKE'S BANK DP vCAC - IT",
   "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.",
   "itemId":"325",
   "itemType":"DEPLOYMENT_PROFILE"
}
{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Successfully published deployment profile 'ac' to vCAC.",
         "messageKey":"csp.catalogitem.deployment_profile.publish.success.msg",
         "property":null
      }
   ],
   "result":{
      "id":"appd-dp-325",
      "name":"DUKE'S BANK DP vCAC - IT",
      "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.\n[Published: Wed Sep 11 12:48:46 PDT 2013]",
      "status":"PUBLISHED",
      "type":"DEPLOYMENT_PROFILE",
      "catalogItemTypeId":"test.appd.csp.DEPLOYMENT_PROFILE",
      "subtenantId":"2ee360e1-762e-4df9-8775-c26e3cf281d4"
   }
}

Verifies that the status of the deployment profile indicates Published in the VMware vCloud Automation Center service catalog based on the deployment profile ID. If the deployment profile is not published, the status indicates Not Published.

The Application Deployer can access this API.

GET

https://ApplicationServicesServerIP:8443/darwin/api/2.0/vcac-catalog-item-status/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/vcac-catalog-item-status/325
{
   "errors":false,
   "messageList":[
   ],
   "result":{
      "id":"appd-dp-325",
      "name":"ac",
      "description":"ac-desc",
      "status":"RETIRED",
      "type":"DEPLOYMENT_PROFILE",
      "catalogItemTypeId":null,
      "subtenantId":null
   }
}

Removes a published deployment profile of an application from the VMware vCloud Automation Center service catalog.

The Application Deployer can access this API.

POST

https://ApplicationServicesServerIP:8443/darwin/api/2.0/vcac-catalog-unpublish

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/vcac-catalog-unpublish
{
   "name":"DUKE'S BANK DP vCAC - IT",
   "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.",
   "itemId":"325",
   "itemType":"DEPLOYMENT_PROFILE"
}
{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Successfully unpublished catalog item from vCAC.",
         "messageKey":"csp.catalogitem.unpublish.success.msg",
         "property":null
      }
   ]
}