You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 12
Next »
There was an event handling mechanism that works as an add on to the JobScheduler. Event handler determines on which condition what jobs should be started.
Now this "Job Streams" feature adds a capability to the product which allows graphical configuration of job dependencies.
This feature is provided by a JobScheduler SOS Conditions Plugin. Th
e plugin <plugin java_class="com.sos.eventhandlerservice.plugin.SOSConditionsPlugin"/> should be enabled to use Job Streams functionality. see
SET-181
-
Getting issue details...
STATUS
There are two ways by which Job Streams functionality can be enabled:
- At the time of installation
- After the installation
How to enable Job Streams Functionality at the time of installation?
To enable Job Streams functionality at the time of installation you just need to Enable Conditions-Plugin via a checkbox at Step 9 of the installation process.
How to enable Job Streams Functionality after installation?
The scheduler.xml of JobScheduler can be used to enable the Job Streams functionality after the installation of JobScheduler.
Follow the following steps:
Step 1
Edit the scheduler.xml file present in the SCHEUDLER_DATA/config directory of JobScheduler.Step 2
By default the plugin <!-- plugin java_class="com.sos.eventhandlerservice.plugin.SOSConditionsPlugin"/ --> is commented. Remove the comment from the plugin.
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<spooler>
<config mail_xslt_stylesheet="config/scheduler_mail.xsl" http_port="40130" port="4130">
<params>
<param name="scheduler.variable_name_prefix" value="SCHEDULER_PARAM_"/>
<param name="scheduler.order.keep_order_content_on_reschedule" value="false"/>
<param name="sos.use_notification" value="false"/>
</params>
<security ignore_unknown_hosts = "yes">
<allowed_host host = "localhost" level = "all"/>
</security>
<plugins>
<plugin java_class="com.sos.scheduler.engine.plugins.newwebservice.NewWebServicePlugin"/>
<plugin java_class="com.sos.scheduler.engine.plugins.nodeorder.NodeOrderPlugin"/>
<plugin java_class="com.sos.jitl.inventory.plugins.InitializeInventoryInstancePlugin"/>
<plugin java_class="com.sos.jitl.reporting.plugin.FactPlugin"/>
<plugin java_class="com.sos.eventhandlerservice.plugin.SOSConditionsPlugin"/>
</plugins>
<process_classes>
<process_class max_processes="100"/>
</process_classes>
</config>
</spooler>
Step 3
Make sure to restart the JobScheduler after updating the SCHEDULER_DATA/config/scheduler.xml file to reflect the changes.