You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The configuration monitor is a preprocessor java class that implements the spooler_process_before api method. It does the following:

  • Reading parameters from a configuration file
  • The name of the configuration file is the <job_chain_name>.config.xml
  • The parameters are only available for the node they are defined for.
  • The values of the parameters can contain pattern to identify valued that are to be substituted
  • The default pattern is ${param}

Since 1.11.0 a new implemetation for the configuration monitor have been introduced. The new implementation is much faster than the old one. It is compatible for the standard use of the monitor.

 

Configuration Monitor

  • ${param}
  • %param%

 

Featuresince 1.11 old implementation
Name of the implentation classcom.sos.jitl.jobchainnodeparameter.monitor.JobchainNodeSubstituteMonitor sos.scheduler.managed.configuration.ConfigurationOrderMonitor
Multi substitutionyes yes
Substitution source
  • Environment variables
  • Task paramters
  • global scheduler parameters
  • node parameters
  • System properties
 
  • Environment variables
  • Task paramters
  • global scheduler parameters
  • node parameters

 

Substitution patterns
  • ${param}
  • %param%
 
  • ${param}
  • %param}
  • $param
  • §{param}

 

Integration with JOE

JOE uses the new class name when inserting a configuration monitor from the favourite list if never bevor a configuration monitor has been used.

If JOC has been updated from an older version JOC uses the old implementation.

See in the configuration file $scheduler_data/config/scheduler_editor.ini

monitor_favorite_java_configuration_monitor=com.sos.jitl.jobchainnodeparameter.monitor.JobchainNodeSubstituteMonitor

 

 

 

JOE uses the old class name when inserting a configuration monitor from the favourite list

See in the configuration file $scheduler_data/config/scheduler_editor.ini

monitor_favorite_java_configuration_monitor=com.sos.jitl.jobchainnodeparameter.monitor.JobchainNodeSubstituteMonitor

Configuration file name
  • The default configuration file name is <job_chain>.config.xml
  • Then name of the file can be change by using the parameter configurationMonitor_configuration_file
 
  • The default configuration file name is <job_chain>.config.xml
  • Then name of the file can be change by using the parameter configurationMonitor_configuration_file
  • With a naming convention there can be different configuration file
    • to be described

 

    
Substitution algorithmismUses implentation of org.apache.commons.lang3.text.StrSubstitutor Uses Code from SOS.
    

 

 

 

  • No labels