Deploying mock deployments

The purpose of a mock deployment is to test the process to transform the application model that is created in Pattern Builder into the topology document that is used to deploy virtual machines.

About this task

A mock deployment generates artifacts in the Storehouse, but no resources are provisioned. After you initiate a mock deployment, you can view the artifacts in the Storehouse to ensure that all the transformations that you expected are properly constructed in the topology.json file. Complete these steps after you create your virtual application pattern with the debug component configured for mock deployment.

Procedure

  1. Click Patterns > Virtual Application Patterns.
  2. Select the virtual application pattern that you want to deploy.
  3. Click Deploy in the toolbar.
  4. Specify the target for the deployment, and then click OK.
    The deployment process starts.
  5. View the virtual application instance to obtain the deployment ID.
    1. Click Patterns > Virtual Application Instances.
    2. Select the virtual application instance.
      The details for the instance are displayed in the detail pane, including the deployment ID. The status for the mock deployment remains as launching since resources are not provisioned for a mock deployment.
  6. To view the topology document, open the Storehouse Browser.
    1. Click System > Storehouse Browser.
    2. Expand user > deployments > deployment_id, where deployment_id is the deployment ID you obtained from the Virtual Application Instances page.
    3. Select topology.json. The topology document is displayed in your browser.
      Tip: You can use a browser add-on such as JSONView to browse the JSON document. JSONView is available for Firefox and Chrome browsers.