Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-524

Checks like ....After in JITL Job checkHistory do not work

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12
    • 1.12.8
    • None

    Description

      Current Situation

      When execution one of these queries, an SOSInvalidDataException is thrown.

      • iStartedAfter
      • isStartedWithErrorAfter
      • isStartedSuccessfulAfter
      • isCompletedAfter
      • isCompletedWithErrorAfter
      • isCompletedSuccessfulAfter

      Desired Behavior

      No SOSInvalidDataException should be thrown.

      Testcase

      Execute this job to reproduce

      <?xml version="1.0" encoding="ISO-8859-1"?>
      
      
      <job  title="Check the last job run" order="no" stop_on_error="no">
          
      
          <params >
              <param  name="job_name" value="job1"/>
      		<param  name="query" value="isCompletedSuccessfulAfter (00:10:30)"/>
          </params>
      
          <script  language="java" java_class="com.sos.jitl.checkhistory.JobSchedulerCheckHistoryJSAdapterClass"/>
      
          <monitor  name="apiAccessToken" ordering="0">
              <script  language="java" java_class="com.sos.jitl.restclient.CreateApiAccessToken"/>
          </monitor>
      
          <run_time />
      </job>
      
      

      Patch

      A patch is available here

      • Download the patch
      • Unzip the patch file
      • Store the extracted .jar file to $SCHEDULER_HOME/lib/patches

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Aditi Dubey Aditi Dubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: