Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
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"}
- /joc/api/joc/cluster/restart
- 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"}
- /joc/api/joc/cluster/run
Attachments
Issue Links
- is related to
-
JOC-1731 Offer flexible options how to run the Cleanup Service
- Released
- links to