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

Daily Plan Service - Restart Service, Run Service

    XMLWordPrintable

Details

    Description

      Current Situation

      • The Daily Plan Service is used to create and to submit Orders for a Daily Plan to Controllers.
      • The service is operated in the background and acts on a daily basis to plan a number of days ahead.
      • The start time of the Daily Plan Service and the period for which orders are planned and submitted is specified by JS7 - Settings.
      • However, a user can intentionally force a re-run of the Daily Plan Service by using the Dashboard View:
        • JOC Cockpit widget and selecting the action menu item Restart Service -> Daily Plan Service.
        • Note: This behavior differs from the restart of other services, where a restart typically means restarting the service rather than immediately running it when the service is configured to start a run at a certain period, such as with the Cleanup Service.

      Desired Behaviour

      • The Restart and Run of the Daily Plan Service should be clearly separated.
      • Restart - The Daily Plan Service will restart and start generating the Daily Plan according to the dailyplan Settings "time_zone","period_begin","start_time". __
        • Dashboard View -> JOC Cockpit widget and selecting the action menu item Restart Service -> Daily Plan Service
        • JOC API:
          • /joc/api/joc/cluster/restart
            •  {"type":"dailyplan"}
      • Run  - The Daily Plan Service will generate the Daily Plan immediately according to the dailyplan Settings "days_ahead_plan","days_ahead_submit","projections_month_ahead".
        • Dashboard View -> JOC Cockpit widget and selecting the action menu item Run Service -> Daily Plan Service
        • JOC API:
          • /joc/api/joc/cluster/run
            • {"type":"dailyplan"}

      Attachments

        Issue Links

          Activity

            People

              ZtRahul193 Rahul Patidar
              re Robert Ehrlich
              Pramokshi Narawariya Pramokshi Narawariya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: