You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Rakesh Prasad (JIRA)" <ji...@apache.org> on 2018/08/22 07:47:00 UTC

[jira] [Resolved] (NIFI-5546) PutAzureBlobStorage not able to configure

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

Rakesh Prasad resolved NIFI-5546.
---------------------------------
    Resolution: Not A Problem

> PutAzureBlobStorage not able to configure
> -----------------------------------------
>
>                 Key: NIFI-5546
>                 URL: https://issues.apache.org/jira/browse/NIFI-5546
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.6.0, 1.7.0
>            Reporter: Rakesh Prasad
>            Priority: Major
>
> to configure PutAzureBlobStorage processor we have 2 properties that are marked as not null.
> ACCOUNT_KEY = NON_EMPTY_VALIDATOR
> PROP_SAS_TOKEN = NON_EMPTY_VALIDATOR
> but inside "AzureStorageUtils" class we have additional code that is asking for either one on the value, but not both.
> String sasToken = validationContext.getProperty(PROP_SAS_TOKEN).getValue();
>  String acctName = validationContext.getProperty(ACCOUNT_KEY).getValue();
>  if ((StringUtils.isBlank(sasToken) && StringUtils.isBlank(acctName))
>  || (StringUtils.isNotBlank(sasToken) && StringUtils.isNotBlank(acctName))) {
>  results.add(new ValidationResult.Builder().subject("AzureStorageUtils Credentials")
>  .valid(false)
>  .explanation("either Azure Account Key or Shared Access Signature required, but not both")
>  .build());
>  }
>  
> because of this, not able to use this processor.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)