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
- Click .
- Select the virtual application pattern that
you want to deploy.
- Click Deploy in the toolbar.
- Specify the target for the deployment, and then click OK.
The deployment process starts.
- View the virtual application instance to
obtain the deployment ID.
- Click .
- 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.
- To view the topology document, open the Storehouse Browser.
- Click .
- Expand ,
where deployment_id is the deployment ID you obtained
from the Virtual Application Instances page.
- 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.