Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1322

Plugin interface for loading jobs

    XMLWordPrintable

    Details

      Description

      Interface Operation

      • JobScheduler provides an interface that can make use of a Plugin to modify a job configuration.
      • The Plugin is executed in the event of a job being loaded or re-loaded.
      • The Plugin is handed over
        • the XML representation of the job configuration that is being loaded, i.e. the <job> XML node.
        • the Plugin specific configuration as stated in the below example with the <plugin.config> XML node.
      • The Plugin returns the job configuration that should be used by JobScheduler, i.e. the <job> XML node.

      Configuration

      • The Plugin is configured in ./config/scheduler.xml with the following elements:
      • Example Plugin configuration:
        <spooler xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/repository/scheduler/1.7/scheduler.xsd">
            <config>
                <plugins>
                    <plugin java_class="...ConfigurationChangingPlugin">
                        <plugin.config ...>
                         ...
                        </plugin.config>
                    </plugin>
                </plugins>
            </config>
        </spooler>
        

      Area of Operation

      • Plugin for global pre- and postprocessing as stated in feature JS-1323
        • Named monitors as provided by JS-1145 are referenced by the Plugin
        • The Plugin implements rules for the handling of named monitors for global pre- and postprocessing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jz Joacim Zschimmer
                Reporter:
                ap Andreas PĆ¼schel
                Approver:
                Uwe Risse
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: