4.0

Table Of Contents
The advanced refactoring workflows make a copy of an existing VMware Infrastructure 3.5 Orchestrator
application and modify all the elements in the copy to use vCenter Server 4.0. When you run the workflows,
the original VMware Infrastructure 3.5 application remains untouched, but the new duplicate is updated to
run using vCenter Server 4.0.
Advanced Refactoring Workflows
The advanced refactoring workflows use XML description files to define which applications to refactor, where
to create the duplicate application, which elements in the application to refactor, where to find the refactoring
rules, and so on. The advanced refactoring workflows include a workflow that creates these XML description
files for you.
Table 10-2 shows the advanced refactoring workflows that Orchestrator provides.
Table 10-2. Advanced Refactoring Workflows
Workflow Name Description
Library > Refactoring > Advanced > Create refactoring
description XML file
Requests user input to define the following information:
n
The name and location of the application to refactor
n
The rules for copying the package objects
n
The types of elements to refactor in the duplicate
application
n
Names and locations for the resource files that the
refactoring workflows use
This information is recorded in XML description files that the
other refactoring workflows use when they run.
Library > Refactoring > Advanced > Copy VMware
Infrastructure 3 application and migrate to vCenter Server
4
Performs the following actions:
n
Creates a duplicate of the application with the name and
in the location specified in the XML description files.
n
Updates the elements in the duplicate application so that
they implement the vCenter Server 4.0 plug-in.
n
Optionally provides a log of all the elements that the
workflow has updated. This log is an XML mapping file
that you can use when refactoring other applications.
Library > Refactoring > Advanced > Copy VMware
Infrastructure 3 application and migrate to vCenter Server
4, with a String input
Performs the following actions:
n
Creates a duplicate of the application with the name and
in the location specified in an XML description you
provide to the workflow as a String.
n
Updates the elements in the duplicate application so that
they implement the vCenter Server 4.0 plug-in.
n
Optionally provides a log of all the elements that the
workflow has updated. This log is an XML mapping file
that you can use when refactoring other applications.
Library > Refactoring > Advanced > Run refactoring Performs refactoring without input parameters. This
workflow is run by the Copy VMware Infrastructure 3
application and migrate to vCenter Server 4 workflow. If
necessary, you can modify this workflow to define
refactoring rules specific to the application. This is an
advanced use case.
Library > Refactoring > Advanced > Refactor using
resources
Performs refactoring according to rules defined in a resource
element (an XML file) instead of in an XML string. This
workflow is run by the Copy VMware Infrastructure 3
application and migrate to vCenter Server 4 workflow. If
necessary, you can modify this workflow to define
refactoring rules specific to the application. This is an
advanced use case.
vCenter Orchestrator Developer's Guide
334 VMware, Inc.