Mark Payne created NIFI-12220:
---------------------------------

             Summary: Allow migrating properties to Controller Services
                 Key: NIFI-12220
                 URL: https://issues.apache.org/jira/browse/NIFI-12220
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework, Extensions
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 2.latest


In NIFI-12139, we allowed processors, controller services, and reporting tasks 
to evolve over time by allowing properties to be renamed/removed and allowing 
Relationships to be renamed, split, etc.

However, there's a common pattern that we see that NIFI-12139 doesn't account 
for: the ability to move properties to Controller Services. This happens 
commonly, especially with authentication types of properties. For example, in 
the AWS processors, we started with a "Secret Key" and an "Access Key ID." But 
over time, we needed other authentication methods. Eventually a Controller 
Service was created for performing authentication, and it allows for many 
different authentication options.

But we cannot simply remove the Access Key ID and Secret Key properties. Their 
values need to be transferred to a Controller Service - one that likely doesn't 
exist yet. We need the ability to have the processor create that controller 
service and configure it in its migrateProperties method. And then remove the 
properties from the processor.

The exact same thing has happened with the AWS Processors' proxy configuration. 
And something similar with Kerberos authentication services. And others.

We need to allow for a seamless migration that supports creating Controller 
Services and configuring them, such that we can remove things like Access Key 
ID / Secret Key from the processor configuration and have the processors 
continue to function just as they did before.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to