Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
IotProvider includes the JobMonitorApp. JobMonitorApp requires that a JobRegistryService is registered in order to receive job status events to detect failed jobs so that it can restart them.
Neither IotProvider nor anything it uses is registering a JobRegistryService so jobs aren't restarted when using the IotProvider.
Since IotProvider doesn't document that it adds JobMonitorApp and it doesn't state that it provides failed app restart capability, I've decided this is really a feature request. The original non-restarting behavior must be preserved as the default behavior.
Might want to get a better understanding of failure handling before exposing job-restart via IotProvider - see EDGENT-382.
See also EDGENT-396 and EDGENT-112
Note, JobMonitorAppTest verifies the app in isolation however there isn't an analogous test in an IotProvider context. IotProviderTest should be enhanced accordingly. With a couple of tweaks it can leverage some of JobMonitorAppTest.
Attachments
Issue Links
- links to