[
https://issues.apache.org/jira/browse/NIFI-11493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17719322#comment-17719322
]
ASF subversion and git services commented on NIFI-11493:
--------------------------------------------------------
Commit 265b132e73c01c956ec679bbbd339ce4649cdb54 in nifi's branch
refs/heads/main from Lehel Boér
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=265b132e73 ]
NIFI-11493: Defaulted dynamically modified classpath fix
This closes #7201.
Co-authored-by: Peter Turcsanyi <[email protected]>
Signed-off-by: Peter Turcsanyi <[email protected]>
> Property descriptors which modifies classpaths are not resolved with default
> values
> -----------------------------------------------------------------------------------
>
> Key: NIFI-11493
> URL: https://issues.apache.org/jira/browse/NIFI-11493
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Lehel Boér
> Assignee: Lehel Boér
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When a PropertyDescriptor is enabled to dynamically modify the classpath e.g.
> {code:java}
> static final PropertyDescriptor URLS = new PropertyDescriptor.Builder()
> .name("URLs to Load")
> .description("URLs to load onto the classpath")
> .required(false)
> .defaultValue("lib/bootstrap/commons-lang3-3.12.0.jar")
> .dynamicallyModifiesClasspath(true)
> .identifiesExternalResource(ResourceCardinality.MULTIPLE, ResourceType.URL,
> ResourceType.FILE, ResourceType.DIRECTORY)
> .build();{code}
> If the property is not set with a current value (URL), the additional
> classpath URL will not be added to the classloader by using the property's
> default value.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)