4.1

Table Of Contents
You can install the solar system DAR file to experiment with the solar system plug-in in the Orchestrator client.
Alternatively, you can examine the source files of the solar system application and solar system plug-in. You
can modify the source files to adapt and extend the solar system application and solar system plug-in, and
rebuild the DAR file to incorporate your modifications in the plug-in.
Procedure
1 Download the ZIP file of Orchestrator examples from the Orchestrator documentation home page.
2 Unzip the bundle to an appropriate location.
3 Navigate to the following location to view the files of the solar system application and the solar system
plug-in.
install-directory
\vco-samples-410-
build_number
\Plug-Ins
The \Plug-Ins folder contains the following file and folders:
o11nplugin-
solarsystem.dar
DAR archive that contains a ready-made version of the solar system plug-
in.
solarsystem\o11nplugin
-solarsystem
Contains the vso.xml file, image files, a solar system Web view, and a
package of workflows for the solar system plug-in.
solarsystem\o11nplugin
-solarsystem-config
Contains the files that add a tab for the solar system plug-in to the
Orchestrator configuration interface.
solarsystem\o11nplugin
-solarsystem-core
Contains the implementations of the Orchestrator plug-in API interfaces for
the solar system plug-in.
solarsystem\o11nplugin
-solarsystem-model
Contains the source files for the solar system application.
4 (Optional) Unzip the o11nplugin-solarsystem.dar file.
5 (Optional) To recreate the solar system plug-in from the beginning, you must add the o11nplugin-
solarsystem\lib\o11nplugin-solarsystem-model-1.0.0.jar Java archive to your classpath.
Components of the Solar System Application
The solar system application replicates a solar system and includes objects to represent stars, planets, and
moons. The solar system application also defines operations that you can perform on these objects.
You find the source files of the solar system application in the Plug-Ins\solarsystem\o11nplugin-solarsystem-
model\src\main\java\com\vmware\solarsystem folder in the Orchestrator examples bundle.
For simplicity, the solar system application runs in the JVM of the Orchestrator server when you install the
solar system plug-in. You can create plug-ins for technologies that run independently of Orchestrator by
defining how Orchestrator connects to the application in a function in the plug-in. For example, you can add
connection information in a tab for the plug-in in the Orchestrator configuration interface.
NOTE The source files of the solar system example application and solar system plug-in are provided for
reference purposes, so that you can see the details of the application that the solar system plug-in exposes and
of the plug-in implementation. If you import the ready-made o11nplugin-solarsystem.dar file to Orchestrator,
you do not need to build solar system application code or build the plug-in from the sources. However, if you
adapt the code of the solar system application or the solar system plug-in, you can rebuild the application and
the DAR file to incorporate your adaptations. See “Build the Solar System Application and Plug-In,” on
page 203.
vCenter Orchestrator Developer's Guide
152 VMware, Inc.