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

JobScheduler <show_calendar/> command provides no response for orders

    XMLWordPrintable

Details

    Description

      As of now behavior

      1. If a user wants to see the next planned start time of orders from JOC and submits the request by right click on order--> show start time then JOC shows an empty response.
      2. when a a post command
        <show_calendar limit="1000" what="orders"/>

        is send to JobScheduler, a response is received without start time for order

        ?xml version="1.0" encoding="ISO-8859-1"?>
        <spooler>
           <answer time="2015-05-13T14:50:59.064Z">
              <calendar>
                 <period begin="2015-05-12T22:00:00Z"
                         end="2015-05-13T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-13T22:00:00Z"
                         end="2015-05-14T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-14T22:00:00Z"
                         end="2015-05-15T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-15T22:00:00Z"
                         end="2015-05-16T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-16T22:00:00Z"
                         end="2015-05-17T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-17T22:00:00Z"
                         end="2015-05-18T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-18T22:00:00Z"
                         end="2015-05-19T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-19T22:00:00Z"
                         end="2015-05-20T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <at at="2015-05-13T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-14T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-15T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-16T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-17T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-18T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-19T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
              </calendar>
           </answer>
        </spooler>
        
      3. screenshot

      Desired behavior

      • JOC should show the planned start time
      • JobScheduler should deliver planned start time in response of command
        <show_calendar limit="1000" what="orders"/>
      • response from JobScheduler 1.7.4231
        <?xml version="1.0" encoding="ISO-8859-1"?>
        <spooler>
           <answer time="2015-05-13T14:50:59.064Z">
              <calendar>
                 <period begin="2015-05-12T22:00:00Z"
                         end="2015-05-13T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-13T22:00:00Z"
                         end="2015-05-14T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-14T22:00:00Z"
                         end="2015-05-15T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-15T22:00:00Z"
                         end="2015-05-16T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-16T22:00:00Z"
                         end="2015-05-17T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-17T22:00:00Z"
                         end="2015-05-18T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-18T22:00:00Z"
                         end="2015-05-19T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <period begin="2015-05-19T22:00:00Z"
                         end="2015-05-20T22:00:00Z"
                         job="/sos/dailyschedule/CheckDaysSchedule"
                         repeat="1800"/>
                 <at at="2015-05-13T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-14T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-15T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-16T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-17T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-18T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
                 <at at="2015-05-19T22:00:01Z" job="/sos/dailyschedule/CreateDaysSchedule"/>
              </calendar>
           </answer>
        </spooler>
        

      Attachments

        Activity

          People

            jz Joacim Zschimmer
            mp Mahendra Patidar
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: