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

Sivaprasanna Sethuraman closed NIFI-5546.
-----------------------------------------

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

Reply via email to