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

Publish Deployment Profiles

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

The Application Deployer can access this API.

HTTP Method

POST

URI Syntax

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

Example URI syntax:

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

Request

{
   "name":"DUKE'S BANK DP vCAC - IT",
   "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.",
   "itemId":"325",
   "itemType":"DEPLOYMENT_PROFILE"
}

Response

{
   "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"
   }
}

Get Published Deployment Profile Details

Verifies that the status of the deployment profile indicates Published in the VMware vRealize Automation 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.

HTTP Method

GET

URI Syntax

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

Response

{
   "errors":false,
   "messageList":[
   ],
   "result":{
      "id":"appd-dp-325",
      "name":"ac",
      "description":"ac-desc",
      "status":"RETIRED",
      "type":"DEPLOYMENT_PROFILE",
      "catalogItemTypeId":null,
      "subtenantId":null
   }
}

Unpublish Deployment Profiles

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

The Application Deployer can access this API.

HTTP Method

POST

URI Syntax

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

Request

{
   "name":"DUKE'S BANK DP vCAC - IT",
   "description":"to ITests-vCAC-cam-appdvcac DE on cam-appdvcac CP.",
   "itemId":"325",
   "itemType":"DEPLOYMENT_PROFILE"
}

Response

{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Successfully unpublished catalog item from vCAC.",
         "messageKey":"csp.catalogitem.unpublish.success.msg",
         "property":null
      }
   ]
}