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

Matt Burgess commented on NIFI-2604:
------------------------------------

The Database Driver property already accepts expression language statements so 
we're in good shape there.

Proposed solution: Change the "Database Driver Jar Url" property to "Database 
Driver Location(s)", and accept a comma-separated list of URLs or local 
files/folders.

NOTE: This will invalidate existing processors, but copying the value from the 
old property to the new property should work.  The addition of local files 
helps the user experience (as many users have local JARs so typing file:/// is 
often extraneous), and the addition of local folders allows all driver 
dependencies (and the driver JAR itself) to be specified in a single path in 
the property (rather than having to list individual JARs).

> JDBC Connection Pool support for lib directory and expression language
> ----------------------------------------------------------------------
>
>                 Key: NIFI-2604
>                 URL: https://issues.apache.org/jira/browse/NIFI-2604
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Witt
>            Assignee: Matt Burgess
>
> It would be ideal if the JDBC Connection Service supported specifying a 
> directory instead of particular driver jars.  It would also be helpful if it 
> accepted expression language statements so that it could refer to a location 
> that is based on variable registry values so it is more portable between 
> environments.
> This stems from a user list thread titled "adding dependencies like jdbc 
> drivers to the build" on Aug 18 2016



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to