4.0

Table Of Contents
5 Set the <installation> and <action> elements to define the behavior of the plug-in when the Orchestrator
server starts.
The solar system example sets the version mode to restart the plug-in whenever a new version is detected,
and provides the path to a package of Orchestrator workflows, policies, and a Web view in the file structure
of the DAR file. Orchestrator installs this package when the plug-in starts.
<installation mode="version">
<action type="install-package" resource="packages/com.vmware.solarsystem.package" />
</installation>
6 Set the root of the hierarchy of object types in the <inventory> element.
The solar system plug-in defines the root of the hierarchy that represents the plug-in in the Orchestrator
scripting API as an object of the type Galaxy. All of the other solar system objects relate to the Galaxy object.
<inventory type="Galaxy"/>
You set up the elements that identify the plug-in to Orchestrator, added a tab to the configuration interface,
defined the start-up behavior, and defined the root scripting object type for the objects in the plug-in.
What to do next
Define the types of objects that Orchestrator finds through the plug-in by mapping the finder objects that the
plug-in factory implementation defines to <finder> elements in the vso.xml file.
Map Objects in the Plugged-In Technology to Scripting Types and Inventory Objects
To allow Orchestrator to access objects in a plugged-in application, you must define how and where the plug-
in finds those objects.
The objects you map in the vso.xml file appear as scripting types in the Orchestrator JavaScript API. Instances
of these objects appear in the Orchestrator inventory.
Prerequisites
You must have created the vso.xml file, defined how Orchestrator identifies the plug-in, and referenced the
configuration adapter.
Chapter 7 Developing Plug-Ins
VMware, Inc. 203