Github user mcgilman commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1117#discussion_r84136907
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js
---
@@ -632,11 +633,22 @@ nf.ProcessorConfiguration = (function () {
value: processor.config['bulletinLevel']
});
+ // If the scheduling strategy is PRIMARY_NODE_ONLY
(deprecated),
+ // then set the execution node to PRIMARY and the
scheduling
+ // strategy to TIMER. These new values will be saved
when/if
+ // the dialog is applied.
+ var schedulingStrategy =
processor.config['schedulingStrategy'];
+ var executionNode = processor.config['executionNode'];
+ if (schedulingStrategy === 'PRIMARY_NODE_ONLY') {
--- End diff --
This appears to be rendering the inferred configuration based on the
currently (now deprecated) option. I think we should be rendering what is
actually configured. If the option is now deprecated we should mark the item as
disabled to prevent it from being selected again. But I do not believe we
should be rendering something that is not actually configured.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---