You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Lehel Boér (Jira)" <ji...@apache.org> on 2023/04/27 19:35:00 UTC

[jira] [Updated] (NIFI-11493) Property descriptors which modifies classpaths are not resolved with default values

     [ https://issues.apache.org/jira/browse/NIFI-11493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lehel Boér updated NIFI-11493:
------------------------------
    Summary: Property descriptors which modifies classpaths are not resolved with default values  (was: Property descriptors which modifies classpaths do not work with default values)

> 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
>
> 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)