Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1227

Daily Plan service does not attempt to submit the generated orders if no "Plan Order automatically" schedules are found

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.2
    • None
    • None

    Description

      Current Situation

      • If after the Daily Plan service has generated the orders for next days, the "Plan Order automatically" is removed from all schedules, the Daily Plan service does not try to submit the previosly generated orders on the next run, but stops with the info message - no schedules found.

      Desired Behavious

      • The Daily Plan service should in case of "No Plan Order automatically found" not generate a new orders but not stop the submitting of the already generated orders to controller.

      Test Instructions

      • Inventory View
        • Create the Schedules with "Plan Order automatically"=true and "Submit Order to Controller when planned"=true
        • Release this schedules
      • Dashboard View
        • Joc Instance -> Restart Service -> Daily Plan Service
      • Daily Plan view
        • the Daily Plan service will create orders for <x> days ahead and submitting for <y> days ahead
      • Inventory View
        • Remove "Plan Order automatically" from ALL configured schedules and release this schedules
      • Dashboard View
        • Joc Instance -> Restart Service -> Daily Plan Service
      • Find in the service-dailyplan.log log log file the following lines:
        • [createPlan][my controller][skip][Plan Order automatically]no schedules found
        • [submitting]...
          • The [submitting] lines are the evidence that although no new orders were generated ([createPlan]..[skip]..), an attempt was made to submit the old orders.

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: