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

Daniel Stieglitz updated NIFI-15242:
------------------------------------
    Description: 
Currently the property descriptor has 
{code:java}
PropertyDescriptor VAULT_URI = new PropertyDescriptor.Builder()
            .name("Vault URI")
            .name("vault.uri")
            .displayName("Vault URI"){code}
and it should look like
{code:java}
PropertyDescriptor VAULT_URI = new PropertyDescriptor.Builder()             
            .name("vault.uri")
            .displayName("Vault URI"){code}
in addition this line in the migrateProperties method should be removed as it 
is unnecessary (since its redundant):
{code:java}
config.renameProperty("vault.uri", VAULT_URI.getName());{code}
Lastly all renaming of vault specific properties made in NIFI-15020 should be 
reverted in order to have an appropriate mapping to a 
{{HashiCorpVaultConfiguration.}}

  was:
Currently the property descriptor has 
{code:java}
PropertyDescriptor VAULT_URI = new PropertyDescriptor.Builder()
            .name("Vault URI")
            .name("vault.uri")
            .displayName("Vault URI"){code}
and it should look like
{code:java}
PropertyDescriptor VAULT_URI = new PropertyDescriptor.Builder()             
            .name("vault.uri")
            .displayName("Vault URI"){code}
in addition this line in the migrateProperties method should be removed as it 
is unnecessary (since its redundant):
{code:java}
config.renameProperty("vault.uri", VAULT_URI.getName());{code}


> Remove redundant name and display name in the VAULT_URI property descriptor 
> found in HashiCorpVaultClientService and revert renaming of all vault related 
> properties
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15242
>                 URL: https://issues.apache.org/jira/browse/NIFI-15242
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>             Fix For: 2.7.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently the property descriptor has 
> {code:java}
> PropertyDescriptor VAULT_URI = new PropertyDescriptor.Builder()
>             .name("Vault URI")
>             .name("vault.uri")
>             .displayName("Vault URI"){code}
> and it should look like
> {code:java}
> PropertyDescriptor VAULT_URI = new PropertyDescriptor.Builder()             
>             .name("vault.uri")
>             .displayName("Vault URI"){code}
> in addition this line in the migrateProperties method should be removed as it 
> is unnecessary (since its redundant):
> {code:java}
> config.renameProperty("vault.uri", VAULT_URI.getName());{code}
> Lastly all renaming of vault specific properties made in NIFI-15020 should be 
> reverted in order to have an appropriate mapping to a 
> {{HashiCorpVaultConfiguration.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to