[ https://issues.apache.org/jira/browse/NIFI-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Palfy updated NIFI-6729: ------------------------------ Description: The fairly new {{AzureStorageCredentialsControllerServiceLookup}} and the {{DBCPConnectionPoolLookup}} have a lot of common logic and points to a general concept that could be captured with an abstract implementation: A utility service that looks up services of a given type from a predefined list. These services are mapped to predefined string keys. Which service is to be used is determined based on a flowfile attribute that holds the corresponding predefined key. was: The new fairly new {{AzureStorageCredentialsControllerServiceLookup}} and the {{DBCPConnectionPoolLookup}} has a lot of common logic and points to a general concept that could be captured with an abstract implementation: A utility service that looks up a certain type of service from a predefined list. These services are mapped to predefined string keys. Which service is to be used is determined based on a flowfile attribute that holds the corresponding predefined key. > Create abstract generic ControllerServiceLookup class > ----------------------------------------------------- > > Key: NIFI-6729 > URL: https://issues.apache.org/jira/browse/NIFI-6729 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions > Reporter: Tamas Palfy > Assignee: Tamas Palfy > Priority: Major > > The fairly new {{AzureStorageCredentialsControllerServiceLookup}} and the > {{DBCPConnectionPoolLookup}} have a lot of common logic and points to a > general concept that could be captured with an abstract implementation: > A utility service that looks up services of a given type from a predefined > list. > These services are mapped to predefined string keys. > Which service is to be used is determined based on a flowfile attribute that > holds the corresponding predefined key. -- This message was sent by Atlassian Jira (v8.3.4#803005)