4.1

Table Of Contents
4 Add a tab for the plug-in to the configuration interface by referencing the configuration adapter in the
<configuration> element.
The <configuration> element in the vso.xml file for the solar system example identifies an icon for the
solar system plug-in tab in the file structure of the DAR file, references the configuration adapter
implementation and the configuration Web application, and activates validation of the information that
the user provides.
<configuration
icon="images/solarSystem_32x32.png"
adaptor-class=
"com.vmware.orchestrator.api.sample.solarsystem.config.SolarSystemConfigurationAdaptor"
configuration-war="o11nplugin-solarsystem-config.war"
validation="enabled" />
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.
vCenter Orchestrator Developer's Guide
196 VMware, Inc.