[ 
https://issues.apache.org/jira/browse/NIFI-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15922857#comment-15922857
 ] 

ASF GitHub Bot commented on NIFI-3380:
--------------------------------------

Github user mcgilman commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1585#discussion_r105759544
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-actions.js
 ---
    @@ -1214,6 +1217,23 @@
             },
     
             /**
    +         * Views the state for the specified processor.
    +         *
    +         * @param {selection} selection
    +         */
    +        changeVersion: function (selection) {
    +            if (selection.size() !== 1 || 
!nf.CanvasUtils.isProcessor(selection)) {
    +                return;
    +            }
    +
    +            // get the processor data
    +            var processor = selection.datum();
    +
    +            // attempt to change the version of the specified component
    +            nf.ComponentVersion.promptForVersionChange(processor);
    --- End diff --
    
    Yup. Must have missed this one. Much of this was written prior to getting 
the modularization effort in. I went back through and updated each invocation 
using `nf.`. I'll update this one and make sure I didn't miss any others.


> Multiple Versions of the Same Component
> ---------------------------------------
>
>                 Key: NIFI-3380
>                 URL: https://issues.apache.org/jira/browse/NIFI-3380
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>             Fix For: 1.2.0
>
>
> This ticket is to track the work for supporting multiple versions of the same 
> component within NiFi. The overall design for this feature is described in 
> detail at the following wiki page:
> https://cwiki.apache.org/confluence/display/NIFI/Multiple+Versions+of+the+Same+Extension
> This ticket will track only the core NiFi work, and a separate ticket will be 
> created to track enhancements for the NAR Maven Plugin.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to