mcgilman commented on code in PR #8401:
URL: https://github.com/apache/nifi/pull/8401#discussion_r1491549684
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/state/flow/flow.effects.ts:
##########
@@ -113,7 +116,8 @@ export class FlowEffects {
private router: Router,
private dialog: MatDialog,
private propertyTableHelperService: PropertyTableHelperService,
- private parameterHelperService: ParameterHelperService
+ private parameterHelperService: ParameterHelperService,
+ private errorHelper: ErrorHelper
Review Comment:
This is unused.
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/state/flow/flow.effects.ts:
##########
@@ -359,6 +363,70 @@ export class FlowEffects {
{ dispatch: false }
);
+ startRemoteProcessGroupPolling$ = createEffect(() =>
+ this.actions$.pipe(
+ ofType(FlowActions.startRemoteProcessGroupPolling),
+ switchMap(() => {
+ return interval(3000, asyncScheduler).pipe(
+
takeUntil(this.actions$.pipe(ofType(FlowActions.stopRemoteProcessGroupPolling)))
+ );
+ }),
+ switchMap(() => {
+ return of(FlowActions.refreshRemoteProcessGroup());
+ })
+ )
+ );
+
+ requestRemoteProcessGroup$ = createEffect(() =>
Review Comment:
```suggestion
requestRefreshRemoteProcessGroup$ = createEffect(() =>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]