capabilities.work

Deploy Application and Poll Until Started

A 2-step recipe with MuleSoft. We can help you get access.

Recipe · 2 steps

Deploy Application and Poll Until Started

Deploy a CloudHub application and wait for it to become STARTED.

  1. Deploy a new CloudHub application into the target environment.
  2. Read the application deployment status. Branch on the reported status: finish when STARTED, otherwise loop back to poll again.
What you'll need to have ready
  • bearerToken: Anypoint Platform bearer access token.
  • orgId: The organization id that owns the application.
  • environmentId: The environment id to deploy the application into.
  • appDomain: Unique CloudHub domain name for the application.
  • muleVersion: Mule runtime version to deploy.
  • region: CloudHub region to deploy the application to.
For your developer

Arazzo workflow mulesoft:deploy-app-and-poll-status, 2 operations: createApplication → getApplicationStatus. Specs on APIs.io.