[
https://issues.apache.org/jira/browse/NIFI-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-863.
-----------------------------------
Resolution: Fixed
> NiFi "sensitive properties" properties are duplicated/unused
> ------------------------------------------------------------
>
> Key: NIFI-863
> URL: https://issues.apache.org/jira/browse/NIFI-863
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 0.2.1
> Reporter: Aldrin Piri
> Priority: Minor
>
> Currently, NiFiProperties has two sets of the same properties keys:
> {code}
> public static final String SENSITIVE_PROPS_KEY =
> "nifi.sensitive.props.key";
> public static final String SENSITIVE_PROPS_ALGORITHM =
> "nifi.sensitive.props.algorithm";
> public static final String SENSITIVE_PROPS_PROVIDER =
> "nifi.sensitive.props.provider";
> {code}
> and
> {code}
> // encryptor properties
> public static final String NF_SENSITIVE_PROPS_KEY =
> "nifi.sensitive.props.key";
> public static final String NF_SENSITIVE_PROPS_ALGORITHM =
> "nifi.sensitive.props.algorithm";
> public static final String NF_SENSITIVE_PROPS_PROVIDER =
> "nifi.sensitive.props.provider";
> {code}
> These are to be used primarily via the encryptor, but it also duplicates
> these keys:
> {code}
> public static final String NF_SENSITIVE_PROPS_KEY =
> "nifi.sensitive.props.key";
> public static final String NF_SENSITIVE_PROPS_ALGORITHM =
> "nifi.sensitive.props.algorithm";
> public static final String NF_SENSITIVE_PROPS_PROVIDER =
> "nifi.sensitive.props.provider";
> {code}
> despite referencing the NiFiProperties class.
> We should clean up the number of instances and remove the extraneous items.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)