The Explorer also includes Policies, Public JDL Libraries, Computed Facts, Events, and Metrics.
XML is used to define PlateSpin Orchestrate policies. A policy can be deployed to the server and associated with any grid object. The policy element is the root element for policies. Policies contain constraints and fact definitions for grid objects.
You can edit a policy by clicking a policy in the Explorer tree view, making your changes, and then clicking the Save icon. The
tab of the Policy Editor lists the jobs where the selected policy associated.A policy can define a collection of constraints which are applied appropriately based on context. For example, a resource constraint can limit the selection of a resource to a subset based on resource group membership, or any number of other fact-based evaluations.
You can use /opt/novell/zenworks/zos/server/examples/customNode.policy located on the PlateSpin Orchestrate Server as an example policy file with constraints.
The XML fact element defines a fact to be stored in the grid object's fact namespace. The name, type and value of the fact are specified as attributes. For list or array fact types, the element tag defines list or array members. For dictionary fact types, the dict tag defines dictionary members.
You can see an example policy with an XML representation for all the fact types on the PlateSpin Orchestrate Server at /opt/novell/zenworks/zos/server/examples/allTypes.policy.
Computed facts are used when you want to run JDL to generate the value for a fact. Although computed facts are not jobs, they use the same JDL syntax. You can see examples of computed facts on the PlateSpin Orchestrate Server at /opt/novell/zenworks/zos/server/examples/activejobs.cfact and /opt/novell/zenworks/zos/server/examples/repostiory.cfact.
An Event object in the Explorer tree represents a user-described set of rules which can be associated with a schedule trigger or handled by long-running jobs written to respond to events.
For more information about using events, see Using an Event Notification in a Job
in the PlateSpin Orchestrate 2.0 Developer Guide and Reference, Event Triggers of this guide, and Section A.2, Health Events of this guide.
Although the Metrics object is visible in the Explorer panel, configuration for this object is not available in this release.