Starting with VCD 10.2 and App Launchpad 2.0.0.1, it is possible to deploy App Launchpad using MQTT for communication with VCD.
VCD 10.5 introduced a new feature called Content Hub as a replacement for App Launchpad. Service providers running VCD 10.5.x are encouraged to provide container/vm applications to tenants by integrating Content Hub with VMware MarketPlace and Helm repositories.
In this post, I will demonstrate how you can delete MQTT enabled App Launchpad extension from VCD.
Step 1: List Installed Extensions
1 2 3 4 5 6 7 |
Method: GET URL: https://{{vcd_host}}/cloudapi/extensions/api Authorization: Bearer (JWT Token) Headers: Accept: application/json;version=38.0 |
The GET call returns a json in response listing all installed extensions and its ID. From the extensions list filter the ID of the App Launchpad extension.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
----snipped output---- { "name":"AppLaunchpad", "id":"urn:vcloud:extension-api:VMware:AppLaunchpad:1.0.0", "version":"1.0.0", "vendor":"VMware", "priority":100, "enabled":true, "authorizationEnabled":false, "description":null, "mqttTopics":{ "monitor":"topic/extension/VMware/AppLaunchpad/1.0.0/ext", "respond":"topic/extension/VMware/AppLaunchpad/1.0.0/vcd" } } |
Step 3: Disable MQTT API Extension
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Method: PUT URL: https://{{vcd_host}}/cloudapi/extensions/api/urn:vcloud:extension-api:VMware:AppLaunchpad:1.0.0 Authorization: Bearer Token Headers: Accept: application/json;version=38.0, Content-Type: application/json Payload: { "name":"AppLaunchpad", "id":"urn:vcloud:extension-api:VMware:AppLaunchpad:1.0.0", "version":"1.0.0", "vendor":"VMware", "priority":100, "enabled":false, "authorizationEnabled":false } |
Step 4: Delete MQTT API Extension
1 2 3 4 5 6 7 |
Method: DELETE URL: https://{{vcd_host}}/cloudapi/extensions/api/urn:vcloud:extension-api:VMware:AppLaunchpad:1.0.0 Authorization: Bearer (JWT Token) Request Headers: Accept: application/json;version=39.0.0-alpha |
And that’s it for this post.
I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing.