20219: Replace API & websocket log loading with webdav polling
[arvados-workbench2.git] / src / views / process-panel / process-panel-root.tsx
index d99c62ec7493c986e1ea7bda21bf0d30ca9fffc7..c04cf62afc41db0a492d5d460ce27536b53faa16 100644 (file)
@@ -61,6 +61,7 @@ export interface ProcessPanelRootActionProps {
     loadNodeJson: (containerRequest: ContainerRequestResource) => void;
     loadOutputDefinitions: (containerRequest: ContainerRequestResource) => void;
     updateOutputParams: () => void;
+    pollProcessLogs: (processUuid: string) => Promise<void>;
 }
 
 export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRootActionProps & WithStyles<CssRules>;
@@ -147,6 +148,7 @@ export const ProcessPanelRoot = withStyles(styles)(
                         )}
                         onLogFilterChange={props.onLogFilterChange}
                         navigateToLog={props.navigateToLog}
+                        pollProcessLogs={props.pollProcessLogs}
                     />
                 </MPVPanelContent>
                 <MPVPanelContent forwardProps xs maxHeight='50%' data-cy="process-inputs">